bigger initial map when LTO

This commit is contained in:
van Hauser
2020-05-11 10:45:20 +02:00
parent 50a63777ec
commit 41f6aa7940
3 changed files with 20 additions and 17 deletions

View File

@ -10,6 +10,8 @@
*/
#include <stdio.h>
// to prevent the function from being removed
unsigned char __afl_lto_mode = 0;
@ -17,6 +19,7 @@ unsigned char __afl_lto_mode = 0;
__attribute__((constructor(0))) void __afl_auto_init_globals(void) {
if (getenv("AFL_DEBUG")) fprintf(stderr, "[__afl_auto_init_globals]\n");
__afl_lto_mode = 1;
}