Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
kimapr (kimapr@ublog.kimapr.net)'s status on Friday, 25-Oct-2024 04:46:47 JSTkimapr @navi The data in ELF segments, be it functions, constants or whatever else
the kernel would just read all the elf headers then sets up a memory map accordingly, without actually reading or loading any of data mapped. When time comes and it starts executing, any memory access of things that aren't loaded yet cause a page fault and it just loads them