Tag · auxv

2 articles to explore.

[The World of Linkers—Lab 06] File Bytes, Memory Bytes, and Segment Permissions
A code-only program is of little use. This lab adds read-only constants, initialized globals, BSS, and COMMON storage, describes them with three load segments of different permissions, and lets the kernel check the result: writing constants or executing data must end in SIGSEGV.
Read article
[The World of Linkers—Theory 06] Before main Gets a Turn
Follow an ELF file through kernel mappings, zero-filled memory, demand paging, the initial stack, and C runtime startup. Then watch static PIE relocate itself and malformed images reveal the loader's validation boundaries.
Read article