[compiler-rt] r352819 - [libFuzzer] make a test for exploding dfsan labels more agressive
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 31 15:43:54 PST 2019
Author: kcc
Date: Thu Jan 31 15:43:54 2019
New Revision: 352819
URL: http://llvm.org/viewvc/llvm-project?rev=352819&view=rev
Log:
[libFuzzer] make a test for exploding dfsan labels more agressive
Modified:
compiler-rt/trunk/test/fuzzer/ExplodeDFSanLabelsTest.cpp
Modified: compiler-rt/trunk/test/fuzzer/ExplodeDFSanLabelsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/ExplodeDFSanLabelsTest.cpp?rev=352819&r1=352818&r2=352819&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/ExplodeDFSanLabelsTest.cpp (original)
+++ compiler-rt/trunk/test/fuzzer/ExplodeDFSanLabelsTest.cpp Thu Jan 31 15:43:54 2019
@@ -12,6 +12,8 @@ __attribute__((noinline))
void f(uint8_t a, uint8_t b, uint8_t c, uint8_t d) {
if (a == b + 1 && c == d + 2)
sink++;
+ if (a == d + 1 && c == b + 2)
+ sink++;
}
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
More information about the llvm-commits
mailing list