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

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 154 74.7%
gold [1:9] 0 0.0%
yellow [10:29] 4 1.94%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 48 23.3%
All colors 206 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
73 84 gdImageSetPixel call site: 00084 gdCompositePixel
29 165 gdAlphaBlend call site: 00165 gdLayerOverlay
24 41 gdImageSetPixel call site: 00041 gdImageSetPixel
15 66 gdImageSetPixel call site: 00066 gdImageSetPixel
3 20 gdCalloc call site: 00020
2 8 _gd_error_ex call site: 00008 gd_error_ex
2 38 gdImageChar call site: 00038 gdImageSetPixel
2 198 LLVMFuzzerTestOneInput call site: 00198
2 202 gdImageDestroy call site: 00202
1 16 gdImageCreateTrueColor call site: 00016
1 36 gdImageString call site: 00036 ASC

Runtime coverage analysis

Covered functions
21
Functions that are reachable but not covered
53
Reachable functions
73
Percentage of reachable functions covered
27.4%
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
gd_image_string_fuzzer.cc 15
libgdgd.c 34
libgdgd_security.c 1
libgdgdhelpers.c 3
libgdgd_compositor.c 22
libgd/tests/vector2d/compositor.c 7

Fuzzer: libgd/tests/fuzzing/fuzz_jxl_decode.c

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 62 72.0%
gold [1:9] 3 3.48%
yellow [10:29] 3 3.48%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 18 20.9%
All colors 86 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
18 20 _gd_error_ex call site: 00020 overflow2
18 62 gdCalloc call site: 00062 gdImageDestroy
12 41 gd_error_ex call site: 00041 JxlImageFromRGBA
7 10 gdFree call site: 00010 JxlReadCtxData
2 0 EP call site: 00000 gdNewDynamicCtxEx
2 7 newDynamic call site: 00007
2 82 gdImageDestroy call site: 00082
1 59 gdImageCreateTrueColor call site: 00059

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
7
Reachable functions
12
Percentage of reachable functions covered
41.67%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_jxl_decode.c 3
libgdgd_jxl.c 28
libgdgd_io_dp.c 4
libgdgdhelpers.c 4
libgdgd.c 9
libgdgd_security.c 1

Fuzzer: libgd/tests/fuzzing/fuzz_webp_decode.c

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 56 70.0%
gold [1:9] 3 3.75%
yellow [10:29] 3 3.75%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 18 22.5%
All colors 80 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
26 48 gdCalloc call site: 00048 WebpDecodeFirstImage
14 20 _gd_error_ex call site: 00020 WebpDecodeFirstImage
7 10 gdFree call site: 00010 WebpReadCtxData
2 0 EP call site: 00000 gdNewDynamicCtxEx
2 7 newDynamic call site: 00007
2 38 gd_error_ex call site: 00038 gd_error_ex
2 76 gdImageDestroy call site: 00076
1 45 gdImageCreateTrueColor call site: 00045

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
5
Reachable functions
12
Percentage of reachable functions covered
58.33%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_webp_decode.c 3
libgdgd_webp.c 24
libgdgd_io_dp.c 4
libgdgdhelpers.c 4
libgdgd.c 9
libgdgd_security.c 1

Fuzzer: libgd/tests/fuzzing/fuzz_bmp_decode.c

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 169 42.2%
gold [1:9] 11 2.75%
yellow [10:29] 3 0.75%
greenyellow [30:49] 3 0.75%
lawngreen 50+ 214 53.5%
All colors 400 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
73 186 gdImageSetPixel call site: 00186 gdCompositePixel
29 267 gdAlphaBlend call site: 00267 gdLayerOverlay
24 143 gdImageSetPixel call site: 00143 gdImageSetPixel
15 168 gdImageSetPixel call site: 00168 gdImageSetPixel
3 101 gdImageCreateTrueColor call site: 00101
3 112 gdImageCreate call site: 00112
2 7 newDynamic call site: 00007
2 73 _gd_error_ex call site: 00073 gd_error_ex
2 128 gdTell call site: 00128
2 133 gdSeek call site: 00133
2 140 bmp_read_1bit call site: 00140 gdImageSetPixel
2 385 bmp_read_direct call site: 00385

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
49
Reachable functions
96
Percentage of reachable functions covered
48.96%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_bmp_decode.c 3
libgdgd_bmp.c 41
libgdgd_io_dp.c 4
libgdgdhelpers.c 3
libgdgd_security.c 1
libgdgd.c 31
libgdgd_io.c 2
libgdgd_compositor.c 22
libgd/tests/vector2d/compositor.c 7

Fuzzer: parser_target.cc

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 4 36.3%
gold [1:9] 2 18.1%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 5 45.4%
All colors 11 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
2 7 gdImageDestroy call site: 00007
1 2 LLVMFuzzerTestOneInput call site: 00002
1 4 gdFree call site: 00004

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
2
Reachable functions
5
Percentage of reachable functions covered
60.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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
parser_target.cc 3
libgdgd.c 1
libgdgdhelpers.c 1

