Commit 4fd8eb21 authored by Google AutoFuzz Team's avatar Google AutoFuzz Team Committed by Wouter van Oortmerssen

Remove a static_assert (#5643)

Having a static_assert on MSAN and ASAN prevents
the fuzzers from being used with different engines,
like TSAN, UBSAN, … but also with fuzzers that aren't
using MSAN/ASAN like afl for example.
parent 65f87035
...@@ -5,10 +5,6 @@ ...@@ -5,10 +5,6 @@
#include "fuzzer_assert.h" #include "fuzzer_assert.h"
#include "test_assert.h" #include "test_assert.h"
static_assert(__has_feature(memory_sanitizer) ||
__has_feature(address_sanitizer),
"sanitizer disabled");
// Utility for test run. // Utility for test run.
struct OneTimeTestInit { struct OneTimeTestInit {
// Declare trap for the Flatbuffers test engine. // Declare trap for the Flatbuffers test engine.
...@@ -53,4 +49,4 @@ struct OneTimeTestInit { ...@@ -53,4 +49,4 @@ struct OneTimeTestInit {
static OneTimeTestInit one_time_init_; static OneTimeTestInit one_time_init_;
}; };
#endif // !FUZZER_TEST_INIT_H_ #endif // !FUZZER_TEST_INIT_H_
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment