Study note

How to execute an object file: Part 2

Properties

Type
Blogs
Status
待读
Domain
Compilers / PL
Category
链接、装载与目标文件
Source
blog.cloudflare.com
Vault note
library/articles/compilers/How-to-execute-an-object-file-Part-2-afc7cde0ebd0c5c6.md

Summary

系列第二篇进入 relocation,解释为什么 object file 中的相对调用会留空,以及如何读取 `.rela.text`、symbol table 和 relocation type 来修补运行时地址。

Highlights

适合真正理解 linker 的核心工作:根据符号和重定位公式修补机器码/数据里的地址。

Notes

Cloudflare object file 执行系列。

Comments

Loading comments...