Refactoring fuzz_py API

This commit is contained in:
h1994st
2020-03-02 21:30:10 -05:00
parent b2a2b0fc21
commit 90506479e7
5 changed files with 85 additions and 9 deletions

View File

@ -752,9 +752,9 @@ int main(int argc, char** argv, char** envp) {
if (get_afl_env("AFL_FAST_CAL")) fast_cal = 1;
if (get_afl_env("AFL_AUTORESUME")) {
autoresume = 1;
if (in_place_resume)
if (in_place_resume)
SAYF("AFL_AUTORESUME has no effect for '-i -'");
}
@ -862,7 +862,6 @@ int main(int argc, char** argv, char** envp) {
check_cpu_governor();
setup_post();
setup_custom_mutator();
setup_shm(dumb_mode);
if (!in_bitmap) memset(virgin_bits, 255, MAP_SIZE);
@ -873,6 +872,8 @@ int main(int argc, char** argv, char** envp) {
setup_dirs_fds();
setup_custom_mutator();
setup_cmdline_file(argv + optind);
read_testcases();