2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-08 06:15:23 +00:00
qpdf/libqpdf
Jay Berkenbilt 65bd8bc57d Add DCT decompression config methods in favor of compile-time changes
As a rule, we should avoid conditional compilation is it always causes
code paths that are sometimes not even seen lexically by the compiler.
Also, we want the actual code being fuzzed to be as close as possible
to the real code. Conditional compilation is suitable to handle
underlying system differences.

Instead, favor configuration using callbacks or other methods that can
be triggered in the places where they need to be exercised.
2024-07-03 15:43:38 +01:00
..
qpdf In QPDF::filterCompressedObjects ignore objects not in QPDFWriter tables 2024-04-30 10:46:06 +01:00
sph Remove accidentally committed file 2022-04-09 14:37:00 -04:00
AES_PDF_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
BitStream.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
BitWriter.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
Buffer.cc Add Buffer constructors taking std::string parameters 2023-11-26 12:26:44 +00:00
BufferInputSource.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
ClosedFileInputSource.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
CMakeLists.txt Install cmake files with dev component 2023-12-09 06:28:13 -05:00
ContentNormalizer.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
CryptoRandomDataProvider.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
FileInputSource.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
InputSource.cc Code tidy - Clang-Tidy rule modernize-return-braced-init-list 2023-06-09 15:35:56 +01:00
InsecureRandomDataProvider.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
JSON.cc Add new private class JSON::Writer 2024-02-16 10:32:41 +00:00
JSONHandler.cc JSONHandler: add fallback handler support 2024-01-11 06:13:57 -05:00
MD5_native.cc Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
MD5.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
NNTree.cc Code tidy - Clang-Tidy rule performance-for-range-copy 2023-06-09 15:55:49 +01:00
OffsetInputSource.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
PDFVersion.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pipeline.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pl_AES_PDF.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_ASCII85Decoder.cc ascii85: ignore whitespace between ~ and > (fixes #973) 2023-09-03 13:56:34 -04:00
Pl_ASCIIHexDecoder.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_Base64.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pl_Buffer.cc Add Buffer constructors taking std::string parameters 2023-11-26 12:26:44 +00:00
Pl_Concatenate.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_Count.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_DCT.cc Add DCT decompression config methods in favor of compile-time changes 2024-07-03 15:43:38 +01:00
Pl_Discard.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_Flate.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_Function.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_LZWDecoder.cc Add new Buffer method copy and deprecate copy constructor / assignment operator 2023-06-17 17:18:31 +01:00
Pl_MD5.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_OStream.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_PNGFilter.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_QPDFTokenizer.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_RC4.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pl_RunLength.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_SHA2.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_StdioFile.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_String.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_TIFFPredictor.cc In Pl_TIFFPredictor::processRow buffer output 2024-01-27 17:16:53 +00:00
QPDF_Array.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Bool.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Destroyed.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Dictionary.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_encryption.cc In QPDF::pipeStreamData use unique_ptr as heap 2023-11-26 13:06:12 +00:00
QPDF_InlineImage.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Integer.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_json.cc Refactor QPDF::writeJSON 2024-02-16 12:00:37 +00:00
QPDF_linearization.cc In QPDFWriter::writeLinearized use object table obj in call to getLinearizedParts 2024-03-08 10:41:24 +00:00
QPDF_Name.cc Tweak pull request contribution on fixing non-standard basic_string_view 2024-03-03 13:40:59 -05:00
QPDF_Null.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Operator.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_optimization.cc Format code 2024-06-07 08:07:51 -04:00
QPDF_pages.cc Check for missing mediaboxes 2023-07-29 13:16:40 +01:00
QPDF_Real.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Reserved.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Stream.cc Add new method QPDF_Stream::writeStreamJSON 2024-02-16 11:37:50 +00:00
QPDF_String.cc Format code 2024-02-24 10:29:41 -05:00
QPDF_Unresolved.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
qpdf-c.cc Allow regular C++ functions to interoperate with the C API 2023-12-16 10:06:34 -05:00
QPDF.cc Add DCT decompression config methods in favor of compile-time changes 2024-07-03 15:43:38 +01:00
QPDFAcroFormDocumentHelper.cc Remove --disable-signatures; incorporate into --remove-restrictions 2023-12-24 07:36:07 -05:00
QPDFAnnotationObjectHelper.cc Fix comment formatting and update notes 2023-12-29 13:16:01 -05:00
QPDFArgParser.cc Quote program name in completion output (fixes #1021) 2023-09-03 10:13:17 -04:00
QPDFCrypto_gnutls.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFCrypto_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFCrypto_openssl.cc Code tidy - Clang-Tidy rule modernize-return-braced-init-list 2023-06-09 15:35:56 +01:00
QPDFCryptoProvider.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFDocumentHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFEFStreamObjectHelper.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFEmbeddedFileDocumentHelper.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFExc.cc Remove unused include directives 2023-05-20 15:37:41 +01:00
QPDFFileSpecObjectHelper.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFFormFieldObjectHelper.cc Fix previous fix to setting checkbox value (fixes #1056) 2024-02-11 15:49:44 -05:00
QPDFJob_argv.cc Allow --file and --range with --pages 2024-01-10 16:44:17 -05:00
QPDFJob_config.cc set page labels: detect start page < 1 (fixes #939) 2024-02-17 16:13:42 -05:00
QPDFJob_json.cc Remove extraneous blank lines 2024-01-15 11:07:49 -05:00
qpdfjob-c.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFJob.cc Handle null form field from annotation (fixes #1189) 2024-06-18 08:51:15 -04:00
qpdflogger-c.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFLogger.cc Code tidy - Clang-Tidy rule modernize-use-default-member-init 2023-06-09 15:43:21 +01:00
QPDFMatrix.cc Code tidy - Clang-Tidy rule modernize-return-braced-init-list 2023-06-09 15:35:56 +01:00
QPDFNameTreeObjectHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFNumberTreeObjectHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFObject.cc Rename QPDFValueProxy back to QPDFObject 2022-09-08 11:29:23 -04:00
QPDFObjectHandle.cc Format code 2024-02-24 10:29:41 -05:00
QPDFObjectHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFObjGen.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFOutlineDocumentHelper.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFOutlineObjectHelper.cc In QPDFOutlineObjectHelper detect loops in direct children 2024-06-29 12:38:07 +01:00
QPDFPageDocumentHelper.cc Preserve annotations that inherently lack appearance (fixes #1039) 2023-12-29 13:40:08 -05:00
QPDFPageLabelDocumentHelper.cc Remove explicit type from PageLabel dictionary 2024-01-06 17:20:55 -05:00
QPDFPageObjectHelper.cc Format code, bump clang-format version to 18 2023-12-22 21:45:10 -05:00
QPDFParser.cc Format code 2024-02-04 16:12:01 -05:00
QPDFStreamFilter.cc Implement user-provided stream filters 2020-12-28 12:58:19 -05:00
QPDFSystemError.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFTokenizer.cc Don't lose character after \d or \dd parsing string (fixes #1050) 2023-10-14 17:12:56 -04:00
QPDFUsage.cc Use QPDFUsage exception for cli, json, and QPDFJob errors 2022-01-30 13:11:03 -05:00
QPDFValue.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFWriter.cc In QPDF check for page tree after reading xref table 2024-06-25 15:18:54 +01:00
QPDFXRefEntry.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QTC.cc Rerun format_code (after merging clang-tidy PR) 2023-05-20 14:52:19 -04:00
QUtil.cc Further refactor QUtil::call_main_from_wmain 2024-05-17 10:31:50 +01:00
RC4_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
RC4.cc Rerun format_code (after merging clang-tidy PR) 2023-05-20 14:52:19 -04:00
ResourceFinder.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
rijndael.cc Format code 2023-07-09 09:59:55 -04:00
SecureRandomDataProvider.cc Move random number device check to runtime (fixes #1022) 2023-09-03 09:36:13 -04:00
SF_FlateLzwDecode.cc Change default for SF_FlateLzwDecode::columns to 1 2023-11-23 01:51:38 +00:00
sha2.c Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
sha2big.c Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
SHA2_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00