[fuzzer] Always keep assert() when building with AFL

This commit is contained in:
Romain Goyet
2020-11-04 10:53:44 -05:00
committed by LeaNumworks
parent cca750a1c4
commit 55615c10e3

View File

@@ -6,3 +6,7 @@ LD = afl-clang++
ifeq ($(ASAN),1)
export AFL_USE_ASAN = 1
endif
# Prevent NDEBUG from being defined since we will always want assertions to run
# when the code is being fuzzed
SFLAGS := $(filter-out -DNDEBUG,$(SFLAGS))