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
dict_regexp_open /src/postfix/postfix/src/util/dict_regexp.c 3 ['N/A', 'int', 'int'] 18 0 355 61 22 111 0 694 406
dict_tcp_lookup /src/postfix/postfix/src/util/dict_tcp.c 2 ['N/A', 'N/A'] 14 0 363 65 23 109 0 686 303
dict_sockmap_lookup /src/postfix/postfix/src/util/dict_sockmap.c 2 ['N/A', 'N/A'] 15 0 288 52 21 89 0 506 173
mynetworks_core /src/postfix/postfix/src/global/mynetworks.c 1 ['N/A'] 15 0 444 79 20 117 2 582 155
get_mail_conf_time_table /src/postfix/postfix/src/global/mail_conf_time.c 1 ['N/A'] 16 0 46 9 4 87 2 486 141
mkmap_btree_open /src/postfix/postfix/src/util/mkmap_db.c 1 ['N/A'] 18 0 13 3 2 74 0 389 106
dict_cidr_open /src/postfix/postfix/src/util/dict_cidr.c 3 ['N/A', 'int', 'int'] 21 0 310 50 17 108 0 648 87
dict_thash_open /src/postfix/postfix/src/util/dict_thash.c 3 ['N/A', 'int', 'int'] 19 0 567 109 39 101 0 562 86
dict_load_file_xt /src/postfix/postfix/src/util/dict.c 2 ['N/A', 'N/A'] 14 0 98 21 7 81 2 460 59
logwriter_one_shot /src/postfix/postfix/src/util/logwriter.c 3 ['N/A', 'N/A', 'size_t'] 18 0 24 3 2 71 0 374 45

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

