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.
This commit is contained in:
Google AutoFuzz Team 2019-12-02 17:13:28 -05:00 committed by Wouter van Oortmerssen
parent 65f8703572
commit 4fd8eb214b
1 changed files with 1 additions and 5 deletions

View File

@ -5,10 +5,6 @@
#include "fuzzer_assert.h"
#include "test_assert.h"
static_assert(__has_feature(memory_sanitizer) ||
__has_feature(address_sanitizer),
"sanitizer disabled");
// Utility for test run.
struct OneTimeTestInit {
// Declare trap for the Flatbuffers test engine.
@ -53,4 +49,4 @@ struct OneTimeTestInit {
static OneTimeTestInit one_time_init_;
};
#endif // !FUZZER_TEST_INIT_H_
#endif // !FUZZER_TEST_INIT_H_