HomePhabricator

[analyzer] Calculate extent size for memory regions allocated by new expression.

Description

[analyzer] Calculate extent size for memory regions allocated by new expression.

ArrayBoundChecker did not detect out of bounds memory access errors in case an
array was allocated by the new expression. This patch resolves this issue.

Patch by Daniel Krupp!

Differential Revision: https://reviews.llvm.org/D24307

Details

Committed
xazaxSep 19 2016, 1:39 PM
Differential Revision
D24307: calculate extent size for memory regions allocated by C++ new expression
Branches
Unknown
Tags
Unknown