fuzz_tests: use __AFL_INIT when available

alleged to speed things up
This commit is contained in:
moneromooo-monero 2018-08-13 22:13:11 +00:00
parent 0dddfeacc9
commit de905d4b48
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -52,6 +52,10 @@ int run_fuzzer(int argc, const char **argv, Fuzzer &fuzzer)
return 1;
}
#ifdef __AFL_HAVE_MANUAL_CONTROL
__AFL_INIT();
#endif
int ret = fuzzer.init();
if (ret)
return ret;