<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:tfiala@google.com" title="Todd Fiala <tfiala@google.com>"> <span class="fn">Todd Fiala</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLDB lies about --disable-aslr and leaves ASLR enabled on Linux"
href="http://llvm.org/bugs/show_bug.cgi?id=20658">bug 20658</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>lldb-dev@cs.uiuc.edu
</td>
<td>tfiala@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">OS</td>
<td>All
</td>
<td>Linux
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLDB lies about --disable-aslr and leaves ASLR enabled on Linux"
href="http://llvm.org/bugs/show_bug.cgi?id=20658#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLDB lies about --disable-aslr and leaves ASLR enabled on Linux"
href="http://llvm.org/bugs/show_bug.cgi?id=20658">bug 20658</a>
from <span class="vcard"><a class="email" href="mailto:tfiala@google.com" title="Todd Fiala <tfiala@google.com>"> <span class="fn">Todd Fiala</span></a>
</span></b>
<pre>Implementation note:
This link shows a response that indicates how to disable via shell execution:
<a href="https://stackoverflow.com/questions/5194666/disable-randomization-of-memory-addresses">https://stackoverflow.com/questions/5194666/disable-randomization-of-memory-addresses</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>