Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
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) |
size_t FUZZ_decompressFrame | ( | void * | dst, |
const size_t | dstCapacity, | ||
const void * | src, | ||
const size_t | srcSize | ||
) |
Definition at line 30 of file lz4_helpers.c.
References dst, FUZZ_ASSERT, LZ4F_createDecompressionContext(), LZ4F_decompress(), LZ4F_freeDecompressionContext(), LZ4F_isError(), LZ4F_VERSION, memset(), src, srcSize, and LZ4F_decompressOptions_t::stableDst.
Referenced by LLVMFuzzerTestOneInput().
LZ4F_frameInfo_t FUZZ_randomFrameInfo | ( | uint32_t * | seed | ) |
Definition at line 5 of file lz4_helpers.c.
References FUZZ_rand32(), info(), LZ4F_blockChecksumEnabled, LZ4F_blockIndependent, LZ4F_blockLinked, LZ4F_contentChecksumEnabled, LZ4F_default, LZ4F_INIT_FRAMEINFO, LZ4F_max4MB, LZ4F_max64KB, LZ4F_noBlockChecksum, and LZ4F_noContentChecksum.
Referenced by FUZZ_randomPreferences().
LZ4F_preferences_t FUZZ_randomPreferences | ( | uint32_t * | seed | ) |
Definition at line 20 of file lz4_helpers.c.
References LZ4F_preferences_t::autoFlush, LZ4F_preferences_t::compressionLevel, LZ4F_preferences_t::favorDecSpeed, LZ4F_preferences_t::frameInfo, FUZZ_rand32(), FUZZ_randomFrameInfo(), LZ4F_INIT_PREFERENCES, and LZ4HC_CLEVEL_MAX.