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 code checks so that duplicative messages of the same ID at the same location can be unique till the function step-in analysis is supported.
· Fix W1069 detection to output a warning message at correct location when an incomplete if-else statements chain appears in a complete if-else-statement.
· Fix W0708 detection not to warn when an address of the controlling variable is passes to a function in the controlling part of for-statement.
· Fix W0534, W0585, W0611 and w0708 detections to correctly deduct the controlling variable.
· Add missing notification of the controlling expression value reference.
· Fix W0460 detection to output outermost variable name when the referencing variable is an array element or a member of struct or union.