Study note
How statically linked programs run on Linux
Properties
- Type
- Blogs
- Status
- 待读
- Domain
- Systems
- Category
- 汇编、链接与可执行文件
- Source
- eli.thegreenplace.net
- Vault note
library/articles/systems/How-statically-linked-programs-run-on-Linux-6c6c2d2d5db5e36e.md
Summary
Eli Bendersky 解析 Linux 上静态链接程序如何启动运行,涉及 ELF、入口点、loader、`_start`、C runtime 初始化和 `main` 调用链。
Highlights
适合与 linker/object file 系列一起读,把“可执行文件被内核加载后发生什么”补完整。
Notes
Linux 静态链接程序运行机制。
Comments
Loading comments...