mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
remove outdated references
This commit is contained in:
@ -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 "
|
" from the fuzzer! Since it seems to be built with ASAN and you "
|
||||||
"have a\n"
|
"have a\n"
|
||||||
" restrictive memory limit configured, this is expected; please "
|
" restrictive memory limit configured, this is expected; please "
|
||||||
"read\n"
|
"run with '-m 0'.\n");
|
||||||
" %s/notes_for_asan.md for help and run with '-m 0'.\n",
|
|
||||||
doc_path);
|
|
||||||
|
|
||||||
} else if (!fsrv->mem_limit) {
|
} else if (!fsrv->mem_limit) {
|
||||||
|
|
||||||
@ -946,8 +944,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
|
|||||||
"with ASAN and\n"
|
"with ASAN and\n"
|
||||||
" you have a restrictive memory limit configured, this is "
|
" you have a restrictive memory limit configured, this is "
|
||||||
"expected; please\n"
|
"expected; please\n"
|
||||||
" read %s/notes_for_asan.md for help and run with '-m 0'.\n",
|
" run with '-m 0'.\n");
|
||||||
doc_path);
|
|
||||||
|
|
||||||
} else if (!fsrv->mem_limit) {
|
} else if (!fsrv->mem_limit) {
|
||||||
|
|
||||||
|
@ -978,7 +978,7 @@ void perform_dry_run(afl_state_t *afl) {
|
|||||||
"quickly\n"
|
"quickly\n"
|
||||||
" estimate the required amount of virtual memory for the "
|
" estimate the required amount of virtual memory for the "
|
||||||
"binary. Also,\n"
|
"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 "
|
" - In QEMU persistent mode the selected address(es) for the "
|
||||||
"loop are not\n"
|
"loop are not\n"
|
||||||
@ -994,7 +994,7 @@ void perform_dry_run(afl_state_t *afl) {
|
|||||||
"troubleshooting tips.\n",
|
"troubleshooting tips.\n",
|
||||||
stringify_mem_size(val_buf, sizeof(val_buf),
|
stringify_mem_size(val_buf, sizeof(val_buf),
|
||||||
afl->fsrv.mem_limit << 20),
|
afl->fsrv.mem_limit << 20),
|
||||||
afl->fsrv.mem_limit - 1, doc_path);
|
afl->fsrv.mem_limit - 1);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -1501,7 +1501,6 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
get_core_count(afl);
|
get_core_count(afl);
|
||||||
|
|
||||||
atexit(at_exit);
|
atexit(at_exit);
|
||||||
|
@ -244,7 +244,11 @@ u8 *afl_shm_init(sharedmem_t *shm, size_t map_size,
|
|||||||
|
|
||||||
shm->shm_id =
|
shm->shm_id =
|
||||||
shmget(IPC_PRIVATE, map_size, IPC_CREAT | IPC_EXCL | DEFAULT_PERMISSION);
|
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) {
|
if (shm->cmplog_mode) {
|
||||||
|
|
||||||
@ -325,3 +329,4 @@ u8 *afl_shm_init(sharedmem_t *shm, size_t map_size,
|
|||||||
return shm->map;
|
return shm->map;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user