A suite of regression tests for bugs discovered by fuzzing.
This test file contains a collection of specific inputs that have been identified by fuzzing tools (like libFuzzer and AFL) as causing a crash, timeout, memory leak, or other bug in the past.
Each test case consists of:
- A descriptive name of the bug it triggered.
- A Base64-encoded string representing the raw fuzzer input.
- The target component (
TARGET_TYPE_GENERATOR, TARGET_SIGNATURE_PARSER, etc.) that the input should be sent to.
By embedding these inputs into a permanent unit test, we can ensure that these specific bugs do not reappear in future versions of the library. This forms a crucial part of the project's quality assurance process. The b64_decode helper from fuzz_regression_helpers.h is used to unpack the inputs at runtime.