Skip to content
Commit ad01ef5f authored by Anna Zaks's avatar Anna Zaks
Browse files

[analyzer] Malloc Checker: realloc: add dependency between the symbols

in realloc map. 

If there is no dependency, the reallocated ptr will get garbage
collected before we know that realloc failed, which would lead us to
missing a memory leak warning.

Also added new test cases, which we can handle now.
Plus minor cleanups.

llvm-svn: 150446
parent a97aa92a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment