[ovs-dev] ossfuzz: Improve coverage of flow_extract_target

Bhargava Shastry bshastry at sect.tu-berlin.de
Wed Sep 5 14:41:49 UTC 2018


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%

Regards,
Bhargava

-- 
Bhargava Shastry <bshastry at sect.tu-berlin.de>
Security in Telecommunications
TU Berlin / Telekom Innovation Laboratories
Ernst-Reuter-Platz 7, Sekr TEL 17 / D - 10587 Berlin, Germany
phone: +49 30 8353 58235
Keybase: https://keybase.io/bshastry


More information about the dev mailing list