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: 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 distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 2484 95.7%
gold [1:9] 2 0.07%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 109 4.20%
All colors 2595 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
2275 223 clear_pool call site: 00223 pr_snprintf
98 108 palloc call site: 00108 new_block
65 42 pr_log_event_listening call site: 00042 pr_trace_vmsg
24 5 malloc_block call site: 00005 null_alloc
8 30 make_sub_pool call site: 00030 handle_alarm
5 207 pcalloc call site: 00207 pcalloc
2 2501 init_json call site: 02501 pr_log_pri
1 40 pr_log_event_listening call site: 00040 __errno_location
1 216 clear_pool call site: 00216 destroy_pool
1 218 destroy_pool call site: 00218 chk_on_blk_list
1 2504 LLVMFuzzerTestOneInput call site: 02504 __errno_location
1 2531 sb_finish call site: 02531 sb_free

Runtime coverage analysis

Covered functions
56
Functions that are reachable but not covered
399
Reachable functions
455
Percentage of reachable functions covered
12.31%
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
/src/fuzzer.c 1
src/pool.c 20
src/timers.c 11
src/log.c 12
src/support.c 14
src/netaddr.c 37
src/trace.c 6
src/event.c 3
src/table.c 27
src/signals.c 12
src/sets.c 5
src/child.c 4
src/privs.c 3
lib/sstrncpy.c 1
src/configdb.c 19
lib/pr-syslog.c 4
src/pidfile.c 1
src/scoreboard.c 10
src/session.c 5
src/str.c 14
src/wtmp.c 1
src/fsio.c 27
src/inet.c 11
src/main.c 3
src/response.c 1
src/netio.c 4
src/bindings.c 18
src/class.c 1
src/dirtree.c 11
src/parser.c 12
src/auth.c 10
src/stash.c 5
src/modules.c 2
src/env.c 1
lib/pr_fnmatch.c 1
lib/./pr_fnmatch_loop.c 3
src/json.c 7
lib/ccan-json.c 31

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
ls_stat /src/proftpd/modules/mod_ls.c 1 ['N/A'] 86 0 891 139 50 621 0 5350 2390
auth_pass /src/proftpd/modules/mod_auth.c 1 ['N/A'] 84 0 296 44 17 588 0 4736 944
log_sess_reinit_ev /src/proftpd/modules/mod_log.c 2 ['N/A', 'N/A'] 85 0 84 16 6 502 2 3916 570
ctrls_postparse_ev /src/proftpd/modules/mod_ctrls.c 2 ['N/A', 'N/A'] 86 0 46 9 4 545 1 3689 450
xfer_stor /src/proftpd/modules/mod_xfer.c 1 ['N/A'] 81 0 1177 146 55 587 0 4564 405
core_post_host /src/proftpd/modules/mod_core.c 1 ['N/A'] 79 0 129 21 8 462 0 3316 296
ls_nlst /src/proftpd/modules/mod_ls.c 1 ['N/A'] 85 0 1522 226 83 611 0 5120 168

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

