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_array

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 15 25.8%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 43 74.1%
All colors 58 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
4 19 cupsArrayAdd call site: 00019 cups_array_find
3 14 LLVMFuzzerTestOneInput call site: 00014 cupsArrayGetUserData
2 11 LLVMFuzzerTestOneInput call site: 00011 printf
1 27 cupsArrayCurrent call site: 00027 printf
1 33 cupsArrayGetLast call site: 00033 printf
1 39 cupsArrayFind call site: 00039 printf
1 41 LLVMFuzzerTestOneInput call site: 00041 printf
1 49 LLVMFuzzerTestOneInput call site: 00049 printf
1 56 LLVMFuzzerTestOneInput call site: 00056 abort

Runtime coverage analysis

Covered functions
24
Functions that are reachable but not covered
9
Reachable functions
33
Percentage of reachable functions covered
72.73%
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/cups/ossfuzz/fuzz_array.c 1
/src/cups/ossfuzz/fuzz_helpers.cpp 1
/src/cups/cups/array.c 22

Fuzzer: fuzz_raster

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 85 54.1%
gold [1:9] 25 15.9%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 47 29.9%
All colors 157 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
52 15 cups_globals_init call site: 00015 cupsFreeOptions
9 88 cupsCopyString call site: 00088 validate_end
6 115 _cupsRasterNew call site: 00115 cups_raster_io
5 123 cups_read_fd call site: 00123 _cupsRasterNew
4 83 cups_globals_alloc call site: 00083 cupsCopyString
3 99 _cupsRasterNew call site: 00099 _cupsRasterAddError
3 149 cups_raster_update call site: 00149 _cupsRasterAddError
1 104 _cupsRasterAddError call site: 00104 realloc
1 106 _cupsRasterNew call site: 00106 _cupsRasterAddError
1 133 cups_raster_read call site: 00133 realloc

Runtime coverage analysis

Covered functions
18
Functions that are reachable but not covered
63
Reachable functions
81
Percentage of reachable functions covered
22.22%
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/cups/ossfuzz/fuzz_raster.c 2
/src/cups/cups/raster-stubs.c 5
/src/cups/cups/raster-stream.c 6
/src/cups/cups/raster-error.c 2
/src/cups/cups/globals.c 4
/src/cups/cups/string.c 3
/src/cups/cups/thread.c 2
/src/cups/cups/array.c 4
/src/cups/cups/http.c 2
/src/cups/cups/./tls-openssl.c 2
/src/cups/cups/http-addr.c 1
/src/cups/cups/http-addrlist.c 1
/usr/include/openssl/x509.h 1
/src/cups/cups/file.c 4
/src/cups/cups/options.c 1

Fuzzer: fuzz_cups

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 76 31.5%
gold [1:9] 19 7.88%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 146 60.5%
All colors 241 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
52 9 cups_globals_init call site: 00009 cupsFreeOptions
10 226 error_object call site: 00226 _cupsRasterAddError
8 83 cupsCopyString call site: 00083 snprintf
4 77 cups_globals_alloc call site: 00077 cupsCopyString
1 3 _cupsRasterExecPS call site: 00003 _cupsRasterAddError
1 97 new_stack call site: 00097 _cupsRasterAddError

Runtime coverage analysis

Covered functions
25
Functions that are reachable but not covered
59
Reachable functions
84
Percentage of reachable functions covered
29.76%
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/cups/ossfuzz/fuzz_cups.c 1
/src/cups/cups/raster-interpret.c 13
/src/cups/cups/raster-error.c 1
/src/cups/cups/globals.c 4
/src/cups/cups/string.c 4
/src/cups/cups/thread.c 2
/src/cups/cups/array.c 4
/src/cups/cups/http.c 2
/src/cups/cups/./tls-openssl.c 2
/src/cups/cups/http-addr.c 1
/src/cups/cups/http-addrlist.c 1
/usr/include/openssl/x509.h 1
/src/cups/cups/file.c 4
/src/cups/cups/options.c 1
/src/cups/cups/../cups/string-private.h 4
/src/cups/cups/./string-private.h 2

