remove outdated references

This commit is contained in:
vanhauser-thc
2021-08-10 10:02:50 +02:00
parent 781e65ea42
commit 5700b3c750
5 changed files with 11 additions and 10 deletions

View File

@ -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) {

View File

@ -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 {

View File

@ -1501,7 +1501,6 @@ int main(int argc, char **argv_orig, char **envp) {
}
get_core_count(afl);
atexit(at_exit);

View File

@ -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;
}