Skip to content

Commit

Permalink
update for make install; update README for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
xorpse committed Jun 8, 2021
1 parent 867c57a commit 2c0d994
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README-arm64.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# ARM64 specifics

Enter recovery mode and disable SIP using:

```
$ csrutil disable --with kext --with dtrace --with basesystem
```

Reboot and add boot arguments and reboot again:

```
$ sudo nvram boot-args=-arm64e_preview_abi
```

Build using the `makefile.arm64`:

```
$ make -f makefile.arm64
$ make -j1 -f makefile.arm64
$ make -f makefile.arm64 sign
```

Expand Down
2 changes: 1 addition & 1 deletion makefile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ FRIDA_DEVKIT_FILES = ./frida/frida-core.h ./frida/libfrida-core.a

all: clean-build $(BINS)

install: BUILD_FLAGS=-std=c99 -Wall -DNDEBUG -O2 -fvisibility=hidden -mmacosx-version-min=10.13
install: BUILD_FLAGS=-std=c99 -Wall -DNDEBUG -fPIC -O2 -fvisibility=hidden -mmacosx-version-min=10.13 -L./frida -lfrida-core -lbsm -lm -ldl -lpthread -lresolv -Wl,-framework,Foundation,-framework,AppKit -pthread -isysroot "$(shell xcrun --sdk macosx --show-sdk-path)" -Wl,-dead_strip
install: clean-build $(BINS)

$(FRIDA_DEVKIT_FILES):
Expand Down

0 comments on commit 2c0d994

Please sign in to comment.