Fuzzer: libgd/tests/fuzzing/fuzz_uhdr_decode.c

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 41 91.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 4 8.88%
All colors 45 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
18 0 EP call site: 00000 gdUhdrImageCreateFromPtr
18 26 gdFree call site: 00026 gdUhdrSetError
3 19 gdCalloc call site: 00019 gdUhdrSetError
2 23 gdMalloc call site: 00023 gdUhdrSetError

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
22
Reachable functions
26
Percentage of reachable functions covered
15.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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_uhdr_decode.c 3
libgdgd_uhdr.c 20
libgdgdhelpers.c 3

Fuzzer: libgd/tests/fuzzing/fuzz_tiff_decode.c

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 284 86.5%
gold [1:9] 3 0.91%
yellow [10:29] 3 0.91%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 38 11.5%
All colors 328 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
82 232 gdAlphaBlend call site: 00232 createFromTiffLines
73 151 gdImageSetPixel call site: 00151 gdCompositePixel
24 108 gdImageSetPixel call site: 00108 gdImageSetPixel
21 86 gdImageCreateTrueColor call site: 00086 createFromTiffRgba
16 62 gdImageColorAllocate call site: 00062 gdImageCreateTrueColor
15 33 gd_error_ex call site: 00033 gdImageCreate
15 133 gdImageSetPixel call site: 00133 gdImageSetPixel
13 17 _gd_error_ex call site: 00017 TiffDecodeCurrentDirectory
8 319 gdImageDestroy call site: 00319 gdImageDestroy
5 56 gdImageCreate call site: 00056 readTiffColorMap
4 10 gdFree call site: 00010 gdImageCreateFromTiffCtxEx
2 0 EP call site: 00000 gdNewDynamicCtxEx

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
5
Reachable functions
12
Percentage of reachable functions covered
58.33%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_tiff_decode.c 3
libgdgd_tiff.c 42
libgdgd_io_dp.c 4
libgdgdhelpers.c 3
libgdgd.c 32
libgdgd_security.c 1
libgdgd_compositor.c 22
libgd/tests/vector2d/compositor.c 7

Fuzzer: libgd/tests/fuzzing/fuzz_jpeg_decode.c

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 379 92.6%
gold [1:9] 3 0.73%
yellow [10:29] 3 0.73%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 24 5.86%
All colors 409 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
250 158 gdImageCreate call site: 00158 gdImageScaleTwoPassWithMethod
47 104 gdImageCreateTrueColor call site: 00104 gdImageScale
31 63 gdCalloc call site: 00063 gdJpegCollectIccProfile
19 43 gdImageDestroy call site: 00043 gdJpegCollectMetadata
9 20 _gd_error_ex call site: 00020 gdJpegNormalizeReadOptions
7 31 gd_error call site: 00031 gdImageDestroy
6 11 gdFree call site: 00011 gdImageCreateFromJpegCtxWithOptionsAndMetadata
3 0 EP call site: 00000 gdNewDynamicCtxEx
2 8 newDynamic call site: 00008
2 40 gdImageDestroy call site: 00040
1 96 overflow2 call site: 00096 gd_error_ex
1 102 gdImageCreateTrueColor call site: 00102

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
5
Reachable functions
12
Percentage of reachable functions covered
58.33%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_jpeg_decode.c 3
libgdgd_jpeg.c 41
libgdgd_io_dp.c 4
libgdgdhelpers.c 3
libgdgd.c 17
libgdgd_metadata.c 9
libgdgd_security.c 1
libgdgd_interpolation.c 62

Fuzzer: libgd/tests/fuzzing/fuzz_gif_decode.c

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 166 64.8%
gold [1:9] 4 1.56%
yellow [10:29] 8 3.12%
greenyellow [30:49] 1 0.39%
lawngreen 50+ 77 30.0%
All colors 256 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
73 135 gdImageSetPixel call site: 00135 gdCompositePixel
29 216 gdAlphaBlend call site: 00216 gdLayerOverlay
24 92 gdImageSetPixel call site: 00092 gdImageSetPixel
15 117 gdImageSetPixel call site: 00117 gdImageSetPixel
5 32 GetDataBlock_ call site: 00032 LM_to_uint
3 61 gdImageCreate call site: 00061
2 7 newDynamic call site: 00007
2 52 _gd_error_ex call site: 00052 gd_error_ex
2 67 gdImageCreateFromGifCtx call site: 00067
2 71 gdImageDestroy call site: 00071
2 89 ReadImage call site: 00089 gdImageSetPixel
1 0 EP call site: 00000 gdImageCreateFromGifPtr

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
52
Reachable functions
80
Percentage of reachable functions covered
35.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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_gif_decode.c 3
libgdgd_gif_in.c 23
libgdgd_io_dp.c 4
libgdgdhelpers.c 3
libgdgd.c 30
libgdgd_security.c 1
libgdgd_compositor.c 22
libgd/tests/vector2d/compositor.c 7

Fuzzer: libgd/tests/fuzzing/fuzz_png_decode.c

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 87 74.3%
gold [1:9] 3 2.56%
yellow [10:29] 3 2.56%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 24 20.5%
All colors 117 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
50 59 gdImageCreate call site: 00059 gdImageDestroy
13 21 _gd_error_ex call site: 00021 gdImageCreateTrueColor
8 10 gdFree call site: 00010 gdImageCreateFromPngCtx
4 48 gdCalloc call site: 00048 gdImageCreate
2 0 EP call site: 00000 gdNewDynamicCtxEx
2 7 newDynamic call site: 00007
2 38 gd_error_ex call site: 00038 gd_error_ex
2 111 gdImageDestroy call site: 00111
2 114 gdImageDestroy call site: 00114 gdImageDestroy
1 45 gdImageCreateTrueColor call site: 00045
1 57 gdImageCreate call site: 00057

