[compiler-rt] r174705 - [sanitizer] Add 2 random tests for the scanf implementation.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Feb 8 03:19:23 PST 2013
Author: eugenis
Date: Fri Feb 8 05:19:23 2013
New Revision: 174705
URL: http://llvm.org/viewvc/llvm-project?rev=174705&view=rev
Log:
[sanitizer] Add 2 random tests for the scanf implementation.
Modified:
compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc?rev=174705&r1=174704&r2=174705&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc Fri Feb 8 05:19:23 2013
@@ -99,6 +99,9 @@ TEST(SanitizerCommonInterceptors, Scanf)
testScanf("%*d%u", 1, I);
+ testScanf("%c%d", 2, C, I);
+ testScanf("%A%lf", 2, F, D);
+
// Unsupported stuff.
testScanf("%a[", 0);
testScanf("%as", 0);
More information about the llvm-commits
mailing list