mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 18:18:07 +00:00
fix merge artefact (check_binary)
This commit is contained in:
@ -11102,11 +11102,6 @@ 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
|
||||||
@ -11130,8 +11125,10 @@ EXP_ST void check_binary(u8* fname) {
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#if !defined(__arm__) && !defined(__arm64__)
|
||||||
if (f_data[0] != 0xCF || f_data[1] != 0xFA || f_data[2] != 0xED)
|
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);
|
FATAL("Program '%s' is not a 64-bit Mach-O binary", target_path);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* ^!__APPLE__ */
|
#endif /* ^!__APPLE__ */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user