[PATCH] D48650: [analyzer] Fix constraint being dropped when analyzing a program without taint tracking enabled

Mikhail Ramalho via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 07:00:36 PDT 2018


mikhail.ramalho updated this revision to Diff 154794.
mikhail.ramalho retitled this revision from "[analyzer] [WIP] Fix constraint being dropped when analyzing a program without taint tracking enabled" to "[analyzer] Fix constraint being dropped when analyzing a program without taint tracking enabled".
mikhail.ramalho added a comment.

Decreased default complexity threshold to 25 as it finds the same amount of bugs as 10000 in the following projects: tmux, git, openssl, postgresql, redis, sqlite3, tmux and twin. Going  < 25, and a number of bugs stop being reported.

Also, removed the FIXMEs from the test.


https://reviews.llvm.org/D48650

Files:
  lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
  lib/StaticAnalyzer/Core/RangedConstraintManager.cpp
  lib/StaticAnalyzer/Core/SValBuilder.cpp
  test/Analysis/PR37855.c
  test/Analysis/bitwise-ops.c
  test/Analysis/std-c-library-functions.c
  test/Analysis/svalbuilder-rearrange-comparisons.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48650.154794.patch
Type: text/x-patch
Size: 12034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180710/7c1b32cb/attachment.bin>


More information about the llvm-commits mailing list