Runtime coverage analysis

Covered functions
114
Functions that are reachable but not covered
2
Reachable functions
6
Percentage of reachable functions covered
66.67%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
libgd/tests/fuzzing/fuzz_png_decode.c 3
libgdgd_png.c 38
libgdgd_io_dp.c 4
libgdgdhelpers.c 3
libgdgd.c 9
libgdgd_security.c 1

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
render_tile /src/libgd/examples/gradient_operators.c 2 ['int', 'int'] 16 0 28 3 2 330 0 984 883
assert_roundtrip /src/libgd/tests/bmp/bmp_write_ex.c 6 ['gdImagePtr', 'int', 'int', 'int', 'int', 'int'] 11 0 9 2 1 196 0 926 488
dowheel /src/libgd/src/fontwheeltest.c 9 ['gdImagePtr', 'int', 'char*', 'int', 'double', 'int', 'int', 'int', 'char*'] 13 0 16 2 2 135 0 523 427
gdUhdrImageWritePtr /src/libgd/src/gd_uhdr.c 5 ['gdUhdrImagePtr', 'int*', 'int', 'int', 'gdUhdrErrorPtr'] 12 0 25 5 4 186 0 554 371
read_all_frames /src/libgd/tests/gif/gif_conformance.c 1 ['gif_case_t*'] 10 0 33 3 5 108 1 347 155
gdImageCreateFromTiffCtxEx /src/libgd/src/gd_tiff.c 2 ['gdIOCtx*', 'int'] 11 0 15 3 2 89 0 255 144
testDrawing /src/libgd/src/testac.c 5 ['gdImagePtr', 'double', 'int', 'int', 'char*'] 11 0 13 2 1 130 0 530 118

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

Functions statically reachable by fuzzers
28.9%
606 / 2095
Cyclomatic complexity statically reachable by fuzzers
43.0%
3164 / 7365

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

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.

gd_image_string_fuzzer.cc

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=['gdImageSetPixel', 'gdAlphaBlend', 'gdCalloc', '_gd_error_ex', 'gdImageChar', 'LLVMFuzzerTestOneInput', 'gdImageDestroy', 'gdImageCreateTrueColor']

libgd/tests/fuzzing/fuzz_jxl_decode.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=['_gd_error_ex', 'gdCalloc', 'gd_error_ex', 'gdFree', 'newDynamic', 'gdImageDestroy', 'gdImageCreateTrueColor']

libgd/tests/fuzzing/fuzz_webp_decode.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=['gdCalloc', '_gd_error_ex', 'gdFree', 'newDynamic', 'gd_error_ex', 'gdImageDestroy', 'gdImageCreateTrueColor']

libgd/tests/fuzzing/fuzz_bmp_decode.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=['gdImageSetPixel', 'gdAlphaBlend', 'gdImageCreateTrueColor', 'gdImageCreate', 'newDynamic', '_gd_error_ex', 'gdTell', 'gdSeek']

parser_target.cc

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=['gdImageDestroy', 'LLVMFuzzerTestOneInput', 'gdFree']

libgd/tests/fuzzing/fuzz_uhdr_decode.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=['gdFree', 'gdCalloc', 'gdMalloc']

libgd/tests/fuzzing/fuzz_tiff_decode.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=['gdAlphaBlend', 'gdImageSetPixel', 'gdImageCreateTrueColor', 'gdImageColorAllocate', 'gd_error_ex', '_gd_error_ex', 'gdImageDestroy', 'gdImageCreate']

libgd/tests/fuzzing/fuzz_jpeg_decode.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=['gdImageCreate', 'gdImageCreateTrueColor', 'gdCalloc', 'gdImageDestroy', '_gd_error_ex', 'gd_error', 'gdFree', 'newDynamic']

libgd/tests/fuzzing/fuzz_gif_decode.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=['gdImageSetPixel', 'gdAlphaBlend', 'GetDataBlock_', 'gdImageCreate', 'newDynamic', '_gd_error_ex', 'gdImageCreateFromGifCtx', 'gdImageDestroy']

