[ovs-dev] ossfuzz: Improve coverage of flow_extract_target

Ben Pfaff blp at ovn.org
Wed Sep 5 21:18:38 UTC 2018


On Wed, Sep 05, 2018 at 04:41:49PM +0200, Bhargava Shastry wrote:
> Hello,
> 
> The attached patch
> (0001-ossfuzz-Improved-test-coverage-for-flow-extract-by-t.patch)
> improves test coverage of the ossfuzz flow extract test harness by
> extending the harness with additional API calls from lib/flow.c
> 
> An additional minor change is adding a config option to
> flow_extract_target.options file in `tests/ossfuzz/config` to suppress
> debug output while fuzzing.
> 
> I have attached the old and new coverage reports (HTML) for a
> comparative evaluation on a file-by-file basis.
> 
> A cursory evaluation shows that the patch covers 8 additional files and
> improves line coverage of lib/flow.c from 23% to 37%

Thanks a lot!

I made some style updates to this patch and applied this to master.


More information about the dev mailing list