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 | 91c2a1192cdd4e7b2b4ac7838c5aceef200ea251 (patch) | |
| tree | 860188cbd68c645afa4285f58afe53dcaa97e925 /lib/CodeGen/CGExprAgg.cpp | |
| parent | 231361ad343d655e4bbb1574ccbb4173b72dadfd (diff) | |
| download | clang-91c2a1192cdd4e7b2b4ac7838c5aceef200ea251.tar.gz clang-91c2a1192cdd4e7b2b4ac7838c5aceef200ea251.tar.bz2 clang-91c2a1192cdd4e7b2b4ac7838c5aceef200ea251.tar.xz | |
[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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150112 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
