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

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 96 18.7%
gold [1:9] 26 5.08%
yellow [10:29] 35 6.84%
greenyellow [30:49] 12 2.34%
lawngreen 50+ 342 66.9%
All colors 511 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
12 361 ikev2_pld_e call site: 00361 log_warn
8 410 ikev2_frags_reassemble call site: 00410 fatalx
5 49 vlog call site: 00049 __asprintf_chk
5 135 print_hex call site: 00135 print_debug
5 353 print_addr call site: 00353 log_debug
5 397 recallocarray call site: 00397 log_info
4 7 ibuf_add_zero call site: 00007 __errno_location
4 141 ikev2_pld_xform call site: 00141 log_debug
4 291 ikev2_pld_notify call site: 00291 ibuf_new
2 15 ibuf_free call site: 00015 abort
2 147 ikev2_pld_sa call site: 00147 log_debug
2 175 ikev2_pld_id call site: 00175 log_debug

Runtime coverage analysis

Covered functions
76
Functions that are reachable but not covered
34
Reachable functions
105
Percentage of reachable functions covered
67.62%
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
regress/parser-libfuzzer/test_parser_fuzz.c 4
iked/imsg_util.c 1
compat/imsg-buffer.c 8
compat/freezero.c 1
regress/parser-libfuzzer/common.c 14
iked/ikev2_pld.c 36
/usr/include/x86_64-linux-gnu/bits/byteswap.h 3
iked/util.c 6
iked/log.c 8
compat/recallocarray.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/openiked-portable/compat/timingsafe_memcmp.c [] []
/src/openiked-portable/regress/parser-libfuzzer/common.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/recallocarray.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/iked/log.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/setproctitle.c [] []
/src/openiked-portable/compat/imsg-buffer.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/regress/parser-libfuzzer/test_parser_fuzz.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/vis.c [] []
/src/openiked-portable/compat/timingsafe_bcmp.c [] []
/src/openiked-portable/compat/getrtable.c [] []
/src/openiked-portable/compat/imsg.c [] []
/src/openiked-portable/compat/freezero.c ['test_libfuzzer'] ['test_libfuzzer']
/usr/include/x86_64-linux-gnu/bits/byteswap.h ['test_libfuzzer'] []
/src/openiked-portable/iked/util.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/iked/ikev2_pld.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/getdtablecount.c [] []
/src/openiked-portable/compat/strtonum.c [] []
/src/openiked-portable/iked/imsg_util.c ['test_libfuzzer'] ['test_libfuzzer']

Directories in report

Directory
/src/openiked-portable/iked/
/src/openiked-portable/compat/
/src/openiked-portable/regress/parser-libfuzzer/
/usr/include/x86_64-linux-gnu/bits/