[lldb-dev] [Bug 20658] LLDB lies about --disable-aslr and leaves ASLR enabled on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 14 07:06:12 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20658

Todd Fiala <tfiala at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|lldb-dev at cs.uiuc.edu        |tfiala at google.com
                 OS|All                         |Linux

--- Comment #1 from Todd Fiala <tfiala at google.com> ---
Implementation note:

This link shows a response that indicates how to disable via shell execution:
https://stackoverflow.com/questions/5194666/disable-randomization-of-memory-addresses

So a shell wrapping the inferior with proper flags set is one way to go about
it for per-process-level ASLR setting (rather than the whole-system kernel
flag).

I'll look at getting the disable aslr support in after my next task wraps up.

As for making it the default, great thing to discuss on lldb-dev.  At the very
least I'm good with making it the default on Linux.  If everyone else agrees,
we can get it working as a global default.

-Todd

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140814/53e18ded/attachment.html>


More information about the lldb-dev mailing list