diff options
author | Your Name <you@example.com> | 2023-01-25 08:24:34 +0000 |
---|---|---|
committer | Your Name <you@example.com> | 2023-01-25 08:24:34 +0000 |
commit | b0898de3773d8142e68bf931d62b1668b010a9e4 (patch) | |
tree | 8461c89e05b718e5ecbeb4f6b83677348e8b0eef | |
parent | 0251b9bfd8545b8070d8e5c1294c4b1e7968dcf4 (diff) | |
download | afl++-b0898de3773d8142e68bf931d62b1668b010a9e4.tar.gz |
Fix FRIDA mode for OSX x64
-rw-r--r-- | frida_mode/GNUmakefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/frida_mode/GNUmakefile b/frida_mode/GNUmakefile index d283c3d7..b876284f 100644 --- a/frida_mode/GNUmakefile +++ b/frida_mode/GNUmakefile @@ -98,6 +98,14 @@ ifeq "$(shell uname)" "Darwin" OS:=macos AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-deprecated-declarations GUM_ARCH:="" + TARGET_CC= \ + "clang" \ + "-target" \ + "x86_64-apple-macos10.9" + TARGET_CXX= \ + "clang++" \ + "-target" \ + "x86_64-apple-macos10.9" else ifdef DEBUG AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-prio-ctor-dtor |