On Unix/Linux, how do I run a static code analysis tool, such as lint or splint, on process model code?

Categories:
Solution Number:
S20841
Last Modified:
2013-08-20
Issue

On Unix/Linux, how do I run a static code analysis tool, such as lint or splint, on process model code?

Solution

Lint should be applied to the generated pr.c or pr.cpp where all the pieces(Header Block, Function Block and others) are present.Please look in <opnet_install_dir>/sys/unix/bin/comp_unix, which has an example of lint use during the compilation.

Environment

Compiling/Linking,DES Kernel->Other

Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case