cleaned up AFL_PRINT_FILENAMES env
MODIFY
include/envs.h
include/envs.h
@@ -193,6 +193,7 @@ static char *afl_environment_variables[] = {
"AFL_EXPAND_HAVOC_NOW",
"AFL_USE_FASAN",
"AFL_USE_QASAN",
+ "AFL_PRINT_FILENAMES",
NULL
};

MODIFY
src/afl-showmap.c
src/afl-showmap.c
@@ -774,7 +774,7 @@ int main(int argc, char **argv_orig, char **envp) {
afl_forkserver_t fsrv_var = {0};
if (getenv("AFL_DEBUG")) { debug = true; }
- if (getenv("AFL_PRINT_FILENAMES")) { print_filenames = true; }
+ if (get_afl_env("AFL_PRINT_FILENAMES")) { print_filenames = true; }
fsrv = &fsrv_var;
afl_fsrv_init(fsrv);

cleaned up AFL_PRINT_FILENAMES env