Fuzzer: fuzz_http_core

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 311 64.5%
gold [1:9] 37 7.67%
yellow [10:29] 12 2.48%
greenyellow [30:49] 4 0.82%
lawngreen 50+ 118 24.4%
All colors 482 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
87 368 httpAddrLength call site: 00368 _cupsSetError
60 192 _cupsSetError call site: 00192 _cupsLangString
43 83 _cupsStrFree call site: 00083 cupsFreeOptions
36 253 cupsArrayNew3 call site: 00253 cupsFileOpen
30 337 httpAddrGetList call site: 00337 _cupsSetError
12 142 cups_globals_alloc call site: 00142 cupsCopyString
9 313 httpAddrGetList call site: 00313 _cupsSetError
5 182 httpAddrGetList call site: 00182 _cupsSetError
4 26 httpAssembleURI call site: 00026 strcmp
4 324 httpAddrGetList call site: 00324 _cupsSetError
4 331 httpAddrGetList call site: 00331 _cupsSetError
2 164 test_http_encoding_functions call site: 00164 httpEncode64_3

Runtime coverage analysis

Covered functions
56
Functions that are reachable but not covered
119
Reachable functions
175
Percentage of reachable functions covered
32.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
/src/cups/ossfuzz/fuzz_http_core.c 8
/src/cups/cups/http.c 4
/src/cups/cups/globals.c 6
/src/cups/cups/thread.c 2
/src/cups/cups/./tls-openssl.c 3
/src/cups/cups/http-support.c 10
/src/cups/cups/./string-private.h 9
/src/cups/cups/string.c 7
/src/cups/cups/array.c 8
/src/cups/cups/http-addr.c 9
/src/cups/cups/http-addrlist.c 4
/usr/include/openssl/x509.h 1
/src/cups/cups/file.c 10
/src/cups/cups/options.c 1
/src/cups/cups/request.c 1
/src/cups/cups/language.c 14

Fuzzer: fuzz_ipp

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 397 59.7%
gold [1:9] 98 14.7%
yellow [10:29] 17 2.56%
greenyellow [30:49] 2 0.30%
lawngreen 50+ 150 22.5%
All colors 664 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
42 348 _cupsLangString call site: 00348 _cupsSetError
36 248 _cupsSetError call site: 00248 _cupsSetError
35 429 cups_set_server_name call site: 00429 cups_set_ssl_options
30 398 _cupsSetDefaults call site: 00398 cups_read_client_conf
28 52 cupsMutexUnlock call site: 00052 cupsFileClose
26 319 cups_fill call site: 00319 cupsFileGets
19 521 _cupsSetDefaults call site: 00521 cupsArrayNewStrings
17 9 cupsFileOpen call site: 00009 cups_open
14 548 _cupsSetDefaults call site: 00548 _cups_strcasecmp
13 138 _cups_tolower call site: 00138 _cupsSetError
12 111 cups_globals_alloc call site: 00111 cupsCopyString
12 124 _cupsGlobals call site: 00124 cupsCopyString

Runtime coverage analysis

Covered functions
62
Functions that are reachable but not covered
128
Reachable functions
190
Percentage of reachable functions covered
32.63%
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/cups/ossfuzz/fuzz_ipp.c 2
/src/cups/cups/file.c 12
/src/cups/cups/./string-private.h 7
/src/cups/cups/string.c 8
/src/cups/cups/http-addrlist.c 4
/src/cups/cups/globals.c 6
/src/cups/cups/thread.c 2
/src/cups/cups/array.c 13
/src/cups/cups/http.c 3
/src/cups/cups/./tls-openssl.c 3
/src/cups/cups/http-addr.c 5
/usr/include/openssl/x509.h 1
/src/cups/cups/options.c 1
/src/cups/cups/request.c 1
/src/cups/cups/language.c 14
/src/cups/cups/ipp.c 16
/src/cups/cups/usersys.c 16
/src/cups/cups/tls.c 1

Fuzzer: fuzz_ipp_gen

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 399 59.3%
gold [1:9] 92 13.6%
yellow [10:29] 17 2.52%
greenyellow [30:49] 2 0.29%
lawngreen 50+ 162 24.1%
All colors 672 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
42 344 _cupsLangString call site: 00344 _cupsSetError
36 244 _cupsSetError call site: 00244 _cupsSetError
35 435 cups_set_server_name call site: 00435 cups_set_ssl_options
30 404 _cupsSetDefaults call site: 00404 cups_read_client_conf
26 315 cups_fill call site: 00315 cupsFileGets
19 48 cupsMutexUnlock call site: 00048 cupsFileClose
19 527 _cupsSetDefaults call site: 00527 cupsArrayNewStrings
14 554 _cupsSetDefaults call site: 00554 _cups_strcasecmp
13 134 _cups_tolower call site: 00134 _cupsSetError
12 107 cups_globals_alloc call site: 00107 cupsCopyString
12 120 _cupsGlobals call site: 00120 cupsCopyString
9 624 ipp_read_io call site: 00624 ipp_add_attr

