[PATCH] D103096: [analyzer] Implement cast for ranges of symbolic integers.
    Denys Petrov via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Jun  8 04:49:44 PDT 2021
    
    
  
ASDenysPetrov updated this revision to Diff 350579.
ASDenysPetrov added a comment.
Added a boolean option `handle-integral-cast-for-ranges` under `-analyzer-config` flag. Disabled the feature by default.
@Noq, @steakhal 
How do you think whether it's neccesory to add any changes in `SMTConstraintManager` in scope of this patch?
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103096/new/
https://reviews.llvm.org/D103096
Files:
  clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h
  clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h
  clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
  clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
  clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
  clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
  clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
  clang/test/Analysis/analyzer-config.c
  clang/test/Analysis/bool-assignment.c
  clang/test/Analysis/range_casts.c
  clang/test/Analysis/symbol-integral-cast.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103096.350579.patch
Type: text/x-patch
Size: 42827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210608/364c9ac4/attachment-0001.bin>
    
    
More information about the cfe-commits
mailing list