mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
fix PCGUARD, build aflpp_driver with fPIC
This commit is contained in:
@ -70,12 +70,18 @@ static void __afl_map_shm(void) {
|
||||
char *id_str = getenv(SHM_ENV_VAR);
|
||||
char *ptr;
|
||||
|
||||
|
||||
/* NOTE TODO BUG FIXME: if you want to supply a variable sized map then
|
||||
uncomment the following: */
|
||||
|
||||
/*
|
||||
if ((ptr = getenv("AFL_MAP_SIZE")) != NULL) {
|
||||
|
||||
u32 val = atoi(ptr);
|
||||
if (val > 0) __afl_map_size = val;
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
if (__afl_map_size > MAP_SIZE) {
|
||||
|
||||
|
Reference in New Issue
Block a user