diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-05-27 18:27:06 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-05-27 18:27:06 -0500 |
commit | d6d4a03b8599df3975eb351365273916b3d2f594 (patch) | |
tree | e13fd39b6b992a95d230565a84093b80e0fde9bb /tests/fuzz/fuzzer.cpp | |
parent | Merge pull request #6531 (diff) | |
parent | cmake: ASAN and PIE don't mix (diff) | |
download | monero-d6d4a03b8599df3975eb351365273916b3d2f594.tar.xz |
Merge pull request #6535
81773f5 fuzz_tests: refactor and add OSS-Fuzz compatibility (moneromooo-monero)
cb4edc1 cmake: ASAN and PIE don't mix (moneromooo-monero)
Diffstat (limited to 'tests/fuzz/fuzzer.cpp')
-rw-r--r-- | tests/fuzz/fuzzer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/fuzz/fuzzer.cpp b/tests/fuzz/fuzzer.cpp index 24db5ee05..0d2366263 100644 --- a/tests/fuzz/fuzzer.cpp +++ b/tests/fuzz/fuzzer.cpp @@ -33,6 +33,8 @@ #include "common/util.h" #include "fuzzer.h" +#ifndef OSSFUZZ + #if (!defined(__clang__) || (__clang__ < 5)) static int __AFL_LOOP(int) { @@ -74,3 +76,5 @@ int run_fuzzer(int argc, const char **argv, Fuzzer &fuzzer) CATCH_ENTRY_L0("run_fuzzer", 1); } + +#endif |