Mailing lists were down for a few hours. :)<br><br><div class="gmail_quote">On Thu Aug 14 2014 at 5:38:47 PM Todd Fiala <<a href="mailto:todd.fiala@gmail.com">todd.fiala@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>[I'm not seeing this show up in the archives two hours after I posted it from my google account, so I'm sending it from my gmail account.  Pardon if this shows up again in the next 24 hours from my @<a href="http://google.com" target="_blank">google.com</a> account...]</div>

<div><br></div><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Todd Fiala</b> <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@google.com</a>></span><br>


Date: Thu, Aug 14, 2014 at 7:29 AM<br>Subject: ASLR disabled by default - thoughts?<br>To: "<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a>" <<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a>><br>


<br><br><div dir="ltr">Hey all,<div><br></div><div>Regarding this bug:</div><div><a href="http://llvm.org/bugs/show_bug.cgi?id=20658" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=20658</a></div><div><br></div><div>


We've been discussing the idea of having ASLR disabled by default when launching processes within lldb.  Currently it looks like the default behavior is to have it enabled, and require explicitly disabling to get that behavior for the process.</div>



<div><br></div><div>It seems like it might make more sense to have it disabled by default - that way code references would likely be static across debugger runs, which seems to be more what we want when tracking down issues across code runs.</div>



<div><br></div><div>Any thoughts on this?</div><div><br></div><div>The counterargument I could make for changing it would be (aside from legacy compatibility issues perhaps on the MacOSX/iOS side) - taking the exe out of its native state on the OS.  If a bug is ASLR sensitive, the user might miss it.  And so behavior in the debugger could differ from the exe in its native state.  Not sure how relevant that is for the majority of usages, though.</div>



<div><br></div><div>I'll be fixing the fact that Linux is ignoring this altogether.  But while I'm in there, I could flip the default if we wanted to do it.  If not globally, we'd probably pursue defaulting it on Linux (and Ed seems to like it for FreeBSD as well, so maybe for not Apple in that case?)</div>

<span><font color="#888888">
<span><font color="#888888">
<div><div>-- <br></div><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small">



<td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>



<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="color:rgb(34,34,34);background-color:rgb(255,255,204)">tfiala@google.com</span></a> |</td>



<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table></div></div></font></span></font></span></div></div>

</div></div>-- <br><div dir="ltr">-Todd</div>
</div>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</blockquote></div>