mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
fuzz: skip custom mutators with -fsanitize=memory
This commit is contained in:
parent
2c64335d9c
commit
f9ff3fa23d
@ -296,7 +296,12 @@ $(FUZZ_TARGETS): $(FUZZ_OBJS) $(allobjs) $(LIBTOM_DEPS)
|
|||||||
# fuzzers that use the custom mutator - these expect a SSH network stream
|
# fuzzers that use the custom mutator - these expect a SSH network stream
|
||||||
MUTATOR_FUZZERS=fuzzer-client fuzzer-client_nomaths \
|
MUTATOR_FUZZERS=fuzzer-client fuzzer-client_nomaths \
|
||||||
fuzzer-preauth fuzzer-preauth_nomaths fuzzer-postauth_nomaths
|
fuzzer-preauth fuzzer-preauth_nomaths fuzzer-postauth_nomaths
|
||||||
|
|
||||||
|
# Skip custom mutators for -fsanitize-memory since libfuzzer doesn't initialise memory
|
||||||
|
# Pending fix for it https://github.com/google/oss-fuzz/issues/4605
|
||||||
|
ifeq (,$(findstring fsanitize=memory, $(CFLAGS)))
|
||||||
$(MUTATOR_FUZZERS): allobjs += fuzz/fuzz-sshpacketmutator.o
|
$(MUTATOR_FUZZERS): allobjs += fuzz/fuzz-sshpacketmutator.o
|
||||||
|
endif
|
||||||
|
|
||||||
fuzzer-%.options: Makefile
|
fuzzer-%.options: Makefile
|
||||||
echo "[libfuzzer]" > $@
|
echo "[libfuzzer]" > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user