Skip to content

Conversation

@Szelethus
Copy link
Contributor

Turn off Z3 timeouts added to the Clang Static Analyzer in llvm/llvm-project#95129. We are now aware that these options can often cause nondeterministic behaviour.

Turn off Z3 timeouts added to the Clang Static Analyzer in
llvm/llvm-project#95129. We are now aware that
these options can often cause nondeterministic behaviour.
@Szelethus Szelethus added bugfix 🔨 analyzer 📈 Related to the analyze commands (analysis driver) clang sa 🐉 The Clang Static Analyzer is a source code analysis tool that finds bugs in C-family programs. config ⚙️ labels Oct 21, 2024
@Szelethus Szelethus added this to the release 6.25.0 milestone Oct 21, 2024
@Szelethus Szelethus requested a review from dkrupp October 21, 2024 14:55
Copy link
Member

@dkrupp dkrupp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this config file just an example? Will it get in effect by default?

"--enable=core.CallAndMessage",
"--analyzer-config",
"clangsa:unroll-loops=true",
"--analyzer-config",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this config file just an example? Will it get in effect by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I initially intended to put the change here, I'm just not sure whether hardcoding such a change is appropriate:
https://github.com/Ericsson/codechecker/blob/master/analyzer/codechecker_analyzer/analyzers/clangsa/analyzer.py#L392
@bruntib?

@dkrupp
Copy link
Member

dkrupp commented Nov 12, 2024

I guess this patch can be abandoned... or?

@Szelethus
Copy link
Contributor Author

Tahts right, sorry!

@Szelethus Szelethus closed this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

analyzer 📈 Related to the analyze commands (analysis driver) bugfix 🔨 clang sa 🐉 The Clang Static Analyzer is a source code analysis tool that finds bugs in C-family programs. config ⚙️

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants