|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
libFuzzer target for the RLE snapshot reader (read_rle).
More...
Go to the source code of this file.
Functions | |
| int | LLVMFuzzerTestOneInput (const uint8_t *data, size_t size) |
libFuzzer target for the RLE snapshot reader (read_rle).
Malformed input is expected to be rejected via Aleph error macros (exceptions); only memory-safety failures (OOB, UAF, integer overflow leading to OOB) are real bugs and are caught by the address/undefined sanitizers the fuzzer is built with.
Build (see Tests/fuzz/CMakeLists.txt): clang++ -std=c++20 -fsanitize=fuzzer,address,undefined ...
Definition in file fuzz_rle_parser.cc.
| int LLVMFuzzerTestOneInput | ( | const uint8_t * | data, |
| size_t | size | ||
| ) |
Definition at line 52 of file fuzz_rle_parser.cc.
References Aleph::blossom_maximum_cardinality_matching(), Aleph::CA::read_rle_string(), and Aleph::size().