[cfe-commits] r145834 - /cfe/trunk/test/Analysis/taint-tester.c
Anna Zaks
ganna at apple.com
Mon Dec 5 10:58:33 PST 2011
Author: zaks
Date: Mon Dec 5 12:58:33 2011
New Revision: 145834
URL: http://llvm.org/viewvc/llvm-project?rev=145834&view=rev
Log:
[analyzer] Add a missing taint tester warning.
Modified:
cfe/trunk/test/Analysis/taint-tester.c
Modified: cfe/trunk/test/Analysis/taint-tester.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/taint-tester.c?rev=145834&r1=145833&r2=145834&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/taint-tester.c (original)
+++ cfe/trunk/test/Analysis/taint-tester.c Mon Dec 5 12:58:33 2011
@@ -11,5 +11,5 @@
int *addr = &Buffer[0];
scanf("%d", &n);
addr += n;// expected-warning {{tainted}}
- *addr = n; // expected-warning {{tainted}}
+ *addr = n; // expected-warning {{tainted}} expected-warning {{tainted}}
}
More information about the cfe-commits
mailing list