|
infix
A JIT-Powered FFI Library for C
|
Fuzzer target for the high-level signature parsing API. More...
#include <infix/infix.h>#include <stddef.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include "fuzz_helpers.h"Functions | |
| int | LLVMFuzzerTestOneInput (const uint8_t *data, size_t size) |
| The entry point for libFuzzer. | |
Fuzzer target for the high-level signature parsing API.
Copyright (c) 2025 Sanko Robinson
This source code is dual-licensed under the Artistic License 2.0 or the MIT License. You may choose to use this code under the terms of either license.
SPDX-License-Identifier: (Artistic-2.0 OR MIT)
The documentation blocks within this file are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
SPDX-License-Identifier: CC-BY-4.0
| int LLVMFuzzerTestOneInput | ( | const uint8_t * | data, |
| size_t | size | ||
| ) |
The entry point for libFuzzer.
This function is called by the libFuzzer runtime for each test case. It takes the raw fuzzer data, treats it as a signature string, and passes it to the main infix parsing APIs.
| data | A pointer to the fuzzer-generated input data. |
| size | The size of the data. |