Fuzz introspector: libgd/tests/fuzzing/fuzz_jxl_decode.c
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

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

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 gdImageCreateFromJxlPtr [function] [call site] 00001
2 gdImageCreateFromJxlCtx [function] [call site] 00012
3 JxlDecoderCreate [function] [call site] 00024
3 JxlDecoderSubscribeEvents [function] [call site] 00027
3 JxlDecoderSetCms [function] [call site] 00028
3 JxlGetDefaultCms [function] [call site] 00029
3 JxlColorEncodingSetToSRGB [function] [call site] 00030
3 JxlDecoderSetPreferredColorProfile [function] [call site] 00031
3 JxlDecoderSetInput [function] [call site] 00032
3 JxlDecoderCloseInput [function] [call site] 00033
3 JxlDecoderProcessInput [function] [call site] 00034
3 JxlDecoderGetBasicInfo [function] [call site] 00035
3 overflow2 [function] [call site] 00038
4 gd_error_ex [function] [call site] 00043
3 overflow2 [function] [call site] 00044
3 JxlDecoderSetImageOutBuffer [function] [call site] 00048
3 JxlImageFromRGBA [function] [call site] 00052
4 gdImageAlphaBlending [function] [call site] 00066
4 gdImageSaveAlpha [function] [call site] 00067
4 gdTrueColorAlpha [function] [call site] 00068
4 JxlAlphaJxlToGd [function] [call site] 00069
3 JxlDecoderDestroy [function] [call site] 00073
3 JxlDecoderDestroy [function] [call site] 00076
2 gdIOCtx*::gd_free [function] [call site] 00077