Runtime coverage analysis

Covered functions
64
Functions that are reachable but not covered
122
Reachable functions
186
Percentage of reachable functions covered
34.41%
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/cups/ossfuzz/fuzz_ipp_gen.c 1
/src/cups/cups/file.c 13
/src/cups/cups/./string-private.h 7
/src/cups/cups/string.c 8
/src/cups/cups/http-addrlist.c 4
/src/cups/cups/globals.c 6
/src/cups/cups/thread.c 2
/src/cups/cups/array.c 13
/src/cups/cups/http.c 3
/src/cups/cups/./tls-openssl.c 3
/src/cups/cups/http-addr.c 5
/usr/include/openssl/x509.h 1
/src/cups/cups/options.c 1
/src/cups/cups/request.c 1
/src/cups/cups/language.c 14
/src/cups/cups/ipp.c 16
/src/cups/cups/usersys.c 16
/src/cups/cups/tls.c 1

Fuzzer: fuzz_ppd_gen_conflicts

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 1010 58.6%
gold [1:9] 22 1.27%
yellow [10:29] 6 0.34%
greenyellow [30:49] 3 0.17%
lawngreen 50+ 680 39.5%
All colors 1721 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
321 1074 cupsMarkOptions call site: 01074 ppd_mark_option
172 1421 ppd_mark_option call site: 01421 ppd_mark_option
74 1643 LLVMFuzzerTestOneInput call site: 01643 ppd_test_constraints
71 329 cups_fill call site: 00329 _cupsSetError
49 97 cupsFileClose call site: 00097 cupsFreeOptions
37 257 _cupsStrAlloc call site: 00257 _cupsSetError
28 62 cupsMutexUnlock call site: 00062 cupsFileClose
20 148 _cups_tolower call site: 00148 _cupsSetError
17 19 cupsFileOpen call site: 00019 cups_open
14 227 cupsArrayNew3 call site: 00227 cupsFileOpen
14 1406 ppd_mark_option call site: 01406 ppdPageSize
13 213 cupsLangGet call site: 00213 _cupsLangString

Runtime coverage analysis

Covered functions
101
Functions that are reachable but not covered
167
Reachable functions
268
Percentage of reachable functions covered
37.69%
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/cups/ossfuzz/fuzz_ppd_gen_conflicts.c 1
/src/cups/cups/ppd.c 27
/src/cups/cups/file.c 12
/src/cups/cups/./string-private.h 10
/src/cups/cups/string.c 11
/src/cups/cups/http-addrlist.c 4
/src/cups/cups/globals.c 6
/src/cups/cups/thread.c 2
/src/cups/cups/array.c 28
/src/cups/cups/http.c 3
/src/cups/cups/./tls-openssl.c 3
/src/cups/cups/http-addr.c 5
/usr/include/openssl/x509.h 1
/src/cups/cups/options.c 8
/src/cups/cups/request.c 1
/src/cups/cups/language.c 15
/src/cups/cups/transcode.c 2
/src/cups/cups/ppd-custom.c 2
/src/cups/cups/ppd-mark.c 9
/src/cups/cups/ppd-attr.c 2
/src/cups/cups/ppd-page.c 1
/src/cups/cups/ppd-cache.c 12
/src/cups/cups/ppd-conflicts.c 6
/src/cups/cups/pwg-media.c 13
/src/cups/cups/ipp.c 5

