diff options
| author | Kostya Serebryany <kcc@google.com> | 2019-01-31 23:43:54 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2019-01-31 23:43:54 +0000 |
| commit | ae667c49d228bdd81252ad82a25c67e1a59c8f5c (patch) | |
| tree | c5df9a8070bfc502f39c92ef3ccd022d75061db1 | |
| parent | a78a44d480bda7ad51d359ced2a56f0b32554c0a (diff) | |
| download | bcm5719-llvm-ae667c49d228bdd81252ad82a25c67e1a59c8f5c.tar.gz bcm5719-llvm-ae667c49d228bdd81252ad82a25c67e1a59c8f5c.zip | |
[libFuzzer] make a test for exploding dfsan labels more agressive
llvm-svn: 352819
| -rw-r--r-- | compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp index 4c1a57914c9..a823f3725dd 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) { |

