[PATCH] D29531: [libFuzzer] Consider exception names on tests.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 13:26:29 PST 2017
mpividori updated this revision to Diff 87291.
mpividori added a comment.
You are right. I found the reason of the difference between global and stack buffer overflow. It was fixed in: https://reviews.llvm.org/D29602
https://reviews.llvm.org/D29531
Files:
lib/Fuzzer/test/fuzzer.test
lib/Fuzzer/test/value-profile-div.test
Index: lib/Fuzzer/test/value-profile-div.test
===================================================================
--- lib/Fuzzer/test/value-profile-div.test
+++ lib/Fuzzer/test/value-profile-div.test
@@ -1,3 +1,3 @@
-CHECK: AddressSanitizer: FPE
+CHECK: AddressSanitizer: {{FPE|int-divide-by-zero}}
RUN: not LLVMFuzzer-DivTest -seed=1 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s
Index: lib/Fuzzer/test/fuzzer.test
===================================================================
--- lib/Fuzzer/test/fuzzer.test
+++ lib/Fuzzer/test/fuzzer.test
@@ -11,7 +11,7 @@
RUN: not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
RUN: not LLVMFuzzer-NullDerefTest -close_fd_mask=3 2>&1 | FileCheck %s --check-prefix=NullDerefTest
-NullDerefTest: ERROR: AddressSanitizer: SEGV on unknown address
+NullDerefTest: ERROR: AddressSanitizer: {{SEGV|access-violation}} on unknown address
NullDerefTest: Test unit written to ./crash-
RUN: not LLVMFuzzer-NullDerefTest -artifact_prefix=ZZZ 2>&1 | FileCheck %s --check-prefix=NullDerefTestPrefix
NullDerefTestPrefix: Test unit written to ZZZcrash-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29531.87291.patch
Type: text/x-patch
Size: 1145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170206/74fe3497/attachment.bin>
More information about the llvm-commits
mailing list