Fuzzer: fuzz_ppd_gen_1

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 853 51.9%
gold [1:9] 15 0.91%
yellow [10:29] 5 0.30%
greenyellow [30:49] 7 0.42%
lawngreen 50+ 763 46.4%
All colors 1643 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
342 1259 cupsMarkOptions call site: 01259 ppd_mark_option
106 964 ppd_mark_option call site: 00964 pwgInitSize
71 329 cups_fill call site: 00329 _cupsSetError
41 105 cupsFreeOptions call site: 00105 cups_globals_alloc
37 257 _cupsStrAlloc call site: 00257 _cupsSetError
28 62 cupsMutexUnlock call site: 00062 cupsFileClose
20 148 _cups_tolower call site: 00148 _cupsSetError
17 19 cupsFileOpen call site: 00019 cups_open
14 227 cupsArrayNew3 call site: 00227 cupsFileOpen
13 213 cupsLangGet call site: 00213 _cupsLangString
13 478 cupsCharsetToUTF8 call site: 00478 _cupsCharmapFlush
10 1619 cupsMarkOptions call site: 01619 ppd_mark_choices

Runtime coverage analysis

Covered functions
106
Functions that are reachable but not covered
158
Reachable functions
264
Percentage of reachable functions covered
40.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
/src/cups/ossfuzz/fuzz_ppd_gen_1.c 1
/src/cups/cups/ppd.c 27
/src/cups/cups/file.c 12
/src/cups/cups/./string-private.h 10
/src/cups/cups/string.c 11
/src/cups/cups/http-addrlist.c 4
/src/cups/cups/globals.c 6
/src/cups/cups/thread.c 2
/src/cups/cups/array.c 26
/src/cups/cups/http.c 3
/src/cups/cups/./tls-openssl.c 3
/src/cups/cups/http-addr.c 5
/usr/include/openssl/x509.h 1
/src/cups/cups/options.c 8
/src/cups/cups/request.c 1
/src/cups/cups/language.c 15
/src/cups/cups/transcode.c 2
/src/cups/cups/ppd-custom.c 2
/src/cups/cups/ppd-mark.c 10
/src/cups/cups/ppd-attr.c 2
/src/cups/cups/ppd-page.c 1
/src/cups/cups/ppd-cache.c 12
/src/cups/cups/ipp.c 5
/src/cups/cups/pwg-media.c 13
/src/cups/cups/ppd-conflicts.c 4

Fuzzer: fuzz_ppd_gen_cache

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 941 42.3%
gold [1:9] 120 5.40%
yellow [10:29] 26 1.17%
greenyellow [30:49] 16 0.72%
lawngreen 50+ 1118 50.3%
All colors 2221 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
44 2038 _cupsConvertOptions call site: 02038 ippAddOctetString
42 368 _cupsLangString call site: 00368 _cupsSetError
36 268 _cupsSetError call site: 00268 _cupsSetError
35 1416 cups_set_server_name call site: 01416 cups_set_ssl_options
32 1722 _cupsBufferGet call site: 01722 ippWriteIO
26 339 cups_fill call site: 00339 cupsFileGets
24 2083 _cupsConvertOptions call site: 02083 ippAddInteger
21 2129 _cupsConvertOptions call site: 02129 ippNew
20 1811 ipp_read_io call site: 01811 ipp_set_value
19 72 cupsMutexUnlock call site: 00072 cupsFileClose
19 1396 cupsFileGetConf call site: 01396 cups_set_browse_domains
18 1179 _ppdCacheCreateWithPPD call site: 01179 pwg_add_finishing

Runtime coverage analysis

Covered functions
178
Functions that are reachable but not covered
172
Reachable functions
350
Percentage of reachable functions covered
50.86%
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/cups/ossfuzz/fuzz_ppd_gen_cache.c 5
/src/cups/cups/ppd.c 27
/src/cups/cups/file.c 22
/src/cups/cups/./string-private.h 10
/src/cups/cups/string.c 11
/src/cups/cups/http-addrlist.c 4
/src/cups/cups/globals.c 6
/src/cups/cups/thread.c 2
/src/cups/cups/array.c 24
/src/cups/cups/http.c 3
/src/cups/cups/./tls-openssl.c 3
/src/cups/cups/http-addr.c 5
/usr/include/openssl/x509.h 1
/src/cups/cups/options.c 8
/src/cups/cups/request.c 1
/src/cups/cups/language.c 15
/src/cups/cups/transcode.c 2
/src/cups/cups/ppd-custom.c 2
/src/cups/cups/ppd-mark.c 4
/src/cups/cups/ppd-attr.c 2
/src/cups/cups/ppd-page.c 1
/src/cups/cups/ppd-cache.c 21
/src/cups/cups/pwg-media.c 13
/src/cups/cups/ipp.c 38
/src/cups/cups/usersys.c 16
/src/cups/cups/tls.c 1
/src/cups/cups/hash.c 2
/src/cups/cups/md5.c 4
/src/cups/cups/encode.c 2

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.

