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 822 153 62 411 1 5743 5446
async_event /src/dnsmasq/src/dnsmasq.c 2 ['int', 'size_t'] 14 0 623 122 32 317 1 3758 1861
dhcp6_packet /src/dnsmasq/src/dhcp6.c 1 ['size_t'] 15 0 754 155 61 217 1 2367 824
create_helper /src/dnsmasq/src/helper.c 5 ['int', 'int', 'int', 'int', 'size_t'] 7 0 1231 238 88 69 1 374 148
read_opts /src/dnsmasq/src/option.c 3 ['int', 'N/A', 'N/A'] 14 0 1204 253 83 129 1 1593 122
lease_init /src/dnsmasq/src/lease.c 1 ['size_t'] 9 0 184 35 10 91 1 595 50
inotify_check /src/dnsmasq/src/inotify.c 1 ['size_t'] 14 0 379 81 32 233 1 2734 42

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

Functions statically reachable by fuzzers
92.0%
488 / 533
Cyclomatic complexity statically reachable by fuzzers
94.0%
8615 / 9128

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

Directories in report

Directory
/usr/local/bin/../include/c++/v1/
/usr/include/x86_64-linux-gnu/bits/
/src/dnsmasq/src/
/src/