3 ms·
In non-embedded contexts it is usual for ELF executables to have program header that includes ELF header and program headres and maps this to begining of addres
by dfox 5y ago
In non-embedded contexts it is usual for ELF executables to have program header that includes ELF header and program headres and maps this to begining of address space used by that binary. At least on Linux the address where it is mapped to is accessible as symbol __ehdr_start.