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 95 18.6%
gold [1:9] 31 6.09%
yellow [10:29] 28 5.50%
greenyellow [30:49] 15 2.94%
lawngreen 50+ 340 66.7%
All colors 509 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 359 ikev2_pld_e call site: 00359 log_warn
8 408 ikev2_frags_reassemble call site: 00408 fatalx
5 50 vlog call site: 00050 __asprintf_chk
5 136 print_hex call site: 00136 print_debug
5 351 print_addr call site: 00351 log_debug
5 395 recallocarray call site: 00395 log_info
4 7 ibuf_add_zero call site: 00007 __errno_location
4 142 ikev2_pld_xform call site: 00142 log_debug
4 292 ikev2_pld_notify call site: 00292 ibuf_new
2 15 ibuf_free call site: 00015 abort
2 148 ikev2_pld_sa call site: 00148 log_debug
2 176 ikev2_pld_id call site: 00176 log_debug

Runtime coverage analysis

Covered functions
77
Functions that are reachable but not covered
33
Reachable functions
105
Percentage of reachable functions covered
68.57%
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
compat/strlcpy.c 1
iked/log.c 8
compat/strlcat.c 1
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/strlcpy.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/chacha_private.h [] []
/src/openiked-portable/compat/strlcat.c ['test_libfuzzer'] []
/src/openiked-portable/compat/arc4random_linux.h [] []
/src/openiked-portable/regress/parser-libfuzzer/test_parser_fuzz.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/setproctitle.c [] []
/src/openiked-portable/compat/recallocarray.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/strtonum.c [] []
/src/openiked-portable/iked/log.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/getrtable.c [] []
/src/openiked-portable/compat/vis.c [] []
/src/openiked-portable/compat/arc4random_uniform.c [] []
/src/openiked-portable/iked/ikev2_pld.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/timingsafe_bcmp.c [] []
/src/openiked-portable/compat/imsg.c [] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h ['test_libfuzzer'] []
/src/openiked-portable/compat/arc4random.c [] []
/src/openiked-portable/compat/freezero.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/getdtablecount.c [] []
/src/openiked-portable/iked/util.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/imsg-buffer.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/regress/parser-libfuzzer/common.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/iked/imsg_util.c ['test_libfuzzer'] ['test_libfuzzer']
/src/openiked-portable/compat/timingsafe_memcmp.c [] []

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/