Re:Squashed Bugs, with Failure Rate Heatmaps
by iamxy on Saturday December 21, 2019 @01:50AM
(#21850022)
Author here. Thanks for your great advice. We will apply this experimental project to testing TiDB in the future and output the report to https://github.com/fuzzdebugplatform/fuzz_debug_platform/iss.... Through the statistics of code block coverage, we can not only identify suspicious code blocks but also count code coverage.
The fuzzer we implemented is driven by BNF expressions. We can adjust the inputs of the fuzzer based on the statistics.
Re:Squashed Bugs, with Failure Rate Heatmaps
by pfdietz on Saturday December 21, 2019 @08:14AM
(#21851077)
One of the tricks you should try is adding Swarm Testing. It tends to make this sort of fuzzing more effective at finding bugs, and I would not be surprised if it improves your coverage also.
Ideally, one would like to adjust the fuzzer based on that information to steer executions to lesser covered parts of the code (or, possibly, toward parts you want to focus your testing on.)