libgd/tests/fuzzing/fuzz_png_decode.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=['gdImageCreate', '_gd_error_ex', 'gdFree', 'gdCalloc', 'newDynamic', 'gd_error_ex', 'gdImageDestroy', 'gdImageCreateTrueColor']

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
gdImageBrushApply 67 9 13.43% ['/src/libgd/tests/fuzzing/fuzz_bmp_decode.c', '/src/libgd/tests/fuzzing/fuzz_tiff_decode.c', '/src/libgd/tests/fuzzing/fuzz_jxl_decode.c', '/src/parser_target.cc', '/src/libgd/tests/fuzzing/fuzz_webp_decode.c', 'gd_image_string_fuzzer', '/src/libgd/tests/fuzzing/fuzz_png_decode.c', '/src/libgd/tests/fuzzing/fuzz_gif_decode.c', '/src/libgd/tests/fuzzing/fuzz_jpeg_decode.c', '/src/libgd/tests/fuzzing/fuzz_uhdr_decode.c']
gdImageTileApply 31 7 22.58% ['/src/libgd/tests/fuzzing/fuzz_bmp_decode.c', '/src/libgd/tests/fuzzing/fuzz_tiff_decode.c', '/src/libgd/tests/fuzzing/fuzz_jxl_decode.c', '/src/parser_target.cc', '/src/libgd/tests/fuzzing/fuzz_webp_decode.c', 'gd_image_string_fuzzer', '/src/libgd/tests/fuzzing/fuzz_png_decode.c', '/src/libgd/tests/fuzzing/fuzz_gif_decode.c', '/src/libgd/tests/fuzzing/fuzz_jpeg_decode.c', '/src/libgd/tests/fuzzing/fuzz_uhdr_decode.c']
dynamicSeek 31 14 45.16% ['/src/libgd/tests/fuzzing/fuzz_bmp_decode.c', '/src/libgd/tests/fuzzing/fuzz_tiff_decode.c', '/src/libgd/tests/fuzzing/fuzz_jxl_decode.c', '/src/parser_target.cc', '/src/libgd/tests/fuzzing/fuzz_webp_decode.c', '/src/libgd/tests/fuzzing/fuzz_png_decode.c', '/src/libgd/tests/fuzzing/fuzz_gif_decode.c', '/src/libgd/tests/fuzzing/fuzz_jpeg_decode.c', '/src/libgd/tests/fuzzing/fuzz_uhdr_decode.c']

Fuzz driver synthesis

New fuzzers

The below fuzzers are templates and suggestions for how to target the set of optimal functions above

gradient_operators.c

Target file: /src/libgd/examples/gradient_operators.c
Target functions: render_tile
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target render_tile */
  int new_var0 = ada_safe_get_int();
  int new_var1 = ada_safe_get_int();
  render_tile(new_var0, new_var1);

  af_safe_gb_cleanup();
}

bmp_write_ex.c

Target file: /src/libgd/tests/bmp/bmp_write_ex.c
Target functions: assert_roundtrip
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target assert_roundtrip */
  UNKNOWN_TYPE unknown_2;
  int new_var3 = ada_safe_get_int();
  int new_var4 = ada_safe_get_int();
  int new_var5 = ada_safe_get_int();
  int new_var6 = ada_safe_get_int();
  int new_var7 = ada_safe_get_int();
  assert_roundtrip(unknown_2, new_var3, new_var4, new_var5, new_var6, new_var7);

  af_safe_gb_cleanup();
}

fontwheeltest.c

Target file: /src/libgd/src/fontwheeltest.c
Target functions: dowheel
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target dowheel */
  UNKNOWN_TYPE unknown_8;
  int new_var9 = ada_safe_get_int();
  char *new_var10 = ada_safe_get_char_p();
  int new_var11 = ada_safe_get_int();
  UNKNOWN_TYPE unknown_12;
  int new_var13 = ada_safe_get_int();
  int new_var14 = ada_safe_get_int();
  int new_var15 = ada_safe_get_int();
  char *new_var16 = ada_safe_get_char_p();
  dowheel(unknown_8, new_var9, new_var10, new_var11, unknown_12, new_var13, new_var14, new_var15, new_var16);

  af_safe_gb_cleanup();
}

gd_uhdr.c

Target file: /src/libgd/src/gd_uhdr.c
Target functions: gdUhdrImageWritePtr
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target gdUhdrImageWritePtr */
  UNKNOWN_TYPE unknown_17;
  int *new_var18 = af_get_int_p();
  int new_var19 = ada_safe_get_int();
  int new_var20 = ada_safe_get_int();
  UNKNOWN_TYPE unknown_21;
  gdUhdrImageWritePtr(unknown_17, new_var18, new_var19, new_var20, unknown_21);

  af_safe_gb_cleanup();
}

gif_conformance.c

Target file: /src/libgd/tests/gif/gif_conformance.c
Target functions: read_all_frames
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target read_all_frames */
  UNKNOWN_TYPE unknown_22;
  read_all_frames(unknown_22);

  af_safe_gb_cleanup();
}

gd_tiff.c

Target file: /src/libgd/src/gd_tiff.c
Target functions: gdImageCreateFromTiffCtxEx
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target gdImageCreateFromTiffCtxEx */
  UNKNOWN_TYPE unknown_23;
  int new_var24 = ada_safe_get_int();
  gdImageCreateFromTiffCtxEx(unknown_23, new_var24);

  af_safe_gb_cleanup();
}

testac.c

Target file: /src/libgd/src/testac.c
Target functions: testDrawing
#include "ada_fuzz_header.h"

