TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mach-O Binaries (2015)

33 点作者 japrozs将近 2 年前

3 条评论

corsix将近 2 年前
The trie structure described in the article can be (ab)used to export an infinite number of symbols from a library: <a href="https:&#x2F;&#x2F;www.corsix.org&#x2F;content&#x2F;exporting-an-infinite-number-of-symbols" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.corsix.org&#x2F;content&#x2F;exporting-an-infinite-number-...</a>
评论 #37041121 未加载
woodruffw将近 2 年前
This is a nice writeup, especially the part about the import binding FSA! These kinds of little state machines show in all sorts of image format and image format-adjacent places, like DWARF&#x27;s line program[1] and location expression encoding.<p>(Having written parsers for all three, I think Mach-O is the best &quot;major&quot; program image format. It&#x27;s certainly the most well abstracted.)<p>[1]: <a href="https:&#x2F;&#x2F;swatinem.de&#x2F;blog&#x2F;dwarf-lines&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;swatinem.de&#x2F;blog&#x2F;dwarf-lines&#x2F;</a>
评论 #37041413 未加载
shrubble将近 2 年前
Surprised that there was not a mention of the multi-architecture fat binaries; on NEXTSTEP you could have quad-Fat binaries that had in a single binary, code for SPARC, Motorola 68K, HP PA-RISC and x86.<p>I suppose the mentioned structures were used to hold the different bits of code, while sharing e.g. text strings that were loaded in .text or whatnot.
评论 #37042363 未加载