On Sat, Aug 16, 2014 at 7:31 PM, Todd Fiala <tfi...@google.com> wrote:
> I'm not sure it really makes sense in this case to try to implement > --enable-aslr on the process launch command now that I get the flow of the > target settings, unless we change the model to do something like this: > > 1. If the process launch command explicitly sets --enable-aslr or > --disable-aslr, do *that*. > 2. Otherwise, if the target.disable-aslr setting is true, disable ASLR. > 3. Otherwise, we get the default ASLR behavior for the system. > > Does that sound reasonable? I think it makes intuitive sense. In that > case, the options setting in the process launch command becomes a tri-state > and only if it's unresolved do we go to the target setting. > > Thoughts? > Sounds good, but we should also *error* if an attempt to launch a process is made with either setting when that setting is unsupported on the system. Or at least a stringent warning.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev