contiki-os/contiki — pull request #698 by sieben (2014-06-04 16:22:57+00:00)
Title: Adding static analysis through the scan-build command

scan-build http://clang-analyzer.llvm.org/scan-build.html is a clang
based tool designed to provide static analysis over C code files.

I don't know how to integrate this as elegantly as possible with the already existing regression-tests but it let you experiment with the report and the scan-build command.
This is not a regression-tests for say, it will inspect code and will provide a set of insights on the code.

scan-build works best on the native platform and clang the underlying backend doesn't work well yet with msp430. But for examples code it should be fine with the native platform :)

TODO:
- Where do we put reports and how do we review them?
- What are the examples we want to analyze?