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

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 1 2.12%
gold [1:9] 1 2.12%
yellow [10:29] 5 10.6%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 40 85.1%
All colors 47 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
1 4 cupsCopyString call site: 00004 validate_end

Runtime coverage analysis

Covered functions
15
Functions that are reachable but not covered
11
Reachable functions
20
Percentage of reachable functions covered
45.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/fuzzhttp.c 1
cups/http-support.c 6
cups/string.c 3

Fuzzer: fuzzraster

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 66 42.5%
gold [1:9] 13 8.38%
yellow [10:29] 1 0.64%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 75 48.3%
All colors 155 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
51 8 cups_globals_init call site: 00008 _cupsStrFree
3 72 _cupsRasterNew call site: 00072 _cupsRasterAddError
3 85 _cupsRasterNew call site: 00085 _cupsRasterAddError
3 113 cups_raster_update call site: 00113 _cupsRasterAddError
2 137 LLVMFuzzerTestOneInput call site: 00137 cups_raster_io
1 77 _cupsRasterAddError call site: 00077 realloc
1 79 _cupsRasterNew call site: 00079 _cupsRasterAddError
1 99 cupsRasterReadHeader call site: 00099 cupsCopyString
1 150 cupsRasterWritePixels call site: 00150 cupsRasterClose

Runtime coverage analysis

Covered functions
25
Functions that are reachable but not covered
53
Reachable functions
74
Percentage of reachable functions covered
28.38%
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/fuzzraster.c 3
cups/raster-stream.c 11
cups/raster-error.c 3
cups/globals.c 3
cups/string.c 3
cups/thread.c 2
cups/array.c 5
cups/http.c 2
cups/./tls-openssl.c 2
cups/http-addr.c 1
cups/http-addrlist.c 1
cups/file.c 4

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 305 70.1%
gold [1:9] 2 0.45%
yellow [10:29] 2 0.45%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 126 28.9%
All colors 435 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
219 85 cupsFileClose call site: 00085 httpAddrConnect
38 31 cupsCopyString call site: 00031 httpAddrGetList
6 12 cups_open call site: 00012 __errno_location
6 345 cups_read call site: 00345 __errno_location
4 19 cups_open call site: 00019 __errno_location
4 374 cupsFileSeek call site: 00374 cups_fill
3 321 cupsFilePrintf call site: 00321 cups_write
2 8 cupsFileOpen call site: 00008 cups_open
2 312 cupsFileOpenFd call site: 00312 httpAddrClose
2 325 cupsFilePrintf call site: 00325 cups_compress
2 332 cupsFilePuts call site: 00332 cups_compress
2 397 LLVMFuzzerTestOneInput call site: 00397 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 340 54.5%
gold [1:9] 99 15.8%
yellow [10:29] 12 1.92%
greenyellow [30:49] 5 0.80%
lawngreen 50+ 167 26.8%
All colors 623 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
67 237 cupsLangFind call site: 00237 httpAddrConnect
51 338 cups_fill call site: 00338 cups_fill
29 97 cupsFileOpen call site: 00097 httpAddrGetList
21 16 cupsMutexUnlock call site: 00016 cupsFileClose
17 182 _cupsStrAlloc call site: 00182 _cupsSetError
16 201 cupsRWLockWrite call site: 00201 _cupsSetError
14 459 _cupsSetDefaults call site: 00459 _cups_strcasecmp
12 439 _cupsSetDefaults call site: 00439 cupsArrayNewStrings
6 80 cups_open call site: 00080 __errno_location
6 312 cupsFileOpenFd call site: 00312 cups_read_client_conf
6 452 _cupsSetDefaults call site: 00452 cupsArrayNewStrings
5 47 cupsFileClose call site: 00047 cups_write

Runtime coverage analysis

Covered functions
73
Functions that are reachable but not covered
112
Reachable functions
172
Percentage of reachable functions covered
34.88%
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 17
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

Fuzzer: fuzzippread

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 393 55.5%
gold [1:9] 100 14.1%
yellow [10:29] 5 0.70%
greenyellow [30:49] 1 0.14%
lawngreen 50+ 209 29.5%
All colors 708 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
152 236 cupsLangFind call site: 00236 httpAddrConnect
42 15 cupsMutexUnlock call site: 00015 cupsFileClose
34 91 cupsFileOpen call site: 00091 httpAddrGetList
17 181 _cupsStrAlloc call site: 00181 _cupsSetError
16 200 cupsRWLockWrite call site: 00200 _cupsSetError
15 75 cupsFileOpen call site: 00075 cups_open
14 458 _cupsSetDefaults call site: 00458 _cups_strcasecmp
12 438 _cupsSetDefaults call site: 00438 cupsArrayNewStrings
7 535 ipp_read_io call site: 00535 _cupsSetError
6 451 _cupsSetDefaults call site: 00451 cupsArrayNewStrings
5 223 cupsLangLoadStrings call site: 00223 _cupsSetError
5 421 cupsSetServer call site: 00421 strcmp

Runtime coverage analysis

Covered functions
82
Functions that are reachable but not covered
123
Reachable functions
184
Percentage of reachable functions covered
33.15%
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/fuzzippread.c 4
cups/ipp.c 22
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 11
cups/usersys.c 7
cups/request.c 1
cups/langprintf.c 1
cups/language.c 5
cups/tls.c 1
cups/http-support.c 3

