Study note

Writing malloc() from Scratch in x86 Assembly

Properties

Type
Videos
Status
待读
Domain
Compilers / PL
Category
运行时与内存管理
Source
youtube.com
Vault note
library/videos/compilers/Writing-malloc()-from-Scratch-in-x86-Assembly-536980b3c2d2176e.md

Summary

用 x86 汇编从零实现简化版 malloc,展示堆增长、块元数据、查找和返回指针的基本机制。

Highlights

把分配器概念落实到寄存器与内存布局,适合衔接 glibc malloc 的进一步阅读。

Comments

Loading comments...