Project: libjxl

Language c++
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 11
Lines of code 82254
Lines covered 39572
Code coverage 48.11%
Code coverage report Report link
Static reachability 61.49%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
cjxl_fuzzer 21.27% (avg: 21.27%, max: 21.29%) 2025-03-27
color_encoding_fuzzer 80.66% (avg: 80.66%, max: 80.66%) 2025-03-27
decode_basic_info_fuzzer 17.13% (avg: 17.13%, max: 17.13%) 2025-03-27
djxl_fuzzer 76.27% (avg: 76.21%, max: 76.28%) 2025-03-27
fields_fuzzer 25.15% (avg: 25.15%, max: 25.15%) 2025-03-27
icc_codec_fuzzer 7.55% (avg: 7.55%, max: 7.55%) 2025-03-27
jpegli_dec_fuzzer 45.46% (avg: 45.46%, max: 45.46%) 2025-03-27
rans_fuzzer 28.18% (avg: 28.18%, max: 28.18%) 2025-03-27
set_from_bytes_fuzzer 32.94% (avg: 32.8%, max: 33.06%) 2025-03-27
streaming_fuzzer 0% (avg: 0.0%, max: 0%) 2025-03-27
transforms_fuzzer 28.74% (avg: 28.74%, max: 28.74%) 2025-03-27

Historical Progression

Per Fuzzer Progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
(anonymousnamespace)::Run((anonymousnamespace)::FuzzSpecconst&,jpegxl::tools::TrackingMemoryManager&) /src/libjxl/tools/streaming_fuzzer.cc 30847 0.0%
(anonymousnamespace)::Encode((anonymousnamespace)::FuzzSpecconst&,jpegxl::tools::TrackingMemoryManager&,bool) /src/libjxl/tools/streaming_fuzzer.cc 28255 0.0%
JxlEncoderAddChunkedFrame /src/libjxl/lib/jxl/encode.cc 27747 0.0%
JxlEncoderFlushInput /src/libjxl/lib/jxl/encode.cc 25911 0.0%
JxlEncoderAddJPEGFrame /src/libjxl/lib/jxl/encode.cc 13807 0.0%
BrotliEncoderCompress /src/libjxl/third_party/brotli/c/enc/encode.c 12032 0.0%
jxl::jpeg::EncodeJPEGData(JxlMemoryManagerStruct*,jxl::jpeg::JPEGData&,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>*,jxl::CompressParamsconst&)::$_0::operator()(std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>const&,bool)const /src/libjxl/lib/jxl/jpeg/enc_jpeg_data.cc 11963 0.0%
BrotliEncoderCompressStream /src/libjxl/third_party/brotli/c/enc/encode.c 11949 0.0%
jxl::ModularFrameEncoder::ComputeEncodingData(jxl::FrameHeaderconst&,jxl::ImageMetadataconst&,jxl::Image3<float>*,std::__1::vector<jxl::Plane<float>,std::__1::allocator<jxl::Plane<float>>>const&,jxl::RectT<unsignedlong>const&,jxl::FrameDimensionsconst&,jxl::RectT<unsignedlong>const&,jxl::PassesEncoderState*,JxlCmsInterfaceconst&,jxl::ThreadPool*,jxl::AuxOut*,bool) /src/libjxl/lib/jxl/enc_modular.cc 11840 8.053%
jxl::RoundtripPatchFrame(jxl::Image3<float>*,jxl::PassesEncoderState*,int,jxl::CompressParams&,JxlCmsInterfaceconst&,jxl::ThreadPool*,jxl::AuxOut*,bool) /src/libjxl/lib/jxl/enc_patch_dictionary.cc 11840 8.053%