Fuzzer: fuzzhttpconn

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 859 59.8%
gold [1:9] 148 10.3%
yellow [10:29] 20 1.39%
greenyellow [30:49] 2 0.13%
lawngreen 50+ 406 28.2%
All colors 1435 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
225 538 _httpTLSStart call site: 00538 cupsCreateCredentials
108 997 httpGetDateString call site: 00997 httpConnectAgain
95 352 cupsFileOpen call site: 00352 httpAddrGetList
28 938 http_copy_encode call site: 00938 httpConnectAgain
26 305 httpAddrConnect call site: 00305 _httpTLSStart
25 233 httpAddrGetList call site: 00233 _cupsSetError
24 34 httpClose call site: 00034 cupsFileClose
22 1197 cupsDoAuthentication call site: 01197 _cupsConnect
17 175 _cupsStrAlloc call site: 00175 _cupsSetError
16 194 cupsRWLockWrite call site: 00194 _cupsSetError
15 336 cupsFileOpen call site: 00336 cups_open
14 104 httpAddrGetList call site: 00104 _cupsSetError

Runtime coverage analysis

Covered functions
151
Functions that are reachable but not covered
283
Reachable functions
413
Percentage of reachable functions covered
31.48%
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/fuzzhttpconn.c 9
cups/usersys.c 16
cups/globals.c 5
cups/string.c 10
cups/thread.c 6
cups/array.c 10
cups/http.c 45
cups/./tls-openssl.c 28
cups/http-addr.c 7
cups/http-addrlist.c 4
cups/file.c 11
/usr/include/x86_64-linux-gnu/bits/string_fortified.h 1
cups/request.c 2
cups/langprintf.c 1
cups/language.c 6
cups/tls.c 6
cups/dir.c 1
cups/http-support.c 6
cups/hash.c 3
cups/md5.c 4
cups/auth.c 3
cups/ipp-support.c 1
cups/rand.c 1

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

ossfuzz/fuzzhttp.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['cupsCopyString']

ossfuzz/fuzzraster.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['cups_globals_init', '_cupsRasterNew', 'cups_raster_update', 'LLVMFuzzerTestOneInput', '_cupsRasterAddError', 'cupsRasterReadHeader', 'cupsRasterWritePixels']

ossfuzz/fuzzfile.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['cupsFileClose', 'cupsCopyString', 'cups_open', 'cups_read', 'cupsFileSeek', 'cupsFilePrintf', 'cupsFileOpen', 'cupsFileOpenFd']

ossfuzz/fuzzipp.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['cupsLangFind', 'cups_fill', 'cupsFileOpen', 'cupsMutexUnlock', '_cupsStrAlloc', 'cupsRWLockWrite', '_cupsSetDefaults', 'cups_open', 'cupsFileOpenFd']

ossfuzz/fuzzippread.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['cupsLangFind', 'cupsMutexUnlock', 'cupsFileOpen', '_cupsStrAlloc', 'cupsRWLockWrite', '_cupsSetDefaults', 'ipp_read_io']

ossfuzz/fuzzhttpconn.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['_httpTLSStart', 'httpGetDateString', 'cupsFileOpen', 'http_copy_encode', 'httpAddrConnect', 'httpAddrGetList', 'httpClose', 'cupsDoAuthentication', '_cupsStrAlloc', 'cupsRWLockWrite']

Runtime coverage analysis

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/http-addr.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/cups/file.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/cups/rand.c ['fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/cups/md5.c ['fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/ossfuzz/fuzzhttpconn.c ['fuzzhttpconn'] ['fuzzhttpconn']
/usr/include/x86_64-linux-gnu/bits/string_fortified.h ['fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/cups/raster-error.c ['fuzzraster'] ['fuzzraster']
/src/libcups/cups/string.c ['fuzzhttp', 'fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzhttp', 'fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/cups/ipp-support.c ['fuzzhttpconn'] []
/src/libcups/cups/globals.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzraster', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/cups/http.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/cups/raster-stream.c ['fuzzraster'] ['fuzzraster']
/src/libcups/cups/auth.c ['fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/cups/http-support.c ['fuzzhttp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzhttp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/ossfuzz/fuzzraster.c ['fuzzraster'] ['fuzzraster']
/src/libcups/cups/tls.c ['fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/cups/usersys.c ['fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/cups/array.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/ossfuzz/fuzzippread.c ['fuzzippread'] ['fuzzippread']
/src/libcups/cups/http-addrlist.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/cups/dir.c ['fuzzfile', 'fuzzhttpconn'] ['fuzzfile']
/src/libcups/cups/./tls-openssl.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] []
/src/libcups/cups/language.c ['fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/cups/langprintf.c ['fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/ossfuzz/fuzzhttp.c ['fuzzhttp'] ['fuzzhttp']
/src/libcups/cups/ipp.c ['fuzzipp', 'fuzzippread'] ['fuzzipp', 'fuzzippread']
/src/libcups/cups/hash.c ['fuzzhttpconn'] ['fuzzhttpconn']
/src/libcups/cups/thread.c ['fuzzraster', 'fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzipp', 'fuzzippread', 'fuzzhttpconn']
/src/libcups/ossfuzz/fuzzipp.c ['fuzzipp'] ['fuzzipp']
/src/libcups/ossfuzz/fuzzfile.c ['fuzzfile'] ['fuzzfile']
/src/libcups/cups/request.c ['fuzzfile', 'fuzzipp', 'fuzzippread', 'fuzzhttpconn'] ['fuzzipp', 'fuzzippread', 'fuzzhttpconn']

Directories in report

Directory
/src/libcups/cups/./
/usr/include/x86_64-linux-gnu/bits/
/src/libcups/cups/
/src/libcups/ossfuzz/