AdLint is designed as an Open Source and accessible source code static analyzer.
AdLint can point out insecure or nonportable code fragments, and can measure various quality metrics of the source code.
It (currently) can analyze source code compliant with ANSI C89 / ISO C90 and partly ISO C99.
AdLint is written in Ruby and can run on all the platforms supported by Ruby.
What's New in This Release:
· Fix W0425 detection not to warn when a selection-statement or a iteration-statement is written in a line.
· Fix evaluation of sizeof expression to return `size_t' value or `unsigned long' value if size_t is not declared.
· Fix evaluation of function-definition in order to refer symbols of return type and parameter types.
· Revise format of the traits file in preparation for supporting warning suppression of 3rd-party headers imported in the target project tree.
· Support compound pathname as an entry in the directory pathname list item of the traits file.
· Fix abend problem when no examination package name is specified in the traits file.
· Fix W0100 detection not to over-warn about variables updated in an iteration-statement.
· Fix bad pre-process behavior when an empty argument is given to a function-like macro call which applies `##' operator to the empty parameter.
· Fix #include directive evaluation in order to correctly read header file with an absolute path when any include_path items are no...