Fuzz introspector: round_trip_stream_fuzzer
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
0 29 1 :

['LZ4_loadDictHC']

0 1449 LZ4_compressHC_continue_generic call site: 00000 /src/lz4/lib/lz4hc.c:1137
0 12 1 :

['LZ4_initStreamHC']

0 15 LZ4_resetStreamHC_fast call site: 00031 /src/lz4/lib/lz4hc.c:1051
0 0 None 24 84 LZ4_XXH32 call site: 00008 /src/lz4/lib/xxhash.c:411
0 0 None 0 1442 LZ4_compress_HC_continue call site: 00000 /src/lz4/lib/lz4hc.c:1167
0 0 None 0 276 LZ4HC_compress_optimal call site: 00000 /src/lz4/lib/lz4hc.c:1476
0 0 None 0 0 LZ4_attach_dictionary call site: 00000 /src/lz4/lib/lz4.c:1610
0 0 None 0 0 LZ4_writeLE16 call site: 00000 /src/lz4/lib/./lz4.c:436
0 0 None 0 0 LZ4_NbCommonBytes call site: 00000 /src/lz4/lib/./lz4.c:564
0 0 None 0 0 LZ4_readLE16 call site: 00000 /src/lz4/lib/lz4.c:426
0 0 None 0 0 LZ4HC_countPattern call site: 00000 /src/lz4/lib/lz4hc.c:193
0 0 None 0 0 LZ4HC_compress_optimal call site: 00000 /src/lz4/lib/lz4hc.c:1390
0 0 None 0 0 LZ4HC_compress_optimal call site: 00000 /src/lz4/lib/lz4hc.c:1579

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 FUZZ_seed [function] [call site] 00001
2 LZ4_XXH32 [function] [call site] 00002
3 XXH_isLittleEndian [function] [call site] 00003
3 XXH_read32 [function] [call site] 00004
3 XXH32_round [function] [call site] 00005
3 XXH_read32 [function] [call site] 00006
3 XXH_read32 [function] [call site] 00007
3 XXH_read32 [function] [call site] 00008
3 XXH32_round [function] [call site] 00009
1 state_create [function] [call site] 00010
2 LZ4_compressBound [function] [call site] 00011
2 cursor_create [function] [call site] 00012
3 fprintf [call site] 00013
2 cursor_create [function] [call site] 00014
2 LZ4_createStream [function] [call site] 00015
3 LZ4_initStream [function] [call site] 00016
4 LZ4_stream_t_alignment [function] [call site] 00017
2 fprintf [call site] 00018
2 LZ4_createStreamHC [function] [call site] 00019
3 calloc [call site] 00020
3 LZ4_setCompressionLevel [function] [call site] 00021
2 fprintf [call site] 00022
2 LZ4_createStreamDecode [function] [call site] 00023
3 calloc [call site] 00024
2 fprintf [call site] 00025
1 state_reset [function] [call site] 00026
2 FUZZ_rand32 [function] [call site] 00027
3 FUZZ_rand [function] [call site] 00028
2 LZ4_resetStream_fast [function] [call site] 00029
3 __assert_fail [call site] 00030
2 LZ4_resetStreamHC_fast [function] [call site] 00031
3 LZ4_initStreamHC [function] [call site] 00032
4 LZ4_streamHC_t_alignment [function] [call site] 00033
4 LZ4_isAligned [function] [call site] 00034
4 LZ4_setCompressionLevel [function] [call site] 00035
3 __assert_fail [call site] 00036
3 LZ4_setCompressionLevel [function] [call site] 00037
2 LZ4_setStreamDecode [function] [call site] 00038
3 __assert_fail [call site] 00039
1 state_checkRoundTrip [function] [call site] 00040
2 fprintf [call site] 00041
2 memcmp [call site] 00042
1 state_free [function] [call site] 00043
2 cursor_free [function] [call site] 00044
2 cursor_free [function] [call site] 00045
2 LZ4_freeStream [function] [call site] 00046
2 LZ4_freeStreamHC [function] [call site] 00047
2 LZ4_freeStreamDecode [function] [call site] 00048