PT_DYNAMIC
Posted: Sat Jun 19, 2010 5:50 pm
When parsing an ELF executable that requires dynamic linking, I noticed that the PT_DYNAMIC section's p_offset, and p_vaddr values are equal to those seen in one of the PT_LOAD sections (data).
Is it always the case that the PT_DYNAMIC section will be found in one of the PT_LOAD sections obviating the need to do a separate read on the file to load the dynamic section? The ELF specification I have is not clear on that.
Thanks.
Is it always the case that the PT_DYNAMIC section will be found in one of the PT_LOAD sections obviating the need to do a separate read on the file to load the dynamic section? The ELF specification I have is not clear on that.
Thanks.