We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://clang-analyzer.llvm.org/
harder and more rules (and some bugs leading to false positives): http://oclint.org/
Both of them need compile_commands. They are generated with catkin_make -DCMAKE_EXPORT_COMPILE_COMMANDS=ON in /path/to/catkin_workspace/build/.
catkin_make -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
/path/to/catkin_workspace/build/
syntax for clang: clang-check -analyze -p </path/to/catkin_workspace/build/> <file_0> <file_1> <...>
clang-check -analyze -p </path/to/catkin_workspace/build/> <file_0> <file_1> <...>
syntax for oclint is similar: oclint -p </path/to/catkin_workspace/build/> <file_0> <file_1> <..>
oclint -p </path/to/catkin_workspace/build/> <file_0> <file_1> <..>
A main issue with static analyzers is that they check included files as well and find issues in ros packages or libraries not maintained by us.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
http://clang-analyzer.llvm.org/
harder and more rules (and some bugs leading to false positives):
http://oclint.org/
Both of them need compile_commands. They are generated with
catkin_make -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
in/path/to/catkin_workspace/build/
.syntax for clang:
clang-check -analyze -p </path/to/catkin_workspace/build/> <file_0> <file_1> <...>
syntax for oclint is similar:
oclint -p </path/to/catkin_workspace/build/> <file_0> <file_1> <..>
A main issue with static analyzers is that they check included files as well and find issues in ros packages or libraries not maintained by us.
The text was updated successfully, but these errors were encountered: