mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 00:28:52 +00:00
Merge pull request #4254
de905d4b
fuzz_tests: use __AFL_INIT when available (moneromooo-monero)
This commit is contained in:
commit
885d3d5a99
@ -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 New Issue
Block a user