TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Parsing Mach-O files

44 pointsby AlexDenisovalmost 10 years ago

5 comments

mayoffalmost 10 years ago
The 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: <a href="http:&#x2F;&#x2F;www.opensource.apple.com&#x2F;source&#x2F;cctools&#x2F;cctools-870&#x2F;otool&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.opensource.apple.com&#x2F;source&#x2F;cctools&#x2F;cctools-870&#x2F;o...</a>
emgram769almost 10 years ago
someone made a mach-o lib for ruby: <a href="https:&#x2F;&#x2F;github.com&#x2F;woodruffw&#x2F;ruby-macho" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;woodruffw&#x2F;ruby-macho</a>
mzsalmost 10 years ago
You might dig this Alex:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;cebix&#x2F;macemu&#x2F;blob&#x2F;master&#x2F;BasiliskII&#x2F;src&#x2F;Unix&#x2F;Darwin&#x2F;lowmem.c#L109" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cebix&#x2F;macemu&#x2F;blob&#x2F;master&#x2F;BasiliskII&#x2F;src&#x2F;U...</a>
jonhohlealmost 10 years ago
Many years ago, I wrote something about Universal Binaries - <a href="http:&#x2F;&#x2F;hohle.net&#x2F;scrap_post.php?post=197" rel="nofollow">http:&#x2F;&#x2F;hohle.net&#x2F;scrap_post.php?post=197</a> . IIRC, they&#x27;ve remained relatively unchanged since NeXTSTEP and have always been available in OS X (and even used during the G3&#x2F;G4&#x2F;G5 era in Mac OS).
bla2almost 10 years ago
Related: <a href="https:&#x2F;&#x2F;github.com&#x2F;shinh&#x2F;maloader" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;shinh&#x2F;maloader</a> is a loader for running mach-o files on Linux.