mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
fix explanation how to obtain the map size
This commit is contained in:
@ -39,6 +39,7 @@
|
||||
AFL_LLVM_INSTRUMENT=CLASSIC
|
||||
- new compile time variable: `AFL_OPT_LEVEL` to set a specific optimization
|
||||
level, default is `3`
|
||||
- correctly explain how to get the correct map size for large targets
|
||||
- code formatting updated to llvm 18
|
||||
- improved custom_mutators/aflpp/standalone/aflpp-standalone
|
||||
- added custom_mutators/autotokens/standalone/autotokens-standalone
|
||||
|
@ -367,6 +367,12 @@ static void __afl_map_shm(void) {
|
||||
|
||||
}
|
||||
|
||||
if (__afl_debug) {
|
||||
|
||||
fprintf(stderr, "DEBUG: AFL_MAP_SIZE=%u\n", __afl_map_size);
|
||||
|
||||
}
|
||||
|
||||
if (__afl_final_loc > MAP_SIZE) {
|
||||
|
||||
char *ptr;
|
||||
|
@ -495,9 +495,9 @@ static void report_error_and_exit(int error) {
|
||||
FATAL(
|
||||
"AFL_MAP_SIZE is not set and fuzzing target reports that the "
|
||||
"required size is very large. Solution: Run the fuzzing target "
|
||||
"stand-alone with the environment variable AFL_DEBUG=1 set and set "
|
||||
"the value for __afl_final_loc in the AFL_MAP_SIZE environment "
|
||||
"variable for afl-fuzz.");
|
||||
"stand-alone with the environment variable AFL_DUMP_MAP_SIZE=1 set "
|
||||
"the displayed value in the AFL_MAP_SIZE environment variable for "
|
||||
"afl-fuzz.");
|
||||
break;
|
||||
case FS_ERROR_MAP_ADDR:
|
||||
FATAL(
|
||||
|
Reference in New Issue
Block a user