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: fuzz-ini-file-parser

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 9 12.0%
gold [1:9] 2 2.66%
yellow [10:29] 1 1.33%
greenyellow [30:49] 3 4.0%
lawngreen 50+ 60 80.0%
All colors 75 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
5 19 avahi_malloc call site: 00019 oom
3 9 avahi_ini_file_load call site: 00009 avahi_log_error
1 14 avahi_log_ap call site: 00014 fprintf

Runtime coverage analysis

Covered functions
16
Functions that are reachable but not covered
20
Reachable functions
36
Percentage of reachable functions covered
44.44%
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
fuzz/fuzz-ini-file-parser.c 2
avahi-core/log.c 4
avahi-daemon/ini-file-parser.c 4
./avahi-common/malloc.h 1
avahi-common/malloc.c 6
avahi-common/./malloc.h 1

Fuzzer: fuzz-domain

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 164 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 164 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
163 0 EP call site: 00000 avahi_alternative_host_name

Runtime coverage analysis

Covered functions
0
Functions that are reachable but not covered
44
Reachable functions
44
Percentage of reachable functions covered
0.0%
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
fuzz/fuzz-domain.c 1
avahi-common/malloc.c 10
avahi-common/domain.c 13
avahi-common/utf8.c 1
avahi-common/address.c 2
avahi-common/alternative.c 3
avahi-common/./malloc.h 1

Fuzzer: fuzz-strlst

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 12 16.6%
gold [1:9] 1 1.38%
yellow [10:29] 8 11.1%
greenyellow [30:49] 1 1.38%
lawngreen 50+ 50 69.4%
All colors 72 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
5 8 avahi_malloc call site: 00008 oom
5 37 avahi_string_list_get_pair call site: 00037 avahi_strndup
1 45 avahi_memdup call site: 00045 avahi_free
1 63 avahi_string_list_copy call site: 00063 avahi_string_list_free

Runtime coverage analysis

Covered functions
19
Functions that are reachable but not covered
12
Reachable functions
31
Percentage of reachable functions covered
61.29%
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
fuzz/fuzz-strlst.c 1
avahi-common/strlst.c 12
avahi-common/malloc.c 7
avahi-common/./malloc.h 1
avahi-common/utf8.c 1

Fuzzer: fuzz-consume-key

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 131 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 131 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
130 0 EP call site: 00000 avahi_dns_packet_consume_key

Runtime coverage analysis

Covered functions
0
Functions that are reachable but not covered
52
Reachable functions
52
Percentage of reachable functions covered
0.0%
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
fuzz/fuzz-consume-key.c 2
avahi-core/log.c 3
avahi-core/dns.c 6
avahi-common/malloc.c 9
avahi-common/domain.c 7
avahi-core/rr.c 10
avahi-core/../avahi-common/malloc.h 1
avahi-common/utf8.c 1
avahi-core/hashmap.c 2

Fuzzer: fuzz-packet

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 388 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 388 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
387 0 EP call site: 00000 copy_rrs

Runtime coverage analysis

Covered functions
0
Functions that are reachable but not covered
111
Reachable functions
111
Percentage of reachable functions covered
0.0%
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
fuzz/fuzz-packet.c 4
avahi-core/log.c 3
avahi-core/dns.c 28
avahi-common/malloc.c 12
avahi-common/domain.c 13
avahi-core/rr.c 12
avahi-core/../avahi-common/malloc.h 2
avahi-common/utf8.c 1
avahi-core/domain-util.c 1
avahi-core/hashmap.c 10
avahi-common/strlst.c 7
avahi-common/./malloc.h 1

