FFmpeg
Loading...
Searching...
No Matches
target_dem_fuzzer.c File Reference

Go to the source code of this file.

Data Structures

struct  IOContext

Functions

int LLVMFuzzerTestOneInput (const uint8_t *data, size_t size)
static int interrupt_cb (void *ctx)
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

int64_t interrupt_counter
const uint32_t maxiteration = 8096
const int maxblocks = 50000

Function Documentation

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t * data,
size_t size )

Definition at line 101 of file target_dem_fuzzer.c.

◆ interrupt_cb()

int interrupt_cb ( void * ctx)
static

Definition at line 39 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ error()

void error ( const char * err)
static

Definition at line 45 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ io_read()

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

Definition at line 51 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

◆ io_seek()

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

Definition at line 72 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().

Variable Documentation

◆ interrupt_counter

int64_t interrupt_counter

Definition at line 38 of file target_dem_fuzzer.c.

Referenced by interrupt_cb(), and LLVMFuzzerTestOneInput().

◆ maxiteration

const uint32_t maxiteration = 8096

Definition at line 98 of file target_dem_fuzzer.c.

◆ maxblocks

const int maxblocks = 50000

Definition at line 99 of file target_dem_fuzzer.c.

Referenced by LLVMFuzzerTestOneInput().