<div dir="ltr">1. phabricator maybe? <div>2. need to think. This flag business is messy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 12, 2017 at 2:41 PM, Justin Bogner <span dir="ltr"><<a href="mailto:mail@justinbogner.com" target="_blank">mail@justinbogner.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">With this change, libFuzzer will ignore any arguments after an empty<br>
double dash argument, but it will preserve these arguments at the end<br>
of the command line when launching subprocesses. Using this, its<br>
possible to handle positional and single-dash arguments to the program<br>
under test by discarding everything up to "--" in LLVMFuzzerInitialize.<br>
<br>
The motivation here is in trying to set up fuzzers that use the LLVM<br>
backend, for example so that we can pass "-global-isel" in an ISel<br>
fuzzer to test that instead of SelectionDAG.<br>
<br>
Ok to commit?<br>
<br>
</blockquote></div><br></div>