>> On Tue, Feb 14, 2017 at 3:03 AM, Andrew Zhu Aday <
andre...@columbia.edu> wrote:
>> > Also, do you guys have coverage stats or benchmarks for running syzkaller
>> > against the linux kernel?
>> > For example, something like time to cover 50k lines starting from an empty
>> > corpus.
>> >
>> > Any metrics would be very helpful!
>>
>> +syzkaller mailing list
>>
>> I've attached my current corpus. Extract it into workdir/corpus.db and syz-manager will start from it.
>> Also you can extract individual programs from the corpus and got an idea how they look. To do that you need:
>> $ go install
github.com/google/syzkaller/tools/syz-db
>> $ syz-db unpack corpus.db empty.dir
>> Then empty.dir will contain all individual programs as text files.
>>
>> Re benchmarking, if you want to compare 2 different versions of syzkaller side-by-side, you can do the following:
>> 1. Run syz-manager with -bench=baseline flag. It will dump various execution stats to the baseline file periodically.
>> 2. Run an experimental version of syz-manager with -bench=experiment flag. It will dump stats to experiment file.
>> (you can run both of them at the same time, if you setup different versions in different dirs and have enough resources on the machine)
>> 3. Then do:
>> $ go install
github.com/google/syzkaller/tools/syz-benchcmp
>> $ syz-benchcmp baseline experiment
>> It will show graphs comparing performance of the two versions (coverage, corpus size, executions/sec). See the attached example.
>> You can do the experiment starting from empty corpus, or from large existing corpus, or whatever you want.
>>
>> I've also attached 2 example stats files from my runs (baseline and mutateconst), you can extract "time to cover 50k lines" from there.
>>
>>
>>