[lldb-dev] how to disable library / address space randomization ?

Jason E. Aten j.e.aten at gmail.com
Fri Jul 8 00:35:49 PDT 2011


I'm building lldb on OSX 10.6.3 and for reproducibility of memory addresses,
I'd like to disable address space randomization.

What I tried that didn't work...

root at AtenMBP-2:/$ sysctl -w kernel.randomize_va_space=0
top level name kernel in kernel.randomize_va_space is invalid

Anyone know better?

Thank you.

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110708/95e05ee9/attachment.html>


More information about the lldb-dev mailing list