int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  af_safe_gb_init(data, size);

  /* target testDrawing */
  UNKNOWN_TYPE unknown_25;
  UNKNOWN_TYPE unknown_26;
  int new_var27 = ada_safe_get_int();
  int new_var28 = ada_safe_get_int();
  char *new_var29 = ada_safe_get_char_p();
  testDrawing(unknown_25, unknown_26, new_var27, new_var28, new_var29);

  af_safe_gb_cleanup();
}

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/libgd/src/gd_webp.c ['libgd/tests/fuzzing/fuzz_webp_decode.c'] ['libgd/tests/fuzzing/fuzz_webp_decode.c']
/src/libgd/src/gd_gradient.c [] []
/src/libgd/tests/vector2d/compositor.c ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c'] []
/src/libgd/src/gd_jpeg.c ['libgd/tests/fuzzing/fuzz_jpeg_decode.c'] ['libgd/tests/fuzzing/fuzz_jpeg_decode.c']
/src/libgd/tests/gif/gif_im2im.c [] []
/src/libgd/tests/gdimagescale/options_content_aware.c [] []
/src/libgd/examples/ctx_image_basic.c [] []
/src/libgd/tests/metadata/jpeg_exiv2.cpp [] []
/src/libgd/src/ftraster/gd_ft_raster.c [] []
/src/libgd/tests/bmp/bmpsuite_read.c [] []
/src/libgd/src/gd.h [] []
/src/libgd/tests/gdimagepixelate/gdimagepixelate.c [] []
/src/libgd/tests/fuzzing/fuzz_png_decode.c ['libgd/tests/fuzzing/fuzz_png_decode.c'] ['libgd/tests/fuzzing/fuzz_png_decode.c']
/src/libgd/tests/vector2d/gd_operators.c [] []
/src/libgd/src/gd_nnquant.c [] []
/src/libgd/src/ftraster/gd_ft_types.h [] []
/src/libgd/tests/wbmp/wbmp_im2im.c [] []
/src/libgd/tests/gdimageline/github_bug_167.c [] []
/src/libgd/src/fontsizetest.c [] []
/src/libgd/src/gd_surface.c [] []
/src/libgd/tests/jpeg/bug00338.c [] []
/src/libgd/tests/freetype/charmap_selection.c [] []
/src/libgd/tests/fuzzing/fuzz_uhdr_decode.c ['libgd/tests/fuzzing/fuzz_uhdr_decode.c'] ['libgd/tests/fuzzing/fuzz_uhdr_decode.c']
/src/libgd/tests/vector2d/pattern_filter.c [] []
/src/libgd/src/gd_draw_blend.c [] []
/src/libgd/examples/ctx_image_blend_modes.c [] []
/src/libgd/tests/gd2/gd2_im2im.c [] []
/src/libgd/tests/bmp/bmp_size.c [] []
/src/libgd/tests/uhdr/uhdr_cli_parity_quality_noop.c [] []
/src/libgd/tests/gdinterpolatedscale/cache_locality.c [] []
/src/libgd/tests/tga/tga_read.c [] []
/src/libgd/src/gd_io.c ['libgd/tests/fuzzing/fuzz_bmp_decode.c'] ['libgd/tests/fuzzing/fuzz_bmp_decode.c']
/src/libgd/tests/gdinterpolatedscale/alpha_weight.c [] []
/src/libgd/src/gd_bmp.c ['libgd/tests/fuzzing/fuzz_bmp_decode.c'] ['libgd/tests/fuzzing/fuzz_bmp_decode.c']
/src/libgd/src/gd_path_matrix.c [] []
/src/libgd/tests/fuzzing/fuzz_jpeg_decode.c ['libgd/tests/fuzzing/fuzz_jpeg_decode.c'] ['libgd/tests/fuzzing/fuzz_jpeg_decode.c']
/src/libgd/tests/gif/animated_gif_reader.c [] []
/src/libgd/tests/vector2d/path_ops.c [] []
/src/libgd/examples/scale_entropy_visual_check.c [] []
/src/libgd/examples/save_restore.c [] []
/src/libgd/tests/gdimageaffine/matrix.c [] []
/src/libgd/src/gd_filename.c [] []
/src/libgd/tests/gdimagecolorreplace/gdimagecolorreplace.c [] []
/src/libgd/src/gd_filter.c [] []
/src/libgd/src/gd_path.c [] []
/src/libgd/examples/ctx_image_advanced.c [] []
/src/libgd/src/gd_uhdr.c ['libgd/tests/fuzzing/fuzz_uhdr_decode.c'] []
/src/libgd/examples/vector2d_pattern_filter.c [] []
/src/libgd/tests/readimage/readimage.c [] []
/src/libgd/src/gd_rotate.c [] []
/src/libgd/tests/gdimagetruecolortopalette/transparent_preserved.c [] []
/src/libgd/src/gdfonts.c [] []
/src/libgd/src/gd_jxl.c ['libgd/tests/fuzzing/fuzz_jxl_decode.c'] []
/src/libgd/src/fontwheeltest.c [] []
/src/libgd/tests/vector2d/text_curve.c [] []
/src/libgd/examples/windows.c [] []
/src/libgd/tests/tiff/tiff_invalid_read.c [] []
/src/libgd/tests/gdtest/gdtest.h [] []
/src/libgd/src/gd_color_match.c [] []
/src/libgd/tests/bmp/bmp_write_ex.c [] []
/src/libgd/tests/jxl/jxl_conformance.c [] []
/src/libgd/tests/bmp/bmp_im2im.c [] []
/src/libgd/tests/vector2d/image_context.c [] []
/src/libgd/src/gd_topal.c [] []
/src/libgd/src/gd_io_file.c [] []
/src/libgd/src/ftraster/gd_ft_stroker.c [] []
/src/libgd/src/gd_intern.h [] []
/src/libgd/examples/tiger.c [] []
/src/libgd/src/gd.c ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'parser_target.cc', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c'] ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'parser_target.cc', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c']
/src/libgd/examples/vector2d_example.h [] []
/src/libgd/tests/jpeg/jpeg_write_options.c [] []
/src/libgd/src/gd_draw.c [] []
/src/libgd/tests/gdimageflip/gdimageflip.c [] []
/src/libgd/src/gd_array.c [] []
/src/libgd/src/gd_span_rle.h [] []
/src/libgd/tests/jpeg/jpeg_read_options.c [] []
/src/libgd/src/gdft.c [] []
/src/libgd/tests/gdimagerectangle/point_ordering.c [] []
/src/libgd/examples/uhdr.c [] []
/src/libgd/tests/gif/bug000971.c [] []
/src/libgd/tests/gdinterpolatedscale/linear_light.c [] []
/src/libgd/tests/gdtest/gdpdiff.c [] []
/src/libgd/src/gd_tiff.c ['libgd/tests/fuzzing/fuzz_tiff_decode.c'] ['libgd/tests/fuzzing/fuzz_tiff_decode.c']
/src/libgd/src/gd_transform.c [] []
/src/libgd/src/gdhelpers.c ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'parser_target.cc', 'libgd/tests/fuzzing/fuzz_uhdr_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c'] ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'parser_target.cc', 'libgd/tests/fuzzing/fuzz_uhdr_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c']
/src/libgd/tests/gdinterpolatedscale/gdTrivialResize.c [] []
/src/libgd/examples/jxl_create_anim.c [] []
/src/libgd/src/msinttypes/inttypes.h [] []
/src/libgd/src/gd_compositor.c ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c'] []
/src/libgd/tests/jxl/jxl_test_helpers.h [] []
/src/libgd/tests/gdimageconvolution/basic.c [] []
/src/libgd/tests/perceptualdiff/test_core.c [] []
/src/libgd/tests/gdtest/readdir.c [] []
/src/libgd/src/gd_path_dash.h [] []
/src/libgd/src/gd_qoi.c [] []
/src/libgd/examples/gradient_art.c [] []
/src/libgd/tests/fuzzing/fuzz_tiff_decode.c ['libgd/tests/fuzzing/fuzz_tiff_decode.c'] ['libgd/tests/fuzzing/fuzz_tiff_decode.c']
/src/libgd/src/gd_gif_in.c ['libgd/tests/fuzzing/fuzz_gif_decode.c'] ['libgd/tests/fuzzing/fuzz_gif_decode.c']
/src/libgd/src/gd_gif_out.c [] []
/src/libgd/src/gdkanji.c [] []
/src/libgd/src/msinttypes/stdint.h [] []
/src/libgd/src/gd_png.c ['libgd/tests/fuzzing/fuzz_png_decode.c'] ['libgd/tests/fuzzing/fuzz_png_decode.c']
/src/libgd/tests/uhdr/uhdr_roundtrip.c [] []
/src/libgd/src/gdpp.cxx [] []
/src/libgd/src/getopt.c [] []
/src/libgd/tests/png/bug00193.c [] []
/src/libgd/tests/jpeg/jpeg_conformance.c [] []
/src/libgd/tests/vector2d/raster_parity.c [] []
/src/libgd/src/gd_io_ss.c [] []
/src/libgd/tests/bmp/bug00275.c [] []
/src/libgd/tests/gd/gd_im2im.c [] []
/src/libgd/src/gdfontmb.c [] []
/src/libgd/src/gdtestft.c [] []
/src/libgd/cmake/modules/TestForHighBitCharacters.c [] []
/src/libgd/tests/vector2d/gradient.c [] []
/src/libgd/src/gdcache.c [] []
/src/libgd/src/gd_qoi.h [] []
/src/libgd/src/gdfontt.c [] []
/src/libgd/tests/gdimagerotate/gd223.c [] []
/src/libgd/tests/vector2d/path_structure.c [] []
/src/libgd/tests/gdimagefilter/gdCopyBlurred.c [] []
/src/libgd/src/gd_tga.c [] []
/src/libgd/tests/gdimagecrop/bug00485_auto.c [] []
/src/libgd/tests/gdinterpolatedscale/gdBicubicFixed.c [] []
/src/libgd/src/wbmp.c [] []
/src/libgd/src/gd_version.c [] []
/src/libgd/tests/uhdr/uhdr_metadata_resize.c [] []
/src/libgd/examples/scale_bench.c [] []
/src/libgd/tests/metadata/metadata_core.c [] []
/src/libgd/tests/vector2d/matrix.c [] []
/src/libgd/tests/fuzzing/fuzz_gif_decode.c ['libgd/tests/fuzzing/fuzz_gif_decode.c'] ['libgd/tests/fuzzing/fuzz_gif_decode.c']
/src/libgd/tests/uhdr/uhdr_cli_parity_noop.c [] []
/src/libgd/src/gd_path_arc.c [] []
/src/libgd/src/gdxpm.c [] []
/src/libgd/src/gd_readimage.c [] []
/src/libgd/tests/webp/webp_conformance.c [] []
/src/libgd/tests/tiff/tiff_read_depth.c [] []
/src/libgd/src/gd_wbmp.c [] []
/src/libgd/src/gd_crop.c [] []
/src/libgd/tests/gdimagescale/options_fit.c [] []
/src/libgd/tests/fuzzing/fuzz_webp_decode.c ['libgd/tests/fuzzing/fuzz_webp_decode.c'] ['libgd/tests/fuzzing/fuzz_webp_decode.c']
/src/libgd/src/gd_path.h [] []
/src/libgd/tests/gdinterpolatedscale/scale_flow.c [] []
/src/libgd/src/testac.c [] []
/src/libgd/src/gd_perceptual_diff.c [] []
/src/libgd/tests/png/png_resolution.c [] []
/src/libgd/examples/tiff_pages.c [] []
/src/libgd/tests/gdimagecrop/autocrop_options.c [] []
/src/libgd/tests/gdimagescale/bug00329.c [] []
/src/libgd/examples/jxl_create_anim_vector.c [] []
/src/libgd/src/gd_metadata.c ['libgd/tests/fuzzing/fuzz_jpeg_decode.c'] []
/src/parser_target.cc ['parser_target.cc'] ['parser_target.cc']
/src/libgd/src/gd_text.c [] []
/src/libgd/tests/fuzzing/fuzz_jxl_decode.c ['libgd/tests/fuzzing/fuzz_jxl_decode.c'] ['libgd/tests/fuzzing/fuzz_jxl_decode.c']
/src/libgd/src/gd_interesting.c [] []
/src/libgd/examples/gradient_operators.c [] []
/src/libgd/src/ftraster/gd_ft_math.h [] []
/src/libgd/tests/gdimageline/gdimageline_aa.c [] []
/src/libgd/tests/jpeg/jpeg_im2im.c [] []
/src/libgd/src/gd_matrix.c [] []
/src/libgd/src/gdpp.h [] []
/src/libgd/tests/metadata/png_metadata.c [] []
/src/libgd/tests/png/png_im2im.c [] []
/src/libgd/src/gd_path_stroke.c [] []
/src/libgd/src/gd_io_stream.h [] []
/src/libgd/src/gd_xbm.c [] []
/src/libgd/tests/fuzzing/fuzz_bmp_decode.c ['libgd/tests/fuzzing/fuzz_bmp_decode.c'] ['libgd/tests/fuzzing/fuzz_bmp_decode.c']
/src/libgd/tests/gdimagetruecolortopalette/neuquant_palette_order.c [] []
/src/libgd/examples/crop.c [] []
/src/libgd/src/gd_gd.c [] []
/src/libgd/src/gd_security.c ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c'] ['gd_image_string_fuzzer', 'libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c']
/src/libgd/tests/gdimageaffine/visual.c [] []
/src/libgd/src/gd_gd2.c [] []
/src/libgd/tests/gdimagebrightness/basic.c [] []
/src/libgd/tests/gdimagecontrast/basic.c [] []
/src/libgd/src/gd_color.c [] []
/src/libgd/examples/text_curve.c [] []
/src/libgd/tests/tiff/tiff_write.c [] []
/src/libgd/src/gd_io_stream.cxx [] []
/src/libgd/src/gdfontg.c [] []
/src/libgd/tests/metadata/jpeg_metadata.c [] []
/src/libgd/examples/gif_rewrite.c [] []
/src/libgd/examples/flip.c [] []
/src/libgd/examples/tiff_write_pages.c [] []
/src/libgd/tests/gdimagefile/gdnametest.c [] []
/src/libgd/tests/gdtest/gdtest.c [] []
/src/libgd/src/gd_heif.c [] []
/src/libgd/tests/gif/gif_conformance.c [] []
/src/libgd/src/webpng.c [] []
/src/libgd/src/gd_io_dp.c ['libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c'] ['libgd/tests/fuzzing/fuzz_jxl_decode.c', 'libgd/tests/fuzzing/fuzz_webp_decode.c', 'libgd/tests/fuzzing/fuzz_bmp_decode.c', 'libgd/tests/fuzzing/fuzz_tiff_decode.c', 'libgd/tests/fuzzing/fuzz_jpeg_decode.c', 'libgd/tests/fuzzing/fuzz_gif_decode.c', 'libgd/tests/fuzzing/fuzz_png_decode.c']
/src/libgd/src/gdfx.c [] []
/src/libgd/src/gd_path_dash.c [] []
/src/libgd/src/gd_fixed.h [] []
/src/libgd/src/gd_color_map.c [] []
/src/libgd/tests/qoi/qoi_conformance.c [] []
/src/libgd/src/gd_interpolation.c ['libgd/tests/fuzzing/fuzz_jpeg_decode.c'] []
/src/libgd/tests/uhdr/uhdr_ptr_roundtrip.c [] []
/src/libgd/tests/vector2d/matrix_private.c [] []
/src/libgd/src/ftraster/gd_ft_math.c [] []
/src/libgd/tests/gdimagecopyresampled/bug00201.c [] []
/src/libgd/tests/qoi/qoi_im2im.c [] []
/src/libgd/tests/png/png_write_options.c [] []
/src/libgd/tests/vector2d/text.c [] []
/src/libgd/tests/tiff/tiff_dpi.c [] []
/src/libgd/src/gd_span_rle.c [] []
/src/libgd/tests/gdimagecopyrotated/bug00981_2.c [] []
/src/libgd/tests/vector2d/state_save_restore.c [] []
/src/libgd/src/ftraster/gd_ft_raster.h [] []
/src/libgd/examples/composite_operators.c [] []
/src/gd_image_string_fuzzer.cc ['gd_image_string_fuzzer'] ['gd_image_string_fuzzer']
/src/libgd/tests/tiff/tiff_conformance.c [] []
/src/libgd/src/gdtest.c [] []
/src/libgd/tests/webp/webp_anim.c [] []
/src/libgd/src/gd_ss.c [] []
/src/libgd/src/gd_avif.c [] []
/src/libgd/src/gdfontl.c [] []
/src/libgd/src/gdhelpers.h [] []
/src/libgd/tests/gdimagecopyrotated/bug00320.c [] []

