The FreeRADIUS server $Id: a4e7f8c94e8038b7627bcf52356b7ed15955c1d7 $
Loading...
Searching...
No Matches
Functions | Variables
fuzzer.c File Reference
#include <freeradius-devel/fuzzer/common.h>
+ Include dependency graph for fuzzer.c:

Go to the source code of this file.

Functions

int LLVMFuzzerInitialize (int *argc, char ***argv)
 
int LLVMFuzzerTestOneInput (const uint8_t *buf, size_t len)
 

Variables

static bool do_encode = false
 
static uint8_t encoded_data [65536]
 
fr_test_point_proto_decode_t XX_PROTOCOL_XX_tp_decode_proto
 
fr_test_point_proto_encode_t XX_PROTOCOL_XX_tp_encode_proto
 

Function Documentation

◆ LLVMFuzzerInitialize()

int LLVMFuzzerInitialize ( int *  argc,
char ***  argv 
)

Definition at line 46 of file fuzzer.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  buf,
size_t  len 
)

Definition at line 55 of file fuzzer.c.

+ Here is the call graph for this function:

Variable Documentation

◆ do_encode

bool do_encode = false
static

Definition at line 38 of file fuzzer.c.

◆ encoded_data

uint8_t encoded_data[65536]
static

Definition at line 53 of file fuzzer.c.

◆ XX_PROTOCOL_XX_tp_decode_proto

fr_test_point_proto_decode_t XX_PROTOCOL_XX_tp_decode_proto
extern

◆ XX_PROTOCOL_XX_tp_encode_proto

fr_test_point_proto_encode_t XX_PROTOCOL_XX_tp_encode_proto
extern