-
Notifications
You must be signed in to change notification settings - Fork 379
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
clangsa+CTU analisys produces different resuls on big code base #4368
Comments
Ok, I guess I did find a reproducer in open-source code: My current enviroment
CodeChecker
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to integrate clangsa with codechecker on our CI. We have quite a big project (about ~1000 TUs). The problem I see is that after random changes, clangsa starts reporting bugs in quite old files that we didn't touch for years.
This also happens when new annotations gets added (like
ownership_returns
). Some old reports disappear, some new appears (unrelated to added annotation)I tried both ctu modes and results are the same. I also tried using
-j1
, which seems to help sometimes, but makes analisys too slow, which is unacceptable on CIBugs are real (which is amazing), but it makes life for developers quite hard, since they see reports in files they didn't even touch.
Unfortunately, I cannot provide a reproducer, since codebase is proprietary, but I wonder if it's known and there is a way to somehow workaround it.
The text was updated successfully, but these errors were encountered: