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 862 147 60 409 1 5694 5399
async_event /src/dnsmasq/src/dnsmasq.c 2 ['int', 'size_t'] 14 0 632 122 32 310 1 3716 1837
dhcp6_packet /src/dnsmasq/src/dhcp6.c 1 ['size_t'] 15 0 757 140 55 213 1 2331 807
create_helper /src/dnsmasq/src/helper.c 5 ['int', 'int', 'int', 'int', 'size_t'] 7 0 1366 238 88 67 1 361 148
read_opts /src/dnsmasq/src/option.c 3 ['int', 'N/A', 'N/A'] 14 0 1267 251 84 129 1 1580 123
lease_init /src/dnsmasq/src/lease.c 1 ['size_t'] 9 0 190 35 10 88 1 585 47
inotify_check /src/dnsmasq/src/inotify.c 1 ['size_t'] 14 0 408 81 32 225 1 2689 40

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

Functions statically reachable by fuzzers
92.0%
492 / 536
Cyclomatic complexity statically reachable by fuzzers
94.0%
8585 / 9129

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

Directories in report

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