[PATCH] D67156: [Analyzer] Debug Checkers for Container and Iterator Inspection

Balogh, Ádám via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 4 05:30:03 PDT 2019


baloghadamsoftware created this revision.
baloghadamsoftware added reviewers: NoQ, Szelethus.
baloghadamsoftware added a project: clang.
Herald added subscribers: Charusso, donat.nagy, mikhail.ramalho, a.sidorin, rnkovacs, szepet, xazax.hun.

For white-box testing correct container and iterator modelling it is essential to access the internal data structures stored for container and iterators. This patch introduces two simple debug checkers called `debug.ContainerInspection` and `debug.IteratorInspection` to achieve this.


Repository:
  rC Clang

https://reviews.llvm.org/D67156

Files:
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
  test/Analysis/iterator-inspection.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67156.218657.patch
Type: text/x-patch
Size: 11648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190904/e022ccec/attachment.bin>


More information about the cfe-commits mailing list