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: fuzzfile

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 300 69.4%
gold [1:9] 2 0.46%
yellow [10:29] 2 0.46%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 128 29.6%
All colors 432 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
216 84 cupsFileClose call site: 00084 httpAddrConnect
36 32 cupsCopyString call site: 00032 httpAddrGetList
6 13 cups_open call site: 00013 __errno_location
6 342 cups_read call site: 00342 __errno_location
4 20 cups_open call site: 00020 __errno_location
4 371 cupsFileSeek call site: 00371 cups_fill
3 318 cupsFilePrintf call site: 00318 cups_write
2 9 cupsFileOpen call site: 00009 cups_open
2 309 cupsFileOpenFd call site: 00309 httpAddrClose
2 322 cupsFilePrintf call site: 00322 cups_compress
2 329 cupsFilePuts call site: 00329 cups_compress
2 394 LLVMFuzzerTestOneInput call site: 00394 cupsCopyString

Runtime coverage analysis

Covered functions
38
Functions that are reachable but not covered
124
Reachable functions
155
Percentage of reachable functions covered
20.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
ossfuzz/fuzzfile.c 2
cups/file.c 24
cups/string.c 7
cups/http-addrlist.c 3
cups/globals.c 5
cups/thread.c 6
cups/array.c 8
cups/http.c 3
cups/./tls-openssl.c 3
cups/http-addr.c 3
cups/request.c 1
cups/langprintf.c 1
cups/language.c 4
cups/dir.c 4

Fuzzer: fuzzipp

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 337 55.8%
gold [1:9] 93 15.4%
yellow [10:29] 14 2.32%
greenyellow [30:49] 6 0.99%
lawngreen 50+ 153 25.3%
All colors 603 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
66 235 cupsLangFind call site: 00235 httpAddrConnect
51 336 cups_fill call site: 00336 cups_fill
29 96 cupsFileOpen call site: 00096 httpAddrGetList
19 16 cupsMutexUnlock call site: 00016 cupsFileClose
17 180 _cupsStrAlloc call site: 00180 _cupsSetError
17 199 cupsRWLockWrite call site: 00199 _cupsSetError
14 459 _cupsSetDefaults call site: 00459 _cups_strcasecmp
13 438 _cupsSetDefaults call site: 00438 cupsArrayNewStrings
6 79 cups_open call site: 00079 __errno_location
6 310 cupsFileOpenFd call site: 00310 cups_read_client_conf
6 452 _cupsSetDefaults call site: 00452 cupsArrayNewStrings
5 45 cupsFileClose call site: 00045 cups_write

Runtime coverage analysis

Covered functions
70
Functions that are reachable but not covered
110
Reachable functions
168
Percentage of reachable functions covered
34.52%
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
ossfuzz/fuzzipp.c 2
cups/ipp.c 15
cups/globals.c 5
cups/string.c 8
cups/thread.c 6
cups/array.c 10
cups/http.c 3
cups/./tls-openssl.c 3
cups/http-addr.c 3
cups/http-addrlist.c 3
cups/file.c 13
cups/usersys.c 7
cups/request.c 1
cups/langprintf.c 1
cups/language.c 5
cups/tls.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/libcups/cups/array.c ['fuzzfile', 'fuzzipp'] ['fuzzipp']
/src/libcups/cups/language.c ['fuzzfile', 'fuzzipp'] ['fuzzipp']
/src/libcups/cups/tls.c ['fuzzipp'] ['fuzzipp']
/src/libcups/ossfuzz/fuzzipp.c ['fuzzipp'] ['fuzzipp']
/src/libcups/cups/http.c ['fuzzfile', 'fuzzipp'] []
/src/libcups/cups/string.c ['fuzzfile', 'fuzzipp'] ['fuzzfile', 'fuzzipp']
/src/libcups/cups/file.c ['fuzzfile', 'fuzzipp'] ['fuzzfile', 'fuzzipp']
/src/libcups/cups/http-addrlist.c ['fuzzfile', 'fuzzipp'] []
/src/libcups/cups/request.c ['fuzzfile', 'fuzzipp'] ['fuzzipp']
/src/libcups/cups/./tls-openssl.c ['fuzzfile', 'fuzzipp'] []
/src/libcups/cups/http-addr.c ['fuzzfile', 'fuzzipp'] []
/src/libcups/ossfuzz/fuzzfile.c ['fuzzfile'] ['fuzzfile']
/src/libcups/cups/dir.c ['fuzzfile'] ['fuzzfile']
/src/libcups/cups/usersys.c ['fuzzipp'] ['fuzzipp']
/src/libcups/cups/langprintf.c ['fuzzfile', 'fuzzipp'] ['fuzzipp']
/src/libcups/cups/thread.c ['fuzzfile', 'fuzzipp'] ['fuzzipp']
/src/libcups/cups/ipp.c ['fuzzipp'] ['fuzzipp']
/src/libcups/cups/globals.c ['fuzzfile', 'fuzzipp'] ['fuzzipp']

Directories in report

Directory
/src/libcups/cups/
/src/libcups/cups/./
/src/libcups/ossfuzz/