diff options
author | Anna Zaks <ganna@apple.com> | 2012-02-08 23:16:56 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-02-08 23:16:56 +0000 |
commit | a1b227b6a779d9e41db0ffe5dc250f613fae776c (patch) | |
tree | 2de9bea925df79e37b859ca251bc5c4fa657b394 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | cd37bf4ec8e2043dc589a592df5c97144b5dee3b (diff) | |
download | bcm5719-llvm-a1b227b6a779d9e41db0ffe5dc250f613fae776c.tar.gz bcm5719-llvm-a1b227b6a779d9e41db0ffe5dc250f613fae776c.zip |
[analyzer] MallocChecker: implement pessimistic version of the checker,
which allows values to escape through unknown calls.
Assumes all calls but the malloc family are unknown.
Also, catch a use-after-free when a pointer is passed to a
function after a call to free (previously, you had to explicitly
dereference the pointer value).
llvm-svn: 150112
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions