سیستمی و پژوهش امنیتی
پیشرفته
۲۸ سرفصل
تخصیصدهندهٔ حافظه
Memory Allocators
چیدمان heap، طول عمر اشیا، SLAB و SLUB و تفاوت تخصیص در user و kernel.
دورههای این مسیر
مفاهیم اصلی
آموزش «مفاهیم اصلی» در مسیر تخصیصدهندهٔ حافظه.
۱ ماژول
تمرینها
آموزش «تمرینها» در مسیر تخصیصدهندهٔ حافظه.
۱ ماژول
معیار پیشرفت به مرحلهٔ بعد
آموزش «معیار پیشرفت به مرحلهٔ بعد» در مسیر تخصیصدهندهٔ حافظه.
۱ ماژول
سرفصلهای کامل
Core Topics
- Heap Layout
- Allocation / Deallocation
- Metadata
- Chunks
- Fragmentation
- Arenas
- Bins
- Object Lifetimes
- و ۵ مورد دیگر…
Exercises
- Implement a simple allocator
- Visualize heap layouts
- Trace allocations with a debugger
- Study object lifetime
- Compare user-space and kernel allocation
- Investigate fragmentation
- Use sanitizers to detect lifetime bugs
Move to Next Stage When
- You understand how allocators manage memory
- You understand object lifetime
- You can explain heap layout at a conceptual level
- You understand SLAB/SLUB concepts
- You can reason about allocation-related bugs