mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
fuzz_tests: use __AFL_INIT when available
alleged to speed things up
This commit is contained in:
parent
0dddfeacc9
commit
de905d4b48
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ int run_fuzzer(int argc, const char **argv, Fuzzer &fuzzer)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __AFL_HAVE_MANUAL_CONTROL
|
||||||
|
__AFL_INIT();
|
||||||
|
#endif
|
||||||
|
|
||||||
int ret = fuzzer.init();
|
int ret = fuzzer.init();
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue