mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 09:41:35 +00:00
Merge pull request #2061 from jschwartzentruber/change_smm_vis
Specify shared memory visibility
This commit is contained in:
commit
96bf0f8323
@ -1591,8 +1591,10 @@ void add_defs_persistent_mode(aflcc_state_t *aflcc) {
|
||||
insert_param(aflcc,
|
||||
"-D__AFL_FUZZ_INIT()="
|
||||
"int __afl_sharedmem_fuzzing = 1;"
|
||||
"extern unsigned int *__afl_fuzz_len;"
|
||||
"extern unsigned char *__afl_fuzz_ptr;"
|
||||
"extern __attribute__((visibility(\"default\"))) "
|
||||
"unsigned int *__afl_fuzz_len;"
|
||||
"extern __attribute__((visibility(\"default\"))) "
|
||||
"unsigned char *__afl_fuzz_ptr;"
|
||||
"unsigned char __afl_fuzz_alt[1048576];"
|
||||
"unsigned char *__afl_fuzz_alt_ptr = __afl_fuzz_alt;");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user