[PATCH] D29551: [libFuzzer] Failing tests on Windows
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 4 14:52:05 PST 2017
mpividori created this revision.
I only submit this diff to show the tests that are failing on Windows:
- cxxstring.test
- simple-cmp.test
- value-profile-cmp4.test
- value-profile-mem.test
- value-profile-strcmp.test
- value-profile-strncmp.test
- LLVMFuzzer-InitializeTest (it properly executes `LLVMFuzzerInitialize` but never finds the right `Unit` to print "BINGO").
Thanks,
Marcos
https://reviews.llvm.org/D29551
Files:
lib/Fuzzer/test/cxxstring.test
lib/Fuzzer/test/fuzzer-posix.test
lib/Fuzzer/test/fuzzer.test
lib/Fuzzer/test/simple-cmp.test
lib/Fuzzer/test/value-profile-cmp4.test
lib/Fuzzer/test/value-profile-mem.test
lib/Fuzzer/test/value-profile-strcmp.test
lib/Fuzzer/test/value-profile-strncmp.test
Index: lib/Fuzzer/test/value-profile-strncmp.test
===================================================================
--- lib/Fuzzer/test/value-profile-strncmp.test
+++ lib/Fuzzer/test/value-profile-strncmp.test
@@ -1,2 +1,4 @@
+UNSUPPORTED: windows
+
CHECK: BINGO
RUN: not LLVMFuzzer-SingleStrncmpTest -seed=1 -use_cmp=0 -use_memcmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s
Index: lib/Fuzzer/test/value-profile-strcmp.test
===================================================================
--- lib/Fuzzer/test/value-profile-strcmp.test
+++ lib/Fuzzer/test/value-profile-strcmp.test
@@ -1,2 +1,4 @@
+UNSUPPORTED: windows
+
CHECK: BINGO
RUN: not LLVMFuzzer-SingleStrcmpTest -seed=1 -use_cmp=0 -use_memcmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s
Index: lib/Fuzzer/test/value-profile-mem.test
===================================================================
--- lib/Fuzzer/test/value-profile-mem.test
+++ lib/Fuzzer/test/value-profile-mem.test
@@ -1,2 +1,4 @@
+UNSUPPORTED: windows
+
CHECK: BINGO
RUN: not LLVMFuzzer-SingleMemcmpTest -seed=1 -use_cmp=0 -use_memcmp=0 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s
Index: lib/Fuzzer/test/value-profile-cmp4.test
===================================================================
--- lib/Fuzzer/test/value-profile-cmp4.test
+++ lib/Fuzzer/test/value-profile-cmp4.test
@@ -1,2 +1,4 @@
+UNSUPPORTED: windows
+
CHECK: BINGO
RUN: not LLVMFuzzer-AbsNegAndConstant64Test -seed=1 -use_cmp=0 -use_value_profile=1 -runs=100000000 2>&1 | FileCheck %s
Index: lib/Fuzzer/test/simple-cmp.test
===================================================================
--- lib/Fuzzer/test/simple-cmp.test
+++ lib/Fuzzer/test/simple-cmp.test
@@ -1,2 +1,4 @@
+UNSUPPORTED: windows
+
CHECK: BINGO
RUN: not LLVMFuzzer-SimpleCmpTest -seed=1 -runs=100000000 2>&1 | FileCheck %s
Index: lib/Fuzzer/test/fuzzer.test
===================================================================
--- lib/Fuzzer/test/fuzzer.test
+++ lib/Fuzzer/test/fuzzer.test
@@ -41,8 +41,6 @@
OOB: AddressSanitizer: heap-buffer-overflow
OOB: is located 0 bytes to the right of 3-byte region
-RUN: not LLVMFuzzer-InitializeTest -use_value_profile=1 2>&1 | FileCheck %s
-
RUN: not LLVMFuzzer-DSOTest 2>&1 | FileCheck %s --check-prefix=DSO
DSO: INFO: Loaded 3 modules
DSO: BINGO
Index: lib/Fuzzer/test/fuzzer-posix.test
===================================================================
--- lib/Fuzzer/test/fuzzer-posix.test
+++ lib/Fuzzer/test/fuzzer-posix.test
@@ -2,6 +2,8 @@
CHECK: BINGO
+RUN: not LLVMFuzzer-InitializeTest -use_value_profile=1 2>&1 | FileCheck %s
+
RUN: ASAN_OPTIONS=strict_string_checks=1 not LLVMFuzzer-StrncmpOOBTest -seed=1 -runs=1000000 2>&1 | FileCheck %s --check-prefix=STRNCMP
STRNCMP: AddressSanitizer: heap-buffer-overflow
STRNCMP-NOT: __sanitizer_weak_hook_strncmp
Index: lib/Fuzzer/test/cxxstring.test
===================================================================
--- lib/Fuzzer/test/cxxstring.test
+++ lib/Fuzzer/test/cxxstring.test
@@ -1,2 +1,4 @@
+UNSUPPORTED: windows
+
RUN: not LLVMFuzzer-CxxStringEqTest -seed=1 -runs=1000000 2>&1 | FileCheck %s
CHECK: BINGO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29551.87116.patch
Type: text/x-patch
Size: 3169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170204/d2f166c6/attachment.bin>
More information about the llvm-commits
mailing list