[llvm-dev] libfuzzer questions
Justin Bogner via llvm-dev
llvm-dev at lists.llvm.org
Tue Aug 11 22:08:47 PDT 2015
Kostya Serebryany via llvm-dev <llvm-dev at lists.llvm.org> writes:
> On Tue, Aug 11, 2015 at 5:51 PM, Brian Cain <brian.cain at gmail.com> wrote:
>> On Tue, Aug 11, 2015 at 7:25 PM, Kostya Serebryany <kcc at google.com> wrote:
>>> #0 READ cov 0 bits 0 units 1331 exec/s 0
>>> ...
>>> #1024 pulse cov 8043 bits 13474 units 1331 exec/s 256
>>> #1331 INITED cov 8050 bits 13689 units 594 exec/s 221
>>> #2048 pulse cov 8050 bits 13689 units 594 exec/s 341
>>>
>>> This means that the corpus on disk had 1331 units, they were read,
>>> shuffled, executed, and those that added coverage were chosen.
>>
>> Hah! this means I've been misreading this line all along. My eyes zoomed
>> in on "N exec/s" and I assumed that was the throughput (and I just ignored
>> the "suffix" entry). So it's "cov X" / "bits Y" / "units Z" / "exec/s W"
>> ? I guess the PCRE2 use case in the docs explains some of this -- I
>> should've read this more closely.
>>
>
> Yep.
> Hm... Maybe I should put ":" there, like
> #2048 pulse cov: 8050 bits: 13689 units: 594 exec/s: 341
> ??
Please do. The ":" makes this much clearer, IMHO. It might even be worth
it to throw some "," in there like
#2048 pulse cov: 8050, bits: 13689, units: 594, exec/s: 341
I find the exec/s in particular looks like a unit, which makes me really
want to read "594 exec/s" in the current output. Though, then I can't
figure out what the 341 means, which usually clues me in.
More information about the llvm-dev
mailing list