fix afl- tools for new frida

This commit is contained in:
vanhauser-thc
2021-11-09 14:37:14 +01:00
parent 89eefe044f
commit 75821d2943
3 changed files with 3 additions and 3 deletions

View File

@ -995,7 +995,7 @@ int main(int argc, char **argv_orig, char **envp) {
frida_mode = 1; frida_mode = 1;
fsrv.frida_mode = frida_mode; fsrv.frida_mode = frida_mode;
setenv("AFL_FRIDA_INST_SEED", "0x0", 1); setenv("AFL_FRIDA_INST_SEED", "1", 1);
break; break;

View File

@ -1056,7 +1056,7 @@ int main(int argc, char **argv_orig, char **envp) {
if (fsrv->frida_mode) { FATAL("Multiple -O options not supported"); } if (fsrv->frida_mode) { FATAL("Multiple -O options not supported"); }
fsrv->frida_mode = true; fsrv->frida_mode = true;
setenv("AFL_FRIDA_INST_SEED", "0x0", 1); setenv("AFL_FRIDA_INST_SEED", "1", 1);
break; break;

View File

@ -1038,7 +1038,7 @@ int main(int argc, char **argv_orig, char **envp) {
if (fsrv->frida_mode) { FATAL("Multiple -O options not supported"); } if (fsrv->frida_mode) { FATAL("Multiple -O options not supported"); }
fsrv->frida_mode = 1; fsrv->frida_mode = 1;
setenv("AFL_FRIDA_INST_SEED", "0x0", 1); setenv("AFL_FRIDA_INST_SEED", "1", 1);
break; break;