Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/secretsquirrel/osx_mach_stuff
Personal Exploration of Mach Programming
https://github.com/secretsquirrel/osx_mach_stuff
Last synced: 13 days ago
JSON representation
Personal Exploration of Mach Programming
- Host: GitHub
- URL: https://github.com/secretsquirrel/osx_mach_stuff
- Owner: secretsquirrel
- Created: 2015-02-25T19:03:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-21T14:29:28.000Z (over 9 years ago)
- Last Synced: 2024-05-02T04:55:13.140Z (7 months ago)
- Language: C
- Size: 289 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OSX Mach Stuff
Nemo's work from uniformed back in 2006 on mach programming.
Updating the code to 10.10 for a mental exercise and to learn mach programming.
## Chapter 7 replacing ptrace
Chapter 7 is where it really starts from a programming POV.
To see the example working:
On 10.10:
gcc -o chapter_7 chapter_7.cbrew install nasm
nasm -f macho64 test.asm -o test.o && ld -e _main -macosx_version_min 10.8 -arch x86_64 test.o -lSystem
./a.out &
sudo ./chapter_7 [a.out pid]
[snip output]