On Mon, 03 Mar 2014 15:31:28 +0100, Mark Wielaard wrote:
If the last PT_LOAD segment that contains the whole shdrs also
extends
the segment in memory beyond the end of file the program might be reusing
the memory space that we expect the shdrs to be in. Don't trust the shdrs
are valid in that case.
Could there be a reproducer for it?
The "deleted executable eu-stack" works for me even without this patch
(for both sleep and firefox).
It is not obvious to me in which case this exception is needed.
Thanks,
Jan