tests: add libFuzzer based tests
LibFuzzer is in-process, coverage-guided, evolutionary fuzzing engine. LibFuzzer is linked with the library under test, and feeds fuzzed inputs to the library via a specific fuzzing entrypoint (aka "target function"); the fuzzer then tracks which areas of the code are reached, and generates mutations on the corpus of input data in order to maximize the code coverage. Lets use libFuzzer to fuzz blob and blobmsg parsing for the start. Ref: https://llvm.org/docs/LibFuzzer.html Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
bf680707ac
commit
436d6363a1
7 changed files with 99 additions and 0 deletions
BIN
tests/fuzz/corpus/valid-blobmsg.bin
Normal file
BIN
tests/fuzz/corpus/valid-blobmsg.bin
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue