[LLVMdev] [PATCH] Add the disable_aslr option that will disable the address space layout randomization under AddressSanitizer on 10.6

Eric Christopher echristo at apple.com
Fri Dec 9 11:16:15 PST 2011


On Dec 9, 2011, at 11:12 AM, Kostya Serebryany wrote:

> Yes, we have no ASRL with -no_pie. 
> Can we disable ASRL even with -pie? 
> On linux we can do it with "setarch x86_64 -R".
> 

You asked about link time. Now it sounds like you're talking about runtime?

> Another question: if asan would require -no_pie on Mac, will this be a serious limitation? 
> 

If asan required no pie on Linux, would it be a serious limitation?

-eric




More information about the llvm-dev mailing list