[PATCH] D49057: [analyzer] Track multiple raw pointer symbols in DanglingInternalBufferChecker
Reka Kovacs via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 8 10:06:44 PDT 2018
rnkovacs created this revision.
rnkovacs added reviewers: NoQ, xazax.hun, george.karpenkov.
Herald added subscribers: mikhail.ramalho, a.sidorin, dkrupp, szepet, baloghadamsoftware, whisperity.
Previously, the checker only tracked one raw pointer symbol for each container object. But member functions returning a pointer to the object's inner buffer may be called on the object several times.
These pointer symbols are now collected in a set inside the program state map and thus all of them is checked for use-after-free problems.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6434 bytes
Desc: not available
More information about the cfe-commits