This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Teach the analyzer that pointers can escape into __cxa_demangle
ClosedPublic

Authored by zaks.anna on Dec 8 2016, 4:07 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

zaks.anna updated this revision to Diff 80842.Dec 8 2016, 4:07 PM
zaks.anna retitled this revision from to [analyzer] Teach the analyzer that pointers can escape into __cxa_demangle.
zaks.anna updated this object.
zaks.anna added a reviewer: dergachev.a.
zaks.anna added subscribers: dcoughlin, cfe-commits.
NoQ added a subscriber: NoQ.Dec 9 2016, 5:46 AM

LGTM!

This could be probably modeled as realloc, and/or we could look for leaks of its return value, if we wanted.

NoQ accepted this revision.Dec 9 2016, 5:47 AM
NoQ added a reviewer: NoQ.
This revision is now accepted and ready to land.Dec 9 2016, 5:47 AM
This revision was automatically updated to reflect the committed changes.