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: fuzz-gifsicle

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 659 33.9%
gold [1:9] 2 0.10%
yellow [10:29] 6 0.30%
greenyellow [30:49] 3 0.15%
lawngreen 50+ 1271 65.4%
All colors 1941 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
74 550 input_done call site: 00550 output_frames
41 1565 gifsicle_main call site: 01565 pipe_color_transformer
34 1165 safe_bounds call site: 01165 warning
23 1227 prepare_colormap call site: 01227 transp_frame_data32
20 1200 keep_out_global_map call site: 01200 create_new_image_data32
20 1497 Clp_Next call site: 01497 set_frame_change
20 1720 gifsicle_main call site: 01720 usage
18 329 parse_string_list call site: 00329 ambiguity_error
17 77 write_file call site: 00077 spec_print
17 234 Clp_vbsprintf call site: 00234 decode_utf8
17 1540 gifsicle_main call site: 01540 handle_extension
13 1331 merge_and_write_frames call site: 01331 merge_and_write_frames

Runtime coverage analysis

Covered functions
434
Functions that are reachable but not covered
142
Reachable functions
551
Percentage of reachable functions covered
74.23%
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/fuzz_gifsicle.c 6
test/fuzz/runner.c 40
src/gifsicle.c 29
src/support.c 53
src/giffunc.c 35
src/quantize.c 31
src/fmalloc.c 1
src/xform.c 56
src/clp.c 56
src/gifread.c 19
src/kcolor.c 19
src/merge.c 8
src/gifsicle.h 2
src/gifwrite.c 29
src/kcolor.h 20
test/fuzz/budget.c 5
src/optimize.c 13
src/opttemplate.c 38
src/gifunopt.c 12
test/fuzz/gifcheck.c 8

Fuzzer: fuzz-gifsicle-main

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 267 14.0%
gold [1:9] 14 0.73%
yellow [10:29] 29 1.52%
greenyellow [30:49] 4 0.21%
lawngreen 50+ 1587 83.4%
All colors 1901 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
34 1133 safe_bounds call site: 01133 warning
23 1195 prepare_colormap call site: 01195 transp_frame_data32
20 1168 keep_out_global_map call site: 01168 create_new_image_data32
17 45 write_file call site: 00045 spec_print
12 1562 pipe_color_transformer call site: 01562 read_colormap_file
10 1759 fuzz_run call site: 01759 fuzz_failed
7 127 Gif_Realloc call site: 00127 gifsicle_fuzz_exit
7 1118 initialize_optimizer call site: 01118 create_subimages32
6 245 argcmp call site: 00245 Clp_OptionError
6 253 Clp_NewParser call site: 00253 Clp_OptionError
5 1446 find_long call site: 01446 switch_to_short_argument
5 1861 check_same_appearance call site: 01861 fuzz_failed

Runtime coverage analysis

Covered functions
471
Functions that are reachable but not covered
103
Reachable functions
549
Percentage of reachable functions covered
81.24%
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/fuzz_main.c 4
test/fuzz/runner.c 39
src/gifsicle.c 29
src/support.c 53
src/giffunc.c 35
src/quantize.c 31
src/fmalloc.c 1
src/xform.c 56
src/clp.c 56
src/gifread.c 19
src/kcolor.c 19
src/merge.c 8
src/gifsicle.h 2
src/gifwrite.c 29
src/kcolor.h 20
test/fuzz/budget.c 5
src/optimize.c 13
src/opttemplate.c 38
src/gifunopt.c 12
test/fuzz/gifcheck.c 8

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/gifsicle/src/gifread.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/support.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/clp.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/test/fuzz/fuzz_gifsicle.c ['fuzz-gifsicle'] ['fuzz-gifsicle']
/src/gifsicle/src/kcolor.h ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/xform.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/test/fuzz/gifcheck.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/fmalloc.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/gifsicle.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/gifwrite.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/test/fuzz/budget.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/gifsicle.h ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/quantize.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/gifunopt.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/test/fuzz/runner.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/test/fuzz/fuzz_main.c ['fuzz-gifsicle-main'] ['fuzz-gifsicle-main']
/src/gifsicle/src/opttemplate.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/giffunc.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/optimize.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/kcolor.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/merge.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']

Directories in report

Directory
/src/gifsicle/test/fuzz/
/src/gifsicle/src/