mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 16:22:41 +00:00
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:
committed by
Wouter van Oortmerssen
parent
65f8703572
commit
4fd8eb214b
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user