openvino/tests/fuzz
Ilya Lavrenov 685bf830d5
Fixed cldnn compilation with static runtime (#4070)
2021-02-02 20:11:40 +03:00
..
fuzz-testhelper Fixed cldnn compilation with static runtime (#4070) 2021-02-02 20:11:40 +03:00
src publish master branch snapshot, revision 0110d9c98fd7209589d06344f0d836f61d81f4b3 2020-04-27 21:21:29 +03:00
CMakeLists.txt Enabled CMP0025 as NEW (#3791) 2021-01-11 14:48:27 +03:00
README.md publish master branch snapshot, revision 0110d9c98fd7209589d06344f0d836f61d81f4b3 2020-04-27 21:21:29 +03:00

README.md

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