FFmpeg
Data Structures | Functions | Variables
target_dem_fuzzer.c File Reference
#include "config.h"
#include "libavutil/avassert.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
 
static const uint64_t FUZZ_TAG = 0x4741542D5A5A5546ULL
 

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t data,
size_t  size 
)

Definition at line 85 of file target_dem_fuzzer.c.

◆ error()

static void error ( const char *  err)
static

Definition at line 36 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 42 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 61 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

Variable Documentation

◆ maxiteration

const uint32_t maxiteration = 8096

Definition at line 81 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ FUZZ_TAG

const uint64_t FUZZ_TAG = 0x4741542D5A5A5546ULL
static

Definition at line 83 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().