mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 17:13:50 +01:00
fuzzing: Rename AFL flag to prevent spelling warning from AFL
This commit is contained in:
parent
2ea6a2af1e
commit
f7f9eddd9e
@ -904,7 +904,7 @@ include $(RIOTMAKE)/tests/tests.inc.mk
|
||||
.PHONY: fuzz
|
||||
fuzz:
|
||||
env FLASHFILE="$(FLASHFILE)" PORT="$(PORT)" TERMFLAGS="$(TERMFLAGS)" \
|
||||
"$(RIOTBASE)"/dist/tools/fuzzing/afl.sh $(AFL_FLAGS)
|
||||
"$(RIOTBASE)"/dist/tools/fuzzing/afl.sh $(FLAGS_FOR_AFL)
|
||||
|
||||
# Default OBJDUMPFLAGS for platforms which do not specify it:
|
||||
OBJDUMPFLAGS ?= -S -D -h
|
||||
|
||||
@ -72,13 +72,13 @@ Afterwards invoke afl using:
|
||||
|
||||
### Parallel Fuzzing
|
||||
|
||||
Parallel fuzzing is supported through `AFL_FLAGS`, e.g.:
|
||||
Parallel fuzzing is supported through `FLAGS_FOR_AFL`, e.g.:
|
||||
|
||||
# Start first AFL instance
|
||||
AFL_FLAGS="-M fuzzer01" make -C fuzzing/gnrc_tcp/ fuzz
|
||||
FLAGS_FOR_AFL="-M fuzzer01" make -C fuzzing/gnrc_tcp/ fuzz
|
||||
|
||||
# Start second AFL instance in a different terminal
|
||||
AFL_FLAGS="-S fuzzer02" make -C fuzzing/gnrc_tcp/ fuzz
|
||||
FLAGS_FOR_AFL="-S fuzzer02" make -C fuzzing/gnrc_tcp/ fuzz
|
||||
|
||||
[sanitizers github]: https://github.com/google/sanitizers
|
||||
[afl homepage]: http://lcamtuf.coredump.cx/afl/
|
||||
|
||||
@ -128,7 +128,7 @@ export UNZIP_HERE # Use `cd $(SOME_FOLDER) && $(UNZIP_HERE) $(SOME_FI
|
||||
export LAZYSPONGE # Command saving stdin to a file only on content update.
|
||||
export LAZYSPONGE_FLAGS # Parameters supplied to LAZYSPONGE.
|
||||
|
||||
export AFL_FLAGS # Additional command-line flags passed to afl during fuzzing.
|
||||
export FLAGS_FOR_AFL # Additional command-line flags passed to afl during fuzzing.
|
||||
|
||||
# LOG_LEVEL # Logging level as integer (NONE: 0, ERROR: 1, WARNING: 2, INFO: 3, DEBUG: 4, default: 3)
|
||||
# KCONFIG_ADD_CONFIG # List of .config files to be merged used by Boards and CPUs. See kconfig.mk
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user