Files
openvino/tests/fuzz

Fuzzing Test Suite

This test suite contains fuzzing tests for libFuzzer fuzzing engine.

Getting Started

Each fuzzing test is an executable. It can run fuzzing to search for new failures and save reproducer in a file. You can later run a fuzzing test with a reproducer to debug a failure found.

Pre-requisites

There are no special pre-requisites to reproduce and debug failures.

To run fuzzing you will need LLVM components:

  • Clang and co.
  • libFuzzer
  • lld (linker)
  • libc++

Reproducing Failure Found by Fuzzing

  1. Build fuzz test target:
cmake -DENABLE_TESTS=ON .. && ninja fuzz
  1. Run fuzzing test passing a failure reproducer as a command-line argument:
./read_network-fuzzer crash-reproducer