Read-only data in ELF libraries may be remapped writable at runtime (upcoming NDSS'17 paper)

Xinyang Ge xxg113@cse.psu.edu
Wed Dec 28 06:52:00 GMT 2016


On Tue, Dec 27, 2016 at 9:48 PM, Cary Coutant <ccoutant@gmail.com> wrote:
>
> ... then migrated over the the gcc list ...
>
>    https://gcc.gnu.org/ml/gcc/2016-04/msg00110.html

Cary,

Thanks for the pointer to the email thread.  From the conversation, it
seemed possible that the DSO and the executable can have two different
views of certain variables (presumably due to variable duplication/copy
relocation).  We have considered this possibility before but found
that as long as the DSO uses the GOT to access its exported variables,
the situation will not occur.

Do you have more details on how this situation occurred in practice?

Xinyang



More information about the Binutils mailing list