Macros | Functions | Variables
ares-fuzz.c File Reference
#include <sys/types.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Include dependency graph for ares-fuzz.c:

Go to the source code of this file.

Macros

#define KEEP_FUZZING(count)   ((count) < 1)
 
#define kMaxAflInputSize   (1 << 20)
 

Functions

int LLVMFuzzerTestOneInput (const unsigned char *data, unsigned long size)
 
int main (int argc, char *argv[])
 
static void ProcessFile (int fd)
 

Variables

static unsigned char afl_buffer [kMaxAflInputSize]
 

Macro Definition Documentation

◆ KEEP_FUZZING

#define KEEP_FUZZING (   count)    ((count) < 1)

Definition at line 25 of file ares-fuzz.c.

◆ kMaxAflInputSize

#define kMaxAflInputSize   (1 << 20)

Definition at line 17 of file ares-fuzz.c.

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const unsigned char *  data,
unsigned long  size 
)

Definition at line 10 of file ares-test-fuzz-name.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 43 of file ares-fuzz.c.

◆ ProcessFile()

static void ProcessFile ( int  fd)
static

Definition at line 31 of file ares-fuzz.c.

Variable Documentation

◆ afl_buffer

unsigned char afl_buffer[kMaxAflInputSize]
static

Definition at line 18 of file ares-fuzz.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02