HomePhabricator

[analyzer] Detect pointers escaped after ReturnStmt execution in MallocChecker.

Description

[analyzer] Detect pointers escaped after ReturnStmt execution in MallocChecker.

Objects local to a function are destroyed right after the statement returning
(part of) them is executed in the analyzer. This patch enables MallocChecker to
warn in these cases.

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

Details

Committed
rkovacsAug 2 2018, 4:02 PM
Differential Revision
D49361: [analyzer] Detect pointers escaped after return statement execution in MallocChecker
Branches
Unknown
Tags
Unknown