This commit is contained in:
Andrea Fioraldi 2021-03-03 17:42:27 +01:00
parent eb451e577f
commit 22100d8446

View File

@ -154,7 +154,7 @@ void *__lafl_malloc(size_t size, const void *caller)
static void afl_libfuzzer_malloc_init(void)
{
old_malloc_hook = __malloc_hook;
__malloc_hook = my_malloc_hook;
__malloc_hook = __lafl_malloc;
}
/* Override initializing hook from the C library. */