FFmpeg
Data Structures | Functions | Variables
target_dem_fuzzer.c File Reference
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/bytestream.h"
#include "libavformat/avformat.h"

Go to the source code of this file.

Data Structures

struct  IOContext
 

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
 
static void error (const char *err)
 
static int io_read (void *opaque, uint8_t *buf, int buf_size)
 
static int64_t io_seek (void *opaque, int64_t offset, int whence)
 

Variables

const uint32_t maxiteration = 8096
 
const int maxblocks = 50000
 
static const uint64_t FUZZ_TAG = 0x4741542D5A5A5546ULL
 

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t *  data,
size_t  size 
)

Definition at line 95 of file target_dem_fuzzer.c.

◆ error()

static void error ( const char *  err)
static

Definition at line 37 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ io_read()

static int io_read ( void *  opaque,
uint8_t *  buf,
int  buf_size 
)
static

Definition at line 43 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ io_seek()

static int64_t io_seek ( void *  opaque,
int64_t  offset,
int  whence 
)
static

Definition at line 64 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

Variable Documentation

◆ maxiteration

const uint32_t maxiteration = 8096

Definition at line 90 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ maxblocks

const int maxblocks = 50000

Definition at line 91 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ FUZZ_TAG

const uint64_t FUZZ_TAG = 0x4741542D5A5A5546ULL
static

Definition at line 93 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().