The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
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