infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
fuzz_abi.c File Reference

Fuzzer target for the ABI classification layer. More...

#include "fuzz_helpers.h"
Include dependency graph for fuzz_abi.c:

Functions

static void FuzzTest (fuzzer_input in)
 
int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 The entry point for libFuzzer.
 

Detailed Description

Fuzzer target for the ABI classification layer.

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

Function Documentation

◆ FuzzTest()

static void FuzzTest ( fuzzer_input  in)
static

◆ LLVMFuzzerTestOneInput()

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 wraps the raw input data in a fuzzer_input struct and passes it to the main test logic.

Parameters
dataA pointer to the fuzzer-generated input data.
sizeThe size of the data.
Returns
0 on completion.