PT_LOAD mapping mechanism
I’m currently playing with elf files. I’m getting confused about how PT_LOAD segments are loaded into memory. I mean how p_offset, p_filesz, p_vaddr, and p_memsz are used.
I’m currently playing with elf files. I’m getting confused about how PT_LOAD segments are loaded into memory. I mean how p_offset, p_filesz, p_vaddr, and p_memsz are used.