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] 3 11.5%
yellow [10:29] 5 19.2%
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 1528 85.7%
gold [1:9] 84 4.71%
yellow [10:29] 10 0.56%
greenyellow [30:49] 1 0.05%
lawngreen 50+ 159 8.92%
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
121 779 ccladd call site: 00779 mkor
66 72 flexend call site: 00072 lerr
51 397 all_upper call site: 00397 context_call
50 1022 initialize_output_filters call site: 01022 lerr
46 1192 readin call site: 01192 visible_define_str
44 642 flex_regcomp call site: 00642 finish_rule
39 488 yylex call site: 00488 mkstate
37 252 yy_push_state call site: 00252 line_directive_out
35 743 mkopt call site: 00743 mkrep
34 956 filter_apply_chain call site: 00956 lerr
31 365 findsym call site: 00365 add_action

Runtime coverage analysis

Covered functions
89
Functions that are reachable but not covered
180
Reachable functions
269
Percentage of reachable functions covered
33.09%
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/ccl.c ['fuzz-main'] ['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/main.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/filter.c ['fuzz-main'] ['fuzz-main']
/src/flex/scan.l ['fuzz-main'] ['fuzz-main']
/src/flex/src/buf.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/tables.c ['fuzz-main'] []
/src/flex/src/yylex.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/tables_shared.c ['fuzz-main'] []
/src/flex/src/nfa.c ['fuzz-main'] ['fuzz-main']
/src/fuzz-main.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/regex.c ['fuzz-main'] ['fuzz-main']
/src/flex/scan.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/tblcmp.c ['fuzz-main'] []
/src/flex/src/sym.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/gen.c ['fuzz-main'] []
/src/flex/src/parse.y ['fuzz-main'] ['fuzz-main']
/src/flex/src/parse.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/misc.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/scanflags.c ['fuzz-main'] ['fuzz-main']
/src/fuzz-scanopt.c ['fuzz-scanopt'] ['fuzz-scanopt']
/src/flex/src/ecs.c ['fuzz-main'] []
/src/flex/src/skeletons.c ['fuzz-main'] ['fuzz-main']

Directories in report

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