From ae667c49d228bdd81252ad82a25c67e1a59c8f5c Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Thu, 31 Jan 2019 23:43:54 +0000 Subject: [PATCH] [libFuzzer] make a test for exploding dfsan labels more agressive llvm-svn: 352819 --- compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp index 4c1a57914c99..a823f3725dd2 100644 --- a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp +++ b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp @@ -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) {