Project: qpdf

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 30
Lines of code 43642
Lines covered 22839
Code coverage 52.33%
Code coverage report Report link
Static reachability 56.19%
Fuzz Introspector report Report link (from 2024-12-12)

Historical 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
FuzzHelper::testWrite() /src/qpdf/fuzz/qpdf_crypt_insecure_fuzzer.cc 10877 0.0%
FuzzHelper::doWrite(std::__1::shared_ptr<QPDFWriter>) /src/qpdf/fuzz/qpdf_crypt_insecure_fuzzer.cc 9873 0.0%
QPDFPageObjectHelper::flattenRotation(QPDFAcroFormDocumentHelper*) /src/qpdf/libqpdf/QPDFPageObjectHelper.cc 8943 0.0%
QPDFPageObjectHelper::copyAnnotations(QPDFPageObjectHelper,QPDFMatrixconst&,QPDFAcroFormDocumentHelper*,QPDFAcroFormDocumentHelper*) /src/qpdf/libqpdf/QPDFPageObjectHelper.cc 8709 0.0%
QPDFAcroFormDocumentHelper::fixCopiedAnnotations(QPDFObjectHandle,QPDFObjectHandle,QPDFAcroFormDocumentHelper&,std::__1::set<QPDFObjGen,std::__1::less<QPDFObjGen>,std::__1::allocator<QPDFObjGen>>*) /src/qpdf/libqpdf/QPDFAcroFormDocumentHelper.cc 8687 0.0%
QPDFAcroFormDocumentHelper::transformAnnotations(QPDFObjectHandle,std::__1::vector<QPDFObjectHandle,std::__1::allocator<QPDFObjectHandle>>&,std::__1::vector<QPDFObjectHandle,std::__1::allocator<QPDFObjectHandle>>&,std::__1::set<QPDFObjGen,std::__1::less<QPDFObjGen>,std::__1::allocator<QPDFObjGen>>&,QPDFMatrixconst&,QPDF*,QPDFAcroFormDocumentHelper*) /src/qpdf/libqpdf/QPDFAcroFormDocumentHelper.cc 8542 0.0%
QPDF::showLinearizationData() /src/qpdf/libqpdf/QPDF_linearization.cc 7376 0.0%
QPDF::checkLinearization() /src/qpdf/libqpdf/QPDF_linearization.cc 7295 0.0%
QPDFWriter::getFinalVersion() /src/qpdf/libqpdf/QPDFWriter.cc 7166 0.0%
QPDF::processFile(charconst*,charconst*) /src/qpdf/libqpdf/QPDF.cc 7025 0.0%