Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
fuzz_helpers.c File Reference
#include "fuzz_helpers.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>

Functions

void * FUZZ_malloc (size_t size)
 
void * FUZZ_malloc_rand (size_t size, FUZZ_dataProducer_t *producer)
 
int FUZZ_memcmp (void const *lhs, void const *rhs, size_t size)
 

Function Documentation

◆ FUZZ_malloc()

void * FUZZ_malloc ( size_t size)

malloc except return NULL for zero sized data and FUZZ_ASSERT that malloc doesn't fail.

◆ FUZZ_malloc_rand()

void * FUZZ_malloc_rand ( size_t size,
FUZZ_dataProducer_t * producer )

malloc except returns random pointer for zero sized data and FUZZ_ASSERT that malloc doesn't fail.

◆ FUZZ_memcmp()

int FUZZ_memcmp ( void const * lhs,
void const * rhs,
size_t size )

memcmp but accepts NULL.