-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
Infer only find part issues in Cmake project #1860
Comments
find ../ -type f ( -name ".c" -o -name ".cpp" ) | xargs infer run -- clang -c |
Write a python script for CMake project to find out all issues:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ENV:
Infer version v1.2.0 contos 7.4
I have a Cmake project. (addressSanitizer.zip).
run infer in the way:
only issues of lsanSuppressed.c have found:
If infer single file, more issues will be found.
infer run -- clang -c ../classMemberHeapOverflow.cpp
infer run -- clang -c ../useAfterFree.cpp
How to use infer find out all issues in Cmake project?
The text was updated successfully, but these errors were encountered: