Fuzz introspector: gif_target
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
10 10 3 :

['gdAlphaBlend', 'gdLayerOverlay', 'gdLayerMultiply']

10 10 gdImageSetPixel call site: 00085 /src/libgd/src/gd.c:1286
0 2 1 :

['gdMalloc']

0 2 allocDynamic call site: 00006 /src/libgd/src/gd_io_dp.c:327
0 0 None 0 204 gdImageCreateFromGifPtr call site: 00002 /src/libgd/src/gd_gif_in.c:183
0 0 None 0 14 gdImageCreate call site: 00056 /src/libgd/src/gd.c:198
0 0 None 0 10 gdImageCreate call site: 00058 /src/libgd/src/gd.c:204
0 0 None 0 10 gdImageCreate call site: 00060 /src/libgd/src/gd.c:217
0 0 None 0 10 gdImageDestroy call site: 00067 /src/libgd/src/gd.c:396
0 0 None 0 6 gdImageDestroy call site: 00068 /src/libgd/src/gd.c:402
0 0 None 0 4 gdFreeDynamicCtx call site: 00031 /src/libgd/src/gd_io_dp.c:158
0 0 None 0 0 gdImageCreate call site: 00055 /src/libgd/src/gd.c:193
0 0 None 0 0 gdImageColorTransparent call site: 00114 /src/libgd/src/gd.c:904
0 0 None 0 0 gdImageColorTransparent call site: 00114 /src/libgd/src/gd.c:909

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 gdImageCreateFromGifPtr [function] [call site] 00001
2 gdNewDynamicCtxEx [function] [call site] 00002
3 dynamicGetchar [function] [call site] 00010
4 dynamicGetbuf [function] [call site] 00011
3 dynamicPutchar [function] [call site] 00012
4 appendDynamic [function] [call site] 00013
5 overflow2 [function] [call site] 00014
6 gd_error_ex [function] [call site] 00015
7 _gd_error_ex [function] [call site] 00016
6 gd_error_ex [function] [call site] 00017
5 gdReallocDynamic [function] [call site] 00018
6 gdRealloc [function] [call site] 00019
7 realloc [call site] 00020
3 dynamicGetbuf [function] [call site] 00023
3 dynamicPutbuf [function] [call site] 00024
4 appendDynamic [function] [call site] 00025
3 dynamicSeek [function] [call site] 00026
4 overflow2 [function] [call site] 00027
4 gdReallocDynamic [function] [call site] 00028
3 dynamicTell [function] [call site] 00029
2 gdImageCreateFromGifCtx [function] [call site] 00034
3 strncmp [call site] 00036
3 memcmp [call site] 00037
3 memcmp [call site] 00038
3 ReadColorMap [function] [call site] 00040
3 DoExtension [function] [call site] 00044
4 GetDataBlock [function] [call site] 00045
5 GetDataBlock_ [function] [call site] 00046
4 GetDataBlock [function] [call site] 00049
4 GetDataBlock [function] [call site] 00050
3 ReadColorMap [function] [call site] 00064
3 ReadImage [function] [call site] 00072
4 LWZReadByte [function] [call site] 00083
4 gdImageSetPixel [function] [call site] 00084
5 gdImageSetPixel [function] [call site] 00085
6 gdImageSetPixel [function] [call site] 00086
7 gdImageBrushApply [function] [call site] 00087
8 gdImageGetTrueColorPixel [function] [call site] 00088
9 gdImageGetPixel [function] [call site] 00089
8 gdImageSetPixel [function] [call site] 00090
9 gdImageTileApply [function] [call site] 00091
10 gdImageGetPixel [function] [call site] 00092
10 gdImageSetPixel [function] [call site] 00093
11 gdImageSetPixel [function] [call site] 00094
12 gdAlphaBlend [function] [call site] 00095
12 gdLayerOverlay [function] [call site] 00096
13 gdAlphaOverlayColor [function] [call site] 00097
13 gdAlphaOverlayColor [function] [call site] 00098
13 gdAlphaOverlayColor [function] [call site] 00099
12 gdLayerMultiply [function] [call site] 00100
10 gdImageGetPixel [function] [call site] 00101
10 gdImageColorResolveAlpha [function] [call site] 00102
10 gdImageSetPixel [function] [call site] 00103
10 gdImageSetPixel [function] [call site] 00104
8 gdImageGetPixel [function] [call site] 00105
8 gdImageGetTrueColorPixel [function] [call site] 00106
8 gdImageSetPixel [function] [call site] 00107
8 gdImageGetPixel [function] [call site] 00108
8 gdImageColorResolveAlpha [function] [call site] 00109
8 gdImageSetPixel [function] [call site] 00110
8 gdImageSetPixel [function] [call site] 00111
4 LWZReadByte [function] [call site] 00112
3 ReadImage [function] [call site] 00113
3 gdImageColorTransparent [function] [call site] 00114
3 gdImageDestroy [function] [call site] 00115
1 gdImageDestroy [function] [call site] 00116