Skip to content

Commit

Permalink
[analyzer] Disable clang flags that cause major undeterminism issues
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Szelethus committed Oct 21, 2024
1 parent aea1783 commit 1262abd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/config_files/codechecker.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"--enable=core.CallAndMessage",
"--analyzer-config",
"clangsa:unroll-loops=true",
"--analyzer-config",
"clangsa:crosscheck-with-z3-eqclass-timeout-threshold=0",
"--analyzer-config",
"clangsa:crosscheck-with-z3-timeout-threshold=0",
"--checker-config",
"clang-tidy:google-readability-function-size.StatementThreshold=100",
"--report-hash", "context-free-v2",
Expand Down

0 comments on commit 1262abd

Please sign in to comment.