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: parse_packet_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_3_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_1_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_2_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Fuzzer: fuzz_4_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 project has no code coverage. Will not display blockers as blockers depend on code coverage.

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
ub_resolve_async /src/unbound/libunbound/libunbound.c 7 ['N/A', 'N/A', 'int', 'int', 'N/A', 'N/A', 'N/A'] 27 0 463 86 23 1356 0 9032 6922
iter_operate /src/unbound/iterator/iterator.c 4 ['N/A', 'int', 'int', 'N/A'] 17 0 227 34 14 881 0 6340 2946
config_read /src/unbound/util/config_file.c 3 ['N/A', 'N/A', 'N/A'] 7 0 262 41 17 113 2 1556 1373
auth_zones_notify /src/unbound/services/authzone.c 10 ['N/A', 'N/A', 'N/A', 'size_t', 'short', 'N/A', 'int', 'int', 'int', 'N/A'] 43 0 199 33 9 1077 0 7506 1212
val_operate /src/unbound/validator/validator.c 4 ['N/A', 'int', 'int', 'N/A'] 24 0 356 48 20 856 0 6015 970
val_init /src/unbound/validator/validator.c 2 ['N/A', 'int'] 16 0 148 24 8 417 0 2682 622
ub_ctx_set_option /src/unbound/libunbound/libunbound.c 3 ['N/A', 'N/A', 'N/A'] 6 0 142 28 8 62 0 849 551

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
74.0%
1912 / 2578
Cyclomatic complexity statically reachable by fuzzers
79.0%
16743 / 21082

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

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

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/unbound/compat/strlcpy.c ['fuzz_3_fuzzer', 'fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/libunbound/libworker.c [] []
/src/unbound/services/outside_network.c [] []
/src/unbound/util/alloc.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/services/cache/dns.c [] []
/src/unbound/compat/chacha_private.h [] []
/src/unbound/services/rpz.c [] []
/src/unbound/util/data/msgparse.c ['parse_packet_fuzzer', 'fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/util/regional.c ['parse_packet_fuzzer', 'fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/util/module.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/services/localzone.c [] []
/src/unbound/util/config_file.c [] []
/src/unbound/util/storage/dnstree.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/util/storage/lookup3.c ['parse_packet_fuzzer', 'fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/validator/autotrust.c [] []
/src/unbound/services/cache/infra.c [] []
/src/unbound/iterator/iter_fwd.c [] []
/src/unbound/util/configparser.c [] []
/src/unbound/iterator/iter_utils.c [] []
/src/unbound/util/data/dname.c ['parse_packet_fuzzer', 'fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/services/mesh.c [] []
/src/unbound/util/ub_event.c ['fuzz_4_fuzzer'] []
/src/unbound/fuzz_2.c ['fuzz_2_fuzzer'] []
/src/unbound/services/modstack.c [] []
/src/unbound/util/data/msgreply.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/sldns/keyraw.c ['fuzz_2_fuzzer'] []
/src/unbound/validator/val_sigcrypt.c [] []
/src/unbound/fuzz_3.c ['fuzz_3_fuzzer'] []
/src/unbound/util/siphash.c [] []
/src/unbound/validator/val_nsec3.c [] []
/src/unbound/sldns/wire2str.c ['fuzz_2_fuzzer'] []
/src/unbound/services/outbound_list.c [] []
/src/unbound/validator/val_nsec.c [] []
/src/unbound/sldns/parseutil.c ['fuzz_3_fuzzer', 'fuzz_1_fuzzer', 'fuzz_2_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/util/fptr_wlist.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/services/listen_dnsport.c [] []
/src/unbound/util/data/packed_rrset.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/util/tube.c [] []
/src/unbound/iterator/iter_hints.c [] []
/src/unbound/validator/val_kentry.c [] []
/src/unbound/validator/val_kcache.c [] []
/src/unbound/libunbound/libunbound.c [] []
/src/unbound/./util/configlexer.lex [] []
/src/unbound/iterator/iterator.c [] []
/src/unbound/compat/strlcat.c [] []
/src/unbound/sldns/parse.c ['fuzz_3_fuzzer'] []
/src/unbound/util/timehist.c [] []
/src/unbound/util/edns.c [] []
/src/unbound/iterator/iter_priv.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/services/authzone.c [] []
/src/unbound/./sldns/sbuffer.h ['parse_packet_fuzzer', 'fuzz_3_fuzzer', 'fuzz_1_fuzzer', 'fuzz_2_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/validator/val_neg.c [] []
/src/unbound/util/netevent.c ['fuzz_4_fuzzer'] []
/src/unbound/util/rbtree.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/iterator/iter_scrub.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/compat/arc4random_uniform.c [] []
/src/unbound/util/timeval_func.c [] []
/src/unbound/iterator/iter_resptype.c [] []
/src/unbound/util/proxy_protocol.c [] []
/src/unbound/sldns/rrdef.c ['parse_packet_fuzzer', 'fuzz_3_fuzzer', 'fuzz_1_fuzzer', 'fuzz_2_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/util/data/msgencode.c [] []
/src/unbound/util/log.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/util/tcp_conn_limit.c [] []
/src/unbound/util/locks.c [] []
/src/unbound/util/rfc_1982.c [] []
/src/unbound/util/net_help.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/validator/val_utils.c [] []
/src/unbound/validator/val_anchor.c [] []
/src/unbound/validator/validator.c [] []
/src/unbound/fuzz_4.c ['fuzz_4_fuzzer'] []
/src/unbound/util/mini_event.c ['fuzz_4_fuzzer'] []
/src/unbound/sldns/sbuffer.c ['parse_packet_fuzzer', 'fuzz_3_fuzzer', 'fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/compat/arc4_lock.c [] []
/src/unbound/util/random.c [] []
/src/unbound/validator/val_secalgo.c [] []
/src/unbound/dns64/dns64.c [] []
/src/unbound/util/rtt.c [] []
/src/unbound/services/cache/rrset.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/fuzz_1.c ['fuzz_1_fuzzer'] []
/src/unbound/ [] []
/src/unbound/libunbound/context.c [] []
/src/unbound/util/storage/lruhash.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/parse_packet_fuzzer.c ['parse_packet_fuzzer'] []
/src/unbound/./util/configparser.y [] []
/src/unbound/sldns/str2wire.c ['fuzz_3_fuzzer'] []
/src/unbound/util/storage/slabhash.c ['fuzz_1_fuzzer', 'fuzz_4_fuzzer'] []
/src/unbound/respip/respip.c [] []
/src/unbound/compat/arc4random.c [] []
/src/unbound/services/view.c [] []
/src/unbound/iterator/iter_donotq.c [] []
/src/unbound/iterator/iter_delegpt.c [] []

Directories in report

Directory
/src/unbound/util/storage/
/src/unbound/./util/
/src/unbound/dns64/
/src/unbound/services/
/src/unbound/util/
/src/unbound/util/data/
/src/unbound/sldns/
/src/unbound/compat/
/src/unbound/iterator/
/src/unbound/libunbound/
/src/unbound/respip/
/src/unbound/
/src/unbound/./sldns/
/src/unbound/validator/
/src/unbound/services/cache/