mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
This commit is contained in:
@ -145,7 +145,7 @@ u8 *afl_shm_init(sharedmem_t *shm, size_t map_size,
|
||||
|
||||
if (!non_instrumented_mode) setenv(SHM_ENV_VAR, shm->g_shm_file_path, 1);
|
||||
|
||||
if (shm->map == -1 || !shm->map) PFATAL("mmap() failed");
|
||||
if (shm->map == (void *)-1 || !shm->map) PFATAL("mmap() failed");
|
||||
|
||||
#else
|
||||
u8 *shm_str;
|
||||
|
Reference in New Issue
Block a user