mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 01:31:37 +00:00
support universal mach-o binaries
This commit is contained in:
parent
8bc0b646f0
commit
b262c5478c
@ -1903,8 +1903,9 @@ void check_binary(u8* fname) {
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#if !defined(__arm__) && !defined(__arm64__)
|
#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);
|
&& (f_data[0] != 0xCA || f_data[1] != 0xFE || f_data[2] != 0xBA))
|
||||||
|
FATAL("Program '%s' is not a 64-bit or universal Mach-O binary", target_path);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* ^!__APPLE__ */
|
#endif /* ^!__APPLE__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user