mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 01:31:37 +00:00
remove unnecessary code, increase init map size
This commit is contained in:
parent
17a4e9fadf
commit
d86b13384f
@ -74,16 +74,12 @@
|
|||||||
run. It will end up as .comm, so it shouldn't be too wasteful. */
|
run. It will end up as .comm, so it shouldn't be too wasteful. */
|
||||||
|
|
||||||
#if MAP_SIZE <= 65536
|
#if MAP_SIZE <= 65536
|
||||||
#define MAP_INITIAL_SIZE 256000
|
#define MAP_INITIAL_SIZE 512000
|
||||||
#else
|
#else
|
||||||
#define MAP_INITIAL_SIZE MAP_SIZE
|
#define MAP_INITIAL_SIZE MAP_SIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef AFL_REAL_LD
|
|
||||||
u8 __afl_area_initial[MAP_INITIAL_SIZE];
|
u8 __afl_area_initial[MAP_INITIAL_SIZE];
|
||||||
#else
|
|
||||||
u8 __afl_area_initial[MAP_SIZE];
|
|
||||||
#endif
|
|
||||||
u8 * __afl_area_ptr = __afl_area_initial;
|
u8 * __afl_area_ptr = __afl_area_initial;
|
||||||
u8 * __afl_dictionary;
|
u8 * __afl_dictionary;
|
||||||
u8 * __afl_fuzz_ptr;
|
u8 * __afl_fuzz_ptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user