This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Thanks! That sounds like a good solution. Unfortunately while implementing it I stumbled over another problem. Using AT_PHDR for locating the ELF header willThere is a reliable method using AT_PHDR. Find the first PT_LOAD with p_offset=0 (in practice it's always the first there is) and its p_vaddr is where the ELF header appears in memory.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |