[PATCH] D24307: calculate extent size for memory regions allocated by C++ new expression
Anna Zaks via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 7 13:41:03 PDT 2016
zaks.anna added inline comments.
Comment at: lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1003
@@ +1002,3 @@
+ProgramStateRef MallocChecker::addExtentSize(CheckerContext &C,
+ const CXXNewExpr *NE,
I am not sure this code belongs to the malloc checker since it only supports the array bounds checker. Is there a reason it's not part of that checker?
More information about the cfe-commits