/src/cups/ossfuzz/fuzz_array.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=['cupsArrayAdd', 'LLVMFuzzerTestOneInput', 'cupsArrayCurrent', 'cupsArrayGetLast', 'cupsArrayFind']

/src/cups/ossfuzz/fuzz_raster.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', 'cupsCopyString', '_cupsRasterNew', 'cups_read_fd', 'cups_globals_alloc', 'cups_raster_update', '_cupsRasterAddError', 'cups_raster_read']

/src/cups/ossfuzz/fuzz_cups.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', 'error_object', 'cupsCopyString', 'cups_globals_alloc', '_cupsRasterExecPS', 'new_stack']

/src/cups/ossfuzz/fuzz_http_core.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=['httpAddrLength', '_cupsSetError', '_cupsStrFree', 'cupsArrayNew3', 'httpAddrGetList', 'cups_globals_alloc', 'httpAssembleURI']

/src/cups/ossfuzz/fuzz_ipp.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=['_cupsLangString', '_cupsSetError', 'cups_set_server_name', '_cupsSetDefaults', 'cupsMutexUnlock', 'cups_fill', 'cupsFileOpen', '_cups_tolower']

/src/cups/ossfuzz/fuzz_ipp_gen.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=['_cupsLangString', '_cupsSetError', 'cups_set_server_name', '_cupsSetDefaults', 'cups_fill', 'cupsMutexUnlock', '_cups_tolower', 'cups_globals_alloc']

/src/cups/ossfuzz/fuzz_ppd_gen_conflicts.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=['cupsMarkOptions', 'ppd_mark_option', 'LLVMFuzzerTestOneInput', 'cups_fill', 'cupsFileClose', '_cupsStrAlloc', 'cupsMutexUnlock', '_cups_tolower', 'cupsFileOpen', 'cupsArrayNew3']

/src/cups/ossfuzz/fuzz_ppd_gen_1.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=['cupsMarkOptions', 'ppd_mark_option', 'cups_fill', 'cupsFreeOptions', '_cupsStrAlloc', 'cupsMutexUnlock', '_cups_tolower', 'cupsFileOpen', 'cupsArrayNew3', 'cupsLangGet']

