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

Fuzzer details

Fuzzer: fuzz

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 11 8.08%
gold [1:9] 1 0.73%
yellow [10:29] 1 0.73%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 123 90.4%
All colors 136 100

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
6 6 1 :

['is_backward_size_valid']

6 6 lzma_stream_flags_compare call site: 00113 /src/xz/src/liblzma/common/stream_flags_common.c:37
0 25 1 :

['lzma_check_update']

4 59 block_decode call site: 00043 /src/xz/src/liblzma/common/block_decoder.c:129
0 4 1 :

['lzma_free']

0 4 lzma_next_end call site: 00006 /src/xz/src/liblzma/common/common.c:153
0 3 1 :

['lzma_bufcpy']

0 3 copy_or_code call site: 00000 /src/xz/src/liblzma/simple/simple_coder.c:28
0 0 None 4 9 block_decode call site: 00059 /src/xz/src/liblzma/common/block_decoder.c:173
0 0 None 2 517 stream_decode call site: 00011 /src/xz/src/liblzma/common/stream_decoder.c:151
0 0 None 2 517 stream_decode call site: 00113 /src/xz/src/liblzma/common/stream_decoder.c:331
0 0 None 0 84 lzma_block_header_decode call site: 00019 /src/xz/src/liblzma/common/block_header_decoder.c:39
0 0 None 0 57 lzma_block_decoder_init call site: 00039 /src/xz/src/liblzma/common/block_decoder.c:224
0 0 None 0 26 lzma_decode call site: 00000 /src/xz/src/liblzma/lzma/lzma_decoder.c:398
0 0 None 0 23 lzma_lz_decoder_init call site: 00000 /src/xz/src/liblzma/lz/lz_decoder.c:247
0 0 None 0 20 lzma_raw_coder_init call site: 00075 /src/xz/src/liblzma/common/filter_common.c:300

Runtime coverage analysis

Covered functions
125
Functions that are reachable but not covered
8
Reachable functions
66
Percentage of reachable functions covered
87.88%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/xz/tests/ossfuzz/fuzz.c 1
/src/xz/src/liblzma/common/stream_decoder.c 7
/src/xz/src/liblzma/common/common.c 8
/src/xz/src/liblzma/common/stream_flags_decoder.c 3
/src/xz/src/liblzma/check/crc32_fast.c 1
/src/xz/src/liblzma/../../src/common/tuklib_integer.h 2
/src/xz/src/liblzma/check/check.c 5
/src/xz/src/liblzma/common/block_header_decoder.c 1
/src/xz/src/liblzma/common/vli_decoder.c 1
/src/xz/src/liblzma/common/block_util.c 1
/src/xz/src/liblzma/common/filter_flags_decoder.c 1
/src/xz/src/liblzma/common/filter_decoder.c 4
/src/xz/src/liblzma/common/filter_common.c 4
/src/xz/src/liblzma/common/block_decoder.c 4
/src/xz/src/liblzma/check/crc64_fast.c 1
/src/xz/src/liblzma/check/sha256.c 6
/src/xz/src/liblzma/common/index_hash.c 6
/src/xz/src/liblzma/../../src/liblzma/common/index.h 4
/src/xz/src/liblzma/common/vli_size.c 1
/src/xz/src/liblzma/common/stream_flags_common.c 1
/src/xz/src/liblzma/../../src/liblzma/common/stream_flags_common.h 1

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/src/xz/src/liblzma/common/filter_common.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/common/block_decoder.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/simple/simple_coder.c [] []
/src/xz/src/liblzma/delta/delta_decoder.c [] []
/src/xz/src/liblzma/common/vli_decoder.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/simple/powerpc.c [] []
/src/xz/src/liblzma/common/filter_flags_decoder.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/lzma/lzma2_decoder.c [] []
/src/xz/src/liblzma/lzma/lzma_decoder.c [] []
/src/xz/src/liblzma/simple/ia64.c [] []
/src/xz/src/liblzma/check/sha256.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/delta/delta_common.c [] []
/src/xz/tests/ossfuzz/fuzz.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/common/stream_flags_common.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/../../src/liblzma/lzma/lzma_common.h [] []
/src/xz/src/liblzma/simple/armthumb.c [] []
/src/xz/src/liblzma/simple/simple_decoder.c [] []
/src/xz/src/liblzma/../../src/liblzma/lz/lz_decoder.h [] []
/src/xz/src/liblzma/check/crc64_fast.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/common/index_hash.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/common/vli_size.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/../../src/common/tuklib_integer.h ['fuzz'] []
/src/xz/src/liblzma/../../src/liblzma/common/stream_flags_common.h ['fuzz'] []
/src/xz/src/liblzma/check/check.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/check/crc32_fast.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/common/common.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/common/stream_flags_decoder.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/../../src/liblzma/check/crc_common.h [] []
/src/xz/src/liblzma/check/crc_clmul.c [] []
/src/xz/src/liblzma/simple/arm64.c [] []
/src/xz/src/liblzma/common/block_util.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/lz/lz_decoder.c [] []
/src/xz/src/liblzma/common/block_header_decoder.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/common/stream_decoder.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/simple/x86.c [] []
/src/xz/src/liblzma/../../src/liblzma/common/index.h ['fuzz'] []
/usr/local/lib/clang/15.0.0/include/cpuid.h [] []
/src/xz/src/liblzma/simple/sparc.c [] []
/src/xz/src/liblzma/simple/arm.c [] []
/src/xz/src/liblzma/common/filter_decoder.c ['fuzz'] ['fuzz']
/src/xz/src/liblzma/../../src/liblzma/rangecoder/range_decoder.h [] []

Directories in report

Directory
/src/xz/src/liblzma/../../src/liblzma/lzma/
/src/xz/src/liblzma/../../src/liblzma/check/
/src/xz/src/liblzma/../../src/common/
/src/xz/src/liblzma/delta/
/usr/local/lib/clang/15.0.0/include/
/src/xz/tests/ossfuzz/
/src/xz/src/liblzma/../../src/liblzma/rangecoder/
/src/xz/src/liblzma/simple/
/src/xz/src/liblzma/lz/
/src/xz/src/liblzma/../../src/liblzma/common/
/src/xz/src/liblzma/check/
/src/xz/src/liblzma/common/
/src/xz/src/liblzma/../../src/liblzma/lz/
/src/xz/src/liblzma/lzma/