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-scanopt

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 5 19.2%
gold [1:9] 5 19.2%
yellow [10:29] 3 11.5%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 13 50.0%
All colors 26 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
2 11 scanopt_err call site: 00011 gettext
2 17 scanopt_err call site: 00017 gettext
1 23 scanopt call site: 00023 scanopt_err

Runtime coverage analysis

Covered functions
7
Functions that are reachable but not covered
5
Reachable functions
12
Percentage of reachable functions covered
58.33%
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
/src/fuzz-scanopt.c 1
src/scanopt.c 6

Fuzzer: fuzz-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 1612 90.4%
gold [1:9] 17 0.95%
yellow [10:29] 1 0.05%
greenyellow [30:49] 1 0.05%
lawngreen 50+ 151 8.47%
All colors 1782 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
539 1241 readin call site: 01241 flexscan
298 602 check_options call site: 00602 finish_rule
161 911 readin call site: 00911 filter_tee_header
103 358 cclinstal call site: 00358 context_call
68 252 yy_push_state call site: 00252 line_directive_out
66 72 flexend call site: 00072 lerr
50 488 yylex call site: 00488 finish_rule
46 1192 readin call site: 01192 visible_define_str
30 327 addsym call site: 00327 line_directive_out
26 35 scanopt call site: 00035 lerr
26 142 suffix call site: 00142 skel_property
18 1078 readin call site: 01078 comment

Runtime coverage analysis

Covered functions
64
Functions that are reachable but not covered
205
Reachable functions
269
Percentage of reachable functions covered
23.79%
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
/src/fuzz-main.c 1
src/main.c 8
src/misc.c 34
src/buf.c 5
src/scanflags.c 3
src/scanopt.c 6
src/skeletons.c 6
scan.l 4
src/parse.c 2
src/yylex.c 1
scan.c 16
src/parse.y 10
src/sym.c 9
src/ccl.c 10
src/nfa.c 16
src/ecs.c 4
src/regex.c 3
src/filter.c 7
src/tables.c 15
src/gen.c 15
src/dfa.c 10
src/tblcmp.c 14
src/tables_shared.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/flex/src/ecs.c ['fuzz-main'] []
/src/flex/src/parse.y ['fuzz-main'] ['fuzz-main']
/src/flex/src/yylex.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/gen.c ['fuzz-main'] []
/src/flex/src/nfa.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/filter.c ['fuzz-main'] []
/src/flex/src/misc.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/scanflags.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/skeletons.c ['fuzz-main'] ['fuzz-main']
/src/flex/scan.l ['fuzz-main'] ['fuzz-main']
/src/flex/src/tblcmp.c ['fuzz-main'] []
/src/fuzz-scanopt.c ['fuzz-scanopt'] ['fuzz-scanopt']
/src/flex/src/regex.c ['fuzz-main'] []
/src/flex/src/main.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/buf.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/sym.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/parse.c ['fuzz-main'] ['fuzz-main']
/src/flex/scan.c ['fuzz-main'] ['fuzz-main']
/src/fuzz-main.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/tables.c ['fuzz-main'] []
/src/flex/src/scanopt.c ['fuzz-scanopt', 'fuzz-main'] ['fuzz-scanopt', 'fuzz-main']
/src/flex/src/dfa.c ['fuzz-main'] []
/src/flex/src/tables_shared.c ['fuzz-main'] []
/src/flex/src/ccl.c ['fuzz-main'] ['fuzz-main']

Directories in report

Directory
/src/flex/src/
/src/
/src/flex/