The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Macros | Functions | Variables
fuzzer_value.c File Reference
#include <freeradius-devel/build.h>
#include <freeradius-devel/util/talloc.h>
#include <freeradius-devel/util/types.h>
#include <freeradius-devel/util/value.h>
#include <freeradius-devel/util/lsan.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
+ Include dependency graph for fuzzer_value.c:

Go to the source code of this file.

Macros

#define POISON_END   64
 
#define POISON_START   64
 

Functions

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

Variables

static fr_type_t const fuzz_types []
 

Macro Definition Documentation

◆ POISON_END

#define POISON_END   64

Definition at line 55 of file fuzzer_value.c.

◆ POISON_START

#define POISON_START   64

Definition at line 54 of file fuzzer_value.c.

Function Documentation

◆ LLVMFuzzerInitialize() [1/2]

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

Definition at line 94 of file fuzzer.c.

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

◆ LLVMFuzzerInitialize() [2/2]

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

Definition at line 92 of file fuzzer_value.c.

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t buf,
size_t  len 
)

Definition at line 97 of file fuzzer_value.c.

+ Here is the call graph for this function:

Variable Documentation

◆ fuzz_types

fr_type_t const fuzz_types[]
static
Initial value:
= {
}
@ FR_TYPE_TIME_DELTA
A period of time measured in nanoseconds.
@ FR_TYPE_FLOAT32
Single precision floating point.
@ FR_TYPE_IPV4_ADDR
32 Bit IPv4 Address.
@ FR_TYPE_INT8
8 Bit signed integer.
@ FR_TYPE_ETHERNET
48 Bit Mac-Address.
@ FR_TYPE_IPV6_PREFIX
IPv6 Prefix.
@ FR_TYPE_STRING
String of printable characters.
@ FR_TYPE_UINT16
16 Bit unsigned integer.
@ FR_TYPE_INT64
64 Bit signed integer.
@ FR_TYPE_INT16
16 Bit signed integer.
@ FR_TYPE_DATE
Unix time stamp, always has value >2^31.
@ FR_TYPE_COMBO_IP_PREFIX
IPv4 or IPv6 address prefix depending on length.
@ FR_TYPE_UINT8
8 Bit unsigned integer.
@ FR_TYPE_UINT32
32 Bit unsigned integer.
@ FR_TYPE_INT32
32 Bit signed integer.
@ FR_TYPE_UINT64
64 Bit unsigned integer.
@ FR_TYPE_IPV6_ADDR
128 Bit IPv6 Address.
@ FR_TYPE_IPV4_PREFIX
IPv4 Prefix.
@ FR_TYPE_BOOL
A truth value.
@ FR_TYPE_SIZE
Unsigned integer capable of representing any memory address on the local system.
@ FR_TYPE_COMBO_IP_ADDR
IPv4 or IPv6 address depending on length.
@ FR_TYPE_IFID
Interface ID.
@ FR_TYPE_OCTETS
Raw octets.
@ FR_TYPE_FLOAT64
Double precision floating point.

Definition at line 65 of file fuzzer_value.c.