commit | 15d0ae170c2037815b6383c532253585fcd3d04e | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Sat Feb 11 23:46:36 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Sat Feb 11 23:46:36 2012 +0000 |
tree | 620f60b300d2136380764278d3ec798908c70f68 | |
parent | 0860cd0646ed40f87085df39563f2c5f7f77750b [diff] [blame] |
[analyzer] Malloc Checker: reduce false negatives rate by assuming that a pointer cannot escape through calls to system functions. Also, stop after reporting the first use-after-free. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150315 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/system-header-simulator.h b/test/Analysis/system-header-simulator.h index 68c6657..1dd9c5b 100644 --- a/test/Analysis/system-header-simulator.h +++ b/test/Analysis/system-header-simulator.h
@@ -8,3 +8,6 @@ extern int errno; unsigned long strlen(const char *); + +char *strcpy(char *restrict s1, const char *restrict s2); +