Functions statically reachable by fuzzers
44.0%
846 / 1921
Cyclomatic complexity statically reachable by fuzzers
51.0%
8126 / 15913

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/proftpd/src/modules.c ['fuzzer'] []
/src/proftpd/modules/mod_core.c [] []
/src/proftpd/src/log.c ['fuzzer'] ['fuzzer']
/src/proftpd/src/feat.c [] []
/src/proftpd/modules/mod_ctrls.c [] []
/src/proftpd/src/proctitle.c [] []
/src/proftpd/modules/mod_auth_unix.c [] []
/src/fuzzer.c ['fuzzer'] ['fuzzer']
/src/proftpd/src/session.c ['fuzzer'] []
/src/proftpd/src/json.c ['fuzzer'] ['fuzzer']
/src/proftpd/src/mkhome.c [] []
/src/proftpd/src/netaddr.c ['fuzzer'] []
/src/proftpd/src/xferlog.c [] []
/src/proftpd/modules/mod_ls.c [] []
/src/proftpd/modules/mod_auth_file.c [] []
/src/proftpd/src/sets.c ['fuzzer'] []
/src/proftpd/src/trace.c ['fuzzer'] ['fuzzer']
/src/proftpd/lib/pr-syslog.c ['fuzzer'] []
/src/proftpd/src/pool.c ['fuzzer'] ['fuzzer']
/src/proftpd/src/cmd.c [] []
/src/proftpd/modules/mod_site.c [] []
/src/proftpd/modules/mod_delay.c [] []
/src/proftpd/modules/mod_xfer.c [] []
/src/proftpd/modules/mod_auth.c [] []
/src/proftpd/src/str.c ['fuzzer'] []
/src/proftpd/src/random.c [] []
/src/proftpd/lib/openbsd-blowfish.c [] []
/src/proftpd/src/auth.c ['fuzzer'] []
/src/proftpd/src/expr.c [] []
/src/proftpd/src/event.c ['fuzzer'] ['fuzzer']
/src/proftpd/src/jot.c [] []
/src/proftpd/src/dirtree.c ['fuzzer'] []
/src/proftpd/lib/openbsd-bcrypt.c [] []
/src/proftpd/lib/./pr_fnmatch_loop.c ['fuzzer'] []
/src/proftpd/src/signals.c ['fuzzer'] []
/src/proftpd/src/help.c [] []
/src/proftpd/src/fsio.c ['fuzzer'] []
/src/proftpd/lib/glibc-glob.c [] []
/src/proftpd/lib/sstrncpy.c ['fuzzer'] []
/src/proftpd/src/netacl.c [] []
/src/proftpd/src/data.c [] []
/src/proftpd/src/filter.c [] []
/src/proftpd/lib/pwgrent.c [] []
/src/proftpd/src/ascii.c [] []
/src/proftpd/src/timers.c ['fuzzer'] ['fuzzer']
/src/proftpd/src/bindings.c ['fuzzer'] []
/src/proftpd/src/netio.c ['fuzzer'] []
/src/proftpd/src/table.c ['fuzzer'] []
/src/proftpd/src/child.c ['fuzzer'] []
/src/proftpd/src/inet.c ['fuzzer'] []
/src/proftpd/src/regexp.c [] []
/src/proftpd/src/scoreboard.c ['fuzzer'] []
/src/proftpd/src/privs.c ['fuzzer'] []
/src/proftpd/lib/pr_fnmatch.c ['fuzzer'] []
/src/proftpd/src/support.c ['fuzzer'] []
/src/proftpd/src/pidfile.c ['fuzzer'] []
/src/proftpd/src/stash.c ['fuzzer'] []
/src/proftpd/src/ctrls.c [] []
/src/proftpd/src/error.c [] []
/src/proftpd/src/throttle.c [] []
/src/proftpd/src/class.c ['fuzzer'] []
/src/proftpd/src/var.c [] []
/src/proftpd/src/rlimit.c [] []
/src/proftpd/src/display.c [] []
/src/proftpd/lib/ccan-json.c ['fuzzer'] ['fuzzer']
/src/proftpd/src/configdb.c ['fuzzer'] []
/src/proftpd/src/wtmp.c ['fuzzer'] []
/src/proftpd/modules/mod_facts.c [] []
/src/proftpd/modules/mod_rlimit.c [] []
/src/proftpd/src/response.c ['fuzzer'] []
/src/proftpd/src/env.c ['fuzzer'] []
/src/proftpd/src/parser.c ['fuzzer'] []
/src/proftpd/src/main.c ['fuzzer'] []
/src/proftpd/modules/mod_log.c [] []

Directories in report

Directory
/src/
/src/proftpd/modules/
/src/proftpd/lib/./
/src/proftpd/lib/
/src/proftpd/src/