The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Functions | Variables
common.c File Reference

Common initialization for fuzzers. More...

#include <freeradius-devel/fuzzer/common.h>
+ Include dependency graph for common.c:

Go to the source code of this file.

Functions

static void exitHandler (void)
 
int fuzzer_common_init (int *argc, char ***argv, bool load_proto)
 Perform all bootstrapping for the fuzzer.
 

Variables

TALLOC_CTX * autofree = NULL
 
fr_dict_tdict = NULL
 
fr_dict_protocol_tdl_proto = NULL
 
fr_dict_attr_t const * root_da = NULL
 

Detailed Description

Common initialization for fuzzers.

Id
1a2ff164c2d266e7d0f416f9c6e4b78e935df196

Definition in file common.c.

Function Documentation

◆ exitHandler()

static void exitHandler ( void  )
static

Definition at line 37 of file common.c.

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

◆ fuzzer_common_init()

int fuzzer_common_init ( int *  argc,
char ***  argv,
bool  load_proto 
)

Perform all bootstrapping for the fuzzer.

Definition at line 55 of file common.c.

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

Variable Documentation

◆ autofree

TALLOC_CTX* autofree = NULL

Definition at line 29 of file common.c.

◆ dict

fr_dict_t* dict = NULL

Definition at line 31 of file common.c.

◆ dl_proto

fr_dict_protocol_t* dl_proto = NULL

Definition at line 34 of file common.c.

◆ root_da

fr_dict_attr_t const* root_da = NULL

Definition at line 32 of file common.c.