mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 09:41:35 +00:00
fix merge artefact (check_binary)
This commit is contained in:
parent
520c85c7b7
commit
0d217e15d5
@ -11102,11 +11102,6 @@ EXP_ST void check_binary(u8* fname) {
|
||||
|
||||
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] == '!') {
|
||||
|
||||
SAYF("\n" cLRD "[-] " cRST
|
||||
@ -11130,8 +11125,10 @@ EXP_ST void check_binary(u8* fname) {
|
||||
|
||||
#else
|
||||
|
||||
#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
|
||||
|
||||
#endif /* ^!__APPLE__ */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user