<div dir="ltr">+aizatsky</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 12:34 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">I'm working on a fuzzer using libFuzzer and I wanted to take a look at<br>
how my coverage was doing, as per the instructions here:<br>
<br>
<a href="http://llvm.org/docs/LibFuzzer.html#how-good-is-my-fuzzer" rel="noreferrer" target="_blank">http://llvm.org/docs/<wbr>LibFuzzer.html#how-good-is-my-<wbr>fuzzer</a><br>
<br>
First of all, I suspect the instructions there are out of date, but<br>
passing -dump_coverage=1 to the binary rather than setting ASAN_OPTIONS<br>
generated a .sancov file for me.<br>
<br>
However, when I inspect this with the sancov tool, all of the line<br>
numbers it reports are "<invalid>:0". I can list the covered and<br>
uncovered functions successfully, but without locations it's really hard<br>
to do anything with that information.<br>
<br>
I've built with -gline-tables-only, as is the default when building llvm<br>
with sanitizers enabled.<br>
<br>
Have you seen this before? Am I doing something obviously wrong?<br>
</blockquote></div><br></div>