Functions statically reachable by fuzzers
48.0%
282 / 584
Cyclomatic complexity statically reachable by fuzzers
60.0%
2360 / 3924

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/postfix/postfix/src/util/split_qnameval.c [] []
/src/postfix/postfix/src/global/tok822_parse.c ['fuzz_tok822'] []
/src/postfix/postfix/src/util/sane_basename.c [] []
/src/postfix/postfix/src/global/mail_params.c [] []
/src/postfix/postfix/src/util/known_tcp_ports.c [] []
/src/postfix/postfix/src/global/own_inet_addr.c [] []
/src/postfix/postfix/src/util/valid_utf8_string.c [] []
/src/postfix/postfix/src/util/argv_split.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/mkmap_db.c [] []
/src/postfix/postfix/src/util/mac_expand.c [] []
/src/postfix/postfix/src/util/hash_fnv.c ['fuzz_mime'] []
/src/postfix/postfix/src/global/is_header.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/msg_output.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/name_mask.c [] []
/src/postfix/postfix/src/util/normalize_ws.c [] []
/src/postfix/postfix/src/util/auto_clnt.c [] []
/src/postfix/postfix/src/util/dict_env.c [] []
/src/postfix/postfix/src/util/events.c [] []
/src/postfix/postfix/src/util/myaddrinfo.c [] []
/src/postfix/postfix/src/util/myflock.c [] []
/src/fuzz_tok822.c ['fuzz_tok822'] []
/src/postfix/postfix/src/util/dict_pipe.c [] []
/src/postfix/postfix/src/global/tok822_node.c ['fuzz_tok822'] []
/src/postfix/postfix/src/global/header_token.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/safe_open.c [] []
/src/postfix/postfix/src/util/allascii.c [] []
/src/postfix/postfix/src/util/argv.c ['fuzz_mime'] []
/src/postfix/postfix/src/global/mail_conf_int.c [] []
/src/postfix/postfix/src/util/inet_addr_local.c [] []
/src/postfix/postfix/src/util/dict_sockmap.c [] []
/src/postfix/postfix/src/util/strcasecmp_utf8.c [] []
/src/postfix/postfix/src/util/dict.c [] []
/src/postfix/postfix/src/util/sock_addr.c [] []
/src/postfix/postfix/src/util/valid_hostname.c [] []
/src/postfix/postfix/src/global/header_opts.c ['fuzz_mime'] []
/src/postfix/postfix/src/global/mail_conf_str.c [] []
/src/postfix/postfix/src/util/mystrtok.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/alldig.c [] []
/src/postfix/postfix/src/util/dict_fail.c [] []
/src/postfix/postfix/src/util/name_code.c [] []
/src/postfix/postfix/src/global/mail_conf.c [] []
/src/postfix/postfix/src/util/lowercase.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/dict_static.c [] []
/src/postfix/postfix/src/util/printable.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/balpar.c [] []
/src/postfix/postfix/src/util/dict_tcp.c [] []
/src/postfix/postfix/src/util/inet_proto.c [] []
/src/postfix/postfix/src/util/dict_ht.c [] []
/src/postfix/postfix/src/util/msg_syslog.c [] []
/src/postfix/postfix/src/util/dict_regexp.c [] []
/src/postfix/postfix/src/util/inet_windowsize.c [] []
/src/postfix/postfix/src/util/inet_addr_host.c [] []
/src/postfix/postfix/src/global/mail_conf_bool.c [] []
/src/postfix/postfix/src/util/split_nameval.c [] []
/src/fuzz_mime.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/htable.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/inet_addr_list.c [] []
/src/postfix/postfix/src/util/host_port.c [] []
/src/postfix/postfix/src/global/conv_time.c [] []
/src/postfix/postfix/src/global/quote_822_local.c ['fuzz_tok822'] []
/src/postfix/postfix/src/util/get_hostname.c [] []
/src/postfix/postfix/src/util/vstring_vstream.c [] []
/src/postfix/postfix/src/util/warn_stat.c [] []
/src/postfix/postfix/src/util/non_blocking.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/dict_random.c [] []
/src/postfix/postfix/src/util/inet_connect.c [] []
/src/postfix/postfix/src/util/unsafe.c [] []
/src/postfix/postfix/src/global/mime_state.c ['fuzz_mime'] []
/usr/include/stdlib.h [] []
/src/postfix/postfix/src/util/doze.c [] []
/src/postfix/postfix/src/util/sane_connect.c [] []
/src/postfix/postfix/src/util/timed_connect.c [] []
/src/postfix/postfix/src/util/open_limit.c [] []
/src/postfix/postfix/src/util/dict_alloc.c [] []
/src/postfix/postfix/src/util/logwriter.c [] []
/src/postfix/postfix/src/util/readlline.c [] []
/src/postfix/postfix/src/util/dict_union.c [] []
/src/postfix/postfix/src/util/mystrerror.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/dict_open.c [] []
/src/postfix/postfix/src/util/split_at.c [] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h [] []
/src/postfix/postfix/src/util/dict_thash.c [] []
/src/postfix/postfix/src/util/concatenate.c [] []
/src/postfix/postfix/src/util/poll_fd.c [] []
/src/postfix/postfix/src/util/hex_quote.c [] []
/src/postfix/postfix/src/global/mail_conf_long.c [] []
/src/postfix/postfix/src/util/cidr_match.c [] []
/src/postfix/postfix/src/util/netstring.c [] []
/src/postfix/postfix/src/global/mail_conf_time.c [] []
/src/postfix/postfix/src/global/mynetworks.c [] []
/src/postfix/postfix/src/util/mask_addr.c [] []
/src/postfix/postfix/src/util/valid_utf8_hostname.c [] []
/src/postfix/postfix/src/util/msg.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/unix_connect.c [] []
/src/postfix/postfix/src/util/dict_cidr.c [] []
/src/postfix/postfix/src/util/close_on_exec.c [] []
/src/postfix/postfix/src/util/timed_write.c [] []
/src/postfix/postfix/src/util/base64_code.c [] []
/src/postfix/postfix/src/util/timed_read.c [] []
/src/postfix/postfix/src/util/trimblanks.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/dict_file.c [] []
/usr/include/x86_64-linux-gnu/sys/stat.h [] []
/src/postfix/postfix/src/util/msg_vstream.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/dict_utf8.c [] []
/src/postfix/postfix/src/util/mymalloc.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/dict_inline.c [] []
/src/postfix/postfix/src/global/tok822_tree.c ['fuzz_tok822'] []
/src/postfix/postfix/src/util/vstring.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/mvect.c [] []
/src/postfix/postfix/src/util/casefold.c [] []
/src/postfix/postfix/src/util/argv_splitq.c [] []
/src/postfix/postfix/src/util/dict_unix.c [] []
/src/postfix/postfix/src/util/vbuf.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/argv_split_at.c [] []
/src/postfix/postfix/src/util/mkmap_fail.c [] []
/src/postfix/postfix/src/global/compat_level.c [] []
/src/postfix/postfix/src/util/vstream.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/dict_surrogate.c [] []
/src/postfix/postfix/src/util/dict_nis.c [] []
/src/postfix/postfix/src/util/mac_parse.c [] []
/src/postfix/postfix/src/util/vbuf_print.c ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/extpar.c [] []
/src/postfix/postfix/src/util/dict_stream.c [] []
/src/postfix/postfix/src/util/./parse_utf8_char.h ['fuzz_tok822', 'fuzz_mime'] []
/src/postfix/postfix/src/util/ldseed.c ['fuzz_mime'] []
/src/postfix/postfix/src/util/safe_getenv.c [] []
/src/postfix/postfix/src/util/dict_db.c [] []
/src/postfix/postfix/src/global/been_here.c [] []
/src/postfix/postfix/src/global/verp_sender.c [] []
/src/postfix/postfix/src/global/config_known_tcp_ports.c [] []
/src/postfix/postfix/src/util/sane_strtol.c [] []
/src/postfix/postfix/src/util/ring.c [] []
/src/postfix/postfix/src/global/mail_conf_nbool.c [] []
/src/postfix/postfix/src/util/dict_debug.c [] []
/src/postfix/postfix/src/util/myrand.c [] []

Directories in report

Directory
/src/
/src/postfix/postfix/src/util/
/src/postfix/postfix/src/global/
/usr/include/
/usr/include/x86_64-linux-gnu/bits/
/src/postfix/postfix/src/util/./
/usr/include/x86_64-linux-gnu/sys/