Directories in report

Directory
/src/libgd/src/
/src/libgd/tests/webp/
/src/libgd/tests/jxl/
/src/libgd/tests/gdimagetruecolortopalette/
/src/libgd/tests/gdimagerectangle/
/src/libgd/tests/gdimagefilter/
/src/libgd/tests/vector2d/
/src/libgd/examples/
/src/libgd/tests/gdimagecrop/
/src/libgd/tests/bmp/
/src/libgd/tests/gdimageconvolution/
/src/libgd/tests/gdimagecopyresampled/
/src/libgd/tests/png/
/src/libgd/tests/fuzzing/
/src/libgd/tests/gdimagecolorreplace/
/src/libgd/tests/uhdr/
/src/
/src/libgd/tests/gd2/
/src/libgd/tests/wbmp/
/src/libgd/tests/gdimagecontrast/
/src/libgd/tests/gd/
/src/libgd/tests/metadata/
/src/libgd/tests/gdimageaffine/
/src/libgd/tests/readimage/
/src/libgd/tests/gdinterpolatedscale/
/src/libgd/src/ftraster/
/src/libgd/tests/gdimagescale/
/src/libgd/tests/gdtest/
/src/libgd/tests/gdimagecopyrotated/
/src/libgd/tests/gif/
/src/libgd/tests/freetype/
/src/libgd/tests/qoi/
/src/libgd/tests/tiff/
/src/libgd/tests/gdimagerotate/
/src/libgd/cmake/modules/
/src/libgd/tests/jpeg/
/src/libgd/tests/tga/
/src/libgd/tests/gdimagebrightness/
/src/libgd/tests/gdimageline/
/src/libgd/tests/gdimagefile/
/src/libgd/src/msinttypes/
/src/libgd/tests/gdimagepixelate/
/src/libgd/tests/perceptualdiff/
/src/libgd/tests/gdimageflip/

