This commit is contained in:
van Hauser
2019-07-14 20:10:43 +02:00
parent 054976c390
commit 82d70e0720

View File

@ -7512,11 +7512,6 @@ static u8 pilot_fuzzing(char** argv) {
stage_short = "flip2"; stage_short = "flip2";
stage_max = (len << 3) - 1; stage_max = (len << 3) - 1;
#if !defined(__arm__) && !defined(__arm64__)
if (f_data[0] != 0xCF || f_data[1] != 0xFA || f_data[2] != 0xED)
FATAL("Program '%s' is not a 64-bit Mach-O binary", target_path);
#endif
orig_hit_cnt = new_hit_cnt; orig_hit_cnt = new_hit_cnt;
for (stage_cur = 0; stage_cur < stage_max; stage_cur++) { for (stage_cur = 0; stage_cur < stage_max; stage_cur++) {
@ -11107,6 +11102,11 @@ EXP_ST void check_binary(u8* fname) {
close(fd); close(fd);
#if !defined(__arm__) && !defined(__arm64__)
if (f_data[0] != 0xCF || f_data[1] != 0xFA || f_data[2] != 0xED)
FATAL("Program '%s' is not a 64-bit Mach-O binary", target_path);
#endif
if (f_data[0] == '#' && f_data[1] == '!') { if (f_data[0] == '#' && f_data[1] == '!') {
SAYF("\n" cLRD "[-] " cRST SAYF("\n" cLRD "[-] " cRST