[PATCH] D25660: [Analyzer] Checker for iterators dereferenced beyond their range.

Balogh, Ádám via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 07:04:52 PDT 2016


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

Updated according to the comments. Also fixed a bug and moved access check to pre-call instead of post-call.


https://reviews.llvm.org/D25660

Files:
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/IteratorPastEndChecker.cpp
  lib/StaticAnalyzer/Core/ExprEngine.cpp
  test/Analysis/Inputs/system-header-simulator-for-iterators.h
  test/Analysis/iterator-past-end.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25660.75875.patch
Type: text/x-patch
Size: 41126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161026/74617b5b/attachment-0001.bin>


More information about the cfe-commits mailing list