integrate frida_mode, code-format

This commit is contained in:
vanhauser-thc
2021-03-25 20:10:09 +01:00
parent 00a53a870d
commit c169cb3911
14 changed files with 60 additions and 38 deletions

View File

@ -336,7 +336,16 @@ u8 *find_afl_binary(u8 *own_loc, u8 *fname) {
}
target_path = alloc_printf("%s/%s", BIN_PATH, fname);
if (perm == X_OK) {
target_path = alloc_printf("%s/%s", BIN_PATH, fname);
} else {
target_path = alloc_printf("%s/%s", AFL_PATH, fname);
}
if (!access(target_path, perm)) {
return target_path;