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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Delve into ELF Binary Magic

7 点作者 isabellat将近 3 年前

1 comment

johndoe0815将近 3 年前
(2017)<p>I would expect a modern tutorial to focus on x86-64 (syscall&#x2F;sysenter) instead of the old int 0x80 conventions for 32-bit x86. int 0x80 syscalls still work in 64-bit mode, but use a 32-bit calling convention, which might be confusing - see also <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;46087730&#x2F;what-happens-if-you-use-the-32-bit-int-0x80-linux-abi-in-64-bit-code" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;46087730&#x2F;what-happens-if...</a>.<p>If you want to build a really minimal ELF file (on Linux), this is perhaps the possible minimum: <a href="https:&#x2F;&#x2F;www.muppetlabs.com&#x2F;~breadbox&#x2F;software&#x2F;tiny&#x2F;teensy.html" rel="nofollow">https:&#x2F;&#x2F;www.muppetlabs.com&#x2F;~breadbox&#x2F;software&#x2F;tiny&#x2F;teensy.ht...</a>