On 6/12/26 8:05 PM, Arthur Chan wrote: > This patch creates a new OSS-Fuzz fuzzer targets ovsdb_parsing, together with > new fuzzing-corpus introduced in > https://github.com/openvswitch/ovs-fuzzing-corpus/pull/1. > > From 7cf763149d0894a77a5daee830b3bdee5b0f87b9 Mon Sep 17 00:00:00 2001 > From: Arthur Chan > <[email protected]><mailto:[email protected]> > Date: Fri, 12 Jun 2026 18:27:53 +0100 > Subject: [PATCH] OSS-Fuzz: Add new fuzzer targets ovsdb parsing. > Signed-off-by: Arthur Chan > <[email protected]><mailto:[email protected]> > --- > tests/oss-fuzz/automake.mk | 8 +++ > .../config/ovsdb_parser_target.options | 2 + > tests/oss-fuzz/ovsdb_parser_target.c | 59 +++++++++++++++++++ > 3 files changed, 69 insertions(+) > create mode 100644 tests/oss-fuzz/config/ovsdb_parser_target.options > create mode 100644 tests/oss-fuzz/ovsdb_parser_target.c > diff --git a/tests/oss-fuzz/automake.mk b/tests/oss-fuzz/automake.mk > index 2b116e7a5..b35aa692a 100644 > --- a/tests/oss-fuzz/automake.mk > +++ b/tests/oss-fuzz/automake.mk > @@ -1,6 +1,7 @@ > OSS_FUZZ_TARGETS = \ > tests/oss-fuzz/flow_extract_target \ > tests/oss-fuzz/json_parser_target \ > + tests/oss-fuzz/ovsdb_parser_target \ > tests/oss-fuzz/ofp_print_target \ > tests/oss-fuzz/odp_target \ > tests/oss-fuzz/miniflow_target \
[...] Hi, Arthur. Thanks for the patch. Though it arrived all mangled, so you'll need to re-send it. I'd suggest to try using git send-email to get the optimal results without formatting issues. At the same time I wonder, how much coverage this actually give us? It seems like the main this this code is testing is json parsing, which we already have a fuzzing target for. Once json is parsed there is not really much to the splitting it up into the ovsdb datum object. It should be a pretty simple thing that doesn't seem to require extensive fuzzing. Or am I missing something? Best regards, Ilya Maximets. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
