Fix Fuzz Range
parent
2d9332eb21
commit
2242330b26
|
@ -71,7 +71,7 @@ void FUZZ_setRandomParameters(ZSTD_CCtx *cctx, size_t srcSize, uint32_t *state)
|
||||||
setRand(cctx, ZSTD_p_contentSizeFlag, 0, 1, state);
|
setRand(cctx, ZSTD_p_contentSizeFlag, 0, 1, state);
|
||||||
setRand(cctx, ZSTD_p_checksumFlag, 0, 1, state);
|
setRand(cctx, ZSTD_p_checksumFlag, 0, 1, state);
|
||||||
setRand(cctx, ZSTD_p_dictIDFlag, 0, 1, state);
|
setRand(cctx, ZSTD_p_dictIDFlag, 0, 1, state);
|
||||||
setRand(cctx, ZSTD_p_forceAttachDict, -2, 2, state);
|
setRand(cctx, ZSTD_p_forceAttachDict, 0, 2, state);
|
||||||
/* Select long distance matchig parameters */
|
/* Select long distance matchig parameters */
|
||||||
setRand(cctx, ZSTD_p_enableLongDistanceMatching, 0, 1, state);
|
setRand(cctx, ZSTD_p_enableLongDistanceMatching, 0, 1, state);
|
||||||
setRand(cctx, ZSTD_p_ldmHashLog, ZSTD_HASHLOG_MIN, 16, state);
|
setRand(cctx, ZSTD_p_ldmHashLog, ZSTD_HASHLOG_MIN, 16, state);
|
||||||
|
|
Loading…
Reference in New Issue