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 657 33.8%
gold [1:9] 4 0.20%
yellow [10:29] 6 0.30%
greenyellow [30:49] 2 0.10%
lawngreen 50+ 1271 65.5%
All colors 1940 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 551 input_done call site: 00551 output_frames
41 1564 gifsicle_main call site: 01564 pipe_color_transformer
34 1164 safe_bounds call site: 01164 warning
23 1226 prepare_colormap call site: 01226 transp_frame_data32
20 1199 keep_out_global_map call site: 01199 create_new_image_data32
20 1496 Clp_Next call site: 01496 set_frame_change
20 1719 gifsicle_main call site: 01719 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 1539 gifsicle_main call site: 01539 handle_extension
13 1330 merge_and_write_frames call site: 01330 merge_and_write_frames

Runtime coverage analysis

Covered functions
433
Functions that are reachable but not covered
142
Reachable functions
550
Percentage of reachable functions covered
74.18%
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 4
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 268 14.1%
gold [1:9] 14 0.73%
yellow [10:29] 28 1.47%
greenyellow [30:49] 4 0.21%
lawngreen 50+ 1586 83.4%
All colors 1900 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 1132 safe_bounds call site: 01132 warning
23 1194 prepare_colormap call site: 01194 transp_frame_data32
20 1167 keep_out_global_map call site: 01167 create_new_image_data32
17 45 write_file call site: 00045 spec_print
12 1561 pipe_color_transformer call site: 01561 read_colormap_file
10 1758 fuzz_run call site: 01758 fuzz_failed
7 127 Gif_Realloc call site: 00127 gifsicle_fuzz_exit
7 1117 initialize_optimizer call site: 01117 create_subimages32
6 245 argcmp call site: 00245 Clp_OptionError
6 253 Clp_NewParser call site: 00253 Clp_OptionError
5 1445 find_long call site: 01445 switch_to_short_argument
5 1860 check_same_appearance call site: 01860 fuzz_failed

Runtime coverage analysis

Covered functions
470
Functions that are reachable but not covered
103
Reachable functions
548
Percentage of reachable functions covered
81.2%
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 4
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/optimize.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/quantize.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/kcolor.h ['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/src/gifsicle.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/gifread.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/gifcheck.c ['fuzz-gifsicle', 'fuzz-gifsicle-main'] ['fuzz-gifsicle', 'fuzz-gifsicle-main']
/src/gifsicle/src/opttemplate.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/merge.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/kcolor.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_main.c ['fuzz-gifsicle-main'] ['fuzz-gifsicle-main']
/src/gifsicle/test/fuzz/fuzz_gifsicle.c ['fuzz-gifsicle'] ['fuzz-gifsicle']
/src/gifsicle/src/gifunopt.c ['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']

Directories in report

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