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

Fuzzer details

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 224 49.6%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.22%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 226 50.1%
All colors 451 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
372 372 1 :

['mz_zip_entry_write_close']

372 372 mz_zip_entry_close_raw call site: 00289 /src/minizip-ng/mz_zip.c:2262
6 6 1 :

['mz_zip_attrib_posix_to_win32']

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

['mz_stream_write', 'mz_crypt_rand']

5 35 mz_stream_pkcrypt_open call site: 00000 /src/minizip-ng/mz_strm_pkcrypt.c:139
5 5 1 :

['mz_crypt_rand']

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

['EVP_sha256']

6 6 mz_crypt_hmac_init call site: 00000 /src/minizip-ng/mz_crypt_openssl.c:385
2 2 1 :

['ERR_get_error']

2 2 mz_crypt_aes_set_encrypt_key call site: 00000 /src/minizip-ng/mz_crypt_openssl.c:280
0 433 1 :

['mz_zip_entry_close']

108 574 mz_zip_close call site: 00286 /src/minizip-ng/mz_zip.c:1506
0 24 1 :

['mz_stream_write']

0 24 mz_stream_wzaes_open call site: 00000 /src/minizip-ng/mz_strm_wzaes.c:125
0 0 None 554 1297 mz_zip_open call site: 00006 /src/minizip-ng/mz_zip.c:1427
0 0 None 554 1291 mz_zip_open call site: 00007 /src/minizip-ng/mz_zip.c:1436
0 0 None 108 577 mz_zip_close call site: 00285 /src/minizip-ng/mz_zip.c:1501
0 0 None 101 159 mz_zip_entry_read_close call site: 00328 /src/minizip-ng/mz_zip.c:2061

Runtime coverage analysis

Covered functions
121
Functions that are reachable but not covered
35
Reachable functions
114
Percentage of reachable functions covered
69.3%
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 57
mz_strm.c 29
mz_strm_wzaes.c 3
mz_crypt_openssl.c 2
mz_strm_pkcrypt.c 3
mz_crypt.c 1

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 369 79.8%
gold [1:9] 1 0.21%
yellow [10:29] 6 1.29%
greenyellow [30:49] 1 0.21%
lawngreen 50+ 85 18.3%
All colors 462 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
688 773 5 :

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

688 1284 mz_zip_open call site: 00022 /src/minizip-ng/mz_zip.c:1443
433 433 1 :

['mz_zip_entry_close']

516 1108 mz_zip_entry_write_open call site: 00393 /src/minizip-ng/mz_zip.c:1909
433 433 1 :

['mz_zip_entry_close']

433 574 mz_zip_close call site: 00295 /src/minizip-ng/mz_zip.c:1506
120 131 3 :

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

302 525 mz_zip_write_cd call site: 00353 /src/minizip-ng/mz_zip.c:1135
80 80 1 :

['mz_stream_write_int64']

398 666 mz_zip_entry_write_header call site: 00238 /src/minizip-ng/mz_zip.c:815
79 79 1 :

['mz_zip_entry_open_int']

79 79 mz_zip_entry_write_open call site: 00420 /src/minizip-ng/mz_zip.c:2001
66 66 2 :

['mz_stream_write_uint64', 'mz_zip_unix_to_ntfs_time']

295 543 mz_zip_entry_write_header call site: 00247 /src/minizip-ng/mz_zip.c:831
40 144 6 :

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

40 156 mz_zip_entry_write_header call site: 00270 /src/minizip-ng/mz_zip.c:885
28 28 1 :

['mz_zip_entry_write_crc_sizes']

532 950 mz_zip_entry_write_header call site: 00213 /src/minizip-ng/mz_zip.c:740
23 83 2 :

['mz_zip_extrafield_write', 'mz_stream_write_uint8']

103 279 mz_zip_entry_write_header call site: 00264 /src/minizip-ng/mz_zip.c:870
20 20 1 :

['mz_stream_write_uint16']

20 32 mz_zip_write_cd call site: 00379 /src/minizip-ng/mz_zip.c:1223
2 14 2 :

['strlen', 'mz_stream_write']

81 508 mz_zip_entry_write_open call site: 00407 /src/minizip-ng/mz_zip.c:1940

Runtime coverage analysis

Covered functions
49
Functions that are reachable but not covered
60
Reachable functions
104
Percentage of reachable functions covered
42.31%
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 46
mz_strm_wzaes.c 3
mz_crypt_openssl.c 2
mz_strm_pkcrypt.c 3
mz_crypt.c 1