Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <000001cfac2b$2030bd30$60923790$@codeaurora.org>
Date: Wed, 30 Jul 2014 12:19:03 -0700
From: "Weiming Zhao" <weimingz@...eaurora.org>
To: "'Rich Felker'" <dalias@...ifal.cx>,
	<musl@...ts.openwall.com>
Subject: static PIE

Hi Rich,

 

I just find a very interesting article written by you:

http://www.openwall.com/lists/musl/2012/05/24/1

 

I want to do the similar thing on ARM linux. I see _static_pie_reloc does
the relocation, which would be done by loader in dynamic PIE.

 

But with "-static", those reloc entries has already been fixed by ld.
Without that, my code can still run but at fixed address space.

 

To get the benefit of PIE, there should be address randomization (at least
for data sections), which should be done in startup code. Is my
understanding right?

 

Thanks,

weiming


Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.