Metadata section

This sections shows the raw data that is used to produce this report. This is mainly used for further processing and developer debugging.

Fuzzer Calltree file Program data file Coverage file
gd_image_string_fuzzer fuzzerLogFile-gd_image_string_fuzzer.data fuzzerLogFile-gd_image_string_fuzzer.data.yaml gd_image_string_fuzzer.covreport
libgd/tests/fuzzing/fuzz_jxl_decode.c fuzzerLogFile-fuzz_jxl_decode.data fuzzerLogFile-fuzz_jxl_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
libgd/tests/fuzzing/fuzz_webp_decode.c fuzzerLogFile-fuzz_webp_decode.data fuzzerLogFile-fuzz_webp_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
libgd/tests/fuzzing/fuzz_bmp_decode.c fuzzerLogFile-fuzz_bmp_decode.data fuzzerLogFile-fuzz_bmp_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
parser_target.cc fuzzerLogFile-parser_target.data fuzzerLogFile-parser_target.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
libgd/tests/fuzzing/fuzz_uhdr_decode.c fuzzerLogFile-fuzz_uhdr_decode.data fuzzerLogFile-fuzz_uhdr_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
libgd/tests/fuzzing/fuzz_tiff_decode.c fuzzerLogFile-fuzz_tiff_decode.data fuzzerLogFile-fuzz_tiff_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
libgd/tests/fuzzing/fuzz_jpeg_decode.c fuzzerLogFile-fuzz_jpeg_decode.data fuzzerLogFile-fuzz_jpeg_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
libgd/tests/fuzzing/fuzz_gif_decode.c fuzzerLogFile-fuzz_gif_decode.data fuzzerLogFile-fuzz_gif_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport
libgd/tests/fuzzing/fuzz_png_decode.c fuzzerLogFile-fuzz_png_decode.data fuzzerLogFile-fuzz_png_decode.data.yaml png_target.covreport , bmp_target.covreport , tiff_target.covreport , tga_target.covreport , jpeg_target.covreport , gd_target.covreport , gif_target.covreport , webp_target.covreport , wbmp_target.covreport , gd_image_string_fuzzer.covreport , gd2_target.covreport