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] 4 15.3%
yellow [10:29] 4 15.3%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 13 50.0%
All colors 26 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
0 0 None 2 82 scanopt call site: 00004 /src/flex/src/scanopt.c:636
0 0 None 2 2 find_opt call site: 00006 /src/flex/src/scanopt.c:564
0 0 None 0 0 scanopt call site: 00004 /src/flex/src/scanopt.c:631
0 0 None 0 0 scanopt call site: 00024 /src/flex/src/scanopt.c:750

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 1605 90.0%
gold [1:9] 17 0.95%
yellow [10:29] 7 0.39%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 153 8.58%
All colors 1782 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
1516 4210 18 :

['optimize_pack', 'flexscan', 'make_tables', 'visible_define', 'ntod', 'out', 'flexend', 'readin', 'comment', 'outc', 'fputs', 'line_directive_out', 'flexinit', 'outn', 'skelout', 'out_str', 'line_warning', 'out_str_dec']

1516 4210 flex_main call site: 00007 /src/flex/src/main.c:147
166 166 3 :

['ferror', 'fclose', 'lerr']

226 226 flexend call site: 00073 /src/flex/src/main.c:475
111 111 1 :

['skel_property']

111 111 suffix call site: 00142 /src/flex/src/skeletons.c:134
83 209 3 :

['gettext', 'lerr', 'reallocate_array']

86 307 mkstate call site: 00516 /src/flex/src/nfa.c:590
83 83 2 :

['lerr', 'fopen']

2389 2393 readin call site: 01107 /src/flex/src/main.c:1324
81 81 1 :

['flexerror']

164 281 check_options call site: 00598 /src/flex/src/main.c:387
81 81 1 :

['lerr']

81 81 check_options call site: 00602 /src/flex/src/main.c:426
59 59 4 :

['yytbl_hdr_init', 'yytbl_writer_init', 'calloc', 'yytbl_hdr_fwrite']

2881 2961 readin call site: 00911 /src/flex/src/main.c:1228
58 58 3 :

['strcmp', 'putc', 'fputs']

60 60 flexend call site: 00079 /src/flex/src/main.c:496
47 47 3 :

['strlen', 'find_opt', 'scanopt_err']

47 47 scanopt call site: 00038 /src/flex/src/scanopt.c:664
23 23 1 :

['visible_define_int']

801 801 readin call site: 01197 /src/flex/src/main.c:1597
23 23 1 :

['visible_define_str']

778 778 readin call site: 01198 /src/flex/src/main.c:1600

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/dfa.c ['fuzz-main'] []
/src/flex/src/sym.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/tblcmp.c ['fuzz-main'] []
/src/flex/src/yylex.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/ecs.c ['fuzz-main'] []
/src/flex/src/tables_shared.c ['fuzz-main'] []
/src/flex/src/skeletons.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/parse.y ['fuzz-main'] ['fuzz-main']
/src/flex/src/scanopt.c ['fuzz-scanopt', 'fuzz-main'] ['fuzz-scanopt', 'fuzz-main']
/src/flex/src/gen.c ['fuzz-main'] []
/src/flex/src/misc.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/filter.c ['fuzz-main'] []
/src/flex/src/nfa.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/ccl.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/scanflags.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/main.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/parse.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/tables.c ['fuzz-main'] []
/src/flex/scan.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/buf.c ['fuzz-main'] ['fuzz-main']
/src/flex/scan.l ['fuzz-main'] ['fuzz-main']
/src/fuzz-main.c ['fuzz-main'] ['fuzz-main']
/src/flex/src/regex.c ['fuzz-main'] []
/src/fuzz-scanopt.c ['fuzz-scanopt'] ['fuzz-scanopt']

Directories in report

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