/src/cups/ossfuzz/fuzz_ppd_gen_cache.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=['_cupsConvertOptions', '_cupsLangString', '_cupsSetError', 'cups_set_server_name', '_cupsBufferGet', 'cups_fill', 'ipp_read_io', 'cupsMutexUnlock']

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
cups_globals_alloc 89 41 46.06% ['fuzz_raster', 'fuzz_ipp', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_cache', 'fuzz_http_core', 'fuzz_ipp_gen', 'fuzz_ppd_gen_1', 'fuzz_cups']
_cupsRasterNew 81 44 54.32% ['fuzz_raster']
cupsFileOpen 66 35 53.03% ['fuzz_ipp', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_cache', 'fuzz_http_core', 'fuzz_ipp_gen', 'fuzz_ppd_gen_1']
_cupsMessageLoad 75 18 24.0% ['fuzz_ipp', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_cache', 'fuzz_http_core', 'fuzz_ipp_gen', 'fuzz_ppd_gen_1']
cupsSetServer 47 19 40.42% ['fuzz_ppd_gen_cache', 'fuzz_ipp', 'fuzz_ipp_gen']
_cupsSetDefaults 198 52 26.26% ['fuzz_ppd_gen_cache', 'fuzz_ipp', 'fuzz_ipp_gen']
cups_open 49 21 42.85% ['fuzz_ipp', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_cache', 'fuzz_http_core', 'fuzz_ipp_gen', 'fuzz_ppd_gen_1']
cupsGetConflicts 35 18 51.42% ['fuzz_ppd_gen_conflicts']
cupsResolveConflicts 234 22 9.401% ['fuzz_ppd_gen_conflicts']
cupsMarkOptions 202 54 26.73% ['fuzz_ppd_gen_1', 'fuzz_ppd_gen_conflicts']
cupsCharsetToUTF8 66 34 51.51% ['fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache', 'fuzz_ppd_gen_conflicts']
cupsFilePrintf 58 29 50.0% ['fuzz_ppd_gen_cache']
cupsFilePuts 35 19 54.28% ['fuzz_ppd_gen_cache']
ippContainsString 48 9 18.75% ['fuzz_ppd_gen_cache']
ippFindNextAttribute 83 33 39.75% ['fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache', 'fuzz_ppd_gen_conflicts']
_cupsConvertOptions 290 88 30.34% ['fuzz_ppd_gen_cache']
_ppdCacheGetFinishingOptions 37 9 24.32% ['fuzz_ppd_gen_cache']
_ppdCacheGetFinishingValues 48 14 29.16% ['fuzz_ppd_gen_cache']
pwgInitSize 114 48 42.10% ['fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache', 'fuzz_ppd_gen_conflicts']

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/cups/cups/file.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/ppd-page.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/./string-private.h ['fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] []
/src/cups/cups/ppd.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/ppd-attr.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/raster-error.c ['fuzz_raster', 'fuzz_cups'] ['fuzz_raster', 'fuzz_cups']
/src/cups/cups/thread.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/ossfuzz/fuzz_raster.c ['fuzz_raster'] ['fuzz_raster']
/src/cups/cups/string.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/hash.c ['fuzz_ppd_gen_cache'] []
/src/cups/cups/http-addrlist.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_http_core']
/src/cups/cups/ipp.c ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_cache']
/src/cups/cups/encode.c ['fuzz_ppd_gen_cache'] []
/src/cups/cups/http.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_http_core']
/src/cups/cups/ppd-conflicts.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1']
/src/cups/cups/pwg-media.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_cache']
/src/cups/cups/md5.c ['fuzz_ppd_gen_cache'] []
/src/cups/cups/request.c ['fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_cache']
/src/cups/ossfuzz/fuzz_ipp.c ['fuzz_ipp'] ['fuzz_ipp']
/src/cups/cups/tls.c ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_cache'] ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_cache']
/src/cups/ossfuzz/fuzz_cups.c ['fuzz_cups'] ['fuzz_cups']
/src/cups/cups/raster-stream.c ['fuzz_raster'] ['fuzz_raster']
/src/cups/cups/language.c ['fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/./tls-openssl.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] []
/src/cups/ossfuzz/fuzz_ipp_gen.c ['fuzz_ipp_gen'] ['fuzz_ipp_gen']
/src/cups/cups/ppd-cache.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/limits [] []
/src/cups/cups/http-addr.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_http_core']
/src/cups/ossfuzz/fuzz_helpers.cpp ['fuzz_array'] ['fuzz_array']
/src/cups/ossfuzz/fuzz_ppd_gen_conflicts.c ['fuzz_ppd_gen_conflicts'] ['fuzz_ppd_gen_conflicts']
/src/cups/cups/transcode.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/globals.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_cache']
/src/cups/ossfuzz/fuzz_ppd_gen_cache.c ['fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_cache']
/src/cups/cups/options.c ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/http-support.c ['fuzz_http_core'] ['fuzz_http_core']
/src/cups/ossfuzz/fuzz_array.c ['fuzz_array'] ['fuzz_array']
/src/cups/cups/ppd-custom.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/array.c ['fuzz_array', 'fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_array', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/usersys.c ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_cache'] ['fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_cache']
/src/cups/ossfuzz/fuzz_http_core.c ['fuzz_http_core'] ['fuzz_http_core']
/src/cups/ossfuzz/fuzz_ppd_gen_1.c ['fuzz_ppd_gen_1'] ['fuzz_ppd_gen_1']
/src/cups/cups/raster-stubs.c ['fuzz_raster'] ['fuzz_raster']
/src/cups/cups/raster-interpret.c ['fuzz_cups'] ['fuzz_cups']
/usr/include/openssl/x509.h ['fuzz_raster', 'fuzz_cups', 'fuzz_http_core', 'fuzz_ipp', 'fuzz_ipp_gen', 'fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] []
/src/cups/cups/ppd-mark.c ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache'] ['fuzz_ppd_gen_conflicts', 'fuzz_ppd_gen_1', 'fuzz_ppd_gen_cache']
/src/cups/cups/../cups/string-private.h ['fuzz_cups'] []

Directories in report

Directory
/src/cups/ossfuzz/
/src/cups/cups/../cups/
/usr/include/openssl/
/src/cups/cups/
/src/cups/cups/./
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/