remove outdated references
MODIFY
src/afl-forkserver.c
src/afl-forkserver.c
@@ -845,9 +845,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
" from the fuzzer! Since it seems to be built with ASAN and you "
"have a\n"
" restrictive memory limit configured, this is expected; please "
- "read\n"
- " %s/notes_for_asan.md for help and run with '-m 0'.\n",
- doc_path);
+ "run with '-m 0'.\n");
} else if (!fsrv->mem_limit) {
@@ -946,8 +944,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
"with ASAN and\n"
" you have a restrictive memory limit configured, this is "
"expected; please\n"
- " read %s/notes_for_asan.md for help and run with '-m 0'.\n",
- doc_path);
+ " run with '-m 0'.\n");
} else if (!fsrv->mem_limit) {

MODIFY
src/afl-fuzz-init.c
src/afl-fuzz-init.c
@@ -978,7 +978,7 @@ void perform_dry_run(afl_state_t *afl) {
"quickly\n"
" estimate the required amount of virtual memory for the "
"binary. Also,\n"
- " if you are using ASAN, see %s/notes_for_asan.md.\n\n"
+ " if you are using ASAN, set '-m 0'.\n\n"
" - In QEMU persistent mode the selected address(es) for the "
"loop are not\n"
@@ -994,7 +994,7 @@ void perform_dry_run(afl_state_t *afl) {
"troubleshooting tips.\n",
stringify_mem_size(val_buf, sizeof(val_buf),
afl->fsrv.mem_limit << 20),
- afl->fsrv.mem_limit - 1, doc_path);
+ afl->fsrv.mem_limit - 1);
} else {

MODIFY
src/afl-fuzz.c
src/afl-fuzz.c
@@ -1501,7 +1501,6 @@ int main(int argc, char **argv_orig, char **envp) {
}
-
get_core_count(afl);
atexit(at_exit);

MODIFY
src/afl-sharedmem.c
src/afl-sharedmem.c
@@ -244,7 +244,11 @@ u8 *afl_shm_init(sharedmem_t *shm, size_t map_size,
shm->shm_id =
shmget(IPC_PRIVATE, map_size, IPC_CREAT | IPC_EXCL | DEFAULT_PERMISSION);
- if (shm->shm_id < 0) { PFATAL("shmget() failed, try running afl-system-config"); }
+ if (shm->shm_id < 0) {
+
+ PFATAL("shmget() failed, try running afl-system-config");
+
+ }
if (shm->cmplog_mode) {
@@ -325,3 +329,4 @@ u8 *afl_shm_init(sharedmem_t *shm, size_t map_size,
return shm->map;
}
+

remove outdated references