summaryrefslogtreecommitdiffstats
path: root/ossfuzz/lz4_helpers.h
blob: c99fb0159de684b5e6dd2d4446ade1d35545b839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef LZ4_HELPERS
#define LZ4_HELPERS

#include "lz4frame.h"

LZ4F_frameInfo_t FUZZ_randomFrameInfo(uint32_t* seed);

LZ4F_preferences_t FUZZ_randomPreferences(uint32_t* seed);

size_t FUZZ_decompressFrame(void* dst, const size_t dstCapacity,
                            const void* src, const size_t srcSize);

#endif /* LZ4_HELPERS */