vdso handling
Alan Modra
amodra@gmail.com
Thu Mar 20 02:00:00 GMT 2014
On Wed, Mar 19, 2014 at 08:29:47AM +0000, Metzger, Markus T wrote:
> Shouldn't the ehdr indicate that there are no sections in this case?
Nope. See my other email to Pedro.
> If we can't trust the image to contain everything that the ELF header
> describes, would it be safer to generate fake sections based on the
> program header? We already assume that the program header is
> contained in the image.
Yes, you're correct that it is wrong to assume program headers are
loaded. Even worse, the in-memory image doesn't even need to contain
the ELF file header.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list