mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 10:08:07 +00:00
Merge pull request #1623 from WorksButNotTested/osx
Fix FRIDA mode for OSX x64
This commit is contained in:
@ -98,6 +98,25 @@ ifeq "$(shell uname)" "Darwin"
|
|||||||
OS:=macos
|
OS:=macos
|
||||||
AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-deprecated-declarations
|
AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-deprecated-declarations
|
||||||
GUM_ARCH:=""
|
GUM_ARCH:=""
|
||||||
|
ifeq "$(ARCH)" "arm64"
|
||||||
|
TARGET_CC= \
|
||||||
|
"clang" \
|
||||||
|
"-target" \
|
||||||
|
"arm64-apple-macos10.9"
|
||||||
|
TARGET_CXX= \
|
||||||
|
"clang++" \
|
||||||
|
"-target" \
|
||||||
|
"arm64-apple-macos10.9"
|
||||||
|
else
|
||||||
|
TARGET_CC= \
|
||||||
|
"clang" \
|
||||||
|
"-target" \
|
||||||
|
"x86_64-apple-macos10.9"
|
||||||
|
TARGET_CXX= \
|
||||||
|
"clang++" \
|
||||||
|
"-target" \
|
||||||
|
"x86_64-apple-macos10.9"
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-prio-ctor-dtor
|
AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-prio-ctor-dtor
|
||||||
|
Reference in New Issue
Block a user