4 ms·
Parsing Mach-O files
- mzs 11y agoYou might dig this Alex: https://github.com/cebix/macemu/blob/master/BasiliskII/src/Unix/Darwin/lowmem.c#L109 https://github.com/cebix/macemu/blob/master/BasiliskII/src/U...
- emgram769 11y agosomeone made a mach-o lib for ruby: https://github.com/woodruffw/ruby-macho https://github.com/woodruffw/ruby-macho
- mayoff 11y agoThe author, and anyone else interested in exploring Mach-O files, might want to check out the otool command on Mac OS X. The otool source code is open source: http://www.opensource.apple.com/source/cctools/cctools-870/otool/ http://www.opensource.apple.com/source/cctools/cctools-870/o...
- jonhohle 11y agoMany years ago, I wrote something about Universal Binaries - http://hohle.net/scrap_post.php?post=197 http://hohle.net/scrap_post.php?post=197 . IIRC, they've remained relatively unchanged since NeXTSTEP and have always been available in OS X (and even used during the G3/G4/G5 era in Mac OS).
- bla2 11y agoRelated: https://github.com/shinh/maloader https://github.com/shinh/maloader is a loader for running mach-o files on Linux.