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

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzzer details

Fuzzer: zip_fuzzer

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 297 62.2%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 3 0.62%
lawngreen 50+ 177 37.1%
All colors 477 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
689 756 5 :

['mz_stream_set_prop_int64', 'mz_zip_recover_cd', 'mz_stream_seek', 'mz_zip_read_cd', 'mz_stream_copy']

689 1267 mz_zip_open call site: 00030 /src/minizip-ng/mz_zip.c:1447
137 137 1 :

['mz_zip_entry_read_close']

137 137 mz_zip_entry_close_raw call site: 00305 /src/minizip-ng/mz_zip.c:2284
63 137 3 :

['mz_stream_tell', 'mz_stream_write_int64', 'mz_stream_write_uint64']

65 550 mz_zip_write_cd call site: 00361 /src/minizip-ng/mz_zip.c:1139
24 24 3 :

['mz_stream_wzaes_set_password', 'mz_stream_wzaes_create', 'mz_stream_wzaes_set_strength']

29 98 mz_zip_entry_open_int call site: 00430 /src/minizip-ng/mz_zip.c:1737
2 14 2 :

['strlen', 'mz_stream_write']

2 518 mz_zip_entry_write_open call site: 00416 /src/minizip-ng/mz_zip.c:1966
2 2 1 :

['strlen']

2 35 mz_zip_write_cd call site: 00386 /src/minizip-ng/mz_zip.c:1222
0 481 1 :

['mz_zip_close']

0 481 mz_zip_open call site: 00300 /src/minizip-ng/mz_zip.c:1484
0 429 1 :

['mz_zip_entry_close']

4 1117 mz_zip_entry_write_open call site: 00402 /src/minizip-ng/mz_zip.c:1935
0 429 1 :

['mz_zip_entry_close']

0 565 mz_zip_close call site: 00302 /src/minizip-ng/mz_zip.c:1518
0 128 6 :

['mz_stream_mem_seek', 'mz_stream_seek', 'mz_stream_read_uint16', 'mz_stream_write_uint16', 'mz_stream_mem_delete', 'mz_stream_copy']

0 140 mz_zip_entry_write_header call site: 00277 /src/minizip-ng/mz_zip.c:887
0 10 1 :

['mz_stream_get_prop_int64']

0 47 mz_zip_entry_open_int call site: 00451 /src/minizip-ng/mz_zip.c:1813
0 10 1 :

['mz_zip_entry_close_int']

0 10 mz_zip_entry_open_int call site: 00461 /src/minizip-ng/mz_zip.c:1857

Runtime coverage analysis

Covered functions
86
Functions that are reachable but not covered
45
Reachable functions
109
Percentage of reachable functions covered
58.72%
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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
test/fuzz/zip_fuzzer.c 1
mz_strm_mem.c 12
mz_strm.c 29
mz_zip.c 47
mz_strm_wzaes.c 3
mz_crypt_openssl.c 4
mz_strm_pkcrypt.c 3
mz_strm_zlib.c 1
mz_crypt.c 1

Fuzzer: unzip_fuzzer

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 102 22.1%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.21%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 358 77.6%
All colors 461 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
367 367 1 :

['mz_zip_entry_write_close']

367 367 mz_zip_entry_close_raw call site: 00290 /src/minizip-ng/mz_zip.c:2284
6 6 1 :

['mz_zip_attrib_posix_to_win32']

6 6 mz_zip_attrib_convert call site: 00186 /src/minizip-ng/mz_zip.c:2532
5 17 2 :

['mz_crypt_rand', 'mz_stream_write']

5 41 mz_stream_pkcrypt_open call site: 00000 /src/minizip-ng/mz_strm_pkcrypt.c:129
5 5 1 :

['mz_crypt_rand']

7 241 mz_stream_wzaes_open call site: 00000 /src/minizip-ng/mz_strm_wzaes.c:88
2 2 1 :

['EVP_sha256']

8 8 mz_crypt_hmac_init call site: 00000 /src/minizip-ng/mz_crypt_openssl.c:557
0 429 1 :

['mz_zip_entry_close']

103 565 mz_zip_close call site: 00287 /src/minizip-ng/mz_zip.c:1518
0 34 1 :

['mz_zip_attrib_is_dir']

0 34 mz_zip_entry_needs_zip64 call site: 00183 /src/minizip-ng/mz_zip.c:576
0 24 1 :

['mz_stream_write']

0 24 mz_stream_wzaes_open call site: 00000 /src/minizip-ng/mz_strm_wzaes.c:116
0 5 1 :

['mz_stream_set_prop_int64']

0 937 mz_zip_recover_cd call site: 00066 /src/minizip-ng/mz_zip.c:1267
0 0 None 103 568 mz_zip_close call site: 00286 /src/minizip-ng/mz_zip.c:1513
0 0 None 10 21 mz_crypt_hmac_init call site: 00000 /src/minizip-ng/mz_crypt_openssl.c:549
0 0 None 9 254 mz_stream_wzaes_open call site: 00000 /src/minizip-ng/mz_strm_wzaes.c:76

Runtime coverage analysis

Covered functions
149
Functions that are reachable but not covered
14
Reachable functions
121
Percentage of reachable functions covered
88.43%
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
test/fuzz/unzip_fuzzer.c 1
mz_strm_mem.c 10
mz_zip.c 59
mz_strm.c 29
mz_strm_wzaes.c 3
mz_crypt_openssl.c 4
mz_strm_pkcrypt.c 3
mz_strm_zlib.c 1
mz_os_posix.c 1
mz_crypt.c 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/minizip-ng/test/fuzz/zip_fuzzer.c ['zip_fuzzer'] ['zip_fuzzer']
/src/minizip-ng/mz_os_posix.c ['unzip_fuzzer'] ['unzip_fuzzer']
/src/minizip-ng/mz_strm_os_posix.c [] []
/src/minizip-ng/mz_zip.c ['zip_fuzzer', 'unzip_fuzzer'] ['zip_fuzzer', 'unzip_fuzzer']
/src/minizip-ng/mz_strm_pkcrypt.c ['zip_fuzzer', 'unzip_fuzzer'] ['zip_fuzzer', 'unzip_fuzzer']
/src/minizip-ng/mz_crypt.c ['zip_fuzzer', 'unzip_fuzzer'] ['zip_fuzzer', 'unzip_fuzzer']
/src/minizip-ng/mz_strm_mem.c ['zip_fuzzer', 'unzip_fuzzer'] ['zip_fuzzer', 'unzip_fuzzer']
/src/minizip-ng/test/fuzz/unzip_fuzzer.c ['unzip_fuzzer'] ['unzip_fuzzer']
/src/minizip-ng/mz_strm_wzaes.c ['zip_fuzzer', 'unzip_fuzzer'] ['unzip_fuzzer']
/src/minizip-ng/mz_strm_zlib.c ['zip_fuzzer', 'unzip_fuzzer'] []
/src/minizip-ng/mz_crypt_openssl.c ['zip_fuzzer', 'unzip_fuzzer'] ['zip_fuzzer', 'unzip_fuzzer']
/src/minizip-ng/mz_os.c [] []
/src/minizip-ng/mz_strm.c ['zip_fuzzer', 'unzip_fuzzer'] ['zip_fuzzer', 'unzip_fuzzer']

Directories in report

Directory
/src/minizip-ng/
/src/minizip-ng/test/fuzz/