[PATCH] D83295: [Analyzer] Hotfix for various crashes in iterator checkers

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 16 01:31:33 PDT 2020


baloghadamsoftware updated this revision to Diff 278394.
baloghadamsoftware added a comment.

Protection against `Unknown` added for pointer increments and decrements. No more crashes on `LLVM/Clang`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83295/new/

https://reviews.llvm.org/D83295

Files:
  clang/lib/StaticAnalyzer/Checkers/IteratorModeling.cpp
  clang/lib/StaticAnalyzer/Checkers/IteratorRangeChecker.cpp
  clang/test/Analysis/iterator-modeling.cpp
  clang/test/Analysis/iterator-range.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83295.278394.patch
Type: text/x-patch
Size: 5015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200716/2dc2a111/attachment.bin>


More information about the cfe-commits mailing list