[ovs-dev] [PATCH v2] ossfuzz: Speed up flow extract fuzzing by

Ben Pfaff blp at ovn.org
Wed Oct 10 19:38:13 UTC 2018


On Mon, Oct 08, 2018 at 10:47:07AM +0200, bshastry at sect.tu-berlin.de wrote:
> From: Bhargava Shastry <bshastry at sect.tu-berlin.de>
> 
> Accepts fixes suggested by 0-day robot.
> 
> Refactor miniflow tests out of flow_extract_target.c into
>  a  new target called miniflow_target.c
> 
> The biggest motivation for this massive (7-10x) increase in fuzzing
> speed. Prior to the refactoring, we were doing roughly 900 executions
> per second on flow_extract_target. Now, we are doing roughly 6000
> executions per second on the flow_extract_target and roughly 9000
> executions per second on the new miniflow_target.
> 
> Moving forward, creating micro fuzz targets that are really fast is a
> better strategy. Since all these micro targets can be scheduled in
> parallel by oss-fuzz, the test throughput increases by a non-trivial
> amount.
> 
> Signed-off-by: Bhargava Shastry <bshastry at sect.tu-berlin.de>

Thanks, applied to master.


More information about the dev mailing list