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

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
dhcp_packet /src/dnsmasq/src/dhcp.c 2 ['size_t', 'int'] 19 0 826 154 62 406 1 5710 5418
async_event /src/dnsmasq/src/dnsmasq.c 2 ['int', 'size_t'] 14 0 624 122 32 309 1 3718 1838
dhcp6_packet /src/dnsmasq/src/dhcp6.c 1 ['size_t'] 15 0 754 155 61 212 1 2334 815
create_helper /src/dnsmasq/src/helper.c 5 ['int', 'int', 'int', 'int', 'size_t'] 7 0 1227 238 88 67 1 361 148
read_opts /src/dnsmasq/src/option.c 3 ['int', 'N/A', 'N/A'] 14 0 1197 251 83 128 1 1584 122
lease_init /src/dnsmasq/src/lease.c 1 ['size_t'] 9 0 184 35 10 88 1 584 47
inotify_check /src/dnsmasq/src/inotify.c 1 ['size_t'] 14 0 379 81 32 224 1 2690 40

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

Functions statically reachable by fuzzers
92.0%
486 / 530
Cyclomatic complexity statically reachable by fuzzers
94.0%
8603 / 9147

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/dnsmasq/src/dnsmasq.c [] []
/src/dnsmasq/src/poll.c [] []
/src/dnsmasq/src/lease.c [] []
/src/dnsmasq/src/cache.c [] []
/src/dnsmasq/src/helper.c [] []
/src/fuzz_util.c ['fuzz_util'] []
/src/dnsmasq/src/domain-match.c [] []
/src/dnsmasq/src/radv.c [] []
/src/dnsmasq/src/inotify.c [] []
/src/dnsmasq/src/forward.c [] []
/src/dnsmasq/src/ipset.c [] []
/src/dnsmasq/src/rfc3315.c [] []
/src/dnsmasq/src/netlink.c [] []
/src/dnsmasq/src/auth.c [] []
/src/dnsmasq/src/loop.c [] []
/src/dnsmasq/src/outpacket.c [] []
/src/dnsmasq/src/domain.c ['fuzz_util'] []
/src/dnsmasq/src/blockdata.c [] []
/src/dnsmasq/src/dhcp.c [] []
/src/dnsmasq/src/slaac.c [] []
/src/dnsmasq/src/tftp.c [] []
/src/dnsmasq/src/util.c ['fuzz_util'] []
/src/dnsmasq/src/dhcp-common.c [] []
/src/dnsmasq/src/rfc1035.c [] []
/src/dnsmasq/src/dhcp6.c [] []
/src/fuzz_header.h ['fuzz_util'] []
/src/dnsmasq/src/rrfilter.c [] []
/src/dnsmasq/src/option.c [] []
/src/dnsmasq/src/rfc2131.c [] []
/src/dnsmasq/src/network.c [] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h ['fuzz_util'] []
/src/dnsmasq/src/dump.c [] []
/src/dnsmasq/src/log.c ['fuzz_util'] []
/src/dnsmasq/src/arp.c [] []
/src/dnsmasq/src/edns0.c [] []

Directories in report

Directory
/usr/include/x86_64-linux-gnu/bits/
/src/dnsmasq/src/
/src/