Fuzzer: fuzz-consume-record

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 23 5.66%
gold [1:9] 0 0.0%
yellow [10:29] 5 1.23%
greenyellow [30:49] 1 0.24%
lawngreen 50+ 377 92.8%
All colors 406 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
5 5 avahi_malloc call site: 00005 oom
3 371 avahi_record_copy call site: 00371 avahi_log_error
2 232 xcalloc call site: 00232 oom
1 36 avahi_new_internal call site: 00036 avahi_log_error
1 39 avahi_log_ap call site: 00039 fprintf
1 65 avahi_record_new call site: 00065 avahi_log_error
1 74 avahi_key_unref call site: 00074 avahi_log_error
1 191 avahi_strdup_vprintf call site: 00191 avahi_free
1 194 xrealloc call site: 00194 oom
1 196 avahi_realloc call site: 00196 avahi_free
1 242 avahi_dns_packet_append_name call site: 00242 avahi_log_error
1 344 avahi_record_lexicographical_compare call site: 00344 avahi_free

Runtime coverage analysis

Covered functions
94
Functions that are reachable but not covered
18
Reachable functions
112
Percentage of reachable functions covered
83.93%
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
fuzz/fuzz-consume-record.c 2
avahi-core/log.c 3
avahi-core/dns.c 24
avahi-common/malloc.c 12
avahi-common/domain.c 6
avahi-core/rr.c 24
avahi-core/../avahi-common/malloc.h 2
avahi-common/utf8.c 1
avahi-common/strlst.c 9
avahi-core/addr-util.c 1
avahi-common/./malloc.h 1
avahi-core/hashmap.c 10
avahi-core/domain-util.c 1

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/avahi/avahi-common/address.c ['fuzz-domain'] []
/src/avahi/avahi-core/domain-util.c ['fuzz-packet', 'fuzz-consume-record'] ['fuzz-consume-record']
/src/avahi/avahi-common/alternative.c ['fuzz-domain'] []
/src/avahi/avahi-core/hashmap.c ['fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-consume-record']
/src/avahi/avahi-common/domain.c ['fuzz-domain', 'fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-consume-record']
/src/avahi/avahi-common/utf8.c ['fuzz-domain', 'fuzz-strlst', 'fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-strlst', 'fuzz-consume-record']
/src/avahi/fuzz/fuzz-consume-record.c ['fuzz-consume-record'] ['fuzz-consume-record']
/src/avahi/avahi-core/dns.c ['fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-consume-record']
/src/avahi/avahi-common/./malloc.h ['fuzz-ini-file-parser', 'fuzz-domain', 'fuzz-strlst', 'fuzz-packet', 'fuzz-consume-record'] []
/src/avahi/fuzz/fuzz-strlst.c ['fuzz-strlst'] ['fuzz-strlst']
/src/avahi/fuzz/fuzz-packet.c ['fuzz-packet'] []
/src/avahi/avahi-core/../avahi-common/malloc.h ['fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] []
/src/avahi/fuzz/fuzz-ini-file-parser.c ['fuzz-ini-file-parser'] ['fuzz-ini-file-parser']
/src/avahi/avahi-common/malloc.c ['fuzz-ini-file-parser', 'fuzz-domain', 'fuzz-strlst', 'fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-ini-file-parser', 'fuzz-strlst', 'fuzz-consume-record']
/src/avahi/avahi-core/log.c ['fuzz-ini-file-parser', 'fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-ini-file-parser', 'fuzz-consume-record']
/src/avahi/avahi-common/strlst.c ['fuzz-strlst', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-strlst', 'fuzz-consume-record']
/src/avahi/avahi-core/addr-util.c ['fuzz-consume-record'] ['fuzz-consume-record']
/src/avahi/fuzz/fuzz-domain.c ['fuzz-domain'] []
/src/avahi/avahi-core/rr.c ['fuzz-consume-key', 'fuzz-packet', 'fuzz-consume-record'] ['fuzz-consume-record']
/src/avahi/fuzz/fuzz-consume-key.c ['fuzz-consume-key'] []
/src/avahi/avahi-core/util.c [] []
/src/avahi/avahi-daemon/ini-file-parser.c ['fuzz-ini-file-parser'] ['fuzz-ini-file-parser']

Directories in report

Directory
/src/avahi/avahi-core/
/src/avahi/fuzz/
/src/avahi/avahi-core/../avahi-common/
/src/avahi/avahi-common/./
/src/avahi/avahi-common/
/src/avahi/avahi-daemon/