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: config_read_fuzzer

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 218 48.2%
gold [1:9] 9 1.99%
yellow [10:29] 5 1.10%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 220 48.6%
All colors 452 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
43 238 config_setting_set_int64_elem call site: 00238 config_setting_set_float_elem
18 49 libconfig_yyensure_buffer_stack call site: 00049 libconfig_yy_create_buffer
18 109 libconfig_scanctx_take_string call site: 00109 libconfig_scanctx_push_include
17 197 __config_list_add call site: 00197 config_setting_add
14 161 libconfig_yylex call site: 00161 libconfig_yyrestart
12 95 libconfig_strbuf_append_char call site: 00095 libconfig_strbuf_append_char
12 136 libconfig_parse_integer call site: 00136 libconfig_parse_integer
10 150 libconfig_yy_delete_buffer call site: 00150 libconfig_yy_switch_to_buffer
7 26 libconfig_strdup call site: 00026 libconfig_strvec_append
7 227 config_setting_set_int_elem call site: 00227 config_setting_set_int64_elem
6 288 config_setting_set_float call site: 00288 config_setting_set_string_elem
6 299 config_setting_set_string call site: 00299 config_setting_add

Runtime coverage analysis

Covered functions
100
Functions that are reachable but not covered
45
Reachable functions
145
Percentage of reachable functions covered
68.97%
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
fuzz/fuzz_config_read.c 3
lib/libconfig.c 53
lib/strvec.c 3
lib/util.c 13
fuzz/fuzz_data.c 2
lib/scanctx.c 7
build/lib/scanner.c 24
build/lib/scanner.l 3
build/lib/grammar.c 2
lib/strbuf.c 4
build/lib/grammar.y 2

Fuzzer: config_api_fuzzer

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 182 31.7%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 392 68.2%
All colors 574 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
42 246 config_setting_set_int64 call site: 00246 config_setting_set_float_elem
18 116 libconfig_scanctx_take_string call site: 00116 libconfig_scanctx_push_include
12 102 libconfig_strbuf_append_char call site: 00102 libconfig_strbuf_append_char
12 143 libconfig_parse_integer call site: 00143 libconfig_parse_integer
12 209 config_setting_remove_elem call site: 00209 config_setting_add
10 157 libconfig_yy_delete_buffer call site: 00157 libconfig_yy_switch_to_buffer
7 33 libconfig_strdup call site: 00033 libconfig_strvec_append
6 56 libconfig_yyensure_buffer_stack call site: 00056 libconfig_yyrealloc
6 172 yy_get_next_buffer call site: 00172 __errno_location
6 235 config_setting_set_int call site: 00235 config_setting_set_int64_elem
6 306 config_setting_set_string call site: 00306 config_setting_add
5 296 config_setting_set_float call site: 00296 config_setting_set_string_elem

Runtime coverage analysis

Covered functions
141
Functions that are reachable but not covered
38
Reachable functions
179
Percentage of reachable functions covered
78.77%
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
fuzz/fuzz_config_api.c 8
lib/libconfig.c 81
lib/strvec.c 3
lib/util.c 13
lib/scanctx.c 7
build/lib/scanner.c 24
build/lib/scanner.l 3
build/lib/grammar.c 2
lib/strbuf.c 4
build/lib/grammar.y 2

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/libconfig/lib/strbuf.c ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/lib/util.c ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/build/lib/grammar.c ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/fuzz/fuzz_config_read.c ['config_read_fuzzer'] ['config_read_fuzzer']
/src/libconfig/lib/strvec.c ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/build/lib/scanner.c ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/fuzz/fuzz_config_api.c ['config_api_fuzzer'] ['config_api_fuzzer']
/src/libconfig/lib/scanctx.c ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/build/lib/grammar.y ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/build/lib/scanner.l ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/lib/libconfig.c ['config_read_fuzzer', 'config_api_fuzzer'] ['config_read_fuzzer', 'config_api_fuzzer']
/src/libconfig/fuzz/fuzz_data.c ['config_read_fuzzer'] ['config_read_fuzzer']

Directories in report

Directory
/src/libconfig/lib/
/src/libconfig/fuzz/
/src/libconfig/build/lib/