This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CC := $(shell which clang) | |
| MKDIR := $(shell which mkdir) | |
| CODESIGN := $(shell which codesign) | |
| CFLAGS += -arch arm64 | |
| CFLAGS += -isysroot $(shell xcrun --show-sdk-path --sdk macosx) | |
| CFLAGS += -framework Hypervisor | |
| all: security.plist vmapple.plist private.plist | |
| security.plist: cap results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // $ gcc -o fizzbuzz fizzbuzz.S | |
| // $ ./fizzbuzz <natural number> | |
| .section .rodata | |
| s_fizz: .asciz "Fizz\n" | |
| s_buzz: .asciz "Buzz\n" | |
| s_fizzbuzz: .asciz "FizzBuzz\n" | |
| s_ldformat: .asciz "%ld\n" | |
| .section .text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import sys | |
| import re | |
| def usage(): | |
| print("""usage: %s <kernelcache> <Jtool2's companion file> <R2 project name> | |
| Companion file can be obtained as follows: | |
| $ jtool2 --analyze <kernelcache> | |
| """) |