name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
(anonymous namespace)::ArgParser::argEncUserPassword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void ArgParser::argEncUserPassword(std::string const& arg) { if (!accumulated_args.empty()) { usage("positional and dashed encryption arguments may not be mixed"); } this->used_enc_password_args = true; this->user_password = arg; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x70(%rdi), %rax cmpq 0x78(%rdi), %rax je 0xed48e leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xd5741(%rip), %rsi # 0x1c2b99 leaq 0xd5775(%rip), %rdx # 0x1c2bd4 leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x68bb0 movq %r14, %rdi movq %r15, %rsi callq 0xb3958 movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0xed48e movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movb $0x1, 0xca(%r14) addq $0x88, %r14 movq %r14, %rdi movq %rbx, %rsi callq 0x6e940 addq $0x28, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0xed4ce movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_argv.cc
(anonymous namespace)::ArgParser::argEncBits(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void ArgParser::argEncBits(std::string const& arg) { if (!accumulated_args.empty()) { usage("positional and dashed encryption arguments may not be mixed"); } int keylen = 0; if (arg == "40") { keylen = 40; this->ap.selectOptionTable(O_40_BIT_ENCRYPTION); } else if (arg == "128") { keylen = 128; this->ap.selectOptionTable(O_128_BIT_ENCRYPTION); } else if (arg == "256") { keylen = 256; this->ap.selectOptionTable(O_256_BIT_ENCRYPTION); } else { usage("encryption key length must be 40, 128, or 256"); } this->c_enc = c_main->encrypt(keylen, user_password, owner_password); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x70(%rdi), %rax cmpq 0x78(%rdi), %rax je 0xed5d9 leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xd55f0(%rip), %rsi # 0x1c2b99 leaq 0xd5624(%rip), %rdx # 0x1c2bd4 movq %rsp, %rdi callq 0x68bb0 movq %rsp, %rsi movq %rbx, %rdi callq 0xb3958 movq (%rsp), %rdi cmpq %r15, %rdi je 0xed5d9 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 leaq 0xd4f33(%rip), %rsi # 0x1c2513 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xed661 leaq 0xd4f23(%rip), %rsi # 0x1c2516 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xed6ab leaq 0xd55f5(%rip), %rsi # 0x1c2bff movq %r14, %rdi callq 0x6d210 leaq 0x10(%rsp), %r14 testl %eax, %eax je 0xed6f2 movq %r14, -0x10(%r14) leaq 0xd55ab(%rip), %rsi # 0x1c2bd5 leaq 0xd55d1(%rip), %rdx # 0x1c2c02 movq %rsp, %rdi callq 0x68bb0 movq %rsp, %rsi movq %rbx, %rdi callq 0xb3958 movq (%rsp), %rdi cmpq %r14, %rdi je 0xed65a movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 xorl %edx, %edx jmp 0xed732 leaq 0x10(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xd4f0d(%rip), %rsi # 0x1c257e leaq 0xd4f17(%rip), %rdx # 0x1c258f movq %rsp, %rdi callq 0x68bb0 movq %rsp, %rsi movq %rbx, %rdi callq 0xb2db0 movq (%rsp), %rdi cmpq %r14, %rdi je 0xed6a1 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movl $0x28, %edx jmp 0xed732 leaq 0x10(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xdbb21(%rip), %rsi # 0x1c91dc leaq 0xdbb2c(%rip), %rdx # 0x1c91ee movq %rsp, %rdi callq 0x68bb0 movq %rsp, %rsi movq %rbx, %rdi callq 0xb2db0 movq (%rsp), %rdi cmpq %r14, %rdi je 0xed6eb movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movl $0x80, %edx jmp 0xed732 movq %r14, -0x10(%r14) leaq 0xd4e93(%rip), %rsi # 0x1c2590 leaq 0xd4e9e(%rip), %rdx # 0x1c25a2 movq %rsp, %rdi callq 0x68bb0 movq %rsp, %rsi movq %rbx, %rdi callq 0xb2db0 movq (%rsp), %rdi cmpq %r14, %rdi je 0xed72d movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movl $0x100, %edx # imm = 0x100 movq 0x10(%rbx), %rsi leaq 0x88(%rbx), %rcx leaq 0xa8(%rbx), %r8 movq %rsp, %r14 movq %r14, %rdi callq 0x69a30 movaps (%r14), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%r14) movq 0x68(%rbx), %rdi movups %xmm0, 0x60(%rbx) testq %rdi, %rdi je 0xed76c callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0xed77b callq 0x69d60 addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq jmp 0xed791 jmp 0xed7bc jmp 0xed791 jmp 0xed7bc jmp 0xed791 jmp 0xed7bc movq %rax, %rbx movq (%rsp), %rdi cmpq %r14, %rdi jne 0xed7ad jmp 0xed7bf jmp 0xed7bc movq %rax, %rbx movq (%rsp), %rdi cmpq %r15, %rdi je 0xed7bf movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xed7bf movq %rax, %rbx movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_argv.cc
add_help_2(QPDFArgParser&)
static void add_help_2(QPDFArgParser& ap) { ap.addOptionHelp("--verbose", "general", "print additional information", R"(Output additional information about various things qpdf is doing, including information about files created and operations performed. )"); ap.addOptionHelp("--progress", "general", "show progress when writing", R"(Indicate progress when writing files. )"); ap.addOptionHelp("--no-warn", "general", "suppress printing of warning messages", R"(Suppress printing of warning messages. If warnings were encountered, qpdf still exits with exit status 3. Use --warning-exit-0 with --no-warn to completely ignore warnings. )"); ap.addOptionHelp("--deterministic-id", "general", "generate ID deterministically", R"(Generate a secure, random document ID only using static information, such as the page contents. Does not use the file's name or attributes or the current time. )"); ap.addOptionHelp("--allow-weak-crypto", "general", "allow insecure cryptographic algorithms", R"(Allow creation of files with weak cryptographic algorithms. This option is necessary to create 40-bit files or 128-bit files that use RC4 encryption. )"); ap.addOptionHelp("--keep-files-open", "general", "manage keeping multiple files open", R"(--keep-files-open=[y|n] When qpdf needs to work with many files, as when merging large numbers of files, explicitly indicate whether files should be kept open. The default behavior is to determine this based on the number of files. )"); ap.addOptionHelp("--keep-files-open-threshold", "general", "set threshold for --keep-files-open", R"(--keep-files-open-threshold=count Set the threshold used by --keep-files-open, overriding the default value of 200. )"); ap.addHelpTopic("advanced-control", "tweak qpdf's behavior", R"(Advanced control options control qpdf's behavior in ways that would normally never be needed by a user but that may be useful to developers or people investigating problems with specific files. )"); ap.addOptionHelp("--password-is-hex-key", "advanced-control", "provide hex-encoded encryption key", R"(Provide the underlying file encryption key as a hex-encoded string rather than supplying a password. This is an expert option. )"); ap.addOptionHelp("--suppress-password-recovery", "advanced-control", "don't try different password encodings", R"(Suppress qpdf's usual behavior of attempting different encodings of a password that contains non-ASCII Unicode characters if the first attempt doesn't succeed. )"); ap.addOptionHelp("--password-mode", "advanced-control", "tweak how qpdf encodes passwords", R"(--password-mode=mode Fine-tune how qpdf controls encoding of Unicode passwords. Valid options are auto, bytes, hex-bytes, and unicode. )"); ap.addOptionHelp("--suppress-recovery", "advanced-control", "suppress error recovery", R"(Avoid attempting to recover when errors are found in a file's cross reference table or stream lengths. )"); ap.addOptionHelp("--ignore-xref-streams", "advanced-control", "use xref tables rather than streams", R"(Ignore any cross-reference streams in the file, falling back to cross-reference tables or triggering document recovery. )"); ap.addHelpTopic("transformation", "make structural PDF changes", R"(The options below tell qpdf to apply transformations that change the structure without changing the content. )"); ap.addOptionHelp("--linearize", "transformation", "linearize (web-optimize) output", R"(Create linearized (web-optimized) output files. )"); ap.addOptionHelp("--encrypt", "transformation", "start encryption options", R"(--encrypt [options] -- Run qpdf --help=encryption for details. )"); ap.addOptionHelp("--decrypt", "transformation", "remove encryption from input file", R"(Create an unencrypted output file even if the input file was encrypted. Normally qpdf preserves whatever encryption was present on the input file. This option overrides that behavior. )"); ap.addOptionHelp("--remove-restrictions", "transformation", "remove security restrictions from input file", R"(Remove restrictions associated with digitally signed PDF files. This may be combined with --decrypt to allow free editing of previously signed/encrypted files. This option invalidates and disables any digital signatures but leaves their visual appearances intact. )"); ap.addOptionHelp("--copy-encryption", "transformation", "copy another file's encryption details", R"(--copy-encryption=file Copy encryption details from the specified file instead of preserving the input file's encryption. Use --encryption-file-password to specify the encryption file's password. )"); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rdi, %rbx leaq 0x50(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xcf59c(%rip), %rsi # 0x1c39e2 leaq 0xcf59e(%rip), %rdx # 0x1c39eb leaq 0x40(%rsp), %rdi callq 0x68bb0 leaq 0x30(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xcf390(%rip), %rsi # 0x1c37f7 leaq 0xcf390(%rip), %rdx # 0x1c37fe leaq 0x20(%rsp), %rdi callq 0x68bb0 leaq 0x10(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xcf563(%rip), %rsi # 0x1c39ec leaq 0xcf578(%rip), %rdx # 0x1c3a08 movq %rsp, %rdi callq 0x68bb0 leaq 0x70(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xcf561(%rip), %rsi # 0x1c3a09 leaq 0xcf5e0(%rip), %rdx # 0x1c3a8f leaq 0x60(%rsp), %rdi callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf44ea movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4500 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4517 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf452e movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf553(%rip), %rsi # 0x1c3a90 leaq 0xcf556(%rip), %rdx # 0x1c3a9a callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf29f(%rip), %rsi # 0x1c37f7 leaq 0xcf29f(%rip), %rdx # 0x1c37fe callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf52a(%rip), %rsi # 0x1c3a9b leaq 0xcf53d(%rip), %rdx # 0x1c3ab5 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf52a(%rip), %rsi # 0x1c3ab6 leaq 0xcf549(%rip), %rdx # 0x1c3adc callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf45c9 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf45df movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf45f6 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf460d movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4c1(%rip), %rsi # 0x1c3add leaq 0xcf4c3(%rip), %rdx # 0x1c3ae6 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf1c0(%rip), %rsi # 0x1c37f7 leaq 0xcf1c0(%rip), %rdx # 0x1c37fe callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf497(%rip), %rsi # 0x1c3ae7 leaq 0xcf4b5(%rip), %rdx # 0x1c3b0c callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4a2(%rip), %rsi # 0x1c3b0d leaq 0xcf548(%rip), %rdx # 0x1c3bba callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf46a8 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf46be movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf46d5 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf46ec movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4c0(%rip), %rsi # 0x1c3bbb leaq 0xcf4cb(%rip), %rdx # 0x1c3bcd callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf0e1(%rip), %rsi # 0x1c37f7 leaq 0xcf0e1(%rip), %rdx # 0x1c37fe callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf49f(%rip), %rsi # 0x1c3bce leaq 0xcf4b5(%rip), %rdx # 0x1c3beb callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4a2(%rip), %rsi # 0x1c3bec leaq 0xcf53b(%rip), %rdx # 0x1c3c8c callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4787 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf479d movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf47b4 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf47cb movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4b3(%rip), %rsi # 0x1c3c8d leaq 0xcf4bf(%rip), %rdx # 0x1c3ca0 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf002(%rip), %rsi # 0x1c37f7 leaq 0xcf002(%rip), %rdx # 0x1c37fe callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf493(%rip), %rsi # 0x1c3ca1 leaq 0xcf4b3(%rip), %rdx # 0x1c3cc8 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4a0(%rip), %rsi # 0x1c3cc9 leaq 0xcf52f(%rip), %rdx # 0x1c3d5f callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4866 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf487c movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4893 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf48aa movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf5e2(%rip), %rsi # 0x1c3e9b leaq 0xcf5ec(%rip), %rdx # 0x1c3eac callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcef23(%rip), %rsi # 0x1c37f7 leaq 0xcef23(%rip), %rdx # 0x1c37fe callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf473(%rip), %rsi # 0x1c3d60 leaq 0xcf48e(%rip), %rdx # 0x1c3d82 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf47b(%rip), %rsi # 0x1c3d83 leaq 0xcf55d(%rip), %rdx # 0x1c3e6c callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4945 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf495b movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4972 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4989 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4d5(%rip), %rsi # 0x1c3e6d leaq 0xcf4e9(%rip), %rdx # 0x1c3e88 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcee44(%rip), %rsi # 0x1c37f7 leaq 0xcee44(%rip), %rdx # 0x1c37fe callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf4bd(%rip), %rsi # 0x1c3e89 leaq 0xcf4d9(%rip), %rdx # 0x1c3eac callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4c6(%rip), %rsi # 0x1c3ead leaq 0xcf534(%rip), %rdx # 0x1c3f22 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4a24 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4a3a movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4a51 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4a68 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4ac(%rip), %rsi # 0x1c3f23 leaq 0xcf4b5(%rip), %rdx # 0x1c3f33 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf4a2(%rip), %rsi # 0x1c3f34 leaq 0xcf4b0(%rip), %rdx # 0x1c3f49 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf49f(%rip), %rsi # 0x1c3f4a leaq 0xcf55a(%rip), %rdx # 0x1c400c callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx movq %rbx, %rdi callq 0xb5c04 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4ae2 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4af9 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4b10 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4ee(%rip), %rsi # 0x1c400d leaq 0xcf4fc(%rip), %rdx # 0x1c4022 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf3e9(%rip), %rsi # 0x1c3f23 leaq 0xcf3f2(%rip), %rdx # 0x1c3f33 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf4d0(%rip), %rsi # 0x1c4023 leaq 0xcf4eb(%rip), %rdx # 0x1c4045 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4d8(%rip), %rsi # 0x1c4046 leaq 0xcf550(%rip), %rdx # 0x1c40c5 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4bab movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4bc1 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4bd8 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4bef movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4c8(%rip), %rsi # 0x1c40c6 leaq 0xcf4dd(%rip), %rdx # 0x1c40e2 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf30a(%rip), %rsi # 0x1c3f23 leaq 0xcf313(%rip), %rdx # 0x1c3f33 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf4b1(%rip), %rsi # 0x1c40e3 leaq 0xcf4d0(%rip), %rdx # 0x1c4109 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4bd(%rip), %rsi # 0x1c410a leaq 0xcf556(%rip), %rdx # 0x1c41aa callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4c8a movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4ca0 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4cb7 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4cce movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4ce(%rip), %rsi # 0x1c41ab leaq 0xcf4d6(%rip), %rdx # 0x1c41ba callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf22b(%rip), %rsi # 0x1c3f23 leaq 0xcf234(%rip), %rdx # 0x1c3f33 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf4aa(%rip), %rsi # 0x1c41bb leaq 0xcf4c3(%rip), %rdx # 0x1c41db callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4b0(%rip), %rsi # 0x1c41dc leaq 0xcf531(%rip), %rdx # 0x1c4264 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4d69 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4d7f movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4d96 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4dad movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4a9(%rip), %rsi # 0x1c4265 leaq 0xcf4b5(%rip), %rdx # 0x1c4278 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf14c(%rip), %rsi # 0x1c3f23 leaq 0xcf155(%rip), %rdx # 0x1c3f33 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf489(%rip), %rsi # 0x1c4279 leaq 0xcf499(%rip), %rdx # 0x1c4290 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf486(%rip), %rsi # 0x1c4291 leaq 0xcf4e6(%rip), %rdx # 0x1c42f8 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4e48 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4e5e movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4e75 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4e8c movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf45e(%rip), %rsi # 0x1c42f9 leaq 0xcf46c(%rip), %rdx # 0x1c430e callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf06d(%rip), %rsi # 0x1c3f23 leaq 0xcf076(%rip), %rdx # 0x1c3f33 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf440(%rip), %rsi # 0x1c430f leaq 0xcf45c(%rip), %rdx # 0x1c4332 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf449(%rip), %rsi # 0x1c4333 leaq 0xcf4ba(%rip), %rdx # 0x1c43ab callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf4f27 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4f3d movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4f54 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf4f6b movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf432(%rip), %rsi # 0x1c43ac leaq 0xcf439(%rip), %rdx # 0x1c43ba callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf426(%rip), %rsi # 0x1c43bb leaq 0xcf43a(%rip), %rdx # 0x1c43d6 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf429(%rip), %rsi # 0x1c43d7 leaq 0xcf48f(%rip), %rdx # 0x1c4444 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx movq %rbx, %rdi callq 0xb5c04 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf4fe5 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf4ffc movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf5013 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf423(%rip), %rsi # 0x1c4445 leaq 0xcf427(%rip), %rdx # 0x1c4450 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf36f(%rip), %rsi # 0x1c43ac leaq 0xcf376(%rip), %rdx # 0x1c43ba callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf3fb(%rip), %rsi # 0x1c4451 leaq 0xcf413(%rip), %rdx # 0x1c4470 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf400(%rip), %rsi # 0x1c4471 leaq 0xcf429(%rip), %rdx # 0x1c44a1 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf50ae movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf50c4 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf50db movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf50f2 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf3a1(%rip), %rsi # 0x1c44a2 leaq 0xcf3a3(%rip), %rdx # 0x1c44ab callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf290(%rip), %rsi # 0x1c43ac leaq 0xcf297(%rip), %rdx # 0x1c43ba callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf377(%rip), %rsi # 0x1c44ac leaq 0xcf388(%rip), %rdx # 0x1c44c4 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf375(%rip), %rsi # 0x1c44c5 leaq 0xcf3ae(%rip), %rdx # 0x1c4505 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf518d movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf51a3 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf51ba movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf51d1 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf326(%rip), %rsi # 0x1c4506 leaq 0xcf328(%rip), %rdx # 0x1c450f callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf1b1(%rip), %rsi # 0x1c43ac leaq 0xcf1b8(%rip), %rdx # 0x1c43ba callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf2fc(%rip), %rsi # 0x1c4510 leaq 0xcf316(%rip), %rdx # 0x1c4531 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf303(%rip), %rsi # 0x1c4532 leaq 0xcf3b4(%rip), %rdx # 0x1c45ea callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf526c movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf5282 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf5299 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf52b0 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf32c(%rip), %rsi # 0x1c45eb leaq 0xcf33a(%rip), %rdx # 0x1c4600 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf0d2(%rip), %rsi # 0x1c43ac leaq 0xcf0d9(%rip), %rdx # 0x1c43ba callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf30e(%rip), %rsi # 0x1c4601 leaq 0xcf333(%rip), %rdx # 0x1c462d callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf320(%rip), %rsi # 0x1c462e leaq 0xcf421(%rip), %rdx # 0x1c4736 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf534b movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf5361 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf5378 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf538f movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf4b5(%rip), %rsi # 0x1c4853 leaq 0xcf4bf(%rip), %rdx # 0x1c4864 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xceff3(%rip), %rsi # 0x1c43ac leaq 0xceffa(%rip), %rdx # 0x1c43ba callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf365(%rip), %rsi # 0x1c4737 leaq 0xcf384(%rip), %rdx # 0x1c475d callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf371(%rip), %rsi # 0x1c475e leaq 0xcf42f(%rip), %rdx # 0x1c4823 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf542a movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf5440 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf5457 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf546e movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 addq $0x80, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 retq jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 jmp 0xf55e9 jmp 0xf5605 jmp 0xf5620 jmp 0xf563c jmp 0xf5658 movq %rax, %rbx movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf5608 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf5608 movq %rax, %rbx movq (%rsp), %rdi cmpq %r12, %rdi je 0xf5623 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf5623 movq %rax, %rbx movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf563f movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf563f movq %rax, %rbx movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf565b movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf565b movq %rax, %rbx movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/qpdf/auto_job_help.hh
add_help_5(QPDFArgParser&)
static void add_help_5(QPDFArgParser& ap) { ap.addOptionHelp("--remove-info", "modification", "remove file information", R"(Exclude file information (except modification date) from the output file. )"); ap.addOptionHelp("--remove-metadata", "modification", "remove metadata", R"(Exclude metadata from the output file. )"); ap.addOptionHelp("--remove-page-labels", "modification", "remove explicit page numbers", R"(Exclude page labels (explicit page numbers) from the output file. )"); ap.addOptionHelp("--remove-structure", "modification", "remove metadata", R"(Exclude the structure tree from the output file. )"); ap.addOptionHelp("--set-page-labels", "modification", "number pages for the entire document", R"(--set-page-labels label-spec ... -- Set page labels (explicit page numbers) for the entire file. Each label-spec has the form first-page:[type][/start[/prefix]] where - "first-page" represents a sequential page number using the same format as page ranges: a number, a number preceded by "r" to indicate counting from the end, or "z" indicating the last page - "type" is one of - D: Arabic numerals (digits) - A: Upper-case alphabetic characters - a: Lower-case alphabetic characters - R: Upper-case Roman numerals - r: Lower-case Roman numerals - omitted: the page number does not appear, though the prefix, if specified will still appear - "start" must be a number >= 1 - "prefix"` may be any string and is prepended to each page label The first label spec must have a first-page value of 1, indicating the first page of the document. If multiple page label specs are specified, they must be given in increasing order. If multiple page label specs are specified, they must be given in increasing order. A given page label spec causes pages to be numbered according to that scheme starting with first-page and continuing until the next label spec or the end of the document. If you want to omit numbering starting at a certain page, you can use first-page: as the spec. Example: "1:r 5:D" would number the first four pages i through iv, then the remaining pages with Arabic numerals starting with 1 and continuing sequentially until the end of the document. For additional examples, please consult the manual. )"); ap.addHelpTopic("encryption", "create encrypted files", R"(Create encrypted files. Usage: --encrypt \ [--user-password=user-password] \ [--owner-password=owner-password] \ --bits=key-length [options] -- OR --encrypt user-password owner-password key-length [options] -- The first form, with flags for the passwords and bit length, was introduced in qpdf 11.7.0. Only the --bits option is mandatory. This form allows you to use any text as the password. If passwords are specified, they must be given before the --bits option. The second form has been in qpdf since the beginning and will continue to be supported. Either or both of user-password and owner-password may be empty strings. The key-length parameter must be either 40, 128, or 256. The user and/or owner password may be omitted. Omitting either password enables the PDF file to be opened without a password. Specifying the same value for the user and owner password and specifying an empty owner password are both considered insecure. Encryption options are terminated by "--" by itself. 40-bit encryption is insecure, as is 128-bit encryption without AES. Use 256-bit encryption unless you have a specific reason to use an insecure format, such as testing or compatibility with very old viewers. You must use the --allow-weak-crypto flag to create encrypted files that use insecure cryptographic algorithms. The --allow-weak-crypto flag appears outside of --encrypt ... -- (before --encrypt or after --). Available options vary by key length. Not all readers respect all restrictions. Different PDF readers respond differently to various combinations of options. Sometimes a PDF viewer may show you restrictions that differ from what you selected. This is probably not a bug in qpdf. Options for 40-bit only: --annotate=[y|n] restrict comments, filling forms, and signing --extract=[y|n] restrict text/graphic extraction --modify=[y|n] restrict document modification --print=[y|n] restrict printing Options for 128-bit or 256-bit: --accessibility=[y|n] restrict accessibility (usually ignored) --annotate=[y|n] restrict commenting/filling form fields --assemble=[y|n] restrict document assembly --extract=[y|n] restrict text/graphic extraction --form=[y|n] restrict filling form fields --modify-other=[y|n] restrict other modifications --modify=modify-opt control modify access by level --print=print-opt control printing access --cleartext-metadata prevent encryption of metadata For 128-bit only: --use-aes=[y|n] indicates whether to use AES encryption --force-V4 forces use of V=4 encryption handler For 256-bit only: --force-R5 forces use of deprecated R=5 encryption --allow-insecure allow user password with empty owner password Values for print-opt: none disallow printing low allow only low-resolution printing full allow full printing Values for modify-opt: none allow no modifications assembly allow document assembly only form assembly + filling in form fields and signing annotate form + commenting and modifying forms all allow full document modification )"); ap.addOptionHelp("--user-password", "encryption", "specify user password", R"(--user-password=user-password Set the user password of the encrypted file. )"); ap.addOptionHelp("--owner-password", "encryption", "specify owner password", R"(--owner-password=owner-password Set the owner password of the encrypted file. )"); ap.addOptionHelp("--bits", "encryption", "specify encryption key length", R"(--bits={48|128|256} Specify the encryption key length. For best security, always use a key length of 256. )"); ap.addOptionHelp("--accessibility", "encryption", "restrict document accessibility", R"(--accessibility=[y|n] This option is ignored except with very old encryption formats. The current PDF specification does not allow restriction of document accessibility. This option is not available with 40-bit encryption. )"); ap.addOptionHelp("--annotate", "encryption", "restrict document annotation", R"(--annotate=[y|n] Enable/disable modifying annotations including making comments and filling in form fields. For 128-bit and 256-bit encryption, this also enables editing, creating, and deleting form fields unless --modify-other=n or --modify=none is also specified. )"); ap.addOptionHelp("--assemble", "encryption", "restrict document assembly", R"(--assemble=[y|n] Enable/disable document assembly (rotation and reordering of pages). This option is not available with 40-bit encryption. )"); ap.addOptionHelp("--extract", "encryption", "restrict text/graphic extraction", R"(--extract=[y|n] Enable/disable text/graphic extraction for purposes other than accessibility. )"); ap.addOptionHelp("--form", "encryption", "restrict form filling", R"(--form=[y|n] Enable/disable whether filling form fields is allowed even if modification of annotations is disabled. This option is not available with 40-bit encryption. )"); ap.addOptionHelp("--modify-other", "encryption", "restrict other modifications", R"(--modify-other=[y|n] Enable/disable modifications not controlled by --assemble, --annotate, or --form. --modify-other=n is implied by any of the other --modify options. This option is not available with 40-bit encryption. )"); ap.addOptionHelp("--modify", "encryption", "restrict document modification", R"(--modify=modify-opt For 40-bit files, modify-opt may only be y or n and controls all aspects of document modification. For 128-bit and 256-bit encryption, modify-opt values allow enabling and disabling levels of restriction in a manner similar to how some PDF creation tools do it. modify-opt values map to other combinations of options as follows: all: allow full modification (the default) annotate: --modify-other=n form: --modify-other=n --annotate=n assembly: --modify-other=n --annotate=n --form=n none: --modify-other=n --annotate=n --form=n --assemble=n )"); ap.addOptionHelp("--print", "encryption", "restrict printing", R"(--print=print-opt Control what kind of printing is allowed. For 40-bit encryption, print-opt may only be y or n and enables or disables all printing. For 128-bit and 256-bit encryption, print-opt may have the following values: none: disallow printing low: allow low-resolution printing only full: allow full printing (the default) )"); ap.addOptionHelp("--cleartext-metadata", "encryption", "don't encrypt metadata", R"(If specified, don't encrypt document metadata even when encrypting the rest of the document. This option is not available with 40-bit encryption. )"); ap.addOptionHelp("--use-aes", "encryption", "use AES with 128-bit encryption", R"(--use-aes=[y|n] Enables/disables use of the more secure AES encryption with 128-bit encryption. Specifying --use-aes=y forces the PDF version to be at least 1.6. This option is only available with 128-bit encryption. The default is "n" for compatibility reasons. Use 256-bit encryption instead. )"); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rdi, %rbx leaq 0x50(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xcf61f(%rip), %rsi # 0x1c7197 leaq 0xcf625(%rip), %rdx # 0x1c71a4 leaq 0x40(%rsp), %rdi callq 0x68bb0 leaq 0x30(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xd11c2(%rip), %rsi # 0x1c8d5b leaq 0xd11c7(%rip), %rdx # 0x1c8d67 leaq 0x20(%rsp), %rdi callq 0x68bb0 leaq 0x10(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xcf5ea(%rip), %rsi # 0x1c71a5 leaq 0xcf5fa(%rip), %rdx # 0x1c71bc movq %rsp, %rdi callq 0x68bb0 leaq 0x70(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xcf5e3(%rip), %rsi # 0x1c71bd leaq 0xcf626(%rip), %rdx # 0x1c7207 leaq 0x60(%rsp), %rdi callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf7c1c movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf7c32 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf7c49 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf7c60 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf599(%rip), %rsi # 0x1c7208 leaq 0xcf5a3(%rip), %rdx # 0x1c7219 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd10d1(%rip), %rsi # 0x1c8d5b leaq 0xd10d6(%rip), %rdx # 0x1c8d67 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf577(%rip), %rsi # 0x1c721a leaq 0xcf57f(%rip), %rdx # 0x1c7229 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf56c(%rip), %rsi # 0x1c722a leaq 0xcf58c(%rip), %rdx # 0x1c7251 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf7cfb movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf7d11 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf7d28 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf7d3f movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf504(%rip), %rsi # 0x1c7252 leaq 0xcf511(%rip), %rdx # 0x1c7266 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0ff2(%rip), %rsi # 0x1c8d5b leaq 0xd0ff7(%rip), %rdx # 0x1c8d67 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf4e5(%rip), %rsi # 0x1c7267 leaq 0xcf4fa(%rip), %rdx # 0x1c7283 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf4e7(%rip), %rsi # 0x1c7284 leaq 0xcf522(%rip), %rdx # 0x1c72c6 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf7dda movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf7df0 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf7e07 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf7e1e movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf49a(%rip), %rsi # 0x1c72c7 leaq 0xcf4a5(%rip), %rdx # 0x1c72d9 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0f13(%rip), %rsi # 0x1c8d5b leaq 0xd0f18(%rip), %rdx # 0x1c8d67 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf3b9(%rip), %rsi # 0x1c721a leaq 0xcf3c1(%rip), %rdx # 0x1c7229 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf45e(%rip), %rsi # 0x1c72da leaq 0xcf488(%rip), %rdx # 0x1c730b callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf7eb9 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf7ecf movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf7ee6 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf7efd movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xcf400(%rip), %rsi # 0x1c730c leaq 0xcf40a(%rip), %rdx # 0x1c731d callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0e34(%rip), %rsi # 0x1c8d5b leaq 0xd0e39(%rip), %rdx # 0x1c8d67 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf3de(%rip), %rsi # 0x1c731e leaq 0xcf3fb(%rip), %rdx # 0x1c7342 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xcf3e8(%rip), %rsi # 0x1c7343 leaq 0xcf9e7(%rip), %rdx # 0x1c7949 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf7f98 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf7fae movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf7fc5 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf7fdc movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd1487(%rip), %rsi # 0x1c9472 leaq 0xd148a(%rip), %rdx # 0x1c947c callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xcf944(%rip), %rsi # 0x1c794a leaq 0xcf953(%rip), %rdx # 0x1c7960 callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xcf942(%rip), %rsi # 0x1c7961 leaq 0xd0646(%rip), %rdx # 0x1c866c callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx movq %rbx, %rdi callq 0xb5c04 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf8056 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf806d movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8084 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd05da(%rip), %rsi # 0x1c866d leaq 0xd05e2(%rip), %rdx # 0x1c867c callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd13c4(%rip), %rsi # 0x1c9472 leaq 0xd13c7(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd05b6(%rip), %rsi # 0x1c867d leaq 0xd05c4(%rip), %rdx # 0x1c8692 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd05b1(%rip), %rsi # 0x1c8693 leaq 0xd05f6(%rip), %rdx # 0x1c86df callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf811f movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf8135 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf814c movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8163 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd056e(%rip), %rsi # 0x1c86e0 leaq 0xd0577(%rip), %rdx # 0x1c86f0 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd12e5(%rip), %rsi # 0x1c9472 leaq 0xd12e8(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd054b(%rip), %rsi # 0x1c86f1 leaq 0xd055a(%rip), %rdx # 0x1c8707 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd0547(%rip), %rsi # 0x1c8708 leaq 0xd058f(%rip), %rdx # 0x1c8757 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf81fe movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf8214 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf822b movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8242 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd0507(%rip), %rsi # 0x1c8758 leaq 0xd0506(%rip), %rdx # 0x1c875e callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd1206(%rip), %rsi # 0x1c9472 leaq 0xd1209(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd04da(%rip), %rsi # 0x1c875f leaq 0xd04f0(%rip), %rdx # 0x1c877c callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd04dd(%rip), %rsi # 0x1c877d leaq 0xd0541(%rip), %rdx # 0x1c87e8 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf82dd movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf82f3 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf830a movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8321 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd04b9(%rip), %rsi # 0x1c87e9 leaq 0xd04c1(%rip), %rdx # 0x1c87f8 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd1127(%rip), %rsi # 0x1c9472 leaq 0xd112a(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd0495(%rip), %rsi # 0x1c87f9 leaq 0xd04ad(%rip), %rdx # 0x1c8818 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd049a(%rip), %rsi # 0x1c8819 leaq 0xd0573(%rip), %rdx # 0x1c88f9 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf83bc movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf83d2 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf83e9 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8400 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd04eb(%rip), %rsi # 0x1c88fa leaq 0xd04ee(%rip), %rdx # 0x1c8904 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd1048(%rip), %rsi # 0x1c9472 leaq 0xd104b(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd04c2(%rip), %rsi # 0x1c8905 leaq 0xd04d7(%rip), %rdx # 0x1c8921 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd04c4(%rip), %rsi # 0x1c8922 leaq 0xd05c8(%rip), %rdx # 0x1c8a2d callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf849b movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf84b1 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf84c8 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf84df movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd0540(%rip), %rsi # 0x1c8a2e leaq 0xd0543(%rip), %rdx # 0x1c8a38 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0f69(%rip), %rsi # 0x1c9472 leaq 0xd0f6c(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd0517(%rip), %rsi # 0x1c8a39 leaq 0xd052a(%rip), %rdx # 0x1c8a53 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd0517(%rip), %rsi # 0x1c8a54 leaq 0xd059c(%rip), %rdx # 0x1c8ae0 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf857a movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf8590 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf85a7 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf85be movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd0514(%rip), %rsi # 0x1c8ae1 leaq 0xd0516(%rip), %rdx # 0x1c8aea callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0e8a(%rip), %rsi # 0x1c9472 leaq 0xd0e8d(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd04ea(%rip), %rsi # 0x1c8aeb leaq 0xd0503(%rip), %rdx # 0x1c8b0b callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd04f0(%rip), %rsi # 0x1c8b0c leaq 0xd0548(%rip), %rdx # 0x1c8b6b callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf8659 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf866f movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8686 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf869d movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd04c0(%rip), %rsi # 0x1c8b6c leaq 0xd04bf(%rip), %rdx # 0x1c8b72 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0dab(%rip), %rsi # 0x1c9472 leaq 0xd0dae(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd0493(%rip), %rsi # 0x1c8b73 leaq 0xd04a1(%rip), %rdx # 0x1c8b88 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd048e(%rip), %rsi # 0x1c8b89 leaq 0xd0531(%rip), %rdx # 0x1c8c33 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf8738 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf874e movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8765 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf877c movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd04a9(%rip), %rsi # 0x1c8c34 leaq 0xd04b0(%rip), %rdx # 0x1c8c42 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0ccc(%rip), %rsi # 0x1c9472 leaq 0xd0ccf(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd0484(%rip), %rsi # 0x1c8c43 leaq 0xd0499(%rip), %rdx # 0x1c8c5f callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd0486(%rip), %rsi # 0x1c8c60 leaq 0xd055e(%rip), %rdx # 0x1c8d3f callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf8817 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf882d movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8844 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf885b movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd04d6(%rip), %rsi # 0x1c8d40 leaq 0xd04d7(%rip), %rdx # 0x1c8d48 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0bed(%rip), %rsi # 0x1c9472 leaq 0xd0bf0(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd04ab(%rip), %rsi # 0x1c8d49 leaq 0xd04c2(%rip), %rdx # 0x1c8d67 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd04af(%rip), %rsi # 0x1c8d68 leaq 0xd06dd(%rip), %rdx # 0x1c8f9d callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf88f6 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf890c movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8923 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf893a movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd0655(%rip), %rsi # 0x1c8f9e leaq 0xd0655(%rip), %rdx # 0x1c8fa5 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0b0e(%rip), %rsi # 0x1c9472 leaq 0xd0b11(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd0629(%rip), %rsi # 0x1c8fa6 leaq 0xd0633(%rip), %rdx # 0x1c8fb7 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd0620(%rip), %rsi # 0x1c8fb8 leaq 0xd0766(%rip), %rdx # 0x1c9105 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf89d5 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf89eb movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8a02 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8a19 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd06de(%rip), %rsi # 0x1c9106 leaq 0xd06eb(%rip), %rdx # 0x1c911a callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0a2f(%rip), %rsi # 0x1c9472 leaq 0xd0a32(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd06bf(%rip), %rsi # 0x1c911b leaq 0xd06ce(%rip), %rdx # 0x1c9131 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd06bb(%rip), %rsi # 0x1c9132 leaq 0xd0746(%rip), %rdx # 0x1c91c4 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf8ab4 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf8aca movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8ae1 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8af8 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x40(%rsp), %rdi movq %r14, (%rdi) leaq 0xd06be(%rip), %rsi # 0x1c91c5 leaq 0xd06c0(%rip), %rdx # 0x1c91ce callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r15, (%rdi) leaq 0xd0950(%rip), %rsi # 0x1c9472 leaq 0xd0953(%rip), %rdx # 0x1c947c callq 0x68bb0 movq %rsp, %rdi movq %r12, (%rdi) leaq 0xd0694(%rip), %rsi # 0x1c91cf leaq 0xd06ac(%rip), %rdx # 0x1c91ee callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %r13, (%rdi) leaq 0xd0699(%rip), %rsi # 0x1c91ef leaq 0xd07ba(%rip), %rdx # 0x1c9317 callq 0x68bb0 leaq 0x40(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx leaq 0x60(%rsp), %r8 movq %rbx, %rdi callq 0xb5f82 movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf8b93 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0xf8ba9 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8bc0 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8bd7 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 addq $0x80, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 retq jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 jmp 0xf8d57 jmp 0xf8d73 jmp 0xf8d8e jmp 0xf8daa jmp 0xf8dc6 movq %rax, %rbx movq 0x60(%rsp), %rdi cmpq %r13, %rdi je 0xf8d76 movq 0x70(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf8d76 movq %rax, %rbx movq (%rsp), %rdi cmpq %r12, %rdi je 0xf8d91 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf8d91 movq %rax, %rbx movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0xf8dad movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf8dad movq %rax, %rbx movq 0x40(%rsp), %rdi cmpq %r14, %rdi je 0xf8dc9 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xf8dc9 movq %rax, %rbx movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/qpdf/auto_job_help.hh
QPDFJob::Config::outputFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::outputFile(std::string const& filename) { if ((o.m->outfilename == nullptr) && (!o.m->replace_input)) { o.m->outfilename = QUtil::make_shared_cstr(filename); } else { usage("output file has already been given"); } return this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %rax cmpq $0x0, 0x3e0(%rax) jne 0xfa26d cmpb $0x0, 0x3c9(%rax) je 0xfa2ba leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xd2e42(%rip), %rsi # 0x1cd0bf leaq 0xd2e5d(%rip), %rdx # 0x1cd0e1 movq %rsp, %r14 movq %r14, %rdi callq 0x68bb0 movq %r14, %rdi callq 0xc5532 movq (%rsp), %rdi cmpq %r15, %rdi je 0xfa2ad movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rax addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq movq %rsp, %r14 movq %r14, %rdi callq 0x6e1a0 movq (%rbx), %rax movq (%rax), %rax movaps (%r14), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%r14) movq 0x3e8(%rax), %rdi movups %xmm0, 0x3e0(%rax) testq %rdi, %rdi je 0xfa2ee callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0xfa2ad callq 0x69d60 jmp 0xfa2ad movq %rax, %rbx movq (%rsp), %rdi cmpq %r15, %rdi je 0xfa318 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::collate()
QPDFJob::Config* QPDFJob::Config::collate() { return collate(""); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xd87fa(%rip), %rdx # 0x1d2c26 movq %rsp, %r14 movq %r14, %rdi movq %rdx, %rsi callq 0x68bb0 movq %rbx, %rdi movq %r14, %rsi callq 0x685a0 movq (%rsp), %rdi cmpq %r15, %rdi je 0xfa45b movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rax addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq (%rsp), %rdi cmpq %r15, %rdi je 0xfa481 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::decrypt()
QPDFJob::Config* QPDFJob::Config::decrypt() { o.m->decrypt = true; o.m->encrypt = false; o.m->copy_encryption = false; return this; }
movq %rdi, %rax movq (%rdi), %rcx movq (%rcx), %rcx movb $0x1, 0x59(%rcx) xorl %edx, %edx movb %dl, 0xc0(%rcx) movb %dl, 0x8a(%rcx) retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::flattenAnnotations(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::flattenAnnotations(std::string const& parameter) { o.m->flatten_annotations = true; if (parameter == "screen") { o.m->flatten_annotations_forbidden |= an_no_view; } else if (parameter == "print") { o.m->flatten_annotations_required |= an_print; } else if (parameter != "all") { usage("invalid flatten-annotations option"); } return this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %rax movb $0x1, 0x189(%rax) leaq 0xc7d2b(%rip), %rsi # 0x1c24fe movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfa847 leaq 0xce7ba(%rip), %rsi # 0x1c8fa0 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfa856 leaq 0xbec4b(%rip), %rsi # 0x1b9444 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfa863 leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xd28e7(%rip), %rsi # 0x1cd0fc leaq 0xd2902(%rip), %rdx # 0x1cd11e movq %rsp, %r14 movq %r14, %rdi callq 0x68bb0 movq %r14, %rdi callq 0xc5532 movq (%rsp), %rdi cmpq %r15, %rdi je 0xfa863 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xfa863 movq (%rbx), %rax movq (%rax), %rax orl $0x20, 0x190(%rax) jmp 0xfa863 movq (%rbx), %rax movq (%rax), %rax orl $0x4, 0x18c(%rax) movq %rbx, %rax addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq (%rsp), %rdi cmpq %r15, %rdi je 0xfa889 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::json(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::json(std::string const& parameter) { if (parameter.empty() || (parameter == "latest")) { o.m->json_version = JSON::LATEST; } else { o.m->json_version = QUtil::string_to_int(parameter.c_str()); } if ((o.m->json_version < 1) || (o.m->json_version > JSON::LATEST)) { usage(std::string("unsupported json version ") + parameter); } return this; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rsi, %r14 movq %rdi, %rbx movl $0x2, %ebp cmpq $0x0, 0x8(%rsi) je 0xfa9cf leaq 0xc7b4c(%rip), %rsi # 0x1c2505 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfa9cf movq (%r14), %rdi callq 0x6e450 movl %eax, %ebp movq (%rbx), %rax movq (%rax), %rax movl %ebp, 0x288(%rax) addl $-0x3, %ebp cmpl $-0x3, %ebp ja 0xfaa94 leaq 0x30(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xc8175(%rip), %rsi # 0x1c2b6d leaq 0xc8187(%rip), %rdx # 0x1c2b86 leaq 0x20(%rsp), %r15 movq %r15, %rdi callq 0x68bb0 movq (%r14), %rsi movq 0x8(%r14), %rdx movq %r15, %rdi callq 0x6bfe0 leaq 0x10(%rsp), %r14 movq %r14, -0x10(%r14) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0xfaa41 movq %rdx, (%rsp) movq (%rcx), %rdx movq %rdx, 0x10(%rsp) jmp 0xfaa48 movups (%rcx), %xmm0 movups %xmm0, (%r14) movq 0x8(%rax), %rdx movq %rsp, %rdi movq %rdx, 0x8(%rdi) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) callq 0xc5532 movq (%rsp), %rdi cmpq %r14, %rdi je 0xfaa7d movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r12, %rdi je 0xfaa94 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rax addq $0x40, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq movq %rax, %rbx movq (%rsp), %rdi cmpq %r14, %rdi je 0xfaac2 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xfaac2 movq %rax, %rbx movq 0x20(%rsp), %rdi cmpq %r12, %rdi je 0xfaad9 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::jsonOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::jsonOutput(std::string const& parameter) { o.m->json_output = true; json(parameter); if (!o.m->json_stream_data_set) { // No need to set json_stream_data_set -- that indicates explicit use of --json-stream-data. o.m->json_stream_data = qpdf_sj_inline; } if (!o.m->decode_level_set) { o.m->decode_level = qpdf_dl_none; } o.m->json_keys.insert("qpdf"); return this; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %rax movb $0x1, 0x3f1(%rax) callq 0x6d5f0 movq (%rbx), %rax movq (%rax), %r14 cmpb $0x0, 0x2f4(%r14) jne 0xfac77 movl $0x1, 0x2f0(%r14) cmpb $0x0, 0x140(%r14) jne 0xfac8c movl $0x0, 0x13c(%r14) leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xc875d(%rip), %rsi # 0x1c33fa leaq 0xc875a(%rip), %rdx # 0x1c33fe leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x68bb0 addq $0x290, %r14 # imm = 0x290 movq %r14, %rdi movq %r15, %rsi callq 0x692b0 movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0xfacda movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rax addq $0x28, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0xfad03 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::normalizeContent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::normalizeContent(std::string const& parameter) { o.m->normalize_set = true; o.m->normalize = (parameter == "y"); return this; }
pushq %rbx movq %rsi, %rax movq %rdi, %rbx movq (%rdi), %rcx movq (%rcx), %rcx movb $0x1, 0x141(%rcx) leaq 0xcba60(%rip), %rsi # 0x1c68ad movq %rax, %rdi callq 0x6d210 testl %eax, %eax movq (%rbx), %rax movq (%rax), %rax sete 0x142(%rax) movq %rbx, %rax popq %rbx retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::password(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::password(std::string const& parameter) { o.m->password = QUtil::make_shared_cstr(parameter); return this; }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movq %rsp, %r14 movq %r14, %rdi callq 0x6e1a0 movq (%rbx), %rax movq (%rax), %rax movaps (%r14), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%r14) movq 0x50(%rax), %rdi movups %xmm0, 0x48(%rax) testq %rdi, %rdi je 0xfaf14 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0xfaf23 callq 0x69d60 movq %rbx, %rax addq $0x18, %rsp popq %rbx popq %r14 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::removeAttachment(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::removeAttachment(std::string const& parameter) { o.m->attachments_to_remove.push_back(parameter); return this; }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %r15 leaq 0x240(%r15), %r14 movq %r14, %rdi callq 0x69e70 movq %rax, %rdi movq %r14, %rsi callq 0x690b0 incq 0x250(%r15) movq %rbx, %rax popq %rbx popq %r14 popq %r15 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::showAttachment(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::showAttachment(std::string const& parameter) { o.m->attachment_to_show = parameter; o.m->require_outfile = false; return this; }
pushq %rbx movq %rdi, %rbx movq (%rdi), %rax movl $0x220, %edi # imm = 0x220 addq (%rax), %rdi callq 0x6e940 movq (%rbx), %rax movq (%rax), %rax movb $0x0, 0x3c8(%rax) movq %rbx, %rax popq %rbx retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::splitPages(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::splitPages(std::string const& parameter) { int n = (parameter.empty() ? 1 : QUtil::string_to_int(parameter.c_str())); o.m->split_pages = n; return this; }
pushq %rbx movq %rdi, %rbx cmpq $0x0, 0x8(%rsi) je 0xfb1b7 movq (%rsi), %rdi callq 0x6e450 jmp 0xfb1bc movl $0x1, %eax movq (%rbx), %rcx movq (%rcx), %rcx movl %eax, 0x5c(%rcx) movq %rbx, %rax popq %rbx retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::passwordFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::passwordFile(std::string const& parameter) { std::list<std::string> lines; if (parameter == "-") { QTC::TC("qpdf", "QPDFJob_config password stdin"); lines = QUtil::read_lines_from_file(std::cin); } else { QTC::TC("qpdf", "QPDFJob_config password file"); lines = QUtil::read_lines_from_file(parameter.c_str()); } if (lines.size() >= 1) { o.m->password = QUtil::make_shared_cstr(lines.front()); if (lines.size() > 1) { *QPDFLogger::defaultLogger()->getError() << this->o.m->message_prefix << ": WARNING: all but the first line of" << " the password file are ignored\n"; } } return this; }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x20(%rsp), %rax movq %rax, 0x8(%rax) movq %rax, (%rax) movq $0x0, 0x10(%rax) leaq 0xbe4d6(%rip), %rsi # 0x1b9742 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfb287 movq (%r14), %rsi movq %rsp, %rdi xorl %edx, %edx callq 0x6cb70 jmp 0xfb298 movq 0x14dbfa(%rip), %rsi # 0x248e88 movq %rsp, %rdi xorl %edx, %edx callq 0x6ea70 leaq 0x20(%rsp), %rdi movq %rsp, %r14 movq %r14, %rsi callq 0x6d1c0 movq %r14, %rdi callq 0x6b110 cmpq $0x0, 0x30(%rsp) je 0xfb36f movq 0x20(%rsp), %rsi addq $0x10, %rsi movq %rsp, %rdi callq 0x6e1a0 movq (%rbx), %rax movq (%rax), %rax movaps (%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%rsp) movq 0x50(%rax), %rdi movups %xmm0, 0x48(%rax) testq %rdi, %rdi je 0xfb2f0 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0xfb2ff callq 0x69d60 cmpq $0x2, 0x30(%rsp) jb 0xfb36f leaq 0x38(%rsp), %rdi callq 0x6a760 movq 0x38(%rsp), %rsi movq %rsp, %rdi xorl %edx, %edx callq 0x6db70 movq (%rsp), %rdi movq (%rbx), %rax movq (%rax), %rsi addq $0x10, %rsi callq 0x6d1f0 leaq 0xd1e01(%rip), %rsi # 0x1cd13b movq %rax, %rdi callq 0x6bc60 leaq 0xd1e17(%rip), %rsi # 0x1cd160 movq %rax, %rdi callq 0x6bc60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0xfb360 callq 0x69d60 movq 0x40(%rsp), %rdi testq %rdi, %rdi je 0xfb36f callq 0x69d60 leaq 0x20(%rsp), %rdi callq 0x6b110 movq %rbx, %rax addq $0x48, %rsp popq %rbx popq %r14 retq movq %rax, %rbx jmp 0xfb3a6 jmp 0xfb38f jmp 0xfb38f jmp 0xfb38f movq %rax, %rbx jmp 0xfb3b5 movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0xfb3a6 callq 0x69d60 movq 0x40(%rsp), %rdi testq %rdi, %rdi je 0xfb3b5 callq 0x69d60 leaq 0x20(%rsp), %rdi callq 0x6b110 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::decodeLevel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::decodeLevel(std::string const& parameter) { o.m->decode_level_set = true; if (parameter == "none") { o.m->decode_level = qpdf_dl_none; } else if (parameter == "generalized") { o.m->decode_level = qpdf_dl_generalized; } else if (parameter == "specialized") { o.m->decode_level = qpdf_dl_specialized; } else if (parameter == "all") { o.m->decode_level = qpdf_dl_all; } else { usage("invalid option"); } return this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %rax movb $0x1, 0x140(%rax) leaq 0xc3adb(%rip), %rsi # 0x1bf0d2 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfb67e leaq 0xc3acd(%rip), %rsi # 0x1bf0d7 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfb690 leaq 0xc3ac6(%rip), %rsi # 0x1bf0e3 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfb6a2 leaq 0xbde14(%rip), %rsi # 0x1b9444 movq %r14, %rdi callq 0x6d210 testl %eax, %eax je 0xfb6b4 leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xd1b6c(%rip), %rsi # 0x1cd1b8 leaq 0xd1b73(%rip), %rdx # 0x1cd1c6 movq %rsp, %r14 movq %r14, %rdi callq 0x68bb0 movq %r14, %rdi callq 0xc5532 movq (%rsp), %rdi cmpq %r15, %rdi je 0xfb6c4 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0xfb6c4 movq (%rbx), %rax movq (%rax), %rax movl $0x0, 0x13c(%rax) jmp 0xfb6c4 movq (%rbx), %rax movq (%rax), %rax movl $0x1, 0x13c(%rax) jmp 0xfb6c4 movq (%rbx), %rax movq (%rax), %rax movl $0x2, 0x13c(%rax) jmp 0xfb6c4 movq (%rbx), %rax movq (%rax), %rax movl $0x3, 0x13c(%rax) movq %rbx, %rax addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq (%rsp), %rdi cmpq %r15, %rdi je 0xfb6ea movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::showObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::Config* QPDFJob::Config::showObject(std::string const& parameter) { QPDFJob::parse_object_id(parameter, o.m->show_trailer, o.m->show_obj, o.m->show_gen); o.m->require_outfile = false; return this; }
pushq %rbx movq %rsi, %rax movq %rdi, %rbx movq (%rdi), %rcx movq (%rcx), %rcx leaq 0x1f2(%rcx), %rsi leaq 0x1f4(%rcx), %rdx addq $0x1f8, %rcx # imm = 0x1F8 movq %rax, %rdi callq 0xcecc0 movq (%rbx), %rax movq (%rax), %rax movb $0x0, 0x3c8(%rax) movq %rbx, %rax popq %rbx retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::CopyAttConfig::CopyAttConfig(QPDFJob::Config*)
QPDFJob::CopyAttConfig::CopyAttConfig(Config* c) : config(c) { }
movq %rsi, (%rdi) leaq 0x18(%rdi), %rax movq %rax, 0x8(%rdi) xorl %eax, %eax movq %rax, 0x10(%rdi) movb %al, 0x18(%rdi) leaq 0x38(%rdi), %rcx movq %rcx, 0x28(%rdi) movq %rax, 0x30(%rdi) movb %al, 0x38(%rdi) leaq 0x58(%rdi), %rcx movq %rcx, 0x48(%rdi) movq %rax, 0x50(%rdi) movb %al, 0x58(%rdi) retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::AttConfig::mimetype(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::AttConfig* QPDFJob::AttConfig::mimetype(std::string const& parameter) { if (parameter.find('/') == std::string::npos) { usage("mime type should be specified as type/subtype"); } this->att.mimetype = parameter; return this; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi movl $0x2f, %esi xorl %edx, %edx callq 0x6e3b0 cmpq $-0x1, %rax jne 0xfc23e leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xd10a5(%rip), %rsi # 0x1cd2b0 leaq 0xd10cb(%rip), %rdx # 0x1cd2dd leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x68bb0 movq %r15, %rdi callq 0xc5532 movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0xfc23e movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 leaq 0xa8(%rbx), %rdi movq %r14, %rsi callq 0x6e940 movq %rbx, %rax addq $0x28, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0xfc276 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::overlay()
std::shared_ptr<QPDFJob::UOConfig> QPDFJob::Config::overlay() { o.m->overlay.emplace_back("overlay"); o.m->under_overlay = &o.m->overlay.back(); return std::shared_ptr<UOConfig>(new UOConfig(this)); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax movl $0x360, %edi # imm = 0x360 addq (%rax), %rdi leaq 0xc9eff(%rip), %rsi # 0x1c6807 callq 0xfd9ee movq (%r14), %rax movq (%rax), %rax movq $-0x100, %rcx addq 0x368(%rax), %rcx movq %rcx, 0x378(%rax) movl $0x8, %edi callq 0x68ab0 movq %r14, (%rax) movq %rax, (%rbx) movq %rbx, %rdi addq $0x8, %rdi movq %rax, %rsi callq 0xfebea movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::underlay()
std::shared_ptr<QPDFJob::UOConfig> QPDFJob::Config::underlay() { o.m->underlay.emplace_back("underlay"); o.m->under_overlay = &o.m->underlay.back(); return std::shared_ptr<UOConfig>(new UOConfig(this)); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax movl $0x348, %edi # imm = 0x348 addq (%rax), %rdi leaq 0xc9f38(%rip), %rsi # 0x1c68a6 callq 0xfda2a movq (%r14), %rax movq (%rax), %rax movq $-0x100, %rcx addq 0x350(%rax), %rcx movq %rcx, 0x378(%rax) movl $0x8, %edi callq 0x68ab0 movq %r14, (%rax) movq %rax, (%rbx) movq %rbx, %rdi addq $0x8, %rdi movq %rax, %rsi callq 0xfebea movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::UOConfig::repeat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFJob::UOConfig* QPDFJob::UOConfig::repeat(std::string const& parameter) { if (!parameter.empty()) { config->o.parseNumrange(parameter.c_str(), 0); } config->o.m->under_overlay->repeat_nr = parameter; return this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx cmpq $0x0, 0x8(%rsi) je 0xfcc43 movq (%rbx), %rax movq (%rax), %rsi movq (%r14), %rdx leaq 0x8(%rsp), %r15 movq %r15, %rdi xorl %ecx, %ecx callq 0xc5b48 movq (%r15), %rdi testq %rdi, %rdi je 0xfcc43 movq 0x18(%rsp), %rsi subq %rdi, %rsi callq 0x68760 movq (%rbx), %rax movq (%rax), %rax movq (%rax), %rax movl $0x90, %edi addq 0x378(%rax), %rdi movq %r14, %rsi callq 0x6e940 movq %rbx, %rax addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::Config::encrypt(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::shared_ptr<QPDFJob::EncConfig> QPDFJob::Config::encrypt( int keylen, std::string const& user_password, std::string const& owner_password) { o.m->keylen = keylen; if (keylen == 256) { o.m->use_aes = true; } o.m->user_password = user_password; o.m->owner_password = owner_password; return std::shared_ptr<EncConfig>(new EncConfig(this)); }
pushq %r15 pushq %r14 pushq %rbx movq %r8, %r15 movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax movq (%rax), %rdi movl %edx, 0x110(%rdi) cmpl $0x100, %edx # imm = 0x100 jne 0xfccf3 movb $0x1, 0x127(%rdi) addq $0xd0, %rdi movq %rcx, %rsi callq 0x6e940 movq (%r14), %rax movl $0xf0, %edi addq (%rax), %rdi movq %r15, %rsi callq 0x6e940 movl $0x8, %edi callq 0x68ab0 movq %r14, (%rax) movq %rax, (%rbx) movq %rbx, %rdi addq $0x8, %rdi movq %rax, %rsi callq 0xfedf6 movq %rbx, %rax popq %rbx popq %r14 popq %r15 retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
QPDFJob::EncConfig::endEncrypt()
QPDFJob::Config* QPDFJob::EncConfig::endEncrypt() { if (config->o.m->keylen == 0) { usage("encryption key length is required"); } config->o.m->encrypt = true; config->o.m->decrypt = false; config->o.m->copy_encryption = false; return this->config; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq (%rdi), %rax movq (%rax), %rax movq (%rax), %rax cmpl $0x0, 0x110(%rax) jne 0xfd48c leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xd0074(%rip), %rsi # 0x1cd4d0 leaq 0xd008e(%rip), %rdx # 0x1cd4f1 movq %rsp, %r14 movq %r14, %rdi callq 0x68bb0 movq %r14, %rdi callq 0xc5532 movq (%rsp), %rdi cmpq %r15, %rdi je 0xfd48c movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq (%rbx), %rax movq (%rax), %rcx movq (%rcx), %rcx movb $0x1, 0xc0(%rcx) xorl %edx, %edx movb %dl, 0x59(%rcx) movb %dl, 0x8a(%rcx) addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq (%rsp), %rdi cmpq %r15, %rdi je 0xfd4ca movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc
(anonymous namespace)::Handlers::pushKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Handlers::pushKey(std::string const& key) { auto new_jh = std::make_shared<JSONHandler>(); this->jh->addDictKeyHandler(key, new_jh); this->jh = new_jh.get(); this->json_handlers.emplace_back(std::move(new_jh)); }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x28(%rsp), %rdi movq $0x0, -0x8(%rdi) leaq 0x20(%rsp), %r15 leaq 0xf(%rsp), %rdx movq %r15, %rsi callq 0x10f712 movq 0x20(%rbx), %rdi movq (%r15), %rcx movq 0x8(%r15), %rax movq %rcx, 0x10(%rsp) movq %rax, 0x18(%rsp) testq %rax, %rax je 0x109a23 movq 0x13f3cb(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x109a1f incl 0x8(%rax) jmp 0x109a23 lock incl 0x8(%rax) leaq 0x10(%rsp), %rdx movq %r14, %rsi callq 0x7da78 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x109a3f callq 0x69d60 leaq 0x20(%rsp), %rsi movq (%rsi), %rax movq %rax, 0x20(%rbx) movq %rbx, %rdi callq 0x10f548 movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x109a62 callq 0x69d60 addq $0x30, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx jmp 0x109a83 movq %rax, %rbx movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x109a83 callq 0x69d60 movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x109a92 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
(anonymous namespace)::Handlers::addBare(std::function<void ()>)
void Handlers::addBare(bare_handler_t fn) { jh->addStringHandler([this, fn](std::string const& path, std::string const& parameter) { if (!parameter.empty()) { QTC::TC("qpdf", "QPDFJob json bare not empty"); usage(path + ": value must be the empty string"); } else { fn(); } }); }
pushq %r14 pushq %rbx subq $0x48, %rsp movq 0x20(%rdi), %r14 leaq 0x28(%rsp), %rbx movq %rdi, -0x8(%rbx) movq %rbx, %rdi callq 0x6d310 xorps %xmm0, %xmm0 movaps %xmm0, 0x10(%rsp) movaps %xmm0, (%rsp) movl $0x28, %edi callq 0x68ab0 movq 0x20(%rsp), %rcx movq %rcx, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rax) movq $0x0, 0x18(%rax) movq 0x40(%rsp), %rcx movq %rcx, 0x20(%rax) movq 0x38(%rsp), %rcx testq %rcx, %rcx je 0x109c1c movq %rax, %rdx addq $0x8, %rdx leaq 0x38(%rsp), %rsi movups (%rbx), %xmm0 movups %xmm0, (%rdx) movq %rcx, 0x18(%rax) xorps %xmm0, %xmm0 movups %xmm0, (%rsi) movq %rsp, %rsi movq %rax, (%rsi) leaq 0x1113(%rip), %rax # 0x10ad3c movq %rax, 0x18(%rsi) leaq 0x1194(%rip), %rax # 0x10adc8 movq %rax, 0x10(%rsi) movq %r14, %rdi callq 0x7da26 movq 0x10(%rsp), %rax testq %rax, %rax je 0x109c57 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x38(%rsp), %rax testq %rax, %rax je 0x109c6e movq %rbx, %rdi movq %rbx, %rsi movl $0x3, %edx callq *%rax addq $0x48, %rsp popq %rbx popq %r14 retq jmp 0x109cba jmp 0x109cba movq %rax, %r14 movq 0x10(%rsp), %rax testq %rax, %rax je 0x109c9b movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax jmp 0x109c9b jmp 0x109cba movq %rax, %r14 movq 0x38(%rsp), %rax testq %rax, %rax je 0x109cb2 movq %rbx, %rdi movq %rbx, %rsi movl $0x3, %edx callq *%rax movq %r14, %rdi callq 0x6b780 movq %rax, %rdi callq 0x7cc8d
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
(anonymous namespace)::Handlers::addChoices(char const**, bool, std::function<void (char const*)>)
void Handlers::addChoices(char const** choices, bool required, param_handler_t fn) { jh->addStringHandler( [fn, choices, required, this](std::string const& path, std::string const& parameter) { char const* p = parameter.c_str(); bool matches = false; if ((!required) && (parameter.empty())) { matches = true; } if (!matches) { for (char const** i = choices; *i; ++i) { if (strcmp(*i, p) == 0) { QTC::TC("qpdf", "QPDFJob json choice match"); matches = true; break; } } } if (!matches) { QTC::TC("qpdf", "QPDFJob json choice mismatch"); std::ostringstream msg; msg << path + ": unexpected value; expected one of "; bool first = true; for (char const** i = choices; *i; ++i) { if (first) { first = false; } else { msg << ", "; } msg << *i; } usage(msg.str()); } fn(parameter.c_str()); }); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %r15 movq 0x20(%rdi), %rbx leaq 0x28(%rsp), %r12 movq %r12, %rdi movq %rcx, %rsi callq 0x6d130 movq %r14, 0x20(%r12) movb %bpl, 0x28(%r12) movq %r15, 0x30(%r12) xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movaps %xmm0, 0x10(%rsp) movl $0x38, %edi callq 0x68ab0 leaq 0x48(%rsp), %rcx xorps %xmm0, %xmm0 movups %xmm0, (%rax) movq $0x0, 0x10(%rax) movq -0x8(%rcx), %rdx movq %rdx, 0x18(%rax) movq -0x10(%rcx), %rdx testq %rdx, %rdx je 0x109d49 leaq 0x38(%rsp), %rsi movups -0x10(%rsi), %xmm0 movups %xmm0, (%rax) movq %rdx, 0x10(%rax) xorps %xmm0, %xmm0 movups %xmm0, (%rsi) movq 0x10(%rcx), %rdx movq %rdx, 0x30(%rax) movups (%rcx), %xmm0 movups %xmm0, 0x20(%rax) movq %rsp, %rsi movq %rax, (%rsi) leaq 0x12f3(%rip), %rax # 0x10b058 movq %rax, 0x18(%rsi) leaq 0x14aa(%rip), %rax # 0x10b21a movq %rax, 0x10(%rsi) movq %rbx, %rdi callq 0x7da26 movq 0x10(%rsp), %rax testq %rax, %rax je 0x109d93 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x38(%rsp), %rax testq %rax, %rax je 0x109dac leaq 0x28(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax addq $0x60, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq jmp 0x109dff jmp 0x109dff movq %rax, %rbx movq 0x10(%rsp), %rax testq %rax, %rax je 0x109dde movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax jmp 0x109dde jmp 0x109dff movq %rax, %rbx movq 0x38(%rsp), %rax testq %rax, %rax je 0x109df7 leaq 0x28(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq %rbx, %rdi callq 0x6b780 movq %rax, %rdi callq 0x7cc8d nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
(anonymous namespace)::Handlers::beginEncrypt(JSON)
void Handlers::beginEncrypt(JSON j) { // This method is only called if the overall JSON structure matches the schema, so we already // know that keys that are present have the right types. int key_len = 0; std::string user_password; std::string owner_password; bool user_password_seen = false; bool owner_password_seen = false; j.forEachDictItem([&](std::string const& key, JSON value) { if ((key == "40bit") || (key == "128bit") || (key == "256bit")) { if (key_len != 0) { QTC::TC("qpdf", "QPDFJob json encrypt duplicate key length"); usage("exactly one of 40bit, 128bit, or 256bit must be given"); } key_len = QUtil::string_to_int(key.c_str()); } else if (key == "userPassword") { user_password_seen = value.getString(user_password); } else if (key == "ownerPassword") { owner_password_seen = value.getString(owner_password); } }); if (key_len == 0) { QTC::TC("qpdf", "QPDFJob json encrypt no key length"); usage( "exactly one of 40bit, 128bit, or 256bit must be given; an empty dictionary may be " "supplied for one of them to set the key length without imposing any restrictions"); } if (!(user_password_seen && owner_password_seen)) { QTC::TC("qpdf", "QPDFJob json encrypt missing password"); usage( "the user and owner password are both required; use the empty string for the user " "password if you don't want a password"); } this->c_enc = c_main->encrypt(key_len, user_password, owner_password); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, %r14 movq %rdi, %rbx movl $0x0, 0xc(%rsp) leaq 0x88(%rsp), %r15 movq %r15, -0x10(%r15) xorl %eax, %eax movq %rax, -0x8(%r15) movb %al, (%r15) leaq 0x68(%rsp), %r12 movq %r12, -0x10(%r12) movq %rax, -0x8(%r12) movb %al, (%r12) movb %al, 0xb(%rsp) movb %al, 0xa(%rsp) xorps %xmm0, %xmm0 movaps %xmm0, 0x30(%rsp) movaps %xmm0, 0x40(%rsp) movl $0x30, %edi callq 0x68ab0 leaq 0xc(%rsp), %rcx movq %rcx, (%rax) movq %rbx, 0x8(%rax) leaq 0xb(%rsp), %rcx movq %rcx, 0x10(%rax) leaq 0x78(%rsp), %rcx movq %rcx, 0x18(%rax) leaq 0xa(%rsp), %rcx movq %rcx, 0x20(%rax) leaq 0x58(%rsp), %rcx movq %rcx, 0x28(%rax) leaq 0x30(%rsp), %rsi movq %rax, (%rsi) leaq 0x1e12(%rip), %rax # 0x10bed0 movq %rax, 0x18(%rsi) leaq 0x1f49(%rip), %rax # 0x10c012 movq %rax, 0x10(%rsi) movq %r14, %rdi callq 0x6de90 movq 0x40(%rsp), %rax testq %rax, %rax je 0x10a0ee leaq 0x30(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax cmpl $0x0, 0xc(%rsp) je 0x10a1c7 cmpb $0x1, 0xb(%rsp) jne 0x10a19c cmpb $0x0, 0xa(%rsp) je 0x10a19c movq 0x28(%rbx), %rsi movl 0xc(%rsp), %edx leaq 0x10(%rsp), %rdi leaq 0x78(%rsp), %rcx leaq 0x58(%rsp), %r8 callq 0x69a30 movaps 0x10(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x10(%rsp) movq 0x80(%rbx), %rdi movups %xmm0, 0x78(%rbx) testq %rdi, %rdi je 0x10a14d callq 0x69d60 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x10a15c callq 0x69d60 movq 0x58(%rsp), %rdi cmpq %r12, %rdi je 0x10a173 movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 movq 0x78(%rsp), %rdi cmpq %r15, %rdi je 0x10a18d movq 0x88(%rsp), %rsi incq %rsi callq 0x68760 addq $0x98, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq leaq 0x20(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xc5b7d(%rip), %rsi # 0x1cfd29 leaq 0xc5bec(%rip), %rdx # 0x1cfd9f leaq 0x10(%rsp), %rdi callq 0x68bb0 leaq 0x10(%rsp), %rdi callq 0x10ae78 leaq 0x20(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xc5aaf(%rip), %rsi # 0x1cfc86 leaq 0xc5b4a(%rip), %rdx # 0x1cfd28 leaq 0x10(%rsp), %rdi callq 0x68bb0 leaq 0x10(%rsp), %rdi callq 0x10ae78 jmp 0x10a1fa jmp 0x10a23e jmp 0x10a236 jmp 0x10a23e movq %rax, %rbx movq 0x10(%rsp), %rdi cmpq %r14, %rdi je 0x10a241 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x10a241 jmp 0x10a23e movq %rax, %rbx movq 0x40(%rsp), %rax testq %rax, %rax je 0x10a241 leaq 0x30(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax jmp 0x10a241 movq %rax, %rdi callq 0x7cc8d movq %rax, %rbx movq 0x58(%rsp), %rdi cmpq %r12, %rdi je 0x10a258 movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 movq 0x78(%rsp), %rdi cmpq %r15, %rdi je 0x10a272 movq 0x88(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
(anonymous namespace)::Handlers::beginAddAttachment(JSON)
void Handlers::beginAddAttachment(JSON) { this->c_att = c_main->addAttachment(); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movq 0x28(%rdi), %rsi movq %rsp, %r14 movq %r14, %rdi callq 0x68620 movaps (%r14), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%r14) movq 0x50(%rbx), %rdi movups %xmm0, 0x48(%rbx) testq %rdi, %rdi je 0x10a650 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x10a65f callq 0x69d60 addq $0x18, %rsp popq %rbx popq %r14 retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
(anonymous namespace)::Handlers::endPagesArray()
void Handlers::endPagesArray() { c_pages->endPages(); c_pages = nullptr; }
pushq %rbx movq %rdi, %rbx movq 0x58(%rdi), %rdi callq 0x6ad40 xorps %xmm0, %xmm0 movq 0x60(%rbx), %rdi movups %xmm0, 0x58(%rbx) testq %rdi, %rdi je 0x10a77b popq %rbx jmp 0x69d60 popq %rbx retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
(anonymous namespace)::Handlers::beginOverlay(JSON)
void Handlers::beginOverlay(JSON j) { this->c_uo = c_main->overlay(); beginUnderOverlay(j); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x28(%rdi), %rsi movq %rsp, %r15 movq %r15, %rdi callq 0x6df30 movaps (%r15), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%r15) movq 0x70(%r14), %rdi movups %xmm0, 0x68(%r14) testq %rdi, %rdi je 0x10a932 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x10a941 callq 0x69d60 movq %r14, %rdi movq %rbx, %rsi callq 0x10ed6e addq $0x10, %rsp popq %rbx popq %r14 popq %r15 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
(anonymous namespace)::Handlers::beginUnderlay(JSON)
void Handlers::beginUnderlay(JSON j) { this->c_uo = c_main->underlay(); beginUnderOverlay(j); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x28(%rdi), %rsi movq %rsp, %r15 movq %r15, %rdi callq 0x6cce0 movaps (%r15), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%r15) movq 0x70(%r14), %rdi movups %xmm0, 0x68(%r14) testq %rdi, %rdi je 0x10a9bc callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x10a9cb callq 0x69d60 movq %r14, %rdi movq %rbx, %rsi callq 0x10ed6e addq $0x10, %rsp popq %rbx popq %r14 popq %r15 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc
QPDFLogger::Members::~Members()
QPDFLogger::Members::~Members() { p_stdout->finish(); p_stderr->finish(); }
pushq %rbx movq %rdi, %rbx movq 0x20(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) movq 0x30(%rbx), %rdi movq (%rdi), %rax callq *0x18(%rax) movq 0x78(%rbx), %rdi testq %rdi, %rdi je 0x10fb70 callq 0x69d60 movq 0x68(%rbx), %rdi testq %rdi, %rdi je 0x10fb7e callq 0x69d60 movq 0x58(%rbx), %rdi testq %rdi, %rdi je 0x10fb8c callq 0x69d60 movq 0x48(%rbx), %rdi testq %rdi, %rdi je 0x10fb9a callq 0x69d60 movq 0x38(%rbx), %rdi testq %rdi, %rdi je 0x10fba8 callq 0x69d60 movq 0x28(%rbx), %rdi testq %rdi, %rdi je 0x10fbb6 callq 0x69d60 movq 0x18(%rbx), %rdi testq %rdi, %rdi je 0x10fbc4 callq 0x69d60 movq 0x8(%rbx), %rdi testq %rdi, %rdi je 0x10fbd3 popq %rbx jmp 0x69d60 popq %rbx retq movq %rax, %rdi callq 0x7cc8d nop
/jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc
QPDFLogger::info(char const*)
void QPDFLogger::info(char const* s) { getInfo(false)->writeCStr(s); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdi xorl %edx, %edx callq 0x6e980 movq (%r14), %rdi movq %rbx, %rsi callq 0x6da90 movq 0x10(%rsp), %rdi addq $0x18, %rsp testq %rdi, %rdi je 0x10fd59 popq %rbx popq %r14 jmp 0x69d60 popq %rbx popq %r14 retq movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x10fd6f callq 0x69d60 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc
QPDFLogger::warn(char const*)
void QPDFLogger::warn(char const* s) { getWarn(false)->writeCStr(s); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdi xorl %edx, %edx callq 0x6a9c0 movq (%r14), %rdi movq %rbx, %rsi callq 0x6da90 movq 0x10(%rsp), %rdi addq $0x18, %rsp testq %rdi, %rdi je 0x10ff01 popq %rbx popq %r14 jmp 0x69d60 popq %rbx popq %r14 retq movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x10ff17 callq 0x69d60 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc
QPDFLogger::getWarn(bool)
std::shared_ptr<Pipeline> QPDFLogger::getWarn(bool null_okay) { if (m->p_warn) { return m->p_warn; } return getError(null_okay); }
pushq %rbx movq %rdi, %rbx movq (%rsi), %rax movq 0x50(%rax), %rcx testq %rcx, %rcx je 0x10ff51 movq %rcx, (%rbx) movq 0x58(%rax), %rax movq %rax, 0x8(%rbx) testq %rax, %rax je 0x10ff62 movq 0x138e99(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x10ff5e incl 0x8(%rax) jmp 0x10ff62 movzbl %dl, %edx movq %rbx, %rdi callq 0x6db70 jmp 0x10ff62 lock incl 0x8(%rax) movq %rbx, %rax popq %rbx retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc
QPDFLogger::error(char const*)
void QPDFLogger::error(char const* s) { getError(false)->writeCStr(s); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdi xorl %edx, %edx callq 0x6db70 movq (%r14), %rdi movq %rbx, %rsi callq 0x6da90 movq 0x10(%rsp), %rdi addq $0x18, %rsp testq %rdi, %rdi je 0x110077 popq %rbx popq %r14 jmp 0x69d60 popq %rbx popq %r14 retq movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x11008d callq 0x69d60 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc
QPDFLogger::discard()
std::shared_ptr<Pipeline> QPDFLogger::discard() { return m->p_discard; }
movq %rdi, %rax movq (%rsi), %rcx movq (%rcx), %rdx movq %rdx, (%rdi) movq 0x8(%rcx), %rcx movq %rcx, 0x8(%rdi) testq %rcx, %rcx je 0x1101f5 movq 0x138bf8(%rip), %rdx # 0x248de0 cmpb $0x0, (%rdx) je 0x1101f1 incl 0x8(%rcx) retq lock incl 0x8(%rcx) retq
/jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc
QPDFMatrix::rotatex90(int)
void QPDFMatrix::rotatex90(int angle) { switch (angle) { case 90: concat(QPDFMatrix(0, 1, -1, 0, 0, 0)); break; case 180: concat(QPDFMatrix(-1, 0, 0, -1, 0, 0)); break; case 270: concat(QPDFMatrix(0, -1, 1, 0, 0, 0)); break; default: // ignore break; } }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx cmpl $0x10e, %esi # imm = 0x10E je 0x1117c7 cmpl $0xb4, %esi je 0x1117a6 cmpl $0x5a, %esi jne 0x1117fb leaq 0x8(%rsp), %r14 movsd 0xa8aac(%rip), %xmm1 # 0x1ba248 movsd 0xbe99c(%rip), %xmm2 # 0x1d0140 jmp 0x1117dc leaq 0x8(%rsp), %r14 movsd 0xbe98d(%rip), %xmm0 # 0x1d0140 xorps %xmm1, %xmm1 xorps %xmm2, %xmm2 xorps %xmm4, %xmm4 xorps %xmm5, %xmm5 movq %r14, %rdi movaps %xmm0, %xmm3 jmp 0x1117eb leaq 0x8(%rsp), %r14 movsd 0xbe96c(%rip), %xmm1 # 0x1d0140 movsd 0xa8a6c(%rip), %xmm2 # 0x1ba248 xorps %xmm0, %xmm0 xorps %xmm3, %xmm3 xorps %xmm4, %xmm4 xorps %xmm5, %xmm5 movq %r14, %rdi callq 0x6a540 movq %rbx, %rdi movq %r14, %rsi callq 0x6cdf0 addq $0x38, %rsp popq %rbx popq %r14 retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFMatrix.cc
QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle) const
QPDFObjectHandle::Rectangle QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle r) const { std::vector<double> tx(4); std::vector<double> ty(4); transform(r.llx, r.lly, tx.at(0), ty.at(0)); transform(r.llx, r.ury, tx.at(1), ty.at(1)); transform(r.urx, r.lly, tx.at(2), ty.at(2)); transform(r.urx, r.ury, tx.at(3), ty.at(3)); return { *std::min_element(tx.begin(), tx.end()), *std::min_element(ty.begin(), ty.end()), *std::max_element(tx.begin(), tx.end()), *std::max_element(ty.begin(), ty.end())}; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx movl $0x20, %edi callq 0x68ab0 movq %rax, %r14 xorps %xmm0, %xmm0 movups %xmm0, (%rax) movups %xmm0, 0x10(%rax) movl $0x20, %edi callq 0x68ab0 leaq 0x20(%rsp), %rcx xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rax) movups %xmm0, (%rax) movsd (%rcx), %xmm8 movsd 0x8(%rcx), %xmm2 movsd (%r15), %xmm0 movsd 0x10(%r15), %xmm1 movapd %xmm2, %xmm6 mulsd %xmm1, %xmm6 movapd %xmm0, %xmm9 mulsd %xmm8, %xmm9 movapd %xmm9, %xmm3 addsd %xmm6, %xmm3 movsd 0x20(%r15), %xmm4 addsd %xmm4, %xmm3 movsd %xmm3, (%r14) movsd 0x8(%r15), %xmm3 movsd 0x18(%r15), %xmm5 mulsd %xmm5, %xmm2 mulsd %xmm3, %xmm8 movapd %xmm8, %xmm10 addsd %xmm2, %xmm10 movsd 0x28(%r15), %xmm7 addsd %xmm7, %xmm10 movsd %xmm10, (%rax) movsd 0x18(%rcx), %xmm10 mulsd %xmm10, %xmm1 addsd %xmm1, %xmm9 addsd %xmm4, %xmm9 movsd %xmm9, 0x8(%r14) mulsd %xmm10, %xmm5 addsd %xmm5, %xmm8 addsd %xmm7, %xmm8 movsd %xmm8, 0x8(%rax) movsd 0x10(%rcx), %xmm8 mulsd %xmm8, %xmm0 addsd %xmm0, %xmm6 addsd %xmm4, %xmm6 movsd %xmm6, 0x10(%r14) mulsd %xmm8, %xmm3 addsd %xmm3, %xmm2 addsd %xmm7, %xmm2 movsd %xmm2, 0x10(%rax) addsd %xmm1, %xmm0 addsd %xmm4, %xmm0 movsd %xmm0, 0x18(%r14) addsd %xmm5, %xmm3 addsd %xmm7, %xmm3 movsd %xmm3, 0x18(%rax) movl $0x8, %ecx movq %r14, %rdx movsd (%rdx), %xmm0 ucomisd (%r14,%rcx), %xmm0 jbe 0x111971 leaq (%r14,%rcx), %rdx addq $0x8, %rcx cmpq $0x20, %rcx jne 0x111961 movsd (%rdx), %xmm0 movl $0x8, %ecx movq %rax, %rdx movsd (%rdx), %xmm1 ucomisd (%rax,%rcx), %xmm1 jbe 0x111996 leaq (%rax,%rcx), %rdx addq $0x8, %rcx cmpq $0x20, %rcx jne 0x111987 movsd (%rdx), %xmm1 movl $0x8, %ecx movq %r14, %rdx movsd (%r14,%rcx), %xmm2 ucomisd (%rdx), %xmm2 jbe 0x1119bc leaq (%r14,%rcx), %rdx addq $0x8, %rcx cmpq $0x20, %rcx jne 0x1119ac movsd (%rdx), %xmm2 movl $0x8, %ecx movq %rax, %rdx movsd (%rax,%rcx), %xmm3 ucomisd (%rdx), %xmm3 jbe 0x1119e1 leaq (%rax,%rcx), %rdx addq $0x8, %rcx cmpq $0x20, %rcx jne 0x1119d2 movsd (%rdx), %xmm3 movsd %xmm0, (%rbx) movsd %xmm1, 0x8(%rbx) movsd %xmm2, 0x10(%rbx) movsd %xmm3, 0x18(%rbx) movl $0x20, %esi movq %rax, %rdi callq 0x68760 movl $0x20, %esi movq %r14, %rdi callq 0x68760 movq %rbx, %rax popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movl $0x20, %esi movq %r14, %rdi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFMatrix.cc
QPDFNameTreeObjectHelper::iterator::updateIValue()
void QPDFNameTreeObjectHelper::iterator::updateIValue() { if (impl->valid()) { auto p = *impl; this->ivalue.first = p->first.getUTF8Value(); this->ivalue.second = p->second; } else { this->ivalue.first = ""; this->ivalue.second = QPDFObjectHandle(); } }
pushq %r15 pushq %r14 pushq %rbx subq $0x80, %rsp movq %rdi, %rbx movq 0x8(%rdi), %rdi callq 0x80066 testb %al, %al je 0x111df6 movq 0x8(%rbx), %r14 leaq 0x130e3d(%rip), %rax # 0x242bf0 leaq 0x30(%rsp), %r15 movq %rax, -0x10(%r15) movq 0x8(%r14), %rax movq %rax, -0x8(%r15) leaq 0x10(%r14), %rsi movq %r15, %rdi callq 0x8568e movq 0x28(%r14), %rax movq %rax, 0x18(%r15) movq 0x30(%r14), %rax movq %rax, 0x20(%r15) testq %rax, %rax je 0x111e38 movq 0x136ff4(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x111e34 incl 0x8(%rax) jmp 0x111e38 leaq 0x18(%rbx), %rdi movq 0x20(%rbx), %rdx leaq 0xc0e21(%rip), %rcx # 0x1d2c26 xorl %esi, %esi xorl %r8d, %r8d callq 0x6a930 xorps %xmm0, %xmm0 movq 0x40(%rbx), %rdi movups %xmm0, 0x38(%rbx) testq %rdi, %rdi je 0x111ebd addq $0x80, %rsp popq %rbx popq %r14 popq %r15 jmp 0x69d60 lock incl 0x8(%rax) movl 0x38(%r14), %eax leaq 0x60(%rsp), %rdi movl %eax, -0x8(%rdi) addq $0x40, %r14 movq %r14, %rsi callq 0x8598e leaq 0x20(%rsp), %rdi callq 0x83134 movq %rsp, %rdi movq %rax, %rsi callq 0x6a220 leaq 0x18(%rbx), %rdi movq %rsp, %r14 movq %r14, %rsi callq 0x6abd0 movq (%r14), %rdi leaq 0x10(%rsp), %rax cmpq %rax, %rdi je 0x111e8e movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x20(%rsp), %rdi callq 0x83134 movq 0x10(%rax), %rcx movq %rcx, 0x38(%rbx) addq $0x40, %rbx addq $0x18, %rax movq %rbx, %rdi movq %rax, %rsi callq 0x6c300 leaq 0x20(%rsp), %rdi callq 0x85648 addq $0x80, %rsp popq %rbx popq %r14 popq %r15 retq jmp 0x111ecc movq %rax, %rbx leaq 0x20(%rsp), %rdi callq 0x85648 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc
QPDFNameTreeObjectHelper::iterator::insertAfter(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, QPDFObjectHandle)
void QPDFNameTreeObjectHelper::iterator::insertAfter(std::string const& key, QPDFObjectHandle value) { impl->insertAfter(QPDFObjectHandle::newUnicodeString(key), value); updateIValue(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdx, %r15 movq %rdi, %rbx movq 0x8(%rdi), %r14 leaq 0x10(%rsp), %rdi callq 0x6e2a0 movq (%r15), %rax movq %rax, (%rsp) movq 0x8(%r15), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x111f75 movq 0x136e79(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x111f71 incl 0x8(%rax) jmp 0x111f75 lock incl 0x8(%rax) leaq 0x10(%rsp), %rsi movq %rsp, %rdx movq %r14, %rdi callq 0x8253a movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x111f94 callq 0x69d60 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x111fa3 callq 0x69d60 movq %rbx, %rdi callq 0x111d8c addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x111fc7 callq 0x69d60 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x111fd6 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc
QPDFNameTreeObjectHelper::end() const
QPDFNameTreeObjectHelper::iterator QPDFNameTreeObjectHelper::end() const { return {std::make_shared<NNTreeIterator>(m->impl->end())}; }
pushq %r14 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx movq 0x28(%rsi), %rax movq (%rax), %rsi leaq 0x18(%rsp), %r14 movq %r14, %rdi callq 0x832c6 leaq 0x10(%rsp), %rdi movq $0x0, -0x8(%rdi) leaq 0x8(%rsp), %rsi leaq 0x7(%rsp), %rdx movq %r14, %rcx callq 0x112c04 leaq 0x131fc0(%rip), %rax # 0x2440c0 movq %rax, (%rbx) movq 0x8(%rsp), %rax movq %rax, 0x8(%rbx) movq 0x10(%rsp), %rax movq %rax, 0x10(%rbx) testq %rax, %rax je 0x11212f movq 0x136cbf(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x11212b incl 0x8(%rax) jmp 0x11212f lock incl 0x8(%rax) leaq 0x28(%rbx), %rax movq %rax, 0x18(%rbx) movq $0x0, 0x20(%rbx) movb $0x0, 0x28(%rbx) xorps %xmm0, %xmm0 movups %xmm0, 0x38(%rbx) movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x112159 callq 0x69d60 leaq 0x18(%rsp), %rdi callq 0x85648 movq %rbx, %rax addq $0x78, %rsp popq %rbx popq %r14 retq movq %rax, %rbx leaq 0x18(%rsp), %rdi callq 0x85648 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc
QPDFNameTreeObjectHelper::findObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, QPDFObjectHandle&)
bool QPDFNameTreeObjectHelper::findObject(std::string const& name, QPDFObjectHandle& oh) { auto i = find(name); if (i == end()) { return false; } oh = i->second; return true; }
pushq %rbp pushq %r14 pushq %rbx subq $0x90, %rsp movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %r14 movq %rsp, %rdi movq %r14, %rsi xorl %ecx, %ecx callq 0x69ed0 leaq 0x48(%rsp), %rdi movq %r14, %rsi callq 0x6a360 movq 0x8(%rsp), %rdi movq 0x50(%rsp), %rsi callq 0x83148 movl %eax, %ebp leaq 0x48(%rsp), %rdi callq 0xbb934 testb %bpl, %bpl jne 0x112604 movq %rsp, %rdi callq 0x111d8c leaq 0x40(%rsp), %rsi movq -0x8(%rsi), %rax movq %rax, (%rbx) addq $0x8, %rbx movq %rbx, %rdi callq 0x6c300 xorb $0x1, %bpl movq %rsp, %rdi callq 0xbb934 movl %ebp, %eax addq $0x90, %rsp popq %rbx popq %r14 popq %rbp retq jmp 0x11262f movq %rax, %rbx leaq 0x48(%rsp), %rdi callq 0xbb934 jmp 0x112632 movq %rax, %rbx movq %rsp, %rdi callq 0xbb934 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc
QPDFNameTreeObjectHelper::getAsMap[abi:cxx11]() const
std::map<std::string, QPDFObjectHandle> QPDFNameTreeObjectHelper::getAsMap() const { std::map<std::string, QPDFObjectHandle> result; result.insert(begin(), end()); return result; }
pushq %r14 pushq %rbx subq $0x98, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rdi), %rax movl $0x0, 0x8(%rdi) xorl %ecx, %ecx movq %rcx, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rax, 0x20(%rdi) movq %rcx, 0x28(%rdi) leaq 0x50(%rsp), %rdi callq 0x69510 leaq 0x8(%rsp), %rdi movq %r14, %rsi callq 0x6a360 leaq 0x50(%rsp), %rsi leaq 0x8(%rsp), %rdx movq %rbx, %rdi callq 0x1129de leaq 0x8(%rsp), %rdi callq 0xbb934 leaq 0x50(%rsp), %rdi callq 0xbb934 movq %rbx, %rax addq $0x98, %rsp popq %rbx popq %r14 retq movq %rax, %r14 leaq 0x8(%rsp), %rdi callq 0xbb934 jmp 0x1126d8 movq %rax, %r14 leaq 0x50(%rsp), %rdi callq 0xbb934 jmp 0x1126e7 movq %rax, %r14 movq %rbx, %rdi callq 0x947ea movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc
(anonymous namespace)::NameTreeDetails::itemsKey[abi:cxx11]() const
std::string const& itemsKey() const override { static std::string k("/Names"); return k; }
pushq %rbx movb 0x13ae11(%rip), %al # 0x24d510 testb %al, %al je 0x11270c leaq 0x13ade6(%rip), %rax # 0x24d4f0 popq %rbx retq leaq 0x13adfd(%rip), %rdi # 0x24d510 callq 0x69d10 testl %eax, %eax je 0x112703 leaq 0x13addd(%rip), %rax # 0x24d500 movq %rax, 0x13adc6(%rip) # 0x24d4f0 leaq 0x13adbf(%rip), %rdi # 0x24d4f0 leaq 0xa78d8(%rip), %rsi # 0x1ba010 leaq 0xa78d7(%rip), %rdx # 0x1ba016 callq 0x68bb0 movq 0x136595(%rip), %rdi # 0x248ce0 leaq 0x13ad9e(%rip), %rsi # 0x24d4f0 leaq 0x13a1f7(%rip), %rdx # 0x24c950 callq 0x6ce50 leaq 0x13adab(%rip), %rdi # 0x24d510 callq 0x6aef0 jmp 0x112703 movq %rax, %rbx leaq 0x13ad9a(%rip), %rdi # 0x24d510 callq 0x6a270 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc
QPDFNumberTreeObjectHelper::iterator::updateIValue()
void QPDFNumberTreeObjectHelper::iterator::updateIValue() { if (impl->valid()) { auto p = *impl; this->ivalue.first = p->first.getIntValue(); this->ivalue.second = p->second; } else { this->ivalue.first = 0; this->ivalue.second = QPDFObjectHandle(); } }
pushq %r15 pushq %r14 pushq %rbx subq $0x60, %rsp movq %rdi, %rbx movq 0x8(%rdi), %rdi callq 0x80066 testb %al, %al je 0x11343f movq 0x8(%rbx), %r14 leaq 0x12f7f4(%rip), %rax # 0x242bf0 leaq 0x10(%rsp), %r15 movq %rax, -0x10(%r15) movq 0x8(%r14), %rax movq %rax, -0x8(%r15) leaq 0x10(%r14), %rsi movq %r15, %rdi callq 0x8568e movq 0x28(%r14), %rax movq %rax, 0x18(%r15) movq 0x30(%r14), %rax movq %rax, 0x20(%r15) testq %rax, %rax je 0x113469 movq 0x1359ab(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x113465 incl 0x8(%rax) jmp 0x113469 xorps %xmm0, %xmm0 movups %xmm0, 0x18(%rbx) movq 0x28(%rbx), %rdi movq $0x0, 0x28(%rbx) testq %rdi, %rdi je 0x1134c0 addq $0x60, %rsp popq %rbx popq %r14 popq %r15 jmp 0x69d60 lock incl 0x8(%rax) movl 0x38(%r14), %eax leaq 0x40(%rsp), %rdi movl %eax, -0x8(%rdi) addq $0x40, %r14 movq %r14, %rsi callq 0x8598e movq %rsp, %rdi callq 0x83134 movq %rax, %rdi callq 0x6db80 movq %rax, 0x18(%rbx) movq %rsp, %rdi callq 0x83134 movq 0x10(%rax), %rcx movq %rcx, 0x20(%rbx) addq $0x28, %rbx addq $0x18, %rax movq %rbx, %rdi movq %rax, %rsi callq 0x6c300 movq %rsp, %rdi callq 0x85648 addq $0x60, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq %rsp, %rdi callq 0x85648 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc
QPDFNumberTreeObjectHelper::iterator::insertAfter(long long, QPDFObjectHandle)
void QPDFNumberTreeObjectHelper::iterator::insertAfter(numtree_number key, QPDFObjectHandle value) { impl->insertAfter(QPDFObjectHandle::newInteger(key), value); updateIValue(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdx, %r15 movq %rdi, %rbx movq 0x8(%rdi), %r14 leaq 0x10(%rsp), %rdi callq 0x6a820 movq (%r15), %rax movq %rax, (%rsp) movq 0x8(%r15), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x113571 movq 0x13587d(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x11356d incl 0x8(%rax) jmp 0x113571 lock incl 0x8(%rax) leaq 0x10(%rsp), %rsi movq %rsp, %rdx movq %r14, %rdi callq 0x8253a movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x113590 callq 0x69d60 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x11359f callq 0x69d60 movq %rbx, %rdi callq 0x1133d8 addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x1135c3 callq 0x69d60 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x1135d2 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc
QPDFNumberTreeObjectHelper::remove(long long, QPDFObjectHandle*)
bool QPDFNumberTreeObjectHelper::remove(numtree_number key, QPDFObjectHandle* value) { return m->impl->remove(QPDFObjectHandle::newInteger(key), value); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq 0x28(%rdi), %rax movq (%rax), %r14 movq %rsp, %r15 movq %r15, %rdi callq 0x6a820 movq %r14, %rdi movq %r15, %rsi movq %rbx, %rdx callq 0x85306 movl %eax, %ebx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x113ab3 callq 0x69d60 movl %ebx, %eax addq $0x10, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x113ad1 callq 0x69d60 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc
QPDFNumberTreeObjectHelper::getMax()
QPDFNumberTreeObjectHelper::numtree_number QPDFNumberTreeObjectHelper::getMax() { auto i = last(); if (i == end()) { return 0; } return i->first; }
pushq %rbx subq $0x60, %rsp movq %rdi, %rbx movq %rsp, %rdi movq %rbx, %rsi callq 0x6b260 leaq 0x30(%rsp), %rdi movq %rbx, %rsi callq 0x68ba0 movq 0x8(%rsp), %rdi movq 0x38(%rsp), %rsi callq 0x83148 movl %eax, %ebx leaq 0x30(%rsp), %rdi callq 0x114090 testb %bl, %bl je 0x113ba3 xorl %ebx, %ebx jmp 0x113bb0 movq %rsp, %rdi callq 0x1133d8 movq 0x18(%rsp), %rbx movq %rsp, %rdi callq 0x114090 movq %rbx, %rax addq $0x60, %rsp popq %rbx retq jmp 0x113bd2 movq %rax, %rbx leaq 0x30(%rsp), %rdi callq 0x114090 jmp 0x113bd5 movq %rax, %rbx movq %rsp, %rdi callq 0x114090 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc
QPDFNumberTreeObjectHelper::getAsMap() const
std::map<QPDFNumberTreeObjectHelper::numtree_number, QPDFObjectHandle> QPDFNumberTreeObjectHelper::getAsMap() const { std::map<numtree_number, QPDFObjectHandle> result; result.insert(begin(), end()); return result; }
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rdi), %rax movl $0x0, 0x8(%rdi) xorl %ecx, %ecx movq %rcx, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rax, 0x20(%rdi) movq %rcx, 0x28(%rdi) leaq 0x38(%rsp), %rdi callq 0x6aa50 leaq 0x8(%rsp), %rdi movq %r14, %rsi callq 0x68ba0 leaq 0x38(%rsp), %rsi leaq 0x8(%rsp), %rdx movq %rbx, %rdi callq 0x1140be leaq 0x8(%rsp), %rdi callq 0x114090 leaq 0x38(%rsp), %rdi callq 0x114090 movq %rbx, %rax addq $0x68, %rsp popq %rbx popq %r14 retq movq %rax, %r14 leaq 0x8(%rsp), %rdi callq 0x114090 jmp 0x113e86 movq %rax, %r14 leaq 0x38(%rsp), %rdi callq 0x114090 jmp 0x113e95 movq %rax, %r14 movq %rbx, %rdi callq 0x1141f0 movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc
(anonymous namespace)::NumberTreeDetails::compareKeys(QPDFObjectHandle, QPDFObjectHandle) const
int compareKeys(QPDFObjectHandle a, QPDFObjectHandle b) const override { if (!(keyValid(a) && keyValid(b))) { // We don't call this without calling keyValid first throw std::logic_error("comparing invalid keys"); } auto as = a.getIntValue(); auto bs = b.getIntValue(); return ((as < bs) ? -1 : (as > bs) ? 1 : 0); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x18(%rsp) movq 0x8(%rsi), %rax movq %rax, 0x20(%rsp) testq %rax, %rax je 0x113f78 movq 0x134e76(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x113f74 incl 0x8(%rax) jmp 0x113f78 lock incl 0x8(%rax) movq (%r15), %rax leaq 0x18(%rsp), %rsi movq %r15, %rdi callq *0x8(%rax) movl %eax, %ebp testb %al, %al je 0x113fb3 movq (%rbx), %rax movq %rax, 0x8(%rsp) movq 0x8(%rbx), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x113fbc movq 0x134e37(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x113fb8 incl 0x8(%rax) jmp 0x113fbc xorl %r15d, %r15d jmp 0x113fcd lock incl 0x8(%rax) movq (%r15), %rax leaq 0x8(%rsp), %rsi movq %r15, %rdi callq *0x8(%rax) movl %eax, %r15d testb %bpl, %bpl je 0x113fe1 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x113fe1 callq 0x69d60 movq 0x20(%rsp), %rdi testq %rdi, %rdi je 0x113ff0 callq 0x69d60 testb %r15b, %r15b je 0x114023 movq %r14, %rdi callq 0x6db80 movq %rax, %r14 movq %rbx, %rdi callq 0x6db80 xorl %ecx, %ecx cmpq %rax, %r14 setg %cl movl $0xffffffff, %eax # imm = 0xFFFFFFFF cmovgel %ecx, %eax addq $0x28, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq movl $0x10, %edi callq 0x6a000 movq %rax, %r14 leaq 0xbc121(%rip), %rsi # 0x1d0158 movq %rax, %rdi callq 0x6c820 movq 0x134f72(%rip), %rsi # 0x248fb8 movq 0x134edb(%rip), %rdx # 0x248f28 movq %r14, %rdi callq 0x6b420 movq %rax, %rbx movq %r14, %rdi callq 0x6cf40 jmp 0x114088 movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x114079 callq 0x69d60 jmp 0x114079 movq %rax, %rbx movq 0x20(%rsp), %rdi testq %rdi, %rdi je 0x114088 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc
QPDFObject::getDescription[abi:cxx11]()
std::string QPDFObject::getDescription() { qpdf_offset_t shift = (getTypeCode() == ::ot_dictionary) ? 2 : (getTypeCode() == ::ot_array) ? 1 : 0; if (object_description) { switch (object_description->index()) { case 0: { // Simple template string auto description = std::get<0>(*object_description); if (auto pos = description.find("$OG"); pos != std::string::npos) { description.replace(pos, 3, og.unparse(' ')); } if (auto pos = description.find("$PO"); pos != std::string::npos) { description.replace(pos, 3, std::to_string(parsed_offset + shift)); } return description; } case 1: { // QPDF::JSONReactor generated description auto j_descr = std::get<1>(*object_description); return ( *j_descr.input + (j_descr.object.empty() ? "" : ", " + j_descr.object) + " at offset " + std::to_string(parsed_offset)); } case 2: { // Child object description auto j_descr = std::get<2>(*object_description); std::string result; if (auto p = j_descr.parent.lock()) { result = p->getDescription(); } result += j_descr.static_descr; if (auto pos = result.find("$VD"); pos != std::string::npos) { result.replace(pos, 3, j_descr.var_descr); } return result; } case 3: auto [stream_id, obj_id] = std::get<3>(*object_description); std::string result = qpdf ? qpdf->getFilename() : ""; result += " object stream " + std::to_string(stream_id) + ", object " + std::to_string(obj_id) + " 0 at offset " + std::to_string(parsed_offset + shift); return result; } } else if (og.isIndirect()) { return "object " + og.unparse(' '); } return {}; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movq %rsi, %r14 movq %rdi, %rbp movb 0x30(%rsi), %al xorl %ecx, %ecx cmpb $0x8, %al sete %cl cmpb $0x9, %al movl $0x2, %r15d cmovneq %rcx, %r15 movq 0x38(%rsi), %rdi testq %rdi, %rdi je 0x1148d2 movzbl 0x38(%rdi), %eax cmpq $0x3, %rax ja 0x114934 leaq 0xbbbed(%rip), %rcx # 0x1d0394 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax callq 0x1157ba leaq 0x10(%rbp), %rcx movq %rcx, 0x98(%rsp) movq %rcx, (%rbp) movq (%rax), %rsi movq 0x8(%rax), %rdx addq %rsi, %rdx movq %rbp, %rdi callq 0x68320 leaq 0xbbbc6(%rip), %rsi # 0x1d03a4 movl $0x3, %ecx movq %rbp, %rdi xorl %edx, %edx callq 0x69d80 cmpq $-0x1, %rax je 0x11483b movq %rax, %rbx leaq 0x50(%r14), %rsi movq %rsp, %rdi movl $0x20, %edx callq 0x9401a movq (%rsp), %rcx movq 0x8(%rsp), %r8 movl $0x3, %edx movq %rbp, %rdi movq %rbx, %rsi callq 0x68b10 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11483b movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 leaq 0xbc7e5(%rip), %rsi # 0x1d1027 movl $0x3, %ecx movq %rbp, %rdi xorl %edx, %edx callq 0x69d80 cmpq $-0x1, %rax je 0x1154d9 movq %rax, %r12 addq 0x58(%r14), %r15 movq %r15, %r14 negq %r14 cmovsq %r15, %r14 movl $0x1, %ebx cmpq $0xa, %r14 jb 0x115475 movl $0x4, %ebx movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B movq %r14, %rcx cmpq $0x63, %rcx jbe 0x11546e cmpq $0x3e7, %rcx # imm = 0x3E7 jbe 0x115473 cmpq $0x2710, %rcx # imm = 0x2710 jb 0x115475 movq %rcx, %rax mulq %rsi shrq $0xb, %rdx addl $0x4, %ebx cmpq $0x1869f, %rcx # imm = 0x1869F movq %rdx, %rcx ja 0x11488d addl $-0x3, %ebx jmp 0x115475 cmpl $0x0, 0x50(%r14) je 0x114934 addq $0x50, %r14 movq %rsp, %rbx movq %rbx, %rdi movq %r14, %rsi movl $0x20, %edx callq 0x9401a leaq 0xbbab3(%rip), %rcx # 0x1d03aa movl $0x7, %r8d movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x10(%rbp), %rdx movq %rdx, (%rbp) movq (%rax), %rsi movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rsi je 0x1149ea movq %rsi, (%rbp) movq (%rcx), %rdx movq %rdx, 0x10(%rbp) jmp 0x1149f0 leaq 0x10(%rbp), %rax movq %rax, (%rbp) movq $0x0, 0x8(%rbp) movb $0x0, 0x10(%rbp) jmp 0x1154d9 callq 0x1158bd movq (%rax), %rcx movq %rcx, (%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x8(%rsp) testq %rcx, %rcx je 0x114aa4 movq 0x13446e(%rip), %rdx # 0x248de0 cmpb $0x0, (%rdx) je 0x114aa0 incl 0xc(%rcx) jmp 0x114aa4 callq 0x11597c movl (%rax), %r13d movl 0x4(%rax), %eax movq %rax, 0x98(%rsp) movq 0x48(%r14), %rsi testq %rsi, %rsi movq %rbp, 0xc0(%rsp) je 0x114a23 movq %rbp, %rdi callq 0x6d810 jmp 0x114a3d callq 0x115824 movq (%rax), %rcx movq %rcx, (%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x8(%rsp) testq %rcx, %rcx je 0x114bf2 movq 0x134407(%rip), %rdx # 0x248de0 cmpb $0x0, (%rdx) je 0x114bee incl 0x8(%rcx) jmp 0x114bf2 movups (%rcx), %xmm0 movups %xmm0, (%rdx) movq 0x8(%rax), %rdx movq %rdx, 0x8(%rbp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x1154d9 movq 0x10(%rsp), %rsi jmp 0x115464 leaq 0x10(%rbp), %rax movq %rax, (%rbp) leaq 0xbe1f4(%rip), %rdx # 0x1d2c26 movq %rbp, %rdi movq %rdx, %rsi callq 0x68bb0 movl %r13d, %ebp negl %ebp cmovsl %r13d, %ebp movl $0x1, %ebx cmpl $0xa, %ebp jb 0x114da6 movl $0x4, %ebx movl $0xd1b71759, %eax # imm = 0xD1B71759 movl %ebp, %ecx cmpl $0x63, %ecx jbe 0x114d97 cmpl $0x3e7, %ecx # imm = 0x3E7 jbe 0x114da4 cmpl $0x2710, %ecx # imm = 0x2710 jb 0x114da6 movl %ecx, %edx imulq %rax, %rdx shrq $0x2d, %rdx addl $0x4, %ebx cmpl $0x1869f, %ecx # imm = 0x1869F movl %edx, %ecx ja 0x114a60 addl $-0x3, %ebx jmp 0x114da6 lock incl 0xc(%rcx) movq 0x10(%rax), %rcx leaq 0x18(%rsp), %rdi movq %rcx, -0x8(%rdi) leaq 0x28(%rsp), %r14 movq %r14, -0x10(%r14) movq 0x18(%rax), %rsi movq 0x20(%rax), %rdx addq %rsi, %rdx callq 0x68320 leaq 0x10(%rbp), %r12 movq %r12, (%rbp) movq $0x0, 0x8(%rbp) movb $0x0, 0x10(%rbp) movq 0x8(%rsp), %r15 testq %r15, %r15 je 0x114b00 movl 0x8(%r15), %eax testl %eax, %eax je 0x114afd leal 0x1(%rax), %ecx lock cmpxchgl %ecx, 0x8(%r15) jne 0x114aec jmp 0x114b00 xorl %r15d, %r15d testq %r15, %r15 je 0x114b10 movl 0x8(%r15), %eax testl %eax, %eax sete %al jmp 0x114b12 movb $0x1, %al movq (%rsp), %rsi testq %rsi, %rsi sete %cl orb %al, %cl jne 0x114b54 leaq 0x38(%rsp), %rdi callq 0x114758 leaq 0x38(%rsp), %rbx movq %rbp, %rdi movq %rbx, %rsi callq 0x6abd0 movq (%rbx), %rdi leaq 0x48(%rsp), %rax cmpq %rax, %rdi je 0x114b54 movq 0x48(%rsp), %rsi incq %rsi callq 0x68760 testq %r15, %r15 je 0x114b61 movq %r15, %rdi callq 0x69d60 movq 0x10(%rsp), %rax movq (%rax), %rdx movq 0x8(%rax), %rsi movq %rbp, %rdi callq 0x69be0 leaq 0xbe853(%rip), %rsi # 0x1d33cf movl $0x3, %ecx movq %rbp, %rdi xorl %edx, %edx callq 0x69d80 cmpq $-0x1, %rax je 0x114bab movq 0x18(%rsp), %rcx movq 0x20(%rsp), %r8 movl $0x3, %edx movq %rbp, %rdi movq %rax, %rsi callq 0x68b10 movq 0x18(%rsp), %rdi cmpq %r14, %rdi je 0x114bc2 movq 0x28(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x1154d9 movq 0x134209(%rip), %rax # 0x248de0 cmpb $0x0, (%rax) je 0x114d79 movl 0xc(%rdi), %eax leal -0x1(%rax), %ecx movl %ecx, 0xc(%rdi) jmp 0x114d83 lock incl 0x8(%rcx) leaq 0x10(%rsp), %rbx leaq 0x20(%rsp), %rcx movq %rcx, -0x10(%rcx) movq 0x10(%rax), %rsi movq 0x18(%rax), %rdx addq %rsi, %rdx movq %rbx, %rdi callq 0x68320 movq (%rsp), %r15 cmpq $0x0, 0x18(%rsp) je 0x114c35 leaq 0xa555d(%rip), %rsi # 0x1ba183 leaq 0x58(%rsp), %rdi movq %rbx, %rdx callq 0x6c310 jmp 0x114c52 leaq 0x68(%rsp), %rax movq %rax, -0x10(%rax) leaq 0xbdfe1(%rip), %rdx # 0x1d2c26 leaq 0x58(%rsp), %rdi movq %rdx, %rsi callq 0x68bb0 movq (%r15), %rcx movq 0x8(%r15), %r8 leaq 0x58(%rsp), %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x88(%rsp), %rsi movq %rsi, -0x10(%rsi) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x114c94 movq %rdx, 0x78(%rsp) movq (%rcx), %rdx movq %rdx, 0x88(%rsp) jmp 0x114c9a movups (%rcx), %xmm0 movups %xmm0, (%rsi) movq 0x8(%rax), %rdx leaq 0x78(%rsp), %rdi movq %rdx, 0x8(%rdi) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0xbb6f7(%rip), %rsi # 0x1d03b4 callq 0x6b8d0 leaq 0x48(%rsp), %r13 movq %r13, -0x10(%r13) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x114ce9 movq %rdx, 0x38(%rsp) movq (%rcx), %rdx movq %rdx, 0x48(%rsp) jmp 0x114cf1 movups (%rcx), %xmm0 movups %xmm0, (%r13) movq 0x8(%rax), %rdx movq %rdx, 0x40(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) movq 0x58(%r14), %r15 movq %r15, %r14 negq %r14 cmovsq %r15, %r14 movl $0x1, %ebx cmpq $0xa, %r14 jb 0x1150d8 movl $0x4, %ebx movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B movq %r14, %rcx cmpq $0x63, %rcx jbe 0x114d9c cmpq $0x3e7, %rcx # imm = 0x3E7 jbe 0x1150d6 cmpq $0x2710, %rcx # imm = 0x2710 jb 0x1150d8 movq %rcx, %rax mulq %rsi shrq $0xb, %rdx addl $0x4, %ebx cmpq $0x1869f, %rcx # imm = 0x1869F movq %rdx, %rcx ja 0x114d38 addl $-0x3, %ebx jmp 0x1150d8 movl $0xffffffff, %eax # imm = 0xFFFFFFFF lock xaddl %eax, 0xc(%rdi) cmpl $0x1, %eax jne 0x1154d9 movq (%rdi), %rax callq *0x18(%rax) jmp 0x1154d9 addl $-0x2, %ebx jmp 0x114da6 addl $-0x2, %ebx jmp 0x1150d8 decl %ebx shrl $0x1f, %r13d leal (%rbx,%r13), %esi leaq 0x118(%rsp), %rax movq %rax, -0x10(%rax) leaq 0x108(%rsp), %rdi movl $0x2d, %edx callq 0x6b1f0 leaq 0x108(%rsp), %r12 addq (%r12), %r13 movq %r13, %rdi movl %ebx, %esi movl %ebp, %edx callq 0x6c7a0 leaq 0xc210a(%rip), %rcx # 0x1d6ef5 movl $0xf, %r8d movq %r12, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0xb0(%rsp), %r12 movq %r12, -0x10(%r12) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx movq 0x98(%rsp), %r13 je 0x114e36 movq %rdx, 0xa0(%rsp) movq (%rcx), %rdx movq %rdx, 0xb0(%rsp) jmp 0x114e3e movups (%rcx), %xmm0 movups %xmm0, (%r12) movq 0x8(%rax), %rdx leaq 0xa0(%rsp), %rdi movq %rdx, 0x8(%rdi) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0xbb544(%rip), %rsi # 0x1d03a8 callq 0x6b8d0 leaq 0x68(%rsp), %rsi movq %rsi, -0x10(%rsi) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x114e90 movq %rdx, 0x58(%rsp) movq (%rcx), %rdx movq %rdx, 0x68(%rsp) jmp 0x114e96 movups (%rcx), %xmm0 movups %xmm0, (%rsi) movq 0x8(%rax), %rdx movq %rdx, 0x60(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) movl %r13d, %ebp negl %ebp cmovsl %r13d, %ebp movl $0x1, %ebx cmpl $0xa, %ebp jb 0x114f05 movl $0x4, %ebx movl $0xd1b71759, %eax # imm = 0xD1B71759 movl %ebp, %ecx cmpl $0x63, %ecx jbe 0x114efe cmpl $0x3e7, %ecx # imm = 0x3E7 jbe 0x114f03 cmpl $0x2710, %ecx # imm = 0x2710 jb 0x114f05 movl %ecx, %edx imulq %rax, %rdx shrq $0x2d, %rdx addl $0x4, %ebx cmpl $0x1869f, %ecx # imm = 0x1869F movl %edx, %ecx ja 0x114ecd addl $-0x3, %ebx jmp 0x114f05 addl $-0x2, %ebx jmp 0x114f05 decl %ebx shrl $0x1f, %r13d leal (%rbx,%r13), %esi leaq 0xd8(%rsp), %rax movq %rax, -0x10(%rax) leaq 0xc8(%rsp), %rdi movl $0x2d, %edx callq 0x6b1f0 addq 0xc8(%rsp), %r13 movq %r13, %rdi movl %ebx, %esi movl %ebp, %edx callq 0x6c7a0 movq 0x58(%rsp), %rcx movq 0x60(%rsp), %r8 movq 0xd0(%rsp), %rdx leaq (%rdx,%r8), %rax movl $0xf, %esi leaq 0x68(%rsp), %rdi cmpq %rdi, %rcx je 0x114f69 movq 0x68(%rsp), %rsi cmpq %rsi, %rax jbe 0x114f92 movl $0xf, %esi leaq 0xd8(%rsp), %rdi cmpq %rdi, 0xc8(%rsp) je 0x114f8d movq 0xd8(%rsp), %rsi cmpq %rsi, %rax jbe 0x114fa6 movq 0xc8(%rsp), %rsi leaq 0x58(%rsp), %rdi callq 0x6bfe0 jmp 0x114fb7 leaq 0xc8(%rsp), %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x88(%rsp), %rdx movq %rdx, -0x10(%rdx) movq (%rax), %rsi leaq 0x10(%rax), %rcx cmpq %rcx, %rsi je 0x114fe1 movq %rsi, 0x78(%rsp) movq (%rcx), %rdx movq %rdx, 0x88(%rsp) jmp 0x114fe7 movups (%rcx), %xmm0 movups %xmm0, (%rdx) movq %rax, %rdx addq $0x8, %rdx movq 0x8(%rax), %rsi movq %rsi, 0x80(%rsp) movq %rcx, (%rax) movq $0x0, (%rdx) movb $0x0, (%rcx) leaq 0xbb3a4(%rip), %rsi # 0x1d03b2 leaq 0x78(%rsp), %rdi callq 0x6b8d0 leaq 0x48(%rsp), %rbp movq %rbp, -0x10(%rbp) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x11503f movq %rdx, 0x38(%rsp) movq (%rcx), %rdx movq %rdx, 0x48(%rsp) jmp 0x115046 movups (%rcx), %xmm0 movups %xmm0, (%rbp) movq 0x8(%rax), %rdx movq %rdx, 0x40(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) addq 0x58(%r14), %r15 movq %r15, %r14 negq %r14 cmovsq %r15, %r14 movl $0x1, %ebx cmpq $0xa, %r14 jb 0x11526b movl $0x4, %ebx movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B movq %r14, %rcx cmpq $0x63, %rcx jbe 0x1150ce cmpq $0x3e7, %rcx # imm = 0x3E7 jbe 0x115269 cmpq $0x2710, %rcx # imm = 0x2710 jb 0x11526b movq %rcx, %rax mulq %rsi shrq $0xb, %rdx addl $0x4, %ebx cmpq $0x1869f, %rcx # imm = 0x1869F movq %rdx, %rcx ja 0x11508d addl $-0x3, %ebx jmp 0x11526b addl $-0x2, %ebx jmp 0x11526b decl %ebx shrq $0x3f, %r15 leal (%r15,%rbx), %esi leaq 0xb0(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xa0(%rsp), %rdi movl $0x2d, %edx callq 0x6b1f0 addq 0xa0(%rsp), %r15 movq %r15, %rdi movl %ebx, %esi movq %r14, %rdx callq 0x6e850 movq 0x38(%rsp), %rcx movq 0x40(%rsp), %r8 movq 0xa8(%rsp), %rdx leaq (%rdx,%r8), %rax movl $0xf, %esi cmpq %r13, %rcx je 0x115139 movq 0x48(%rsp), %rsi cmpq %rsi, %rax jbe 0x11515a movl $0xf, %esi cmpq %r12, 0xa0(%rsp) je 0x115155 movq 0xb0(%rsp), %rsi cmpq %rsi, %rax jbe 0x11516e movq 0xa0(%rsp), %rsi leaq 0x38(%rsp), %rdi callq 0x6bfe0 jmp 0x11517f leaq 0xa0(%rsp), %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 movq %rbp, %rdi leaq 0x10(%rbp), %rdx movq %rdx, (%rbp) movq (%rax), %rsi leaq 0x10(%rax), %rcx cmpq %rcx, %rsi je 0x1151a2 movq %rsi, (%rdi) movq (%rcx), %rdx movq %rdx, 0x10(%rdi) jmp 0x1151a8 movups (%rcx), %xmm0 movups %xmm0, (%rdx) movq %rax, %rdx addq $0x8, %rdx movq 0x8(%rax), %rsi movq %rsi, 0x8(%rdi) movq %rcx, (%rax) movq $0x0, (%rdx) movb $0x0, (%rcx) movq 0xa0(%rsp), %rdi cmpq %r12, %rdi je 0x1151e1 movq 0xb0(%rsp), %rsi incq %rsi callq 0x68760 movq 0x38(%rsp), %rdi cmpq %r13, %rdi leaq 0x20(%rsp), %rbx je 0x1151fd movq 0x48(%rsp), %rsi incq %rsi callq 0x68760 movq 0x78(%rsp), %rdi leaq 0x88(%rsp), %rax cmpq %rax, %rdi je 0x11521f movq 0x88(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x68(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11523a movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 movq 0x10(%rsp), %rdi cmpq %rbx, %rdi je 0x115251 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x1154d9 callq 0x69d60 jmp 0x1154d9 decl %ebx movq %r12, %r13 shrq $0x3f, %r15 leal (%r15,%rbx), %esi leaq 0xf8(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xe8(%rsp), %rdi movl $0x2d, %edx callq 0x6b1f0 addq 0xe8(%rsp), %r15 movq %r15, %rdi movl %ebx, %esi movq %r14, %rdx callq 0x6e850 movq 0x38(%rsp), %rcx movq 0x40(%rsp), %r8 movq 0xf0(%rsp), %rdx leaq (%rdx,%r8), %rax movl $0xf, %esi cmpq %rbp, %rcx je 0x1152cf movq 0x48(%rsp), %rsi cmpq %rsi, %rax jbe 0x1152f0 movl $0xf, %esi cmpq %r12, 0xe8(%rsp) je 0x1152eb movq 0xf8(%rsp), %rsi cmpq %rsi, %rax jbe 0x115304 movq 0xe8(%rsp), %rsi leaq 0x38(%rsp), %rdi callq 0x6bfe0 jmp 0x115315 leaq 0xe8(%rsp), %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x10(%rsp), %rdx movq %rdx, -0x10(%rdx) movq (%rax), %rsi leaq 0x10(%rax), %rcx cmpq %rcx, %rsi je 0x115338 movq %rsi, (%rsp) movq (%rcx), %rdx movq %rdx, 0x10(%rsp) jmp 0x11533e movups (%rcx), %xmm0 movups %xmm0, (%rdx) movq %rax, %rdx addq $0x8, %rdx movq 0x8(%rax), %rsi movq %rsi, 0x8(%rsp) movq %rcx, (%rax) movq $0x0, (%rdx) movb $0x0, (%rcx) movq (%rsp), %rsi movq 0x8(%rsp), %rdx movq 0xc0(%rsp), %rdi callq 0x6bfe0 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11538c movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0xe8(%rsp), %rdi cmpq %r12, %rdi je 0x1153a9 movq 0xf8(%rsp), %rsi incq %rsi callq 0x68760 movq 0x38(%rsp), %rdi cmpq %rbp, %rdi je 0x1153c0 movq 0x48(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x88(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi movq 0xc0(%rsp), %rbp je 0x1153e9 movq 0x88(%rsp), %rsi incq %rsi callq 0x68760 movq 0xc8(%rsp), %rdi leaq 0xd8(%rsp), %rax cmpq %rax, %rdi je 0x11540e movq 0xd8(%rsp), %rsi incq %rsi callq 0x68760 movq 0x58(%rsp), %rdi leaq 0x68(%rsp), %rax cmpq %rax, %rdi je 0x11542a movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 movq 0xa0(%rsp), %rdi cmpq %r13, %rdi je 0x115447 movq 0xb0(%rsp), %rsi incq %rsi callq 0x68760 movq 0x108(%rsp), %rdi leaq 0x118(%rsp), %rax cmpq %rax, %rdi je 0x1154d9 movq 0x118(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x1154d9 addl $-0x2, %ebx jmp 0x115475 decl %ebx movq %rbp, %r13 shrq $0x3f, %r15 leal (%r15,%rbx), %esi leaq 0x10(%rsp), %rbp movq %rbp, -0x10(%rbp) movq %rsp, %rdi movl $0x2d, %edx callq 0x6b1f0 addq (%rsp), %r15 movq %r15, %rdi movl %ebx, %esi movq %r14, %rdx callq 0x6e850 movq (%rsp), %rcx movq 0x8(%rsp), %r8 movl $0x3, %edx movq %r13, %rdi movq %r12, %rsi callq 0x68b10 movq (%rsp), %rdi cmpq %rbp, %rdi je 0x1154d6 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %r13, %rbp movq %rbp, %rax addq $0x128, %rsp # imm = 0x128 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movq %rax, %r14 testq %r15, %r15 je 0x1156e9 movq %r15, %rdi callq 0x69d60 jmp 0x1156e9 jmp 0x1156e6 movq %rax, %r14 movq (%rsp), %rdi cmpq %rbp, %rdi jne 0x115530 jmp 0x115545 jmp 0x115542 movq %rbp, %r13 movq %rax, %r14 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x115545 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x115545 movq %rbp, %r13 movq %rax, %r14 movq (%r13), %rdi cmpq 0x98(%rsp), %rdi je 0x115764 movq 0x98(%rsp), %rax jmp 0x115759 movq %rax, %r14 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x115587 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x115587 movq %rax, %r14 movq 0xe8(%rsp), %rdi cmpq %r12, %rdi je 0x1155a9 movq 0xf8(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x1155a9 movq %rax, %r14 movq 0x38(%rsp), %rdi cmpq %rbp, %rdi je 0x1155ea movq 0x48(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x1155ea movq %rax, %r14 movq 0xa0(%rsp), %rdi cmpq %r12, %rdi je 0x115610 movq 0xb0(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x115610 movq %r12, %r13 movq %rax, %r14 leaq 0x88(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11562f movq 0x88(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11562f movq %rax, %r14 movq 0x38(%rsp), %rdi cmpq %r13, %rdi je 0x11567d movq 0x48(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11567d movq %r12, %r13 movq %rax, %r14 movq 0xc8(%rsp), %rdi leaq 0xd8(%rsp), %rax cmpq %rax, %rdi je 0x11565c movq 0xd8(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11565c movq %r12, %r13 movq %rax, %r14 movq 0x58(%rsp), %rdi leaq 0x68(%rsp), %rax cmpq %rax, %rdi je 0x1156c7 movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x1156c7 movq %rax, %r14 movq 0x78(%rsp), %rdi leaq 0x88(%rsp), %rax cmpq %rax, %rdi je 0x1156a4 movq 0x88(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x1156a4 movq %rax, %r14 leaq 0x68(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11570b movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11570b movq %r12, %r13 movq %rax, %r14 movq 0xa0(%rsp), %rdi cmpq %r13, %rdi je 0x115718 movq 0xb0(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x115718 movq %rax, %r14 movq (%rbp), %rdi cmpq %r12, %rdi je 0x1156fe movq (%r12), %rsi incq %rsi callq 0x68760 movq %rsp, %rdi callq 0x115928 jmp 0x115764 movq %rax, %r14 movq %rsp, %rdi callq 0x115890 jmp 0x115764 movq %rax, %r14 movq 0x108(%rsp), %rdi leaq 0x118(%rsp), %rax cmpq %rax, %rdi je 0x115742 movq 0x118(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x115742 movq %rax, %r14 movq 0xc0(%rsp), %rcx movq (%rcx), %rdi addq $0x10, %rcx cmpq %rcx, %rdi je 0x115764 movq %rcx, %rax movq (%rax), %rsi incq %rsi callq 0x68760 movq %r14, %rdi callq 0x6b780 movq %rax, %r14 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x115764 callq 0x69d60 jmp 0x115764 movq %rax, %r14 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x115764 leaq 0x38(%rsp), %rbx movq %r14, %rsi movq %rbx, %rcx callq 0x6fa93 movq (%rbx), %r14 jmp 0x115764 movq %rax, %r14 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x115764 movq 0x10(%rsp), %rsi jmp 0x11575c
/jberkenbilt[P]qpdf/libqpdf/QPDFObject.cc
QPDFObject::ChildDescr::~ChildDescr()
ChildDescr( std::shared_ptr<QPDFObject> parent, std::string_view const& static_descr, std::string var_descr) : parent(parent), static_descr(static_descr), var_descr(var_descr) { }
pushq %rbx movq %rdi, %rbx movq 0x18(%rdi), %rdi leaq 0x28(%rbx), %rax cmpq %rax, %rdi je 0x115944 movq (%rax), %rsi incq %rsi callq 0x68760 movq 0x8(%rbx), %rdi testq %rdi, %rdi je 0x11597a movq 0x13348c(%rip), %rax # 0x248de0 cmpb $0x0, (%rax) je 0x115964 movl 0xc(%rdi), %eax leal -0x1(%rax), %ecx movl %ecx, 0xc(%rdi) jmp 0x11596e movl $0xffffffff, %eax # imm = 0xFFFFFFFF lock xaddl %eax, 0xc(%rdi) cmpl $0x1, %eax jne 0x11597a movq (%rdi), %rax popq %rbx jmpq *0x18(%rax) popq %rbx retq
/jberkenbilt[P]qpdf/libqpdf/qpdf/QPDFObject_private.hh
qpdf::Name::normalize(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string Name::normalize(std::string const& name) { if (name.empty()) { return name; } std::string result; result += name.at(0); for (size_t i = 1; i < name.length(); ++i) { char ch = name.at(i); // Don't use locale/ctype here; follow PDF spec guidelines. if (ch == '\0') { // QPDFTokenizer embeds a null character to encode an invalid #. result += "#"; } else if ( ch < 33 || ch == '#' || ch == '/' || ch == '(' || ch == ')' || ch == '{' || ch == '}' || ch == '<' || ch == '>' || ch == '[' || ch == ']' || ch == '%' || ch > 126) { result += util::hex_encode_char(ch); } else { result += ch; } } return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rdx leaq 0x10(%rdi), %rax movq %rax, (%rdi) testq %rdx, %rdx je 0x115ec5 movq %rax, (%rsp) movq $0x0, 0x8(%rbx) movb $0x0, 0x10(%rbx) movq (%r14), %rax movsbl (%rax), %esi movq %rbx, %rdi callq 0x6ede0 cmpq $0x2, 0x8(%r14) jb 0x115ed3 movl $0x1, %ebp leaq 0x18(%rsp), %r15 leaq 0xa9abd(%rip), %r12 # 0x1bf8bb leaq 0x9fa90(%rip), %r13 # 0x1b5895 movq (%r14), %rax movb (%rax,%rbp), %cl testb %cl, %cl je 0x115e9e movzbl %cl, %eax cmpb $0x21, %cl jl 0x115e45 leal -0x23(%rax), %edx cmpl $0x3a, %edx ja 0x115e33 movabsq $0x50000000a001065, %rsi # imm = 0x50000000A001065 btq %rdx, %rsi jb 0x115e45 leal -0x7b(%rax), %edx cmpl $0x4, %edx ja 0x115eb8 movl $0x15, %esi btl %edx, %esi jae 0x115eb8 movl %eax, %ecx shrl $0x4, %ecx movb (%rcx,%r13), %cl andl $0xf, %eax movb (%rax,%r13), %al movq %r15, 0x8(%rsp) movb $0x23, 0x18(%rsp) movb %cl, 0x19(%rsp) movb %al, 0x1a(%rsp) movq $0x3, 0x10(%rsp) movb $0x0, 0x1b(%rsp) movl $0x3, %edx movq %rbx, %rdi movq %r15, %rsi callq 0x6bfe0 movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x115ea9 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x115ea9 movq %rbx, %rdi movq %r12, %rsi callq 0x6b8d0 incq %rbp cmpq 0x8(%r14), %rbp jb 0x115e05 jmp 0x115ed3 movsbl %cl, %esi movq %rbx, %rdi callq 0x6ede0 jmp 0x115ea9 movq (%r14), %rsi addq %rsi, %rdx movq %rbx, %rdi callq 0x68320 movq %rbx, %rax addq $0x28, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq jmp 0x115ee7 movq %rax, %r14 jmp 0x115f06 movq %rax, %r14 movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x115f06 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq (%rbx), %rdi cmpq (%rsp), %rdi je 0x115f1e movq (%rsp), %rax movq (%rax), %rsi incq %rsi callq 0x68760 movq %r14, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
qpdf::BaseHandle::copy(bool) const
std::shared_ptr<QPDFObject> BaseHandle::copy(bool shallow) const { switch (resolved_type_code()) { case ::ot_uninitialized: throw std::logic_error("QPDFObjectHandle: attempting to copy an uninitialized object"); return {}; // does not return case ::ot_reserved: return QPDFObject::create<QPDF_Reserved>(); case ::ot_null: return QPDFObject::create<QPDF_Null>(); case ::ot_boolean: return QPDFObject::create<QPDF_Bool>(std::get<QPDF_Bool>(obj->value).val); case ::ot_integer: return QPDFObject::create<QPDF_Integer>(std::get<QPDF_Integer>(obj->value).val); case ::ot_real: return QPDFObject::create<QPDF_Real>(std::get<QPDF_Real>(obj->value).val); case ::ot_string: return QPDFObject::create<QPDF_String>(std::get<QPDF_String>(obj->value).val); case ::ot_name: return QPDFObject::create<QPDF_Name>(std::get<QPDF_Name>(obj->value).name); case ::ot_array: { auto const& a = std::get<QPDF_Array>(obj->value); if (shallow) { return QPDFObject::create<QPDF_Array>(a); } else { QTC::TC("qpdf", "QPDF_Array copy", a.sp ? 0 : 1); if (a.sp) { QPDF_Array result; result.sp = std::make_unique<QPDF_Array::Sparse>(); result.sp->size = a.sp->size; for (auto const& [idx, oh]: a.sp->elements) { result.sp->elements[idx] = oh.indirect() ? oh : oh.copy(); } return QPDFObject::create<QPDF_Array>(std::move(result)); } else { std::vector<QPDFObjectHandle> result; result.reserve(a.elements.size()); for (auto const& element: a.elements) { result.emplace_back( element ? (element.indirect() ? element : element.copy()) : element); } return QPDFObject::create<QPDF_Array>(std::move(result), false); } } } case ::ot_dictionary: { auto const& d = std::get<QPDF_Dictionary>(obj->value); if (shallow) { return QPDFObject::create<QPDF_Dictionary>(d.items); } else { std::map<std::string, QPDFObjectHandle> new_items; for (auto const& [key, val]: d.items) { new_items[key] = val.indirect() ? val : val.copy(); } return QPDFObject::create<QPDF_Dictionary>(new_items); } } case ::ot_stream: QTC::TC("qpdf", "QPDF_Stream ERR shallow copy stream"); throw std::runtime_error("stream objects cannot be cloned"); return {}; // does not return case ::ot_operator: return QPDFObject::create<QPDF_Operator>(std::get<QPDF_Operator>(obj->value).val); case ::ot_inlineimage: return QPDFObject::create<QPDF_InlineImage>(std::get<QPDF_InlineImage>(obj->value).val); case ::ot_unresolved: throw std::logic_error("QPDFObjectHandle: attempting to unparse a reserved object"); return {}; // does not return case ::ot_destroyed: throw std::logic_error("attempted to shallow copy QPDFObjectHandle from destroyed QPDF"); return {}; // does not return case ::ot_reference: return obj->qpdf->getObject(obj->og).getObj(); } return {}; // unreachable }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rcx testq %rcx, %rcx je 0x115f66 movsbl 0x30(%rcx), %eax cmpl $0xd, %eax jne 0x115f68 movq 0x48(%rcx), %rdi movq 0x50(%rcx), %rsi callq 0x182b0a movq (%rax), %rax movsbl 0x30(%rax), %eax jmp 0x115f68 xorl %eax, %eax cmpl $0xf, %eax ja 0x116218 movl %eax, %eax leaq 0xba446(%rip), %rcx # 0x1d03c0 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movq $0x0, (%rbx) movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x12d64f(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) movb $0x1, 0x40(%rax) jmp 0x1161dd movq (%r14), %rax movq 0x48(%rax), %rsi movq 0x50(%rax), %rdx leaq 0x20(%rsp), %r14 movq %r14, %rdi callq 0x6eb20 movq (%r14), %rax movq %rax, (%rbx) movq 0x8(%r14), %rax movq %rax, 0x8(%rbx) testq %rax, %rax je 0x11650e movq 0x132df5(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x11650a incl 0x8(%rax) jmp 0x11650e movq (%r14), %rdi callq 0x12240d movq %rbx, %rdi movq %rax, %rsi callq 0x120a8a jmp 0x11661e movq (%r14), %rdi callq 0x1225df movq %rbx, %rdi movq %rax, %rsi callq 0x12117a jmp 0x11661e movq (%r14), %rdi callq 0x1223a2 movq (%rax), %r14 movq $0x0, (%rbx) movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x12d59b(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) leaq 0x10(%rax), %rcx movq %r14, 0x10(%rax) movb $0x4, 0x40(%rax) jmp 0x1160ec movq (%r14), %rdi callq 0x94c09 movq %rax, %r14 testb %bpl, %bpl je 0x116253 leaq 0x20(%rsp), %r15 movq %r15, %rdi movq %r14, %rsi callq 0x12372c leaq 0x58(%rsp), %rsi movq %rbx, %rdi movq %r15, %rdx callq 0x123652 leaq 0x20(%rsp), %rdi jmp 0x1164da movq (%r14), %rdi callq 0x122337 movb (%rax), %bpl movq $0x0, (%rbx) movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x12d51b(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) leaq 0x10(%rax), %rcx movb %bpl, 0x10(%rax) movb $0x3, 0x40(%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rax) movups %xmm0, 0x58(%rax) movq $-0x1, 0x68(%rax) movq %rax, 0x8(%rbx) movq %rcx, (%rbx) jmp 0x11661e movq (%r14), %rdi callq 0x12254e movq %rax, %r15 testb %bpl, %bpl je 0x116354 leaq 0x20(%rsp), %rdi movq %r15, %rsi callq 0x1230e8 movq $0x0, (%rbx) movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x12d4a6(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) movq %rax, %rcx addq $0x10, %rcx leaq 0x28(%rsp), %rdi movq -0x8(%rdi), %rdx movq %rdx, 0x10(%rax) xorl %edx, %edx movq %rdx, -0x8(%rdi) movq (%rdi), %rsi movq %rsi, 0x18(%rax) movq 0x8(%rdi), %rsi movq %rsi, 0x20(%rax) movq 0x10(%rdi), %rsi movq %rsi, 0x28(%rax) movq %rdx, 0x10(%rdi) xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movb $0x8, 0x40(%rax) movups %xmm0, 0x48(%rax) movups %xmm0, 0x58(%rax) movq $-0x1, 0x68(%rax) movq %rax, 0x8(%rbx) movq %rcx, (%rbx) jmp 0x1164f6 movq $0x0, (%rbx) movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x12d422(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) movb $0x2, 0x40(%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rax) movups %xmm0, 0x58(%rax) movq $-0x1, 0x68(%rax) movq %rax, 0x8(%rbx) addq $0x10, %rax movq %rax, (%rbx) jmp 0x11661e movq (%r14), %rdi callq 0x122478 movq %rbx, %rdi movq %rax, %rsi callq 0x120b86 jmp 0x11661e xorps %xmm0, %xmm0 movups %xmm0, (%rbx) jmp 0x11661e movq (%r14), %rdi callq 0x12264a movq %rbx, %rdi movq %rax, %rsi callq 0x121276 jmp 0x11661e movq (%r14), %rdi callq 0x1224e3 movq %rbx, %rdi movq %rax, %rsi callq 0x120c82 jmp 0x11661e leaq 0x60(%rsp), %rax movl $0x0, (%rax) xorl %ecx, %ecx movq %rcx, 0x8(%rax) movq %rax, 0x10(%rax) movq %rax, 0x18(%rax) movq %rcx, 0x20(%rax) movq 0x18(%r14), %r15 addq $0x8, %r14 cmpq %r14, %r15 je 0x1164aa leaq 0x28(%rsp), %r12 leaq 0x58(%rsp), %r13 movq 0x40(%r15), %rax testq %rax, %rax je 0x11629e cmpl $0x0, 0x50(%rax) setne %bpl jmp 0x1162a0 xorl %ebp, %ebp testb %bpl, %bpl je 0x1162cd movq %rax, 0x20(%rsp) movq 0x48(%r15), %rax movq %rax, 0x28(%rsp) testq %rax, %rax je 0x1162ef movq 0x132b21(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x11634e incl 0x8(%rax) jmp 0x1162ef leaq 0x40(%r15), %rsi leaq 0x10(%rsp), %rdi xorl %edx, %edx callq 0x115f26 movups 0x10(%rsp), %xmm0 movups %xmm0, 0x20(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rsp) leaq 0x20(%r15), %rsi movq %r13, %rdi callq 0x1210ac movq 0x20(%rsp), %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, %rdi movq %r12, %rsi callq 0x6c300 movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x116321 callq 0x69d60 testb %bpl, %bpl jne 0x116335 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x116335 callq 0x69d60 movq %r15, %rdi callq 0x6d270 movq %rax, %r15 cmpq %r14, %rax jne 0x11628b jmp 0x1164aa lock incl 0x8(%rax) jmp 0x1162ef cmpq $0x0, (%r15) je 0x116526 xorps %xmm0, %xmm0 movaps %xmm0, 0x30(%rsp) movaps %xmm0, 0x20(%rsp) movl $0x38, %edi callq 0x68ab0 movq %rax, %rcx addq $0x10, %rcx xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rax) movups %xmm0, 0x10(%rax) movups %xmm0, (%rax) xorl %edx, %edx movq %rdx, 0x30(%rax) movq %rcx, 0x20(%rax) movq %rcx, 0x28(%rax) leaq 0x58(%rsp), %r14 movq %rdx, (%r14) leaq 0x20(%rsp), %r12 movq %r12, %rdi movq %rax, %rsi callq 0x1225ba movq %r14, %rdi callq 0x94748 movq (%r15), %r13 movl (%r13), %eax movq (%r12), %rcx movl %eax, (%rcx) movq 0x20(%r13), %r14 addq $0x10, %r13 cmpq %r13, %r14 je 0x1164e4 leaq 0x60(%rsp), %r15 leaq 0x10(%rsp), %r12 movq 0x28(%r14), %rax testq %rax, %rax je 0x1163f3 cmpl $0x0, 0x50(%rax) setne %bpl jmp 0x1163f5 xorl %ebp, %ebp testb %bpl, %bpl je 0x116422 movq %rax, 0x58(%rsp) movq 0x30(%r14), %rax movq %rax, 0x60(%rsp) testq %rax, %rax je 0x116442 movq 0x1329cc(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x1164a4 incl 0x8(%rax) jmp 0x116442 leaq 0x28(%r14), %rsi movq %r12, %rdi xorl %edx, %edx callq 0x115f26 movups 0x10(%rsp), %xmm0 movups %xmm0, 0x58(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rsp) leaq 0x20(%r14), %rsi movq 0x20(%rsp), %rdi addq $0x8, %rdi callq 0x120d7e movq 0x58(%rsp), %rcx movq %rcx, (%rax) addq $0x8, %rax movq %rax, %rdi movq %r15, %rsi callq 0x6c300 movq 0x60(%rsp), %rdi testq %rdi, %rdi je 0x11647a callq 0x69d60 testb %bpl, %bpl jne 0x11648e movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x11648e callq 0x69d60 movq %r14, %rdi callq 0x6d980 movq %rax, %r14 cmpq %r13, %rax jne 0x1163e0 jmp 0x1164e4 lock incl 0x8(%rax) jmp 0x116442 leaq 0x20(%rsp), %rdi leaq 0x58(%rsp), %rsi callq 0x12372c leaq 0xf(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rbx, %rdi callq 0x123652 leaq 0x20(%rsp), %rdi callq 0x947ea leaq 0x58(%rsp), %rdi callq 0x947ea jmp 0x11661e leaq 0x20(%rsp), %rsi movq %rbx, %rdi callq 0x120de2 leaq 0x28(%rsp), %rdi callq 0x94700 leaq 0x20(%rsp), %rdi callq 0x94748 jmp 0x11661e lock incl 0x8(%rax) movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x11661e callq 0x69d60 jmp 0x11661e xorps %xmm0, %xmm0 leaq 0x20(%rsp), %rdi movaps %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movq 0x10(%r15), %rsi subq 0x8(%r15), %rsi sarq $0x4, %rsi callq 0x120ed2 movq 0x8(%r15), %r14 movq 0x10(%r15), %rbp cmpq %rbp, %r14 je 0x1165ff leaq 0x20(%rsp), %r15 leaq 0x58(%rsp), %r12 movq (%r14), %rax testq %rax, %rax je 0x116573 cmpl $0x0, 0x50(%rax) je 0x116597 movq %rax, 0x58(%rsp) movq 0x8(%r14), %rax movq %rax, 0x60(%rsp) testq %rax, %rax je 0x1165c1 movq 0x132853(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x1165bd incl 0x8(%rax) jmp 0x1165c1 leaq 0x10(%rsp), %rdi movq %r14, %rsi xorl %edx, %edx callq 0x115f26 movups 0x10(%rsp), %xmm0 movups %xmm0, 0x58(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rsp) movb $0x1, %r13b jmp 0x1165c4 lock incl 0x8(%rax) xorl %r13d, %r13d movq %r15, %rdi movq %r12, %rsi callq 0x120f94 movq 0x60(%rsp), %rdi testq %rdi, %rdi je 0x1165de callq 0x69d60 testb %r13b, %r13b je 0x1165f2 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x1165f2 callq 0x69d60 addq $0x10, %r14 cmpq %rbp, %r14 jne 0x116565 leaq 0x58(%rsp), %rdx movb $0x0, (%rdx) leaq 0x20(%rsp), %rsi movq %rbx, %rdi callq 0x120fe6 leaq 0x20(%rsp), %rdi callq 0x94700 movq %rbx, %rax addq $0x88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movl $0x10, %edi callq 0x6a000 movq %rax, %r14 leaq 0xba09b(%rip), %rsi # 0x1d06e2 movq %rax, %rdi callq 0x6c820 jmp 0x11668b movl $0x10, %edi callq 0x6a000 movq %rax, %r14 leaq 0xba043(%rip), %rsi # 0x1d06a8 movq %rax, %rdi callq 0x6c820 jmp 0x11668b movl $0x10, %edi callq 0x6a000 movq %rax, %r14 leaq 0xb9fc8(%rip), %rsi # 0x1d064b movq %rax, %rdi callq 0x6c820 movq 0x132926(%rip), %rsi # 0x248fb8 movq 0x13288f(%rip), %rdx # 0x248f28 jmp 0x1166c5 movl $0x10, %edi callq 0x6a000 movq %rax, %r14 leaq 0xb9fd9(%rip), %rsi # 0x1d0688 movq %rax, %rdi callq 0x69460 movq 0x1327e2(%rip), %rsi # 0x248ea0 movq 0x132703(%rip), %rdx # 0x248dc8 movq %r14, %rdi callq 0x6b420 jmp 0x1166cf movq %rax, %rbx jmp 0x116759 jmp 0x1166f5 jmp 0x1166f5 movq %rax, %rbx leaq 0x20(%rsp), %rdi callq 0x947ea jmp 0x1167e6 movq %rax, %rbx jmp 0x1167e6 movq %rax, %rbx jmp 0x1167a0 movq %rax, %rbx leaq 0x20(%rsp), %rdi jmp 0x1167eb jmp 0x116710 jmp 0x116710 jmp 0x116710 movq %rax, %rbx movq %r14, %rdi callq 0x6cf40 jmp 0x1167f0 movq %rax, %rbx movb $0x1, %r13b jmp 0x116756 movq %rax, %rbx movb $0x1, %r14b jmp 0x11679d movq %rax, %rbx movq 0x60(%rsp), %rdi testq %rdi, %rdi je 0x116742 callq 0x69d60 testb %r13b, %r13b je 0x116756 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x116756 callq 0x69d60 testb %r13b, %r13b leaq 0x20(%rsp), %rdi callq 0x94700 jmp 0x1167f0 movq %rax, %rbx movb $0x1, %r14b jmp 0x1167e3 movq %rax, %rbx movq 0x60(%rsp), %rdi testq %rdi, %rdi je 0x116782 callq 0x69d60 movl %ebp, %r14d xorb $0x1, %r14b testb %bpl, %bpl jne 0x11679d movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x11679d callq 0x69d60 testb %r14b, %r14b leaq 0x28(%rsp), %rdi callq 0x94700 leaq 0x20(%rsp), %rdi callq 0x94748 jmp 0x1167f0 movq %rax, %rbx movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x1167c8 callq 0x69d60 movl %ebp, %r14d xorb $0x1, %r14b testb %bpl, %bpl jne 0x1167e3 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x1167e3 callq 0x69d60 testb %r14b, %r14b leaq 0x58(%rsp), %rdi callq 0x947ea movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::getNumericValue() const
double QPDFObjectHandle::getNumericValue() const { if (isInteger()) { return static_cast<double>(getIntValue()); } else if (isReal()) { return atof(getRealValue().c_str()); } else { typeWarning("number", "returning 0"); QTC::TC("qpdf", "QPDFObjectHandle numeric non-numeric"); return 0; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx callq 0x6c2a0 testb %al, %al je 0x118377 movq %rbx, %rdi callq 0x6db80 cvtsi2sd %rax, %xmm0 jmp 0x118417 movq %rbx, %rdi callq 0x68120 testb %al, %al je 0x1183c6 leaq 0x8(%rsp), %r14 movq %r14, %rdi movq %rbx, %rsi callq 0x6cc50 movq (%r14), %rbx movq %rbx, %rdi callq 0x6c7e0 leaq 0x18(%rsp), %rax cmpq %rax, %rbx je 0x118417 movq 0x18(%rsp), %rsi incq %rsi movq %rbx, %rdi movsd %xmm0, 0x28(%rsp) callq 0x68760 movsd 0x28(%rsp), %xmm0 jmp 0x118417 leaq 0x18(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xb85b0(%rip), %rsi # 0x1d0986 leaq 0xb85b4(%rip), %rdx # 0x1d0991 leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x68bb0 leaq 0x9d8c7(%rip), %rsi # 0x1b5cb8 movq %rbx, %rdi movq %r14, %rdx callq 0x11859c movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x118413 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 xorpd %xmm0, %xmm0 addq $0x30, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x11843b movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::getRealValue[abi:cxx11]() const
std::string QPDFObjectHandle::getRealValue() const { if (isReal()) { return obj->getStringValue(); } else { typeWarning("real", "returning 0.0"); QTC::TC("qpdf", "QPDFObjectHandle real returning 0.0"); return "0.0"; } }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x68120 testb %al, %al je 0x118500 movq (%r14), %rsi movq %rbx, %rdi callq 0x11803a jmp 0x11856b leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xb8504(%rip), %rsi # 0x1d0a15 leaq 0xb850a(%rip), %rdx # 0x1d0a22 leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x68bb0 leaq 0xb837a(%rip), %rsi # 0x1d08a6 movq %r14, %rdi movq %r15, %rdx callq 0x11859c movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x11854e movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x10(%rbx), %rax movq %rax, (%rbx) leaq 0xb84c3(%rip), %rsi # 0x1d0a1f leaq 0xb84bf(%rip), %rdx # 0x1d0a22 movq %rbx, %rdi callq 0x68bb0 movq %rbx, %rax addq $0x28, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x118594 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::isStreamOfType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
bool QPDFObjectHandle::isStreamOfType(std::string const& type, std::string const& subtype) const { return isStream() && getDict().isDictionaryOfType(type, subtype); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 callq 0x695d0 movl %eax, %ebx testb %al, %al je 0x11914a leaq 0x8(%rsp), %r13 movq %r13, %rdi movq %r12, %rsi callq 0x6ae50 movq %r13, %rdi movq %r15, %rsi movq %r14, %rdx callq 0x6bdb0 movl %eax, %ebp jmp 0x11914c xorl %ebp, %ebp testb %bl, %bl je 0x11915f movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x11915f callq 0x69d60 movl %ebp, %eax addq $0x18, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x119182 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::getValueAsUTF8(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) const
bool QPDFObjectHandle::getValueAsUTF8(std::string& value) const { if (auto str = as<QPDF_String>()) { value = str->getUTF8Val(); return true; } return false; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 callq 0x121616 movq %rax, %rbx testq %rax, %rax je 0x1199b6 movq %rsp, %r15 movq %r15, %rdi movq %rbx, %rsi callq 0x15a2ca movq %r14, %rdi movq %r15, %rsi callq 0x6abd0 movq (%r15), %rdi leaq 0x10(%rsp), %rax cmpq %rax, %rdi je 0x1199b6 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 testq %rbx, %rbx setne %al addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::getValueAsInlineImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) const
bool QPDFObjectHandle::getValueAsInlineImage(std::string& value) const { if (!isInlineImage()) { return false; } value = obj->getStringValue(); return true; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %r15 callq 0x6bf60 movl %eax, %ebx testb %al, %al je 0x119bf5 movq (%r15), %rsi movq %rsp, %r15 movq %r15, %rdi callq 0x11803a movq %r14, %rdi movq %r15, %rsi callq 0x6abd0 movq (%r15), %rdi leaq 0x10(%rsp), %rax cmpq %rax, %rdi je 0x119bf5 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movl %ebx, %eax addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::arrayOrStreamToStreamArray(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
std::vector<QPDFObjectHandle> QPDFObjectHandle::arrayOrStreamToStreamArray( std::string const& description, std::string& all_description) { all_description = description; std::vector<QPDFObjectHandle> result; if (auto array = as_array(strict)) { int n_items = array.size(); for (int i = 0; i < n_items; ++i) { QPDFObjectHandle item = array.at(i).second; if (item.isStream()) { result.emplace_back(item); } else { QTC::TC("qpdf", "QPDFObjectHandle non-stream in stream array"); warn( item.getOwningQPDF(), QPDFExc( qpdf_e_damaged_pdf, "", description + ": item index " + std::to_string(i) + " (from 0)", 0, "ignoring non-stream in an array of streams")); } } } else if (isStream()) { result.emplace_back(*this); } else if (!isNull()) { warn( getOwningQPDF(), QPDFExc( qpdf_e_damaged_pdf, "", description, 0, " object is supposed to be a stream or an array of streams but is neither")); } bool first = true; for (auto const& item: result) { if (first) { first = false; } else { all_description += ","; } all_description += " stream " + item.getObjGen().unparse(' '); } return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x188, %rsp # imm = 0x188 movq %rsi, %rbx movq %rdi, %r14 movq %rcx, 0xd0(%rsp) movq %rcx, %rdi movq %rdx, 0xc8(%rsp) movq %rdx, %rsi callq 0x6e940 xorps %xmm0, %xmm0 movups %xmm0, (%r14) movq %r14, (%rsp) movq $0x0, 0x10(%r14) movq (%rbx), %rdi testq %rdi, %rdi je 0x11b1f1 movzbl 0x30(%rdi), %eax cmpl $0xf, %eax je 0x11b1f5 cmpl $0xd, %eax jne 0x11b203 movq 0x48(%rdi), %rax movq 0x50(%rdi), %rsi movq %rax, %rdi callq 0x182b0a jmp 0x11b1fa xorl %eax, %eax jmp 0x11b206 callq 0x94a87 movq (%rax), %rax movsbl 0x30(%rax), %eax jmp 0x11b206 movsbl %al, %eax cmpl $0x8, %eax jne 0x11b23c movq (%rbx), %rax movq %rax, 0xb0(%rsp) movq 0x8(%rbx), %rax movq %rax, 0xb8(%rsp) testq %rax, %rax je 0x11b247 movq 0x12dbb2(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x11b660 incl 0x8(%rax) jmp 0x11b247 xorps %xmm0, %xmm0 movaps %xmm0, 0xb0(%rsp) movq $0x0, 0xc0(%rsp) cmpq $0x0, 0xb0(%rsp) je 0x11b621 leaq 0xb0(%rsp), %rdi callq 0x14fc6c movl %eax, 0xac(%rsp) testl %eax, %eax jle 0x11b71f leaq 0x18(%rsp), %r15 xorl %r12d, %r12d leaq 0x108(%rsp), %r13 movq %r13, %rdi leaq 0xb0(%rsp), %rsi movl %r12d, %edx callq 0x14fc90 movups 0x110(%rsp), %xmm0 movups %xmm0, 0xd8(%rsp) leaq 0xd8(%rsp), %rdi callq 0x695d0 testb %al, %al je 0x11b2d8 movq (%rsp), %rdi leaq 0xd8(%rsp), %rsi callq 0x121956 jmp 0x11b5f9 movq 0xd8(%rsp), %rax testq %rax, %rax je 0x11b2eb movq 0x48(%rax), %rbx jmp 0x11b2ed xorl %ebx, %ebx movq %r15, 0x8(%rsp) leaq 0x8(%rsp), %rdi leaq 0xb7928(%rip), %rdx # 0x1d2c26 movq %rdx, %rsi callq 0x68bb0 leaq 0x58(%rsp), %rax movq %rax, 0x48(%rsp) movq 0xc8(%rsp), %rax movq (%rax), %rsi movq 0x8(%rax), %rdx addq %rsi, %rdx leaq 0x48(%rsp), %rbp movq %rbp, %rdi callq 0x68320 movq %r15, %r14 movq %rbp, %rdi leaq 0xb57af(%rip), %rsi # 0x1d0aeb callq 0x6b8d0 movl $0x1, %r15d cmpl $0xa, %r12d jb 0x11b394 movl $0x4, %r15d movl %r12d, %eax cmpl $0x63, %eax jbe 0x11b38b cmpl $0x3e7, %eax # imm = 0x3E7 jbe 0x11b391 cmpl $0x2710, %eax # imm = 0x2710 jb 0x11b394 movl %eax, %ecx movl $0xd1b71759, %edx # imm = 0xD1B71759 imulq %rdx, %rcx shrq $0x2d, %rcx addl $0x4, %r15d cmpl $0x1869f, %eax # imm = 0x1869F movl %ecx, %eax ja 0x11b356 addl $-0x3, %r15d jmp 0x11b394 addl $-0x2, %r15d jmp 0x11b394 decl %r15d movl %r15d, %esi leaq 0x98(%rsp), %rax movq %rax, 0x88(%rsp) leaq 0x88(%rsp), %rdi movl $0x2d, %edx callq 0x6b1f0 movq 0x88(%rsp), %rdi movl %r15d, %esi movl %r12d, %edx callq 0x6c7a0 movq 0x48(%rsp), %rcx movl $0xf, %esi leaq 0x58(%rsp), %rax cmpq %rax, %rcx je 0x11b3e5 movq 0x58(%rsp), %rsi movq 0x50(%rsp), %r8 movq 0x90(%rsp), %rdx leaq (%rdx,%r8), %rax cmpq %rsi, %rax movq %r14, %r15 jbe 0x11b422 movl $0xf, %esi leaq 0x98(%rsp), %rdi cmpq %rdi, 0x88(%rsp) je 0x11b41d movq 0x98(%rsp), %rsi cmpq %rsi, %rax jbe 0x11b436 movq 0x88(%rsp), %rsi leaq 0x48(%rsp), %rdi callq 0x6bfe0 jmp 0x11b447 leaq 0x88(%rsp), %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x78(%rsp), %rsi movq %rsi, 0x68(%rsp) movq (%rax), %rdx leaq 0x10(%rax), %rcx cmpq %rcx, %rdx je 0x11b46c movq %rdx, 0x68(%rsp) movq (%rcx), %rdx movq %rdx, 0x78(%rsp) jmp 0x11b472 movups (%rcx), %xmm0 movups %xmm0, (%rsi) movq %rax, %rdx addq $0x8, %rdx movq 0x8(%rax), %rsi movq %rsi, 0x70(%rsp) movq %rcx, (%rax) movq $0x0, (%rdx) movb $0x0, (%rcx) leaq 0x68(%rsp), %rdi leaq 0xb565e(%rip), %rsi # 0x1d0af9 callq 0x6b8d0 leaq 0x38(%rsp), %rsi movq %rsi, 0x28(%rsp) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x11b4c8 movq %rdx, 0x28(%rsp) movq (%rcx), %rdx movq %rdx, 0x38(%rsp) jmp 0x11b4ce movups (%rcx), %xmm0 movups %xmm0, (%rsi) movq 0x8(%rax), %rdx movq %rdx, 0x30(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0xf8(%rsp), %rax movq %rax, 0xe8(%rsp) leaq 0xe8(%rsp), %rbp movq %rbp, %rdi leaq 0xb55fb(%rip), %rsi # 0x1d0b03 leaq 0xb561e(%rip), %rdx # 0x1d0b2d callq 0x68bb0 movq %r13, %rdi movl $0x5, %esi leaq 0x8(%rsp), %rdx leaq 0x28(%rsp), %rcx xorl %r8d, %r8d movq %rbp, %r9 callq 0x68550 movq %rbx, %rdi movq %r13, %rsi callq 0x11ba92 movq %r13, %rdi callq 0x6f2b8 movq 0xe8(%rsp), %rdi leaq 0xf8(%rsp), %rax cmpq %rax, %rdi je 0x11b569 movq 0xf8(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi leaq 0x38(%rsp), %rax cmpq %rax, %rdi je 0x11b585 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x68(%rsp), %rdi leaq 0x78(%rsp), %rax cmpq %rax, %rdi je 0x11b5a1 movq 0x78(%rsp), %rsi incq %rsi callq 0x68760 movq 0x88(%rsp), %rdi leaq 0x98(%rsp), %rax cmpq %rax, %rdi je 0x11b5c6 movq 0x98(%rsp), %rsi incq %rsi callq 0x68760 movq 0x48(%rsp), %rdi leaq 0x58(%rsp), %rax cmpq %rax, %rdi je 0x11b5e2 movq 0x58(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x11b5f9 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0xe0(%rsp), %rdi testq %rdi, %rdi je 0x11b60b callq 0x69d60 incl %r12d cmpl 0xac(%rsp), %r12d jne 0x11b28e jmp 0x11b71f movq %rbx, %rdi callq 0x695d0 testb %al, %al je 0x11b63e movq (%rsp), %rdi movq %rbx, %rsi callq 0x121956 jmp 0x11b71f movq %rbx, %rdi callq 0x6db30 testb %al, %al jne 0x11b71f movq (%rbx), %rax testq %rax, %rax je 0x11b669 movq (%rsp), %r12 movq 0x48(%rax), %rbx jmp 0x11b66f lock incl 0x8(%rax) jmp 0x11b247 movq (%rsp), %r12 xorl %ebx, %ebx leaq 0x18(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xb75a7(%rip), %rdx # 0x1d2c26 leaq 0x8(%rsp), %rdi movq %rdx, %rsi callq 0x68bb0 leaq 0x38(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xb5492(%rip), %rsi # 0x1d0b2e leaq 0xb54d3(%rip), %rdx # 0x1d0b76 leaq 0x28(%rsp), %rdi callq 0x68bb0 leaq 0x108(%rsp), %rdi leaq 0x8(%rsp), %rdx leaq 0x28(%rsp), %r9 movl $0x5, %esi movq 0xc8(%rsp), %rcx xorl %r8d, %r8d callq 0x68550 leaq 0x108(%rsp), %rsi movq %rbx, %rdi callq 0x11ba92 leaq 0x108(%rsp), %rdi callq 0x6f2b8 movq 0x28(%rsp), %rdi cmpq %r15, %rdi je 0x11b708 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x11b71f movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 leaq 0xc0(%rsp), %rbx movq %rbx, %rdi callq 0x94af2 movq -0x8(%rbx), %rdi testq %rdi, %rdi je 0x11b73d callq 0x69d60 movq (%rsp), %rax movq (%rax), %r13 movq 0x8(%rax), %rbp cmpq %rbp, %r13 je 0x11b875 leaq 0x118(%rsp), %r14 movb $0x1, %r15b leaq 0x8(%rsp), %rbx leaq 0xbed07(%rip), %r12 # 0x1da46f testb $0x1, %r15b je 0x11b773 xorl %r15d, %r15d jmp 0x11b787 movq 0xd0(%rsp), %rdi leaq 0x9a516(%rip), %rsi # 0x1b5c98 callq 0x6b8d0 movq (%r13), %rax testq %rax, %rax je 0x11b796 movq 0x50(%rax), %rax jmp 0x11b798 xorl %eax, %eax movq %rax, 0x28(%rsp) movq %rbx, %rdi leaq 0x28(%rsp), %rsi movl $0x20, %edx callq 0x9401a movl $0x8, %r8d movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx movq %r12, %rcx callq 0x68b10 movq %r14, 0x108(%rsp) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x11b7f0 movq %rdx, 0x108(%rsp) movq (%rcx), %rdx movq %rdx, 0x118(%rsp) jmp 0x11b7f7 movups (%rcx), %xmm0 movups %xmm0, (%r14) movq 0x8(%rax), %rdx movq %rdx, 0x110(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) movq 0x108(%rsp), %rsi movq 0x110(%rsp), %rdx movq 0xd0(%rsp), %rdi callq 0x6bfe0 movq 0x108(%rsp), %rdi cmpq %r14, %rdi je 0x11b84c movq 0x118(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0x11b868 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 addq $0x10, %r13 cmpq %rbp, %r13 jne 0x11b768 movq (%rsp), %rax addq $0x188, %rsp # imm = 0x188 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movq %rax, %rbx leaq 0x108(%rsp), %rdi callq 0x6f2b8 jmp 0x11b8a0 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r15, %rdi je 0x11b8bc movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11b8bc movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x11ba28 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11ba28 jmp 0x11ba0a jmp 0x11ba3a jmp 0x11ba06 jmp 0x11ba06 jmp 0x11ba0f jmp 0x11b931 movq (%rsp), %r12 movq %rax, %rbx jmp 0x11b9aa movq (%rsp), %r12 movq %rax, %rbx jmp 0x11b972 movq (%rsp), %r12 movq %rax, %rbx leaq 0x108(%rsp), %rdi callq 0x6f2b8 jmp 0x11b94d movq %r15, %r14 movq (%rsp), %r12 movq %rax, %rbx jmp 0x11b9eb movq (%rsp), %r12 movq %rax, %rbx jmp 0x11b9cf movq (%rsp), %r12 movq %rax, %rbx jmp 0x11b98e movq (%rsp), %r12 movq %rax, %rbx movq 0xe8(%rsp), %rdi leaq 0xf8(%rsp), %rax cmpq %rax, %rdi je 0x11b972 movq 0xf8(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi leaq 0x38(%rsp), %rax cmpq %rax, %rdi je 0x11b98e movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x68(%rsp), %rdi leaq 0x78(%rsp), %rax cmpq %rax, %rdi je 0x11b9aa movq 0x78(%rsp), %rsi incq %rsi callq 0x68760 movq 0x88(%rsp), %rdi leaq 0x98(%rsp), %rax cmpq %rax, %rdi je 0x11b9cf movq 0x98(%rsp), %rsi incq %rsi callq 0x68760 movq 0x48(%rsp), %rdi leaq 0x58(%rsp), %rax cmpq %rax, %rdi je 0x11b9eb movq 0x58(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x11ba16 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11ba16 jmp 0x11ba3a movq (%rsp), %r12 movq %rax, %rbx jmp 0x11ba28 movq (%rsp), %r12 movq %rax, %rbx movq 0xe0(%rsp), %rdi testq %rdi, %rdi je 0x11ba28 callq 0x69d60 leaq 0xb0(%rsp), %rdi callq 0x94406 movq %r12, %rdi jmp 0x11ba84 movq %rax, %rbx jmp 0x11ba80 movq %rax, %rbx jmp 0x11ba64 movq %rax, %rbx movq 0x108(%rsp), %rdi cmpq %r14, %rdi je 0x11ba64 movq 0x118(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0x11ba80 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi callq 0x94700 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::getPageContents()
std::vector<QPDFObjectHandle> QPDFObjectHandle::getPageContents() { std::string description = "page object " + getObjGen().unparse(' '); std::string all_description; return this->getKey("/Contents").arrayOrStreamToStreamArray(description, all_description); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax testq %rax, %rax je 0x11bb1f movq 0x50(%rax), %rax jmp 0x11bb21 xorl %eax, %eax leaq 0x40(%rsp), %rsi movq %rax, (%rsi) movq %rsp, %r15 movq %r15, %rdi movl $0x20, %edx callq 0x9401a leaq 0xb5d81(%rip), %rcx # 0x1d18c1 movl $0xc, %r8d movq %r15, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x30(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x11bb79 movq %rdx, 0x20(%rsp) movq (%rcx), %rdx movq %rdx, 0x30(%rsp) jmp 0x11bb80 movups (%rcx), %xmm0 movups %xmm0, (%r15) movq 0x8(%rax), %rdx movq %rdx, 0x28(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0x10(%rsp), %r12 movq -0x10(%r12), %rdi cmpq %r12, %rdi je 0x11bbb4 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %r12, (%rsp) movq $0x0, 0x8(%rsp) movb $0x0, 0x10(%rsp) leaq 0x50(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xa35f0(%rip), %rsi # 0x1bf1c6 leaq 0xa35f2(%rip), %rdx # 0x1bf1cf leaq 0x40(%rsp), %rdi callq 0x68bb0 leaq 0x60(%rsp), %rdi leaq 0x40(%rsp), %rdx movq %r14, %rsi callq 0x6ba70 leaq 0x60(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx movq %rbx, %rdi callq 0x11b184 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x11bc1d callq 0x69d60 movq 0x40(%rsp), %rdi cmpq %r13, %rdi je 0x11bc34 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 movq (%rsp), %rdi cmpq %r12, %rdi je 0x11bc4a movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0x11bc61 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rax addq $0x70, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x11bc89 callq 0x69d60 jmp 0x11bc89 movq %rax, %rbx movq 0x40(%rsp), %rdi cmpq %r13, %rdi je 0x11bca5 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11bca5 movq %rax, %rbx movq (%rsp), %rdi cmpq %r12, %rdi je 0x11bcbb movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0x11bcea movq 0x30(%rsp), %rsi jmp 0x11bce2 movq %rax, %rbx leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11bcea movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::newInteger(long long)
QPDFObjectHandle QPDFObjectHandle::newInteger(long long value) { return {QPDFObject::create<QPDF_Integer>(value)}; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x127285(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) leaq 0x10(%rax), %rcx movq %rbx, 0x10(%rax) movb $0x4, 0x40(%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rax) movups %xmm0, 0x58(%rax) movq $-0x1, 0x68(%rax) movq %rcx, (%r14) movq %rax, 0x8(%r14) movq %r14, %rax addq $0x8, %rsp popq %rbx popq %r14 retq nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::getJSON(int, bool) const
JSON QPDFObjectHandle::getJSON(int json_version, bool dereference_indirect) const { if ((!dereference_indirect) && isIndirect()) { return JSON::makeString(unparse()); } else if (!obj) { throw std::logic_error("attempted to dereference an uninitialized QPDFObjectHandle"); } else { Pl_Buffer p{"json"}; JSON::Writer jw{&p, 0}; writeJSON(json_version, jw, dereference_indirect); p.finish(); return JSON::parse(p.getString()); } }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x70, %rsp movl %ecx, %r15d movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx testl %ecx, %ecx jne 0x11ca46 movq (%r14), %rax testq %rax, %rax je 0x11ca46 cmpl $0x0, 0x50(%rax) je 0x11ca46 leaq 0x20(%rsp), %r15 movq %r15, %rdi movq %r14, %rsi callq 0x6e540 movq %rbx, %rdi movq %r15, %rsi callq 0x6d5d0 leaq 0x30(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11cacf movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11cacf cmpq $0x0, (%r14) je 0x11cadf leaq 0xbdc8f(%rip), %rsi # 0x1da6e6 leaq 0x20(%rsp), %r12 movq %r12, %rdi xorl %edx, %edx callq 0x69ec0 leaq 0x58(%rsp), %rdx movq %r12, (%rdx) movb $0x1, 0x8(%rdx) movq $0x0, 0x10(%rdx) movzbl %r15b, %ecx movq %r14, %rdi movl %ebp, %esi callq 0x117dee leaq 0x20(%rsp), %rdi callq 0x6b710 movq %rsp, %rdi leaq 0x20(%rsp), %rsi callq 0x6eca0 movq %rsp, %rsi movq %rbx, %rdi callq 0x6d750 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11cac5 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x20(%rsp), %rdi callq 0x6ace0 movq %rbx, %rax addq $0x70, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq movl $0x10, %edi callq 0x6a000 movq %rax, %r14 leaq 0xb4114(%rip), %rsi # 0x1d0c07 movq %rax, %rdi callq 0x6c820 movq 0x12c4b6(%rip), %rsi # 0x248fb8 movq 0x12c41f(%rip), %rdx # 0x248f28 movq %r14, %rdi callq 0x6b420 movq %rax, %rbx leaq 0x30(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11cb6d movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11cb6d movq %rax, %rbx movq %r14, %rdi callq 0x6cf40 jmp 0x11cb6d movq %rax, %rbx leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11cb63 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11cb63 jmp 0x11cb60 movq %rax, %rbx leaq 0x20(%rsp), %rdi callq 0x6ace0 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::parse(QPDF*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFObjectHandle QPDFObjectHandle::parse( QPDF* context, std::string const& object_str, std::string const& object_description) { // BufferInputSource does not modify the input, but Buffer either requires a string& or copies // the string. Buffer buf(const_cast<std::string&>(object_str)); auto input = BufferInputSource("parsed object", &buf); auto result = QPDFParser::parse(input, object_description, context); size_t offset = QIntC::to_size(input.tell()); while (offset < object_str.length()) { if (!isspace(object_str.at(offset))) { QTC::TC("qpdf", "QPDFObjectHandle trailing data in parse"); throw QPDFExc( qpdf_e_damaged_pdf, "parsed object", object_description, input.getLastOffset(), "trailing data found parsing object from string"); } ++offset; } return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x138, %rsp # imm = 0x138 movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx leaq 0x8(%rsp), %rdi movq %rdx, %rsi callq 0x69620 leaq 0x20(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xb3fa0(%rip), %rsi # 0x1d0c42 leaq 0xb3fa6(%rip), %rdx # 0x1d0c4f leaq 0x10(%rsp), %rdi callq 0x68bb0 leaq 0x50(%rsp), %rdi leaq 0x10(%rsp), %rsi leaq 0x8(%rsp), %rdx xorl %ecx, %ecx callq 0x6af50 movq 0x10(%rsp), %rdi cmpq %r13, %rdi je 0x11cce0 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x50(%rsp), %rsi movq %rbx, %rdi movq %r14, %rdx movq %r12, %rcx callq 0x13331c leaq 0x50(%rsp), %rdi callq 0x6b700 movq %rax, %r12 testq %rax, %rax jns 0x11cd0d movq %r12, %rdi callq 0x74106 movq 0x8(%r15), %rbp cmpq %rbp, %r12 jae 0x11cd2f movq (%r15), %r15 movsbl (%r15,%r12), %edi callq 0x6c1c0 testl %eax, %eax je 0x11cd58 incq %r12 cmpq %r12, %rbp jne 0x11cd19 leaq 0x50(%rsp), %rdi callq 0x6c900 leaq 0x8(%rsp), %rdi callq 0x6a8e0 movq %rbx, %rax addq $0x138, %rsp # imm = 0x138 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movl $0x80, %edi callq 0x6a000 movq %rax, %r15 leaq 0x10(%rsp), %rdi movq %r13, (%rdi) leaq 0xb3ece(%rip), %rsi # 0x1d0c42 leaq 0xb3ed4(%rip), %rdx # 0x1d0c4f callq 0x68bb0 leaq 0x50(%rsp), %rdi callq 0x6cf20 movq %rax, %r12 leaq 0x40(%rsp), %rax movq %rax, -0x10(%rax) leaq 0xb3eb3(%rip), %rsi # 0x1d0c50 leaq 0xb3eda(%rip), %rdx # 0x1d0c7e leaq 0x30(%rsp), %rdi callq 0x68bb0 movb $0x1, %bpl leaq 0x10(%rsp), %rdx leaq 0x30(%rsp), %r9 movq %r15, %rdi movl $0x5, %esi movq %r14, %rcx movq %r12, %r8 callq 0x68550 xorl %ebp, %ebp movq 0x12bf11(%rip), %rsi # 0x248ce8 movq 0x12be8a(%rip), %rdx # 0x248c68 movq %r15, %rdi callq 0x6b420 movq %rax, %r14 jmp 0x11ce7b movq %rax, %r14 movq 0x10(%rsp), %rdi cmpq %r13, %rdi je 0x11ce85 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11ce85 movq %rax, %r14 jmp 0x11ce85 movq %rax, %r14 jmp 0x11ce6d movq %rax, %r14 movq 0x30(%rsp), %rdi leaq 0x40(%rsp), %rax cmpq %rax, %rdi je 0x11ce41 movq 0x40(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11ce41 jmp 0x11ce3b movq %rax, %r14 movb $0x1, %bpl movq 0x10(%rsp), %rdi cmpq %r13, %rdi je 0x11ce60 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11ce60 movq %rax, %r14 movb $0x1, %bpl testb %bpl, %bpl je 0x11ce6d movq %r15, %rdi callq 0x6cf40 movq 0x8(%rbx), %rdi testq %rdi, %rdi je 0x11ce7b callq 0x69d60 leaq 0x50(%rsp), %rdi callq 0x6c900 leaq 0x8(%rsp), %rdi callq 0x6a8e0 movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::filterPageContents(QPDFObjectHandle::TokenFilter*, Pipeline*)
void QPDFObjectHandle::filterPageContents(TokenFilter* filter, Pipeline* next) { auto description = "token filter for page object " + getObjGen().unparse(' '); Pl_QPDFTokenizer token_pipeline(description.c_str(), filter, next); this->pipePageContents(&token_pipeline); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq (%rdi), %rax testq %rax, %rax je 0x11d8f2 movq 0x50(%rax), %rax jmp 0x11d8f4 xorl %eax, %eax leaq 0x60(%rsp), %rsi movq %rax, (%rsi) leaq 0x28(%rsp), %r12 movq %r12, %rdi movl $0x20, %edx callq 0x9401a leaq 0xb33c9(%rip), %rcx # 0x1d0cde movl $0x1d, %r8d movq %r12, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x11d94f movq %rdx, 0x8(%rsp) movq (%rcx), %rdx movq %rdx, 0x18(%rsp) jmp 0x11d957 movups (%rcx), %xmm0 movups %xmm0, (%r12) movq 0x8(%rax), %rdx movq %rdx, 0x10(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0x38(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11d98a movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rsi leaq 0x28(%rsp), %rdi movq %r15, %rdx movq %r14, %rcx callq 0x6edc0 leaq 0x28(%rsp), %rsi movq %rbx, %rdi callq 0x69bb0 leaq 0x28(%rsp), %rdi callq 0x6cdc0 movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x11d9cd movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 addq $0x68, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx leaq 0x28(%rsp), %rdi callq 0x6cdc0 jmp 0x11d9eb movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x11da1a movq 0x18(%rsp), %rsi jmp 0x11da12 movq %rax, %rbx leaq 0x38(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11da1a movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::parseContentStream(QPDFObjectHandle, QPDFObjectHandle::ParserCallbacks*)
void QPDFObjectHandle::parseContentStream(QPDFObjectHandle stream_or_array, ParserCallbacks* callbacks) { stream_or_array.parseContentStream_internal("content stream objects", callbacks); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xb3171(%rip), %rsi # 0x1d0d15 leaq 0xb3180(%rip), %rdx # 0x1d0d2b leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x68bb0 movq %r14, %rdi movq %r15, %rsi movq %rbx, %rdx callq 0x11d61e movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x11dbdd movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 addq $0x28, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x11dc03 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::newInlineImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFObjectHandle QPDFObjectHandle::newInlineImage(std::string const& value) { return {QPDFObject::create<QPDF_InlineImage>(value)}; }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x121f50 movq (%r14), %rax movq %rax, (%rbx) xorl %eax, %eax movq %rax, 0x8(%rbx) movq 0x8(%r14), %rcx movq %rax, 0x8(%r14) movq %rcx, 0x8(%rbx) movq %rbx, %rax addq $0x18, %rsp popq %rbx popq %r14 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::addTokenFilter(std::shared_ptr<QPDFObjectHandle::TokenFilter>)
void QPDFObjectHandle::addTokenFilter(std::shared_ptr<TokenFilter> filter) { return as_stream(error).addTokenFilter(filter); }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rdi testq %rdi, %rdi je 0x11e3e3 movzbl 0x30(%rdi), %eax cmpl $0xf, %eax je 0x11e3e7 cmpl $0xd, %eax jne 0x11e3f5 movq 0x48(%rdi), %rax movq 0x50(%rdi), %rsi movq %rax, %rdi callq 0x182b0a jmp 0x11e3ec xorl %eax, %eax jmp 0x11e3f8 callq 0x94a87 movq (%rax), %rax movsbl 0x30(%rax), %eax jmp 0x11e3f8 movsbl %al, %eax cmpl $0xa, %eax jne 0x11e427 movq (%r14), %rax movq %rax, (%rsp) movq 0x8(%r14), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x11e43f movq 0x12a9c7(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x11e4a9 incl 0x8(%rax) jmp 0x11e43f leaq 0xb692b(%rip), %rsi # 0x1d4d59 movq %r14, %rdi xorl %edx, %edx callq 0x11f898 xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq (%rbx), %rax movq %rax, 0x18(%rsp) movq 0x8(%rbx), %rax movq %rax, 0x20(%rsp) testq %rax, %rax je 0x11e46a movq 0x12a984(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x11e466 incl 0x8(%rax) jmp 0x11e46a lock incl 0x8(%rax) movq %rsp, %rdi callq 0x94c74 addq $0x40, %rax leaq 0x18(%rsp), %rsi movq %rax, %rdi callq 0x6e4c0 movq 0x20(%rsp), %rdi testq %rdi, %rdi je 0x11e492 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x11e4a1 callq 0x69d60 addq $0x28, %rsp popq %rbx popq %r14 retq lock incl 0x8(%rax) jmp 0x11e43f movq %rax, %rbx movq 0x20(%rsp), %rdi testq %rdi, %rdi je 0x11e4c1 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x11e4d0 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::newString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
QPDFObjectHandle QPDFObjectHandle::newString(std::string const& str) { return {QPDFObject::create<QPDF_String>(str)}; }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x121d58 movq (%r14), %rax movq %rax, (%rbx) xorl %eax, %eax movq %rax, 0x8(%rbx) movq 0x8(%r14), %rcx movq %rax, 0x8(%r14) movq %rcx, 0x8(%rbx) movq %rbx, %rax addq $0x18, %rsp popq %rbx popq %r14 retq
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::newArray(QPDFObjectHandle::Matrix const&)
QPDFObjectHandle QPDFObjectHandle::newArray(Matrix const& matrix) { return newArray( {newReal(matrix.a), newReal(matrix.b), newReal(matrix.c), newReal(matrix.d), newReal(matrix.e), newReal(matrix.f)}); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rsi, %r12 movq %rdi, %rbx movsd (%rsi), %xmm0 leaq 0x28(%rsp), %r15 movq %r15, %r14 movq %r15, %rdi xorl %esi, %esi movl $0x1, %edx callq 0x68ff0 leaq 0x38(%rsp), %r14 movsd 0x8(%r12), %xmm0 movq %r14, %rdi xorl %esi, %esi movl $0x1, %edx callq 0x68ff0 leaq 0x48(%rsp), %r14 movsd 0x10(%r12), %xmm0 movq %r14, %rdi xorl %esi, %esi movl $0x1, %edx callq 0x68ff0 leaq 0x58(%rsp), %r14 movsd 0x18(%r12), %xmm0 movq %r14, %rdi xorl %esi, %esi movl $0x1, %edx callq 0x68ff0 leaq 0x68(%rsp), %r14 movsd 0x20(%r12), %xmm0 movq %r14, %rdi xorl %esi, %esi movl $0x1, %edx callq 0x68ff0 leaq 0x78(%rsp), %r14 movsd 0x28(%r12), %xmm0 movq %r14, %rdi xorl %esi, %esi movl $0x1, %edx callq 0x68ff0 leaq 0x10(%rsp), %rdi leaq 0x28(%rsp), %rsi leaq 0xf(%rsp), %rcx movl $0x6, %edx callq 0x12204c leaq 0x10(%rsp), %rsi movq %rbx, %rdi callq 0x6e700 leaq 0x10(%rsp), %rdi callq 0x94700 movl $0x60, %r14d movq 0x20(%rsp,%r14), %rdi testq %rdi, %rdi je 0x11e959 callq 0x69d60 addq $-0x10, %r14 jne 0x11e94a movq %rbx, %rax addq $0x88, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx leaq 0x10(%rsp), %rdi callq 0x94700 jmp 0x11e983 movq %rax, %rbx movl $0x60, %r14d movq 0x20(%rsp,%r14), %rdi testq %rdi, %rdi je 0x11e998 callq 0x69d60 addq $-0x10, %r14 jne 0x11e989 jmp 0x11e9c4 movq %rax, %rbx cmpq %r14, %r15 je 0x11e9c4 leaq 0x28(%rsp), %r15 movq -0x8(%r14), %rdi testq %rdi, %rdi je 0x11e9bb callq 0x69d60 addq $-0x10, %r14 cmpq %r15, %r14 jne 0x11e9ad movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::newDictionary()
QPDFObjectHandle QPDFObjectHandle::newDictionary() { return newDictionary(std::map<std::string, QPDFObjectHandle>()); }
pushq %rbx subq $0x30, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %rax xorps %xmm0, %xmm0 movaps %xmm0, 0x8(%rax) movaps %xmm0, 0x18(%rax) movaps %xmm0, -0x8(%rax) movq %rax, 0x10(%rax) movq %rax, 0x18(%rax) movq $0x0, 0x20(%rax) movq %rsp, %rsi callq 0x6cb40 movq %rsp, %rdi callq 0x947ea movq %rbx, %rax addq $0x30, %rsp popq %rbx retq movq %rax, %rbx movq %rsp, %rdi callq 0x947ea movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::objectWarning(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
void QPDFObjectHandle::objectWarning(std::string const& warning) const { QPDF* context = nullptr; std::string description; // Type checks above guarantee that the object is initialized. obj->getDescription(context, description); // Null context handled by warn warn(context, QPDFExc(qpdf_e_object, "", description, 0, warning)); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rsi, %rbx xorl %eax, %eax movq %rsp, %rsi movq %rax, (%rsi) leaq 0x38(%rsp), %r15 movq %r15, -0x10(%r15) movq %rax, -0x8(%r15) movb $0x0, (%r15) movq (%rdi), %rdi leaq 0x28(%rsp), %rdx callq 0x1222dc movq (%rsp), %r14 leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xb345e(%rip), %rdx # 0x1d2c26 leaq 0x8(%rsp), %rdi movq %rdx, %rsi callq 0x68bb0 leaq 0x48(%rsp), %rdi leaq 0x8(%rsp), %rdx leaq 0x28(%rsp), %rcx movl $0x7, %esi xorl %r8d, %r8d movq %rbx, %r9 callq 0x68550 leaq 0x48(%rsp), %rsi movq %r14, %rdi callq 0x11ba92 leaq 0x48(%rsp), %rdi callq 0x6f2b8 movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x11f822 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi cmpq %r15, %rdi je 0x11f839 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 addq $0xc8, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx leaq 0x48(%rsp), %rdi callq 0x6f2b8 jmp 0x11f85a movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x11f878 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11f878 jmp 0x11f875 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r15, %rdi je 0x11f88f movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
QPDFObjectHandle::assertType(char const*, bool) const
void QPDFObjectHandle::assertType(char const* type_name, bool istype) const { if (!istype) { throw std::runtime_error( std::string("operation for ") + type_name + " attempted on object of type " + QPDFObjectHandle(*this).getTypeName()); } }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp testl %edx, %edx je 0x11f8bf addq $0x98, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movq %rsi, %r15 movq %rdi, %r14 movl $0x10, %edi callq 0x6a000 movq %rax, %rbx leaq 0x88(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xb160f(%rip), %rsi # 0x1d0ef5 leaq 0xb1616(%rip), %rdx # 0x1d0f03 leaq 0x78(%rsp), %rdi callq 0x68bb0 leaq 0x78(%rsp), %rdi movq %r15, %rsi callq 0x6b8d0 leaq 0x68(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx jne 0x11f925 movups (%rcx), %xmm0 movups %xmm0, (%r15) jmp 0x11f932 movq %rdx, 0x58(%rsp) movq (%rcx), %rdx movq %rdx, 0x68(%rsp) movq 0x8(%rax), %rdx leaq 0x58(%rsp), %rdi movq %rdx, 0x8(%rdi) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0xb15af(%rip), %rsi # 0x1d0f04 callq 0x6b8d0 leaq 0x48(%rsp), %r13 movq %r13, -0x10(%r13) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx jne 0x11f97c movups (%rcx), %xmm0 movups %xmm0, (%r13) jmp 0x11f989 movq %rdx, 0x38(%rsp) movq (%rcx), %rdx movq %rdx, 0x48(%rsp) movq 0x8(%rax), %rdx movq %rdx, 0x40(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) movq (%r14), %rax movq %rax, 0x8(%rsp) movq 0x8(%r14), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x11f9cc movq 0x129422(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) jne 0x11f9c9 lock incl 0x8(%rax) jmp 0x11f9cc incl 0x8(%rax) cmpq $0x0, 0x8(%rsp) jne 0x11f9dd leaq 0xb0eb4(%rip), %rsi # 0x1d088f jmp 0x11f9f4 leaq 0x8(%rsp), %rdi callq 0x6e5b0 movl %eax, %eax leaq 0x126ad8(%rip), %rcx # 0x2464c8 movq (%rcx,%rax,8), %rsi leaq 0x38(%rsp), %rdi callq 0x6b8d0 leaq 0x28(%rsp), %rcx movq %rcx, -0x10(%rcx) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx jne 0x11fa23 movups (%rcx), %xmm0 leaq 0x28(%rsp), %rdx movups %xmm0, (%rdx) jmp 0x11fa30 movq %rdx, 0x18(%rsp) movq (%rcx), %rdx movq %rdx, 0x28(%rsp) movq 0x8(%rax), %rdx leaq 0x18(%rsp), %rsi movq %rdx, 0x8(%rsi) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) movb $0x1, %bpl movq %rbx, %rdi callq 0x695f0 xorl %ebp, %ebp movq 0x129440(%rip), %rsi # 0x248ea0 movq 0x129361(%rip), %rdx # 0x248dc8 movq %rbx, %rdi callq 0x6b420 movq %rax, %r14 movq 0x18(%rsp), %rdi leaq 0x28(%rsp), %rax cmpq %rax, %rdi je 0x11fa96 movq 0x28(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11fa96 movq %rax, %r14 movb $0x1, %bpl movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x11faa5 callq 0x69d60 movq 0x38(%rsp), %rdi cmpq %r13, %rdi je 0x11fac4 movq 0x48(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11fac4 movq %rax, %r14 movb $0x1, %bpl movq 0x58(%rsp), %rdi cmpq %r15, %rdi je 0x11fae3 movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11fae3 movq %rax, %r14 movb $0x1, %bpl movq 0x78(%rsp), %rdi cmpq %r12, %rdi je 0x11fb05 movq 0x88(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x11fb05 movq %rax, %r14 movb $0x1, %bpl testb %bpl, %bpl je 0x11fb12 movq %rbx, %rdi callq 0x6cf40 movq %r14, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
(anonymous namespace)::CoalesceProvider::provideStreamData(QPDFObjGen const&, Pipeline*)
void CoalesceProvider::provideStreamData(QPDFObjGen const&, Pipeline* p) { QTC::TC("qpdf", "QPDFObjectHandle coalesce provide stream data"); std::string description = "page object " + containing_page.getObjGen().unparse(' '); std::string all_description; old_contents.pipeContentStreams(p, description, all_description); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %rbx movq %rdi, %r14 movq 0x10(%rdi), %rax testq %rax, %rax je 0x1208cc movq 0x50(%rax), %rax jmp 0x1208ce xorl %eax, %eax leaq 0x40(%rsp), %rsi movq %rax, (%rsi) movq %rsp, %r15 movq %r15, %rdi movl $0x20, %edx callq 0x9401a leaq 0xb0fd4(%rip), %rcx # 0x1d18c1 movl $0xc, %r8d movq %r15, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x68b10 leaq 0x30(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x120926 movq %rdx, 0x20(%rsp) movq (%rcx), %rdx movq %rdx, 0x30(%rsp) jmp 0x12092d movups (%rcx), %xmm0 movups %xmm0, (%r15) movq 0x8(%rax), %rdx movq %rdx, 0x28(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0x10(%rsp), %r12 movq -0x10(%r12), %rdi cmpq %r12, %rdi je 0x120961 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rsp, %rcx movq %r12, (%rcx) movq $0x0, 0x8(%rcx) movb $0x0, 0x10(%rcx) addq $0x20, %r14 leaq 0x20(%rsp), %rdx movq %r14, %rdi movq %rbx, %rsi callq 0x6c3f0 movq (%rsp), %rdi cmpq %r12, %rdi je 0x12099d movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0x1209b4 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 addq $0x48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq (%rsp), %rdi cmpq %r12, %rdi je 0x1209d9 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %r15, %rdi je 0x120a08 movq 0x30(%rsp), %rsi jmp 0x120a00 movq %rax, %rbx leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x120a08 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc
std::shared_ptr<QPDFObject> QPDFObject::create<QPDF_Name, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
inline std::shared_ptr<QPDFObject> QPDFObject::create(Args&&... args) { return std::make_shared<QPDFObject>(std::forward<T>(T(std::forward<Args>(args)...))); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %r14 leaq 0x18(%rsp), %rbx movq %rbx, -0x10(%rbx) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx leaq 0x8(%rsp), %r15 movq %r15, %rdi movq %rax, %rsi callq 0x68320 leaq 0x38(%rsp), %r12 movq %r12, -0x10(%r12) movq (%r15), %rax cmpq %rbx, %rax je 0x120cd6 movq %rax, 0x28(%rsp) movq 0x18(%rsp), %rax movq %rax, 0x38(%rsp) jmp 0x120cde movups (%rbx), %xmm0 movups %xmm0, (%r12) movq 0x10(%rsp), %rax leaq 0x28(%rsp), %rcx movq %rax, 0x8(%rcx) movq %rbx, 0x8(%rsp) xorl %eax, %eax movq %rax, 0x10(%rsp) movb $0x0, 0x18(%rsp) movq %rax, (%r14) leaq 0x8(%r14), %rdi leaq 0x7(%rsp), %rdx movq %r14, %rsi callq 0x12301e movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x120d28 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi cmpq %rbx, %rdi je 0x120d3f movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %r14, %rax addq $0x48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %r14 movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x120d68 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x8(%rsp), %rdi movq %rbx, %rsi callq 0x6fb0a movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/qpdf/QPDFObjectHandle_private.hh
std::shared_ptr<QPDFObject> QPDFObject::create<QPDF_Array, std::vector<QPDFObjectHandle, std::allocator<QPDFObjectHandle>>, bool>(std::vector<QPDFObjectHandle, std::allocator<QPDFObjectHandle>>&&, bool&&)
inline std::shared_ptr<QPDFObject> QPDFObject::create(Args&&... args) { return std::make_shared<QPDFObject>(std::forward<T>(T(std::forward<Args>(args)...))); }
pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movzbl (%rdx), %edx movq %rsp, %rdi callq 0x14f54c movq $0x0, (%rbx) movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x1225d9(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) movq %rax, %rcx addq $0x10, %rcx leaq 0x8(%rsp), %rdi movq -0x8(%rdi), %rdx movq %rdx, 0x10(%rax) xorl %edx, %edx movq %rdx, -0x8(%rdi) movq (%rdi), %rsi movq %rsi, 0x18(%rax) movq 0x8(%rdi), %rsi movq %rsi, 0x20(%rax) movq 0x10(%rdi), %rsi movq %rsi, 0x28(%rax) movq %rdx, 0x10(%rdi) xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movb $0x8, 0x40(%rax) movups %xmm0, 0x48(%rax) movups %xmm0, 0x58(%rax) movq $-0x1, 0x68(%rax) movq %rax, 0x8(%rbx) movq %rcx, (%rbx) callq 0x94700 movq %rsp, %rdi callq 0x94748 movq %rbx, %rax addq $0x20, %rsp popq %rbx retq movq %rax, %rbx leaq 0x8(%rsp), %rdi callq 0x94700 movq %rsp, %rdi callq 0x94748 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/qpdf/QPDFObjectHandle_private.hh
std::shared_ptr<QPDFObject> QPDFObject::create<QPDF_Name, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline std::shared_ptr<QPDFObject> QPDFObject::create(Args&&... args) { return std::make_shared<QPDFObject>(std::forward<T>(T(std::forward<Args>(args)...))); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %r14 leaq 0x18(%rsp), %rbx movq %rbx, -0x10(%rbx) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx leaq 0x8(%rsp), %r15 movq %r15, %rdi movq %rax, %rsi callq 0x68320 leaq 0x38(%rsp), %r12 movq %r12, -0x10(%r12) movq (%r15), %rax cmpq %rbx, %rax je 0x121cb0 movq %rax, 0x28(%rsp) movq 0x18(%rsp), %rax movq %rax, 0x38(%rsp) jmp 0x121cb8 movups (%rbx), %xmm0 movups %xmm0, (%r12) movq 0x10(%rsp), %rax leaq 0x28(%rsp), %rcx movq %rax, 0x8(%rcx) movq %rbx, 0x8(%rsp) xorl %eax, %eax movq %rax, 0x10(%rsp) movb $0x0, 0x18(%rsp) movq %rax, (%r14) leaq 0x8(%r14), %rdi leaq 0x7(%rsp), %rdx movq %r14, %rsi callq 0x12301e movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x121d02 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi cmpq %rbx, %rdi je 0x121d19 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %r14, %rax addq $0x48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %r14 movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x121d42 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x8(%rsp), %rdi movq %rbx, %rsi callq 0x6fb6e movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/qpdf/QPDFObjectHandle_private.hh
std::shared_ptr<QPDFObject> QPDFObject::create<QPDF_String, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline std::shared_ptr<QPDFObject> QPDFObject::create(Args&&... args) { return std::make_shared<QPDFObject>(std::forward<T>(T(std::forward<Args>(args)...))); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %r14 leaq 0x18(%rsp), %rbx movq %rbx, -0x10(%rbx) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx leaq 0x8(%rsp), %r15 movq %r15, %rdi movq %rax, %rsi callq 0x68320 leaq 0x38(%rsp), %r12 movq %r12, -0x10(%r12) movq (%r15), %rax cmpq %rbx, %rax je 0x121dac movq %rax, 0x28(%rsp) movq 0x18(%rsp), %rax movq %rax, 0x38(%rsp) jmp 0x121db4 movups (%rbx), %xmm0 movups %xmm0, (%r12) movq 0x10(%rsp), %rax leaq 0x28(%rsp), %rcx movq %rax, 0x8(%rcx) movq %rbx, 0x8(%rsp) xorl %eax, %eax movq %rax, 0x10(%rsp) movb $0x0, 0x18(%rsp) movq %rax, (%r14) leaq 0x8(%r14), %rdi leaq 0x7(%rsp), %rdx movq %r14, %rsi callq 0x122f54 movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x121dfe movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi cmpq %rbx, %rdi je 0x121e15 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq %r14, %rax addq $0x48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %r14 movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x121e3e movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x8(%rsp), %rdi movq %rbx, %rsi callq 0x6fb87 movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/qpdf/QPDFObjectHandle_private.hh
std::shared_ptr<QPDFObject> QPDFObject::create<QPDF_Array, std::vector<QPDFObjectHandle, std::allocator<QPDFObjectHandle>>&>(std::vector<QPDFObjectHandle, std::allocator<QPDFObjectHandle>>&)
inline std::shared_ptr<QPDFObject> QPDFObject::create(Args&&... args) { return std::make_shared<QPDFObject>(std::forward<T>(T(std::forward<Args>(args)...))); }
pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq %rsp, %rdi callq 0x1242b2 movq $0x0, (%rbx) movl $0x70, %edi callq 0x68ab0 movabsq $0x100000001, %rcx # imm = 0x100000001 movq %rcx, 0x8(%rax) leaq 0x1214dc(%rip), %rcx # 0x2435f8 movq %rcx, (%rax) movq %rax, %rcx addq $0x10, %rcx leaq 0x8(%rsp), %rdi movq -0x8(%rdi), %rdx movq %rdx, 0x10(%rax) xorl %edx, %edx movq %rdx, -0x8(%rdi) movq (%rdi), %rsi movq %rsi, 0x18(%rax) movq 0x8(%rdi), %rsi movq %rsi, 0x20(%rax) movq 0x10(%rdi), %rsi movq %rsi, 0x28(%rax) movq %rdx, 0x10(%rdi) xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movb $0x8, 0x40(%rax) movups %xmm0, 0x48(%rax) movups %xmm0, 0x58(%rax) movq $-0x1, 0x68(%rax) movq %rax, 0x8(%rbx) movq %rcx, (%rbx) callq 0x94700 movq %rsp, %rdi callq 0x94748 movq %rbx, %rax addq $0x20, %rsp popq %rbx retq movq %rax, %rbx leaq 0x8(%rsp), %rdi callq 0x94700 movq %rsp, %rdi callq 0x94748 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/qpdf/QPDFObjectHandle_private.hh
QPDFOutlineObjectHelper::Accessor::create(QPDFObjectHandle, QPDFOutlineDocumentHelper&, int)
static QPDFOutlineObjectHelper create(QPDFObjectHandle oh, QPDFOutlineDocumentHelper& dh, int depth) { return {oh, dh, depth}; }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movq (%rsi), %rax movq %rax, (%rsp) movq 0x8(%rsi), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x1252e6 movq 0x123b08(%rip), %rsi # 0x248de0 cmpb $0x0, (%rsi) je 0x1252e2 incl 0x8(%rax) jmp 0x1252e6 lock incl 0x8(%rax) movq %rsp, %rsi movq %rbx, %rdi callq 0x1264ac movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x125300 callq 0x69d60 movq %rbx, %rax addq $0x10, %rsp popq %rbx retq movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12531b callq 0x69d60 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/include/qpdf/QPDFOutlineObjectHelper.hh
QPDFOutlineObjectHelper::getDestPage()
QPDFObjectHandle QPDFOutlineObjectHelper::getDestPage() { QPDFObjectHandle dest = getDest(); if ((dest.isArray()) && (dest.getArrayNItems() > 0)) { return dest.getArrayItem(0); } return QPDFObjectHandle::newNull(); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x69990 movq %r14, %rdi callq 0x6c8b0 testb %al, %al je 0x12707c leaq 0x8(%rsp), %rdi callq 0x6f1d0 testl %eax, %eax jle 0x12707c leaq 0x8(%rsp), %rsi movq %rbx, %rdi xorl %edx, %edx callq 0x6ac00 jmp 0x127084 movq %rbx, %rdi callq 0x6b240 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x127093 callq 0x69d60 movq %rbx, %rax addq $0x18, %rsp popq %rbx popq %r14 retq movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x1270b0 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFOutlineObjectHelper.cc
QPDFPageDocumentHelper::flattenAnnotationsForPage(QPDFPageObjectHelper&, QPDFObjectHandle&, QPDFAcroFormDocumentHelper&, int, int)
void QPDFPageDocumentHelper::flattenAnnotationsForPage( QPDFPageObjectHelper& page, QPDFObjectHandle& resources, QPDFAcroFormDocumentHelper& afdh, int required_flags, int forbidden_flags) { bool need_appearances = afdh.getNeedAppearances(); std::vector<QPDFAnnotationObjectHelper> annots = page.getAnnotations(); std::vector<QPDFObjectHandle> new_annots; std::string new_content; int rotate = 0; QPDFObjectHandle rotate_obj = page.getObjectHandle().getKey("/Rotate"); if (rotate_obj.isInteger() && rotate_obj.getIntValue()) { rotate = rotate_obj.getIntValueAsInt(); } int next_fx = 1; for (auto& aoh: annots) { QPDFObjectHandle as = aoh.getAppearanceStream("/N"); bool is_widget = (aoh.getSubtype() == "/Widget"); bool process = true; if (need_appearances && is_widget) { QTC::TC("qpdf", "QPDFPageDocumentHelper skip widget need appearances"); process = false; } if (process && as.isStream()) { if (is_widget) { QTC::TC("qpdf", "QPDFPageDocumentHelper merge DR"); QPDFFormFieldObjectHelper ff = afdh.getFieldForAnnotation(aoh); QPDFObjectHandle as_resources = as.getDict().getKey("/Resources"); if (as_resources.isIndirect()) { QTC::TC("qpdf", "QPDFPageDocumentHelper indirect as resources"); as.getDict().replaceKey("/Resources", as_resources.shallowCopy()); as_resources = as.getDict().getKey("/Resources"); } as_resources.mergeResources(ff.getDefaultResources()); } else { QTC::TC("qpdf", "QPDFPageDocumentHelper non-widget annotation"); } std::string name = resources.getUniqueResourceName("/Fxo", next_fx); std::string content = aoh.getPageContentForAppearance(name, rotate, required_flags, forbidden_flags); if (!content.empty()) { resources.mergeResources("<< /XObject << >> >>"_qpdf); resources.getKey("/XObject").replaceKey(name, as); ++next_fx; } new_content += content; } else if (process && !aoh.getAppearanceDictionary().isNull()) { // If an annotation has no selected appearance stream, just drop the annotation when // flattening. This can happen for unchecked checkboxes and radio buttons, popup windows // associated with comments that aren't visible, and other types of annotations that // aren't visible. Annotations that have no appearance streams at all, such as Link, // Popup, and Projection, should be preserved. QTC::TC("qpdf", "QPDFPageDocumentHelper ignore annotation with no appearance"); } else { new_annots.push_back(aoh.getObjectHandle()); } } if (new_annots.size() != annots.size()) { QPDFObjectHandle page_oh = page.getObjectHandle(); if (new_annots.empty()) { QTC::TC("qpdf", "QPDFPageDocumentHelper remove annots"); page_oh.removeKey("/Annots"); } else { QPDFObjectHandle old_annots = page_oh.getKey("/Annots"); QPDFObjectHandle new_annots_oh = QPDFObjectHandle::newArray(new_annots); if (old_annots.isIndirect()) { QTC::TC("qpdf", "QPDFPageDocumentHelper replace indirect annots"); this->qpdf.replaceObject(old_annots.getObjGen(), new_annots_oh); } else { QTC::TC("qpdf", "QPDFPageDocumentHelper replace direct annots"); page_oh.replaceKey("/Annots", new_annots_oh); } } page.addPageContents(qpdf.newStream("q\n"), true); page.addPageContents(qpdf.newStream("\nQ\n" + new_content), false); } }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1f8, %rsp # imm = 0x1F8 movl %r9d, 0xbc(%rsp) movl %r8d, 0xb8(%rsp) movq %rdx, 0xb0(%rsp) movq %rsi, %rbx movq %rdi, %r14 movq %rcx, 0x160(%rsp) movq %rcx, %rdi callq 0x68b70 movb %al, 0x7(%rsp) leaq 0x38(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xaaead(%rip), %rdx # 0x1d2c26 leaq 0x28(%rsp), %rdi movq %rdx, %rsi callq 0x68bb0 leaq 0x110(%rsp), %rdi leaq 0x28(%rsp), %rdx movq %rbx, %rsi callq 0x6db90 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x127db2 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 xorl %eax, %eax movq %rax, 0xe0(%rsp) xorps %xmm0, %xmm0 movaps %xmm0, 0xd0(%rsp) leaq 0x138(%rsp), %rcx movq %rcx, -0x10(%rcx) movq %rax, -0x8(%rcx) movb $0x0, (%rcx) movq 0x8(%rbx), %rax movq %rax, 0x8(%rsp) movq 0x10(%rbx), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x127e06 movq 0x120fe8(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x127e02 incl 0x8(%rax) jmp 0x127e06 lock incl 0x8(%rax) leaq 0x28(%rsp), %rdi movq %r13, (%rdi) leaq 0xa8da5(%rip), %rsi # 0x1d0bba leaq 0xa8da5(%rip), %rdx # 0x1d0bc1 callq 0x68bb0 leaq 0xf0(%rsp), %rdi leaq 0x8(%rsp), %rsi leaq 0x28(%rsp), %rdx callq 0x6ba70 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x127e4f movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x127e5e callq 0x69d60 leaq 0xf0(%rsp), %rdi callq 0x6c2a0 movl $0x0, 0x88(%rsp) testb %al, %al je 0x127ea0 leaq 0xf0(%rsp), %rdi callq 0x6db80 testq %rax, %rax je 0x127ea0 leaq 0xf0(%rsp), %rdi callq 0x6bdf0 movl %eax, 0x88(%rsp) movq %r14, 0x148(%rsp) movq %rbx, 0x150(%rsp) movl $0x1, 0x8c(%rsp) movq 0x110(%rsp), %rbx movq 0x118(%rsp), %rax movq %rax, 0x168(%rsp) cmpq %rax, %rbx je 0x128543 leaq 0x18(%rsp), %r14 movq 0x120e48(%rip), %rax # 0x248d30 addq $0x10, %rax movq %rax, 0x158(%rsp) movq %r13, 0x28(%rsp) leaq 0x28(%rsp), %rdi leaq 0x91502(%rip), %rsi # 0x1b9407 leaq 0x914fd(%rip), %rdx # 0x1b9409 callq 0x68bb0 movq %r14, 0x8(%rsp) leaq 0x8(%rsp), %r15 movq %r15, %rdi leaq 0xaad01(%rip), %rdx # 0x1d2c26 movq %rdx, %rsi callq 0x68bb0 leaq 0x78(%rsp), %rdi movq %rbx, %rsi leaq 0x28(%rsp), %rdx movq %r15, %rcx callq 0x6df60 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x127f59 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x127f70 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq %r14, %rbp leaq 0x28(%rsp), %r14 movq %r14, %rdi movq %rbx, %rsi callq 0x69c40 movq %r14, %rdi leaq 0x90e9d(%rip), %rsi # 0x1b8e2a callq 0x6d210 movl %eax, %r14d movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x127fac movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 testl %r14d, %r14d sete %r13b andb 0x7(%rsp), %r13b je 0x128018 xorl %r14d, %r14d testb %r13b, %r13b leaq 0x38(%rsp), %r13 jne 0x127fd9 movq 0x1b8(%rsp), %rdi testq %rdi, %rdi je 0x127fd9 callq 0x69d60 testb %r14b, %r14b movq %rbp, %r14 jne 0x12851f movq 0x8(%rbx), %rax movq %rax, 0x28(%rsp) movq 0x10(%rbx), %rax movq %rax, 0x30(%rsp) testq %rax, %rax je 0x128099 movq 0x120dd9(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x128095 incl 0x8(%rax) jmp 0x128099 leaq 0x78(%rsp), %rdi callq 0x695d0 testb %al, %al je 0x128065 testl %r14d, %r14d leaq 0x38(%rsp), %r13 movq %rbp, %r14 jne 0x128379 movq 0x8(%rbx), %rax movq %rax, 0x1c8(%rsp) movq 0x10(%rbx), %rax movq %rax, 0x1d0(%rsp) testq %rax, %rax je 0x1280c7 movq 0x120d85(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x1280c3 incl 0x8(%rax) jmp 0x1280c7 testb %r13b, %r13b jne 0x127fba leaq 0x1b0(%rsp), %r14 movq %r14, %rdi movq %rbx, %rsi callq 0x6b210 movq %r14, %rdi callq 0x6db30 movl %eax, %r14d xorb $0x1, %r14b jmp 0x127fbd lock incl 0x8(%rax) leaq 0xd0(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0xace3e movq 0x30(%rsp), %rdi testq %rdi, %rdi je 0x12851f callq 0x69d60 jmp 0x12851f lock incl 0x8(%rax) movq 0x158(%rsp), %rax movq %rax, 0x1c0(%rsp) movq 0x18(%rbx), %rax movq %rax, 0x1d8(%rsp) movq 0x20(%rbx), %rax movq %rax, 0x1e0(%rsp) testq %rax, %rax je 0x128109 movq 0x120ce5(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x128105 incl 0x8(%rax) jmp 0x128109 lock incl 0x8(%rax) leaq 0x11ba50(%rip), %rax # 0x243b60 movq %rax, 0x1c0(%rsp) movq 0x28(%rbx), %rax movq %rax, 0x1e8(%rsp) movq 0x30(%rbx), %rax movq %rax, 0x1f0(%rsp) testq %rax, %rax je 0x12814a movq 0x120ca4(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x128146 incl 0x8(%rax) jmp 0x12814a lock incl 0x8(%rax) leaq 0x28(%rsp), %rdi movq 0x160(%rsp), %rsi leaq 0x1c0(%rsp), %r15 movq %r15, %rdx callq 0x6e630 movq %r15, %rdi callq 0xac7aa leaq 0x60(%rsp), %rdi leaq 0x78(%rsp), %rsi callq 0x6ae50 movq %r14, 0x8(%rsp) leaq 0x8(%rsp), %r15 movq %r15, %rdi leaq 0x90f32(%rip), %rsi # 0x1b90c4 leaq 0x90f35(%rip), %rdx # 0x1b90ce callq 0x68bb0 leaq 0x90(%rsp), %rdi leaq 0x60(%rsp), %rsi movq %r15, %rdx callq 0x6ba70 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x1281ca movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x1281d9 callq 0x69d60 leaq 0x90(%rsp), %rdi callq 0x6ab30 testb %al, %al je 0x128322 leaq 0x60(%rsp), %rdi leaq 0x78(%rsp), %rsi callq 0x6ae50 movq %r14, 0x8(%rsp) leaq 0x8(%rsp), %rdi leaq 0x90eb6(%rip), %rsi # 0x1b90c4 leaq 0x90eb9(%rip), %rdx # 0x1b90ce callq 0x68bb0 leaq 0xc0(%rsp), %r15 movq %r15, %rdi leaq 0x90(%rsp), %rsi callq 0x6bba0 leaq 0x60(%rsp), %rdi leaq 0x8(%rsp), %rsi movq %r15, %rdx callq 0x6c930 movq 0xc8(%rsp), %rdi testq %rdi, %rdi je 0x128256 callq 0x69d60 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x12826d movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x12827c callq 0x69d60 leaq 0xc0(%rsp), %rdi leaq 0x78(%rsp), %rsi callq 0x6ae50 movq %r14, 0x8(%rsp) leaq 0x8(%rsp), %r15 movq %r15, %rdi leaq 0x90e22(%rip), %rsi # 0x1b90c4 leaq 0x90e25(%rip), %rdx # 0x1b90ce callq 0x68bb0 leaq 0x60(%rsp), %rdi leaq 0xc0(%rsp), %rsi movq %r15, %rdx callq 0x6ba70 movaps 0x60(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x60(%rsp) movq 0x98(%rsp), %rdi movups %xmm0, 0x90(%rsp) testq %rdi, %rdi je 0x1282ea callq 0x69d60 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x1282f9 callq 0x69d60 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x128310 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0xc8(%rsp), %rdi testq %rdi, %rdi je 0x128322 callq 0x69d60 leaq 0x1a0(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0x6b150 leaq 0x90(%rsp), %rdi leaq 0x1a0(%rsp), %rsi xorl %edx, %edx callq 0x6ee70 movq 0x1a8(%rsp), %rdi testq %rdi, %rdi je 0x12835d callq 0x69d60 movq 0x98(%rsp), %rdi testq %rdi, %rdi je 0x12836f callq 0x69d60 leaq 0x28(%rsp), %rdi callq 0xac708 movq %r14, 0x8(%rsp) leaq 0x8(%rsp), %r15 movq %r15, %rdi leaq 0xa9021(%rip), %rsi # 0x1d13ae leaq 0xa901e(%rip), %rdx # 0x1d13b2 callq 0x68bb0 leaq 0x28(%rsp), %rdi movq 0xb0(%rsp), %rsi movq %r15, %rdx leaq 0x8c(%rsp), %rcx xorl %r8d, %r8d callq 0x6dfa0 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x1283d0 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x8(%rsp), %rdi movq %rbx, %rsi leaq 0x28(%rsp), %rdx movl 0x88(%rsp), %ecx movl 0xb8(%rsp), %r8d movl 0xbc(%rsp), %r9d callq 0x6eb50 cmpq $0x0, 0x10(%rsp) je 0x1284da movl $0x14, %edx leaq 0x190(%rsp), %rdi leaq 0x96d8a(%rip), %rsi # 0x1bf1a3 callq 0x6d150 movq 0xb0(%rsp), %rdi leaq 0x190(%rsp), %rsi xorl %edx, %edx callq 0x6ee70 movq 0x198(%rsp), %rdi testq %rdi, %rdi je 0x128447 callq 0x69d60 leaq 0xa0(%rsp), %rax movq %rax, 0x90(%rsp) leaq 0x90(%rsp), %r12 movq %r12, %rdi leaq 0x96d4f(%rip), %rsi # 0x1bf1b8 leaq 0x96d50(%rip), %rdx # 0x1bf1c0 callq 0x68bb0 leaq 0x60(%rsp), %r15 movq %r15, %rdi movq 0xb0(%rsp), %rsi movq %r12, %rdx callq 0x6ba70 movq %r15, %rdi leaq 0x28(%rsp), %rsi leaq 0x78(%rsp), %rdx callq 0x6c930 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x1284ae callq 0x69d60 movq 0x90(%rsp), %rdi leaq 0xa0(%rsp), %rax cmpq %rax, %rdi je 0x1284d3 movq 0xa0(%rsp), %rsi incq %rsi callq 0x68760 incl 0x8c(%rsp) movq 0x8(%rsp), %rsi movq 0x10(%rsp), %rdx leaq 0x128(%rsp), %rdi callq 0x6bfe0 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x128508 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x12851f movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x80(%rsp), %rdi testq %rdi, %rdi je 0x128531 callq 0x69d60 addq $0x38, %rbx cmpq 0x168(%rsp), %rbx jne 0x127ef4 movq 0xd8(%rsp), %rax subq 0xd0(%rsp), %rax sarq $0x4, %rax movq 0x118(%rsp), %rcx subq 0x110(%rsp), %rcx sarq $0x3, %rcx movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7 imulq %rcx, %rdx cmpq %rdx, %rax je 0x128860 movq 0x150(%rsp), %r14 movq 0x8(%r14), %rax movq %rax, 0x8(%rsp) movq 0x10(%r14), %rax movq %rax, 0x10(%rsp) testq %rax, %rax movq 0x148(%rsp), %r15 je 0x1285be movq 0x120830(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x1285ba incl 0x8(%rax) jmp 0x1285be lock incl 0x8(%rax) movq 0xd0(%rsp), %rax cmpq 0xd8(%rsp), %rax je 0x128693 leaq 0x28(%rsp), %rdi movq %r13, (%rdi) leaq 0x90bf2(%rip), %rsi # 0x1b91d5 leaq 0x90bf2(%rip), %rdx # 0x1b91dc callq 0x68bb0 leaq 0x90(%rsp), %rdi leaq 0x8(%rsp), %rsi leaq 0x28(%rsp), %rdx callq 0x6ba70 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x12861d movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x78(%rsp), %rdi leaq 0xd0(%rsp), %rsi callq 0x6e700 leaq 0x90(%rsp), %rdi callq 0x6ab30 testb %al, %al je 0x1286dd movq 0x8(%r15), %rbx leaq 0x90(%rsp), %rdi callq 0x6ef20 movq 0x78(%rsp), %rdx movq 0x80(%rsp), %rcx movq %rdx, 0x100(%rsp) movq %rcx, 0x108(%rsp) testq %rcx, %rcx je 0x128729 movq 0x12075e(%rip), %rdx # 0x248de0 cmpb $0x0, (%rdx) je 0x128725 incl 0x8(%rcx) jmp 0x128729 leaq 0x28(%rsp), %rdi movq %r13, (%rdi) leaq 0x90b33(%rip), %rsi # 0x1b91d5 leaq 0x90b33(%rip), %rdx # 0x1b91dc callq 0x68bb0 leaq 0x8(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0x6e470 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x128772 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128772 leaq 0x28(%rsp), %rdi movq %r13, (%rdi) leaq 0x90ae9(%rip), %rsi # 0x1b91d5 leaq 0x90ae9(%rip), %rdx # 0x1b91dc callq 0x68bb0 leaq 0x8(%rsp), %rdi leaq 0x28(%rsp), %rsi leaq 0x78(%rsp), %rdx callq 0x6c930 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x12874e movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12874e lock incl 0x8(%rcx) leaq 0x100(%rsp), %rdx movq %rbx, %rdi movq %rax, %rsi callq 0x6d070 movq 0x108(%rsp), %rdi testq %rdi, %rdi je 0x12874e callq 0x69d60 movq 0x80(%rsp), %rdi testq %rdi, %rdi je 0x128760 callq 0x69d60 movq 0x98(%rsp), %rdi testq %rdi, %rdi je 0x128772 callq 0x69d60 movq 0x8(%r15), %rbx leaq 0x28(%rsp), %rdi movq %r13, (%rdi) leaq 0x90c91(%rip), %rsi # 0x1b9416 leaq 0x90c8c(%rip), %rdx # 0x1b9418 callq 0x68bb0 leaq 0x180(%rsp), %rdi leaq 0x28(%rsp), %rdx movq %rbx, %rsi callq 0x6f280 leaq 0x180(%rsp), %rsi movq %r14, %rdi movl $0x1, %edx callq 0x68d70 movq 0x188(%rsp), %rdi testq %rdi, %rdi je 0x1287cd callq 0x69d60 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x1287e4 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%r15), %rbx leaq 0x91e5e(%rip), %rsi # 0x1ba64d leaq 0x28(%rsp), %rdi leaq 0x128(%rsp), %rdx callq 0x6c310 leaq 0x170(%rsp), %rdi leaq 0x28(%rsp), %rdx movq %rbx, %rsi callq 0x6f280 leaq 0x170(%rsp), %rsi movq %r14, %rdi xorl %edx, %edx callq 0x68d70 movq 0x178(%rsp), %rdi testq %rdi, %rdi je 0x12883a callq 0x69d60 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x128851 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x128860 callq 0x69d60 movq 0xf8(%rsp), %rdi testq %rdi, %rdi je 0x128872 callq 0x69d60 movq 0x128(%rsp), %rdi leaq 0x138(%rsp), %rax cmpq %rax, %rdi je 0x128897 movq 0x138(%rsp), %rsi incq %rsi callq 0x68760 leaq 0xd0(%rsp), %rdi callq 0x94700 leaq 0x110(%rsp), %rdi callq 0xaca70 addq $0x1f8, %rsp # imm = 0x1F8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movq %rax, %rbx movq 0x108(%rsp), %rdi testq %rdi, %rdi je 0x128908 callq 0x69d60 jmp 0x128908 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x128908 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128908 jmp 0x128905 jmp 0x128956 jmp 0x128972 movq %rax, %rbx jmp 0x12891a jmp 0x128956 jmp 0x128972 movq %rax, %rbx movq 0x80(%rsp), %rdi testq %rdi, %rdi je 0x12891a callq 0x69d60 movq 0x98(%rsp), %rdi testq %rdi, %rdi je 0x128975 callq 0x69d60 jmp 0x128975 movq %rax, %rbx movq 0x178(%rsp), %rdi jmp 0x12894a jmp 0x128956 jmp 0x128972 movq %rax, %rbx movq 0x188(%rsp), %rdi testq %rdi, %rdi je 0x128959 callq 0x69d60 jmp 0x128959 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x128975 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128975 movq %rax, %rbx movq 0x10(%rsp), %rdi jmp 0x128bff movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x12899e movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12899e movq %rax, %rbx movq 0xc8(%rsp), %rdi jmp 0x128a7b jmp 0x128b1f movq %rax, %rbx movq 0xc8(%rsp), %rdi testq %rdi, %rdi je 0x1289ca callq 0x69d60 jmp 0x1289ca movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %rbp, %rdi je 0x1289e6 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x1289e6 movq %rax, %rbx movq 0x68(%rsp), %rdi jmp 0x128a7b jmp 0x128b1f movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x128a14 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128a14 movq %rax, %rbx movq 0x10(%rsp), %rdi jmp 0x128c11 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x128c5a movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128c5a movq %rax, %rbx jmp 0x128c5a jmp 0x128bb7 movq %rax, %rbx jmp 0x128aa8 movq %rax, %rbx jmp 0x128b34 movq %rax, %rbx leaq 0x1c0(%rsp), %rdi callq 0xac7aa jmp 0x128bf7 movq %rax, %rbx movq 0x1a8(%rsp), %rdi testq %rdi, %rdi je 0x128b22 callq 0x69d60 jmp 0x128b22 movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x128aa8 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x68(%rsp), %rdi jmp 0x128b2a movq %rax, %rbx movq 0x1b8(%rsp), %rdi jmp 0x128b6d jmp 0x128bf4 movq %rax, %rbx movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x128adb callq 0x69d60 jmp 0x128adb movq %rax, %rbx movq 0x90(%rsp), %rdi leaq 0xa0(%rsp), %rax cmpq %rax, %rdi je 0x128b80 movq 0xa0(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128b80 jmp 0x128b7d movq %rax, %rbx movq 0x198(%rsp), %rdi testq %rdi, %rdi je 0x128b80 callq 0x69d60 jmp 0x128b80 movq %rax, %rbx movq 0x98(%rsp), %rdi testq %rdi, %rdi je 0x128b34 callq 0x69d60 leaq 0x28(%rsp), %rdi callq 0xac708 jmp 0x128bf7 movq %rax, %rbx jmp 0x128b97 movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x128bf7 movq 0x18(%rsp), %rsi jmp 0x128bab jmp 0x128bf4 movq %rax, %rbx movq 0x30(%rsp), %rdi testq %rdi, %rdi je 0x128bf7 callq 0x69d60 jmp 0x128bf7 movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %rbp, %rdi je 0x128b97 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi leaq 0x38(%rsp), %rax cmpq %rax, %rdi je 0x128bf7 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128bf7 jmp 0x128bf4 movq %rax, %rbx jmp 0x128c09 movq %rax, %rbx jmp 0x128bdb movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0x128bdb movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0x128c09 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x128c09 movq %rax, %rbx movq 0x80(%rsp), %rdi testq %rdi, %rdi je 0x128c09 callq 0x69d60 movq 0xf8(%rsp), %rdi testq %rdi, %rdi je 0x128c1b callq 0x69d60 movq 0x128(%rsp), %rdi leaq 0x138(%rsp), %rax cmpq %rax, %rdi je 0x128c40 movq 0x138(%rsp), %rsi incq %rsi callq 0x68760 leaq 0xd0(%rsp), %rdi callq 0x94700 leaq 0x110(%rsp), %rdi callq 0xaca70 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFPageDocumentHelper.cc
QPDFPageLabelDocumentHelper::QPDFPageLabelDocumentHelper(QPDF&)
QPDFPageLabelDocumentHelper::QPDFPageLabelDocumentHelper(QPDF& qpdf) : QPDFDocumentHelper(qpdf), m(new Members()) { QPDFObjectHandle root = qpdf.getRoot(); if (root.hasKey("/PageLabels")) { m->labels = std::make_shared<QPDFNumberTreeObjectHelper>(root.getKey("/PageLabels"), this->qpdf); } }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rsi, %r15 movq %rdi, %rbx movq %rsi, 0x8(%rdi) leaq 0x11b783(%rip), %rax # 0x244708 movq %rax, (%rdi) movl $0x10, %edi callq 0x68ab0 xorps %xmm0, %xmm0 movups %xmm0, (%rax) movq %rax, 0x10(%rbx) leaq 0x18(%rbx), %r14 movq %r14, %rdi movq %rax, %rsi callq 0x12a4ac leaq 0x40(%rsp), %rdi movq %r15, %rsi callq 0x6ac80 leaq 0x20(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x96345(%rip), %rsi # 0x1bf30e leaq 0x96349(%rip), %rdx # 0x1bf319 leaq 0x10(%rsp), %rdi callq 0x68bb0 leaq 0x40(%rsp), %rdi leaq 0x10(%rsp), %rsi callq 0x69f70 movl %eax, %ebp movq 0x10(%rsp), %rdi cmpq %r12, %rdi je 0x129002 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 testb %bpl, %bpl je 0x1290b6 leaq 0x10(%rsp), %rdi movq %r12, (%rdi) leaq 0x962f4(%rip), %rsi # 0x1bf30e leaq 0x962f8(%rip), %rdx # 0x1bf319 callq 0x68bb0 leaq 0x50(%rsp), %rdi leaq 0x40(%rsp), %rsi leaq 0x10(%rsp), %rdx callq 0x6ba70 movq 0x8(%rbx), %r8 leaq 0x38(%rsp), %rdi movq $0x0, -0x8(%rdi) leaq 0x30(%rsp), %rsi leaq 0xf(%rsp), %rdx leaq 0x50(%rsp), %rcx callq 0x12a560 movq 0x10(%rbx), %rax movaps 0x30(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x30(%rsp) movq 0x8(%rax), %rdi movups %xmm0, (%rax) testq %rdi, %rdi je 0x129081 callq 0x69d60 movq 0x38(%rsp), %rdi testq %rdi, %rdi je 0x129090 callq 0x69d60 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12909f callq 0x69d60 movq 0x10(%rsp), %rdi cmpq %r12, %rdi je 0x1290b6 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x1290c5 callq 0x69d60 addq $0x60, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq movq %rax, %r15 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x1290ed callq 0x69d60 jmp 0x1290ed jmp 0x1290ea jmp 0x129106 movq %rax, %r15 movq 0x10(%rsp), %rdi cmpq %r12, %rdi je 0x129109 movq 0x20(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129109 movq %rax, %r15 movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x12911d callq 0x69d60 jmp 0x12911d movq %rax, %r15 movq (%r14), %rdi testq %rdi, %rdi je 0x12912f callq 0x69d60 jmp 0x12912f movq %rax, %r15 movq %rbx, %rdi callq 0x68c20 movq %r15, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageLabelDocumentHelper.cc
QPDFPageLabelDocumentHelper::getLabelsForPageRange(long long, long long, long long, std::vector<QPDFObjectHandle, std::allocator<QPDFObjectHandle>>&)
void QPDFPageLabelDocumentHelper::getLabelsForPageRange( long long start_idx, long long end_idx, long long new_start_idx, std::vector<QPDFObjectHandle>& new_labels) { // Start off with a suitable label for the first page. For every remaining page, if that page // has an explicit entry, copy it. Otherwise, let the subsequent page just sequence from the // prior entry. If there is no entry for the first page, fabricate one that would match how the // page would look in a new file in which it also didn't have an explicit label. QPDFObjectHandle label = getLabelForPage(start_idx); if (label.isNull()) { label = QPDFObjectHandle::newDictionary(); label.replaceKey("/St", QPDFObjectHandle::newInteger(1 + new_start_idx)); } // See if the new label is redundant based on the previous entry in the vector. If so, don't add // it. size_t size = new_labels.size(); bool skip_first = false; if (size >= 2) { QPDFObjectHandle last = new_labels.at(size - 1); QPDFObjectHandle last_idx = new_labels.at(size - 2); if (last_idx.isInteger() && last.isDictionary() && (label.getKey("/S").unparse() == last.getKey("/S").unparse()) && (label.getKey("/P").unparse() == last.getKey("/P").unparse()) && label.getKey("/St").isInteger() && last.getKey("/St").isInteger()) { long long int st_delta = label.getKey("/St").getIntValue() - last.getKey("/St").getIntValue(); long long int idx_delta = new_start_idx - last_idx.getIntValue(); if (st_delta == idx_delta) { QTC::TC("qpdf", "QPDFPageLabelDocumentHelper skip first"); skip_first = true; } } } if (!skip_first) { new_labels.push_back(QPDFObjectHandle::newInteger(new_start_idx)); new_labels.push_back(label); } long long int idx_offset = new_start_idx - start_idx; for (long long i = start_idx + 1; i <= end_idx; ++i) { if (m->labels->hasIndex(i) && (label = getLabelForPage(i)).isDictionary()) { new_labels.push_back(QPDFObjectHandle::newInteger(i + idx_offset)); new_labels.push_back(label); } } }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x248, %rsp # imm = 0x248 movq %r8, %r13 movq %rcx, %r14 movq %rdx, 0x68(%rsp) movq %rsi, %r12 movq %rdi, %rsi movq %rsp, %rbx movq %rbx, %rdi movq %rsi, 0x80(%rsp) movq %r12, %rdx callq 0x6eab0 movq %rbx, %rdi callq 0x6db30 testb %al, %al je 0x12960f leaq 0x20(%rsp), %rdi callq 0x69300 movaps 0x20(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x20(%rsp) movq 0x8(%rsp), %rdi movups %xmm0, (%rsp) testq %rdi, %rdi je 0x129590 callq 0x69d60 movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x12959f callq 0x69d60 leaq 0x30(%rsp), %rbx movq %rbx, -0x10(%rbx) leaq 0xa7e1c(%rip), %rsi # 0x1d13cb leaq 0xa7e18(%rip), %rdx # 0x1d13ce leaq 0x20(%rsp), %rdi callq 0x68bb0 leaq 0x1(%r14), %rsi leaq 0x88(%rsp), %rdi callq 0x6a820 movq %rsp, %rdi leaq 0x20(%rsp), %rsi leaq 0x88(%rsp), %rdx callq 0x6c930 movq 0x90(%rsp), %rdi testq %rdi, %rdi je 0x1295f8 callq 0x69d60 movq 0x20(%rsp), %rdi cmpq %rbx, %rdi je 0x12960f movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq (%r13), %rax movq 0x8(%r13), %rcx subq %rax, %rcx movq %rcx, %rsi sarq $0x4, %rsi cmpq $0x2, %rsi movq %r13, 0x60(%rsp) jb 0x129bc4 movq -0x10(%rax,%rcx), %rdx movq %rdx, 0x10(%rsp) movq -0x8(%rax,%rcx), %rax movq %rax, 0x18(%rsp) testq %rax, %rax je 0x12965e movq 0x11f790(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12965a incl 0x8(%rax) jmp 0x12965e lock incl 0x8(%rax) addq $-0x2, %rsi movq (%r13), %rax movq 0x8(%r13), %rdx subq %rax, %rdx sarq $0x4, %rdx cmpq %rsi, %rdx jbe 0x129dc5 shlq $0x4, %rsi movq (%rax,%rsi), %rcx movq %rcx, 0x70(%rsp) movq 0x8(%rax,%rsi), %rax movq %rax, 0x78(%rsp) testq %rax, %rax je 0x1296ab movq 0x11f743(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x1296a7 incl 0x8(%rax) jmp 0x1296ab lock incl 0x8(%rax) leaq 0x70(%rsp), %rdi callq 0x6c2a0 testb %al, %al je 0x129896 leaq 0x10(%rsp), %rdi callq 0x6b6a0 testb %al, %al je 0x129896 leaq 0x98(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0xa7bb2(%rip), %rsi # 0x1d1294 leaq 0xa7bad(%rip), %rdx # 0x1d1296 leaq 0x88(%rsp), %rdi callq 0x68bb0 leaq 0x198(%rsp), %rdi movq %rsp, %rsi leaq 0x88(%rsp), %rdx callq 0x6ba70 leaq 0x20(%rsp), %rdi leaq 0x198(%rsp), %rsi callq 0x6e540 leaq 0x218(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xa7b61(%rip), %rsi # 0x1d1294 leaq 0xa7b5c(%rip), %rdx # 0x1d1296 leaq 0x208(%rsp), %rdi callq 0x68bb0 leaq 0x188(%rsp), %rdi leaq 0x10(%rsp), %rsi leaq 0x208(%rsp), %rdx callq 0x6ba70 leaq 0x228(%rsp), %rdi leaq 0x188(%rsp), %rsi callq 0x6e540 movq 0x28(%rsp), %rdx movb $0x1, %bl cmpq 0x230(%rsp), %rdx jne 0x129898 testq %rdx, %rdx je 0x1297aa movq 0x228(%rsp), %rsi movq 0x20(%rsp), %rdi callq 0x6bbe0 testl %eax, %eax jne 0x129898 leaq 0x168(%rsp), %rax movq %rax, -0x10(%rax) leaq 0xa7c0b(%rip), %rsi # 0x1d13c8 leaq 0xa7c06(%rip), %rdx # 0x1d13ca leaq 0x158(%rsp), %rdi callq 0x68bb0 leaq 0x178(%rsp), %rdi movq %rsp, %rsi leaq 0x158(%rsp), %rdx callq 0x6ba70 leaq 0x1e8(%rsp), %rdi leaq 0x178(%rsp), %rsi callq 0x6e540 leaq 0x138(%rsp), %rax movq %rax, -0x10(%rax) leaq 0xa7bb7(%rip), %rsi # 0x1d13c8 leaq 0xa7bb2(%rip), %rdx # 0x1d13ca leaq 0x128(%rsp), %rdi callq 0x68bb0 leaq 0x148(%rsp), %rdi leaq 0x10(%rsp), %rsi leaq 0x128(%rsp), %rdx callq 0x6ba70 leaq 0x1c8(%rsp), %rdi leaq 0x148(%rsp), %rsi callq 0x6e540 movq 0x1f0(%rsp), %rdx movb $0x1, %bl cmpq 0x1d0(%rsp), %rdx jne 0x12988e testq %rdx, %rdx je 0x129d07 movq 0x1c8(%rsp), %rsi movq 0x1e8(%rsp), %rdi callq 0x6bbe0 testl %eax, %eax je 0x129d07 xorl %r13d, %r13d movb $0x1, %r15b jmp 0x12989e xorl %ebx, %ebx xorl %r15d, %r15d xorl %r13d, %r13d xorl %eax, %eax xorl %ebp, %ebp testb %al, %al je 0x1298d9 movq 0xf0(%rsp), %rdi testq %rdi, %rdi je 0x1298b8 callq 0x69d60 leaq 0x1b8(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x1298d9 movq 0x1b8(%rsp), %rsi incq %rsi callq 0x68760 testb %r13b, %r13b movq 0x60(%rsp), %r13 je 0x129916 movq 0x120(%rsp), %rdi testq %rdi, %rdi je 0x1298f5 callq 0x69d60 leaq 0x108(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129916 movq 0x108(%rsp), %rsi incq %rsi callq 0x68760 testb %r15b, %r15b je 0x1299c7 leaq 0x1d8(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129940 movq 0x1d8(%rsp), %rsi incq %rsi callq 0x68760 movq 0x150(%rsp), %rdi testq %rdi, %rdi je 0x129952 callq 0x69d60 leaq 0x138(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129973 movq 0x138(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x1f8(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129994 movq 0x1f8(%rsp), %rsi incq %rsi callq 0x68760 movq 0x180(%rsp), %rdi testq %rdi, %rdi je 0x1299a6 callq 0x69d60 leaq 0x168(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x1299c7 movq 0x168(%rsp), %rsi incq %rsi callq 0x68760 testb %bl, %bl je 0x129a71 leaq 0x238(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x1299f0 movq 0x238(%rsp), %rsi incq %rsi callq 0x68760 movq 0x190(%rsp), %rdi testq %rdi, %rdi je 0x129a02 callq 0x69d60 leaq 0x218(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129a23 movq 0x218(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x30(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129a3e movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x1a0(%rsp), %rdi testq %rdi, %rdi je 0x129a50 callq 0x69d60 leaq 0x98(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129a71 movq 0x98(%rsp), %rsi incq %rsi callq 0x68760 testb %bpl, %bpl je 0x129ba6 leaq 0x50(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xa7941(%rip), %rsi # 0x1d13cb leaq 0xa793d(%rip), %rdx # 0x1d13ce leaq 0x40(%rsp), %rdi callq 0x68bb0 leaq 0xd8(%rsp), %rdi movq %rsp, %rsi leaq 0x40(%rsp), %rdx callq 0x6ba70 leaq 0xd8(%rsp), %rdi callq 0x6db80 movq %rax, %rbx leaq 0xb8(%rsp), %rbp movq %rbp, -0x10(%rbp) leaq 0xa78f8(%rip), %rsi # 0x1d13cb leaq 0xa78f4(%rip), %rdx # 0x1d13ce leaq 0xa8(%rsp), %rdi callq 0x68bb0 leaq 0xc8(%rsp), %rdi leaq 0x10(%rsp), %rsi leaq 0xa8(%rsp), %rdx callq 0x6ba70 leaq 0xc8(%rsp), %rdi callq 0x6db80 movq %rax, %r15 movq 0xd0(%rsp), %rdi testq %rdi, %rdi je 0x129b23 callq 0x69d60 movq 0xa8(%rsp), %rdi cmpq %rbp, %rdi je 0x129b40 movq 0xb8(%rsp), %rsi incq %rsi callq 0x68760 movq 0xe0(%rsp), %rdi testq %rdi, %rdi je 0x129b52 callq 0x69d60 movq 0x40(%rsp), %rdi cmpq %r13, %rdi je 0x129b69 movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x70(%rsp), %rdi callq 0x6db80 movq 0x60(%rsp), %r13 subq %r15, %rbx movq %r14, %rcx subq %rax, %rcx movq 0x78(%rsp), %rdi cmpq %rcx, %rbx jne 0x129bab testq %rdi, %rdi je 0x129b95 callq 0x69d60 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x129bf8 callq 0x69d60 jmp 0x129bf8 movq 0x78(%rsp), %rdi testq %rdi, %rdi je 0x129bb5 callq 0x69d60 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x129bc4 callq 0x69d60 leaq 0x40(%rsp), %rdi movq %r14, %rsi callq 0x6a820 leaq 0x40(%rsp), %rsi movq %r13, %rdi callq 0xace3e movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x129bed callq 0x69d60 movq %rsp, %rsi movq %r13, %rdi callq 0x943c6 cmpq 0x68(%rsp), %r12 jge 0x129ce6 negq 0x68(%rsp) incq %r12 incq %r14 movq %rsp, %r15 leaq 0xa8(%rsp), %rbx movq 0x80(%rsp), %rax movq 0x10(%rax), %rax movq (%rax), %rdi movq %r12, %rsi callq 0x6bb50 movl %eax, %r13d testb %al, %al je 0x129c78 leaq 0x40(%rsp), %rdi movq 0x80(%rsp), %rsi movq %r12, %rdx callq 0x6eab0 movaps 0x40(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x40(%rsp) movq 0x8(%rsp), %rdi movups %xmm0, (%rsp) testq %rdi, %rdi je 0x129c6c callq 0x69d60 movq %r15, %rdi callq 0x6b6a0 movl %eax, %ebp jmp 0x129c7a xorl %ebp, %ebp testb %r13b, %r13b je 0x129c8e movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x129c8e callq 0x69d60 testb %bpl, %bpl je 0x129ccb movq %rbx, %rdi movq %r14, %rsi callq 0x6a820 movq 0x60(%rsp), %r13 movq %r13, %rdi movq %rbx, %rsi callq 0xace3e movq 0xb0(%rsp), %rdi testq %rdi, %rdi je 0x129cc0 callq 0x69d60 movq %r13, %rdi movq %r15, %rsi callq 0x943c6 movq 0x68(%rsp), %rax addq %r12, %rax incq %rax incq %r12 incq %r14 cmpq $0x1, %rax jne 0x129c19 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x129cf5 callq 0x69d60 addq $0x248, %rsp # imm = 0x248 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq leaq 0x108(%rsp), %rax movq %rax, -0x10(%rax) leaq 0xa76b1(%rip), %rsi # 0x1d13cb leaq 0xa76ad(%rip), %rdx # 0x1d13ce leaq 0xf8(%rsp), %rdi callq 0x68bb0 leaq 0x118(%rsp), %rdi movq %rsp, %rsi leaq 0xf8(%rsp), %rdx callq 0x6ba70 leaq 0x118(%rsp), %rdi callq 0x6c2a0 testb %al, %al je 0x129db6 leaq 0x1b8(%rsp), %rbx movq %rbx, -0x10(%rbx) leaq 0xa7661(%rip), %rsi # 0x1d13cb leaq 0xa765d(%rip), %rdx # 0x1d13ce leaq 0x1a8(%rsp), %rdi callq 0x68bb0 leaq 0xe8(%rsp), %rdi leaq 0x10(%rsp), %rsi leaq 0x1a8(%rsp), %rdx callq 0x6ba70 leaq 0xe8(%rsp), %rdi callq 0x6c2a0 movl %eax, %ebp movb $0x1, %bl movb $0x1, %r15b movb $0x1, %r13b movb $0x1, %al jmp 0x1298a2 movb $0x1, %bl xorl %eax, %eax movb $0x1, %r15b movb $0x1, %r13b jmp 0x1298a0 leaq 0x8c110(%rip), %rdi # 0x1b5edc xorl %eax, %eax callq 0x682c0 movq %rax, %r14 movq 0xf0(%rsp), %rdi testq %rdi, %rdi je 0x129ded callq 0x69d60 jmp 0x129ded movq %rax, %r14 movq 0x1a8(%rsp), %rdi cmpq %rbx, %rdi je 0x129e11 movq 0x1b8(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129e11 jmp 0x129e0e movq %rax, %r14 movq 0x120(%rsp), %rdi testq %rdi, %rdi je 0x129e28 callq 0x69d60 jmp 0x129e28 movq %rax, %r14 movq 0xf8(%rsp), %rdi leaq 0x108(%rsp), %rax cmpq %rax, %rdi je 0x129e52 movq 0x108(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129e52 movq %rax, %r14 leaq 0x1d8(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129e78 movq 0x1d8(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129e78 movq %rax, %r14 movq 0x150(%rsp), %rdi testq %rdi, %rdi je 0x129e8f callq 0x69d60 jmp 0x129e8f movq %rax, %r14 movq 0x128(%rsp), %rdi leaq 0x138(%rsp), %rax cmpq %rax, %rdi je 0x129eb9 movq 0x138(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129eb9 movq %rax, %r14 leaq 0x1f8(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129edf movq 0x1f8(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129edf movq %rax, %r14 movq 0x180(%rsp), %rdi testq %rdi, %rdi je 0x129ef6 callq 0x69d60 jmp 0x129ef6 movq %rax, %r14 movq 0x158(%rsp), %rdi leaq 0x168(%rsp), %rax cmpq %rax, %rdi je 0x129f20 movq 0x168(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129f20 movq %rax, %r14 leaq 0x238(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129f46 movq 0x238(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129f46 movq %rax, %r14 movq 0x190(%rsp), %rdi testq %rdi, %rdi je 0x129f5d callq 0x69d60 jmp 0x129f5d movq %rax, %r14 movq 0x208(%rsp), %rdi cmpq %r13, %rdi je 0x129f7f movq 0x218(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129f7f movq %rax, %r14 leaq 0x30(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x129f9f movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x129f9f movq %rax, %r14 movq 0x1a0(%rsp), %rdi testq %rdi, %rdi je 0x129fb6 callq 0x69d60 jmp 0x129fb6 movq %rax, %r14 movq 0x88(%rsp), %rdi cmpq %r15, %rdi je 0x12a08a movq 0x98(%rsp), %rsi jmp 0x12a03f jmp 0x12a087 jmp 0x12a087 movq %rax, %r14 movq 0xd0(%rsp), %rdi testq %rdi, %rdi je 0x129ff5 callq 0x69d60 jmp 0x129ff5 movq %rax, %r14 movq 0xa8(%rsp), %rdi cmpq %rbp, %rdi je 0x12a019 movq 0xb8(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12a019 jmp 0x12a016 movq %rax, %r14 movq 0xe0(%rsp), %rdi testq %rdi, %rdi je 0x12a030 callq 0x69d60 jmp 0x12a030 movq %rax, %r14 movq 0x40(%rsp), %rdi cmpq %r13, %rdi je 0x12a08a movq 0x50(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12a08a jmp 0x12a087 movq %rax, %r14 movq 0x90(%rsp), %rdi testq %rdi, %rdi je 0x12a06a callq 0x69d60 jmp 0x12a06a movq %rax, %r14 jmp 0x12a099 movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %rbx, %rdi je 0x12a0d0 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12a0d0 jmp 0x12a0cd jmp 0x12a0cd movq %rax, %r14 movq 0x78(%rsp), %rdi testq %rdi, %rdi je 0x12a099 callq 0x69d60 movq 0x18(%rsp), %rdi jmp 0x12a0bd jmp 0x12a0cd jmp 0x12a0a8 jmp 0x12a0cd jmp 0x12a0cd movq %rax, %r14 movq 0x48(%rsp), %rdi jmp 0x12a0bd movq %rax, %r14 movq 0xb0(%rsp), %rdi testq %rdi, %rdi je 0x12a0d0 callq 0x69d60 jmp 0x12a0d0 jmp 0x12a0cd jmp 0x12a0cd movq %rax, %r14 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12a0df callq 0x69d60 movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageLabelDocumentHelper.cc
QPDFPageObjectHelper::getAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, std::function<QPDFObjectHandle ()>, bool)
QPDFObjectHandle QPDFPageObjectHelper::getAttribute( std::string const& name, bool copy_if_shared, std::function<QPDFObjectHandle()> get_fallback, bool copy_if_fallback) { const bool is_form_xobject = oh().isFormXObject(); bool inherited = false; auto dict = is_form_xobject ? oh().getDict() : oh(); auto result = dict.getKey(name); if (!is_form_xobject && result.isNull() && (name == "/MediaBox" || name == "/CropBox" || name == "/Resources" || name == "/Rotate")) { QPDFObjectHandle node = dict; QPDFObjGen::set seen{}; while (seen.add(node) && node.hasKey("/Parent")) { node = node.getKey("/Parent"); result = node.getKey(name); if (!result.isNull()) { QTC::TC("qpdf", "QPDFPageObjectHelper non-trivial inheritance"); inherited = true; break; } } } if (copy_if_shared && (inherited || result.isIndirect())) { QTC::TC("qpdf", "QPDFPageObjectHelper copy shared attribute", is_form_xobject ? 0 : 1); result = dict.replaceKeyAndGetNew(name, result.shallowCopy()); } if (result.isNull() && get_fallback) { result = get_fallback(); if (copy_if_fallback && !result.isNull()) { QTC::TC("qpdf", "QPDFPageObjectHelper copied fallback"); result = dict.replaceKeyAndGetNew(name, result.shallowCopy()); } else { QTC::TC("qpdf", "QPDFPageObjectHelper used fallback without copying"); } } return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movl %r9d, %r12d movq %r8, %r13 movl %ecx, 0x3c(%rsp) movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rax movq %rax, 0x40(%rsp) movq 0x10(%rsi), %rax movq %rax, 0x48(%rsp) testq %rax, %rax je 0x12a7fa movq 0x11e5f4(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12a7f6 incl 0x8(%rax) jmp 0x12a7fa lock incl 0x8(%rax) leaq 0x40(%rsp), %rdi callq 0x6d090 movl %eax, %ebp movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x12a815 callq 0x69d60 testb %bpl, %bpl je 0x12a848 movq 0x8(%r14), %rax movq %rax, 0x80(%rsp) movq 0x10(%r14), %rax movq %rax, 0x88(%rsp) testq %rax, %rax je 0x12a878 movq 0x11e5a2(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12a874 incl 0x8(%rax) jmp 0x12a878 movq 0x8(%r14), %rax movq %rax, 0x28(%rsp) movq 0x10(%r14), %rax movq %rax, 0x30(%rsp) testq %rax, %rax je 0x12a88a movq 0x11e57a(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12a940 incl 0x8(%rax) jmp 0x12a88a lock incl 0x8(%rax) leaq 0x28(%rsp), %rdi leaq 0x80(%rsp), %rsi callq 0x6ae50 testb %bpl, %bpl je 0x12a8a1 movq 0x88(%rsp), %rdi testq %rdi, %rdi je 0x12a8a1 callq 0x69d60 leaq 0x28(%rsp), %rsi movq %rbx, %rdi movq %r15, %rdx callq 0x6ba70 testb %bpl, %bpl jne 0x12a90e movq %rbx, %rdi callq 0x6db30 testb %al, %al je 0x12a90e leaq 0xa6bd7(%rip), %rsi # 0x1d14a0 movq %r15, %rdi callq 0x6d210 testl %eax, %eax je 0x12a916 leaq 0xa6bce(%rip), %rsi # 0x1d14aa movq %r15, %rdi callq 0x6d210 testl %eax, %eax je 0x12a916 leaq 0x8e7d5(%rip), %rsi # 0x1b90c4 movq %r15, %rdi callq 0x6d210 testl %eax, %eax je 0x12a916 leaq 0xa62b8(%rip), %rsi # 0x1d0bba movq %r15, %rdi callq 0x6d210 testl %eax, %eax je 0x12a916 xorl %r14d, %r14d jmp 0x12ab11 movq 0x28(%rsp), %rcx movq 0x30(%rsp), %rax movq %rcx, 0x70(%rsp) movq %rax, 0x78(%rsp) testq %rax, %rax je 0x12a94d movq 0x11e4aa(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12a949 incl 0x8(%rax) jmp 0x12a94d lock incl 0x8(%rax) jmp 0x12a88a lock incl 0x8(%rax) movq %r13, 0xc0(%rsp) movl %r12d, 0x38(%rsp) movq %r15, %r12 leaq 0x48(%rsp), %rax xorps %xmm0, %xmm0 movaps %xmm0, 0x8(%rax) movaps %xmm0, 0x18(%rax) movaps %xmm0, -0x8(%rax) movq %rax, 0x10(%rax) movq %rax, 0x18(%rax) movq $0x0, 0x20(%rax) leaq 0x70(%rsp), %r13 movq %rsp, %rbp movq %r13, %rdi callq 0x6d930 leaq 0x40(%rsp), %rdi movq %rax, %rsi callq 0x6c180 movl %eax, %r15d testb %al, %al je 0x12a9e3 leaq 0xa0(%rsp), %rax movq %rax, 0x90(%rsp) leaq 0x90(%rsp), %r14 movq %r14, %rdi leaq 0x8e45b(%rip), %rsi # 0x1b8e22 leaq 0x8e45b(%rip), %rdx # 0x1b8e29 callq 0x68bb0 movq %r13, %rdi movq %r14, %rsi callq 0x69f70 movl %eax, %r14d jmp 0x12a9e6 xorl %r14d, %r14d testb %r15b, %r15b je 0x12aa10 movq 0x90(%rsp), %rdi leaq 0xa0(%rsp), %rax cmpq %rax, %rdi je 0x12aa10 movq 0xa0(%rsp), %rsi incq %rsi callq 0x68760 testb %r14b, %r14b je 0x12aae8 leaq 0x10(%rsp), %rax movq %rax, (%rsp) movq %rbp, %rdi leaq 0x8e3f6(%rip), %rsi # 0x1b8e22 leaq 0x8e3f6(%rip), %rdx # 0x1b8e29 callq 0x68bb0 leaq 0xb0(%rsp), %rdi movq %r13, %rsi movq %rbp, %rdx callq 0x6ba70 movaps 0xb0(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0xb0(%rsp) movq 0x78(%rsp), %rdi movups %xmm0, 0x70(%rsp) testq %rdi, %rdi je 0x12aa72 callq 0x69d60 movq 0xb8(%rsp), %rdi testq %rdi, %rdi je 0x12aa84 callq 0x69d60 movq (%rsp), %rdi leaq 0x10(%rsp), %rax cmpq %rax, %rdi je 0x12aa9f movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq %rbp, %rdi movq %r13, %rsi movq %r12, %rdx callq 0x6ba70 movaps (%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, (%rsp) movq 0x8(%rbx), %rdi movups %xmm0, (%rbx) testq %rdi, %rdi je 0x12aac9 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12aad8 callq 0x69d60 movq %rbx, %rdi callq 0x6db30 testb %al, %al jne 0x12a989 leaq 0x40(%rsp), %rdi callq 0x8593e movq 0x78(%rsp), %rdi testq %rdi, %rdi movq 0xc0(%rsp), %r13 je 0x12ab09 callq 0x69d60 movq %r12, %r15 movl 0x38(%rsp), %r12d cmpb $0x0, 0x3c(%rsp) je 0x12ab85 testb %r14b, %r14b jne 0x12ab29 movq %rbx, %rdi callq 0x6ab30 testb %al, %al je 0x12ab85 movq %rsp, %rdi movq %rbx, %rsi callq 0x6bba0 leaq 0x40(%rsp), %rdi leaq 0x28(%rsp), %rsi movq %rsp, %rcx movq %r15, %rdx callq 0x6b5b0 movaps 0x40(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x40(%rsp) movq 0x8(%rbx), %rdi movups %xmm0, (%rbx) testq %rdi, %rdi je 0x12ab67 callq 0x69d60 movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x12ab76 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12ab85 callq 0x69d60 movq %rbx, %rdi callq 0x6db30 testb %al, %al je 0x12ac46 cmpq $0x0, 0x10(%r13) je 0x12ac46 leaq 0x40(%rsp), %rdi movq %r13, %rsi callq *0x18(%r13) movaps 0x40(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x40(%rsp) movq 0x8(%rbx), %rdi movups %xmm0, (%rbx) testq %rdi, %rdi je 0x12abca callq 0x69d60 movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x12abd9 callq 0x69d60 testb %r12b, %r12b je 0x12ac46 movq %rbx, %rdi callq 0x6db30 testb %al, %al jne 0x12ac46 movq %rsp, %rdi movq %rbx, %rsi callq 0x6bba0 leaq 0x40(%rsp), %rdi leaq 0x28(%rsp), %rsi movq %rsp, %rcx movq %r15, %rdx callq 0x6b5b0 movaps 0x40(%rsp), %xmm0 xorps %xmm1, %xmm1 movaps %xmm1, 0x40(%rsp) movq 0x8(%rbx), %rdi movups %xmm0, (%rbx) testq %rdi, %rdi je 0x12ac28 callq 0x69d60 movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x12ac37 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12ac46 callq 0x69d60 movq 0x30(%rsp), %rdi testq %rdi, %rdi je 0x12ac55 callq 0x69d60 movq %rbx, %rax addq $0xc8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq jmp 0x12ac70 jmp 0x12acce jmp 0x12acce movq %rax, %r14 movq 0x8(%rsp), %rdi jmp 0x12ad09 jmp 0x12acce movq %rax, %r14 testb %bpl, %bpl je 0x12ad30 movq 0x88(%rsp), %rdi jmp 0x12ad26 movq %rax, %r14 jmp 0x12ad21 movq %rax, %r14 movq 0x48(%rsp), %rdi jmp 0x12ad26 movq %rax, %r14 movq 0x90(%rsp), %rdi leaq 0xa0(%rsp), %rax cmpq %rax, %rdi je 0x12acfa movq 0xa0(%rsp), %rsi jmp 0x12aced jmp 0x12acf7 movq %rax, %r14 jmp 0x12ad13 jmp 0x12acf7 jmp 0x12acf7 movq %rax, %r14 movq (%rsp), %rdi leaq 0x10(%rsp), %rax cmpq %rax, %rdi je 0x12acfa movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12acfa movq %rax, %r14 leaq 0x40(%rsp), %rdi callq 0x8593e movq 0x78(%rsp), %rdi testq %rdi, %rdi je 0x12ad13 callq 0x69d60 movq 0x8(%rbx), %rdi testq %rdi, %rdi je 0x12ad21 callq 0x69d60 movq 0x30(%rsp), %rdi testq %rdi, %rdi je 0x12ad30 callq 0x69d60 movq %r14, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::getCropBox(bool, bool)
QPDFObjectHandle QPDFPageObjectHelper::getCropBox(bool copy_if_shared, bool copy_if_fallback) { return getAttribute( "/CropBox", copy_if_shared, [this, copy_if_shared]() { return this->getMediaBox(copy_if_shared); }, copy_if_fallback); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movl %ecx, %ebp movl %edx, %r15d movq %rsi, %r12 movq %rdi, %r14 leaq 0x38(%rsp), %rbx movq %rbx, -0x10(%rbx) leaq 0xa66bb(%rip), %rsi # 0x1d14aa leaq 0xa66bc(%rip), %rdx # 0x1d14b2 leaq 0x28(%rsp), %r13 movq %r13, %rdi callq 0x68bb0 xorps %xmm0, %xmm0 movq %rsp, %r8 movaps %xmm0, (%r8) movaps %xmm0, 0x10(%r8) movq %r12, (%r8) movb %r15b, 0x8(%r8) leaq 0x71c8(%rip), %rax # 0x131fe8 movq %rax, 0x18(%r8) leaq 0x71d5(%rip), %rax # 0x132000 movq %rax, 0x10(%r8) movq %r14, %rdi movq %r12, %rsi movq %r13, %rdx movl %r15d, %ecx movl %ebp, %r9d callq 0x12a7aa movq 0x10(%rsp), %rax testq %rax, %rax je 0x12ae5a movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x28(%rsp), %rdi cmpq %rbx, %rdi je 0x12ae71 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq %r14, %rax addq $0x48, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq jmp 0x12aeb4 movq %rax, %r14 movq 0x10(%rsp), %rax testq %rax, %rax je 0x12ae9f movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax leaq 0x28(%rsp), %rdi movq %rbx, %rsi callq 0x6fcc7 movq %r14, %rdi callq 0x6b780 movq %rax, %rdi callq 0x7cc8d
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::getTrimBox(bool, bool)
QPDFObjectHandle QPDFPageObjectHelper::getTrimBox(bool copy_if_shared, bool copy_if_fallback) { return getAttribute( "/TrimBox", copy_if_shared, [this, copy_if_shared, copy_if_fallback]() { return this->getCropBox(copy_if_shared, copy_if_fallback); }, copy_if_fallback); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movl %ecx, %ebp movl %edx, %r15d movq %rsi, %r12 movq %rdi, %r14 leaq 0x38(%rsp), %rbx movq %rbx, -0x10(%rbx) leaq 0xa65ce(%rip), %rsi # 0x1d14b3 leaq 0xa65cf(%rip), %rdx # 0x1d14bb leaq 0x28(%rsp), %r13 movq %r13, %rdi callq 0x68bb0 xorps %xmm0, %xmm0 movq %rsp, %r8 movaps %xmm0, (%r8) movaps %xmm0, 0x10(%r8) movq %r12, (%r8) movb %r15b, 0x8(%r8) movb %bpl, 0x9(%r8) leaq 0x710e(%rip), %rax # 0x132028 movq %rax, 0x18(%r8) leaq 0x711f(%rip), %rax # 0x132044 movq %rax, 0x10(%r8) movq %r14, %rdi movq %r12, %rsi movq %r13, %rdx movl %r15d, %ecx movl %ebp, %r9d callq 0x12a7aa movq 0x10(%rsp), %rax testq %rax, %rax je 0x12af54 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x28(%rsp), %rdi cmpq %rbx, %rdi je 0x12af6b movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq %r14, %rax addq $0x48, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq jmp 0x12afae movq %rax, %r14 movq 0x10(%rsp), %rax testq %rax, %rax je 0x12af99 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax leaq 0x28(%rsp), %rdi movq %rbx, %rsi callq 0x6fce0 movq %r14, %rdi callq 0x6b780 movq %rax, %rdi callq 0x7cc8d
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::forEachImage(bool, std::function<void (QPDFObjectHandle&, QPDFObjectHandle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)>)
void QPDFPageObjectHelper::forEachImage( bool recursive, std::function<void(QPDFObjectHandle& obj, QPDFObjectHandle& xobj_dict, std::string const& key)> action) { forEachXObject(recursive, action, [](QPDFObjectHandle obj) { return obj.isImage(); }); }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movl %esi, %ebx movq %rdi, %r14 leaq 0x20(%rsp), %r15 movq %r15, %rdi movq %rdx, %rsi callq 0x13242e xorps %xmm0, %xmm0 movq %rsp, %rcx movaps %xmm0, (%rcx) leaq 0x69e4(%rip), %rax # 0x1320f4 movq %rax, 0x18(%rcx) leaq 0x6a39(%rip), %rax # 0x132154 movq %rax, 0x10(%rcx) movq %r14, %rdi movl %ebx, %esi movq %r15, %rdx callq 0x69a80 movq 0x10(%rsp), %rax testq %rax, %rax je 0x12b743 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x30(%rsp), %rax testq %rax, %rax je 0x12b75c leaq 0x20(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax addq $0x40, %rsp popq %rbx popq %r14 popq %r15 retq jmp 0x12b7a7 jmp 0x12b7a7 movq %rax, %rbx movq 0x10(%rsp), %rax testq %rax, %rax je 0x12b784 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x30(%rsp), %rax testq %rax, %rax je 0x12b79d leaq 0x20(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq %rbx, %rdi callq 0x6b780 jmp 0x12b7a7 movq %rax, %rdi callq 0x7cc8d nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::getImages[abi:cxx11]()
std::map<std::string, QPDFObjectHandle> QPDFPageObjectHelper::getImages() { std::map<std::string, QPDFObjectHandle> result; forEachImage( false, [&result](QPDFObjectHandle& obj, QPDFObjectHandle&, std::string const& key) { result[key] = obj; }); return result; }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx leaq 0x8(%rdi), %rax movl $0x0, 0x8(%rdi) xorl %ecx, %ecx movq %rcx, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rax, 0x20(%rdi) movq %rcx, 0x28(%rdi) xorps %xmm0, %xmm0 movq %rsp, %rdx movaps %xmm0, (%rdx) movaps %xmm0, 0x10(%rdx) movq %rdi, (%rdx) leaq 0x6916(%rip), %rax # 0x1321e0 movq %rax, 0x18(%rdx) leaq 0x6931(%rip), %rax # 0x132206 movq %rax, 0x10(%rdx) movq %rsi, %rdi xorl %esi, %esi callq 0x6a0a0 movq 0x10(%rsp), %rax testq %rax, %rax je 0x12b8fa movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq %rbx, %rax addq $0x28, %rsp popq %rbx popq %r14 retq jmp 0x12b931 movq %rax, %r14 movq 0x10(%rsp), %rax testq %rax, %rax je 0x12b921 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq %rbx, %rdi callq 0x947ea movq %r14, %rdi callq 0x6b780 movq %rax, %rdi callq 0x7cc8d nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::getFormXObjects[abi:cxx11]()
std::map<std::string, QPDFObjectHandle> QPDFPageObjectHelper::getFormXObjects() { std::map<std::string, QPDFObjectHandle> result; forEachFormXObject( false, [&result](QPDFObjectHandle& obj, QPDFObjectHandle&, std::string const& key) { result[key] = obj; }); return result; }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx leaq 0x8(%rdi), %rax movl $0x0, 0x8(%rdi) xorl %ecx, %ecx movq %rcx, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rax, 0x20(%rdi) movq %rcx, 0x28(%rdi) xorps %xmm0, %xmm0 movq %rsp, %rdx movaps %xmm0, (%rdx) movaps %xmm0, 0x10(%rdx) movq %rdi, (%rdx) leaq 0x68b4(%rip), %rax # 0x13222c movq %rax, 0x18(%rdx) leaq 0x68cf(%rip), %rax # 0x132252 movq %rax, 0x10(%rdx) movq %rsi, %rdi xorl %esi, %esi callq 0x6d440 movq 0x10(%rsp), %rax testq %rax, %rax je 0x12b9a8 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq %rbx, %rax addq $0x28, %rsp popq %rbx popq %r14 retq jmp 0x12b9df movq %rax, %r14 movq 0x10(%rsp), %rax testq %rax, %rax je 0x12b9cf movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq %rbx, %rdi callq 0x947ea movq %r14, %rdi callq 0x6b780 movq %rax, %rdi callq 0x7cc8d nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::externalizeInlineImages(unsigned long, bool)
void QPDFPageObjectHelper::externalizeInlineImages(size_t min_size, bool shallow) { if (shallow) { QPDFObjectHandle resources = getAttribute("/Resources", true); // Calling mergeResources also ensures that /XObject becomes direct and is not shared with // other pages. resources.mergeResources("<< /XObject << >> >>"_qpdf); InlineImageTracker iit(oh().getOwningQPDF(), min_size, resources); Pl_Buffer b("new page content"); bool filtered = false; try { filterContents(&iit, &b); filtered = true; } catch (std::exception& e) { oh().warnIfPossible( std::string("Unable to filter content stream: ") + e.what() + "; not attempting to externalize inline images from this stream"); } if (filtered && iit.any_images) { if (oh().isFormXObject()) { oh().replaceStreamData( b.getBufferSharedPointer(), QPDFObjectHandle::newNull(), QPDFObjectHandle::newNull()); } else { oh().replaceKey( "/Contents", QPDFObjectHandle::newStream(&oh().getQPDF(), b.getBufferSharedPointer())); } } } else { externalizeInlineImages(min_size, true); forEachFormXObject( true, [min_size](QPDFObjectHandle& obj, QPDFObjectHandle&, std::string const&) { QPDFPageObjectHelper(obj).externalizeInlineImages(min_size, true); }); } }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rsi, %rbx movq %rdi, %r14 testl %edx, %edx je 0x12bad3 leaq 0x110(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0x8d6ad(%rip), %rsi # 0x1b90c4 leaq 0x8d6b0(%rip), %rdx # 0x1b90ce leaq 0x100(%rsp), %rdi callq 0x68bb0 leaq 0x78(%rsp), %rdi leaq 0x100(%rsp), %rdx movq %r14, %rsi movl $0x1, %ecx callq 0x691c0 movq 0x100(%rsp), %rdi cmpq %r15, %rdi je 0x12ba62 movq 0x110(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x9373a(%rip), %rsi # 0x1bf1a3 leaq 0xb8(%rsp), %rdi movl $0x14, %edx callq 0x6d150 leaq 0x78(%rsp), %rdi leaq 0xb8(%rsp), %rsi xorl %edx, %edx callq 0x6ee70 movq 0xc0(%rsp), %rdi testq %rdi, %rdi je 0x12baa1 callq 0x69d60 movq 0x8(%r14), %rax movq %rax, 0xc8(%rsp) movq 0x10(%r14), %rax movq %rax, 0xd0(%rsp) testq %rax, %rax je 0x12bb47 movq 0x11d317(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12bb43 incl 0x8(%rax) jmp 0x12bb47 movq %r14, %rdi movq %rbx, %rsi movl $0x1, %edx callq 0x6d1e0 xorps %xmm0, %xmm0 leaq 0x180(%rsp), %rdx movaps %xmm0, (%rdx) movaps %xmm0, 0x10(%rdx) movq %rbx, (%rdx) leaq 0x6779(%rip), %rax # 0x132278 movq %rax, 0x18(%rdx) leaq 0x680a(%rip), %rax # 0x132314 movq %rax, 0x10(%rdx) movq %r14, %rdi movl $0x1, %esi callq 0x6d440 movq 0x190(%rsp), %rax testq %rax, %rax je 0x12bf09 leaq 0x180(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax jmp 0x12bf09 lock incl 0x8(%rax) leaq 0xc8(%rsp), %rdi callq 0x6c940 movq 0x78(%rsp), %rcx movq 0x80(%rsp), %rdi testq %rdi, %rdi je 0x12bb77 movq 0x11d273(%rip), %rdx # 0x248de0 cmpb $0x0, (%rdx) je 0x12bba8 incl 0x8(%rdi) jmp 0x12bbac leaq 0x11ae9a(%rip), %rdx # 0x246a18 movq %rdx, 0x100(%rsp) movq %rax, 0x110(%rsp) movq %rbx, 0x118(%rsp) movq %rcx, 0x120(%rsp) movq %rdi, 0x128(%rsp) jmp 0x12bbee lock incl 0x8(%rdi) leaq 0x11ae65(%rip), %rsi # 0x246a18 movq %rsi, 0x100(%rsp) movq %rax, 0x110(%rsp) movq %rbx, 0x118(%rsp) movq %rcx, 0x120(%rsp) movq %rdi, 0x128(%rsp) testq %rdi, %rdi je 0x12bbee cmpb $0x0, (%rdx) je 0x12bbea incl 0x8(%rdi) jmp 0x12bbee lock incl 0x8(%rdi) xorl %eax, %eax leaq 0x140(%rsp), %rcx movq %rcx, -0x10(%rcx) movq %rax, -0x8(%rcx) movb %al, (%rcx) leaq 0x160(%rsp), %rcx movq %rcx, -0x10(%rcx) movq %rax, -0x8(%rcx) movb %al, (%rcx) movl $0x1, 0x10(%rcx) movb %al, 0x14(%rcx) movl $0x0, 0x18(%rcx) testq %rdi, %rdi je 0x12bc2f callq 0x69d60 movq 0xd0(%rsp), %rdi testq %rdi, %rdi je 0x12bc41 callq 0x69d60 leaq 0xa5886(%rip), %rsi # 0x1d14ce leaq 0xc8(%rsp), %rdi xorl %edx, %edx callq 0x69ec0 leaq 0x100(%rsp), %rsi leaq 0xc8(%rsp), %rdx movq %r14, %rdi callq 0x6cd90 cmpb $0x1, 0x174(%rsp) jne 0x12bedd movq 0x8(%r14), %rax movq %rax, 0x8(%rsp) movq 0x10(%r14), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x12bca9 movq 0x11d145(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12bca5 incl 0x8(%rax) jmp 0x12bca9 lock incl 0x8(%rax) leaq 0x8(%rsp), %rdi callq 0x6d090 movl %eax, %ebx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x12bcc4 callq 0x69d60 testb %bl, %bl je 0x12bcf0 movq 0x8(%r14), %rax movq %rax, 0x8(%rsp) movq 0x10(%r14), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x12bd27 movq 0x11d0fa(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12bd23 incl 0x8(%rax) jmp 0x12bd27 movq 0x8(%r14), %rax movq %rax, 0x58(%rsp) movq 0x10(%r14), %rax movq %rax, 0x60(%rsp) testq %rax, %rax je 0x12bdaa movq 0x11d0ce(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12bda6 incl 0x8(%rax) jmp 0x12bdaa lock incl 0x8(%rax) leaq 0xa8(%rsp), %rdi leaq 0xc8(%rsp), %rsi callq 0x6b4e0 leaq 0x28(%rsp), %rdi callq 0x6b240 leaq 0x58(%rsp), %rdi callq 0x6b240 leaq 0x8(%rsp), %rdi leaq 0xa8(%rsp), %rsi leaq 0x28(%rsp), %rdx leaq 0x58(%rsp), %rcx callq 0x6d500 movq 0x60(%rsp), %rdi testq %rdi, %rdi je 0x12bd7b callq 0x69d60 movq 0x30(%rsp), %rdi testq %rdi, %rdi je 0x12bd8a callq 0x69d60 movq 0xb0(%rsp), %rdi testq %rdi, %rdi je 0x12bd9c callq 0x69d60 movq 0x10(%rsp), %rdi jmp 0x12bed3 lock incl 0x8(%rax) leaq 0x18(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0x9340c(%rip), %rsi # 0x1bf1c6 leaq 0x9340e(%rip), %rdx # 0x1bf1cf leaq 0x8(%rsp), %rdi callq 0x68bb0 movq 0x8(%r14), %rax movq %rax, 0x88(%rsp) movq 0x10(%r14), %rax movq %rax, 0x90(%rsp) testq %rax, %rax je 0x12bdfd movq 0x11cff1(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12bdf9 incl 0x8(%rax) jmp 0x12bdfd lock incl 0x8(%rax) leaq 0x38(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xa6e19(%rip), %rdx # 0x1d2c26 leaq 0x28(%rsp), %rdi movq %rdx, %rsi callq 0x68bb0 leaq 0x88(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0x6cc30 movq %rax, %rbx leaq 0x98(%rsp), %rdi leaq 0xc8(%rsp), %rsi callq 0x6b4e0 leaq 0x48(%rsp), %rdi leaq 0x98(%rsp), %rdx movq %rbx, %rsi callq 0x69810 leaq 0x58(%rsp), %rdi leaq 0x8(%rsp), %rsi leaq 0x48(%rsp), %rdx callq 0x6c930 movq 0x50(%rsp), %rdi testq %rdi, %rdi je 0x12be7c callq 0x69d60 movq 0xa0(%rsp), %rdi testq %rdi, %rdi je 0x12be8e callq 0x69d60 movq 0x28(%rsp), %rdi cmpq %r14, %rdi je 0x12bea5 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x90(%rsp), %rdi testq %rdi, %rdi je 0x12beb7 callq 0x69d60 movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x12bece movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x60(%rsp), %rdi testq %rdi, %rdi je 0x12bedd callq 0x69d60 leaq 0xc8(%rsp), %rdi callq 0x6ace0 leaq 0x100(%rsp), %rdi callq 0x12c3b6 movq 0x80(%rsp), %rdi testq %rdi, %rdi je 0x12bf09 callq 0x69d60 addq $0x1a8, %rsp # imm = 0x1A8 popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x50(%rsp), %rdi testq %rdi, %rdi je 0x12bf2f callq 0x69d60 jmp 0x12bf2f movq %rax, %rbx movq 0xa0(%rsp), %rdi testq %rdi, %rdi je 0x12bf91 callq 0x69d60 jmp 0x12bf91 movq %rax, %rbx movq 0x60(%rsp), %rdi testq %rdi, %rdi je 0x12bf5a callq 0x69d60 jmp 0x12bf5a movq %rax, %rbx movq 0x30(%rsp), %rdi testq %rdi, %rdi je 0x12bf73 callq 0x69d60 jmp 0x12bf73 movq %rax, %rbx jmp 0x12bfa8 movq %rax, %rbx movq 0xb0(%rsp), %rdi testq %rdi, %rdi je 0x12bfdb callq 0x69d60 jmp 0x12bfdb movq %rax, %rbx jmp 0x12bfd1 jmp 0x12bfd8 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r14, %rdi je 0x12bfa8 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x90(%rsp), %rdi testq %rdi, %rdi je 0x12bfba callq 0x69d60 movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x12bfd1 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x60(%rsp), %rdi jmp 0x12bfe0 movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x12bfea callq 0x69d60 leaq 0xc8(%rsp), %rdi callq 0x6ace0 jmp 0x12c201 jmp 0x12c291 movq %rax, %rbx cmpl $0x2, %edx jne 0x12bfea movq %rbx, %rdi callq 0x683f0 movq %rax, %rbx movq 0x8(%r14), %rax movq %rax, 0x48(%rsp) movq 0x10(%r14), %rax movq %rax, 0x50(%rsp) testq %rax, %rax je 0x12c040 movq 0x11cdae(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12c03c incl 0x8(%rax) jmp 0x12c040 lock incl 0x8(%rax) leaq 0x68(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xa548f(%rip), %rsi # 0x1d14df leaq 0xa54a9(%rip), %rdx # 0x1d1500 leaq 0x58(%rsp), %rdi callq 0x68bb0 movq (%rbx), %rax movq %rbx, %rdi callq *0x10(%rax) leaq 0x58(%rsp), %rdi movq %rax, %rsi callq 0x6b8d0 leaq 0x38(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x12c09e movq %rdx, 0x28(%rsp) movq (%rcx), %rdx movq %rdx, 0x38(%rsp) jmp 0x12c0a5 movups (%rcx), %xmm0 movups %xmm0, (%r15) movq 0x8(%rax), %rdx leaq 0x28(%rsp), %rdi movq %rdx, 0x8(%rdi) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0xa5439(%rip), %rsi # 0x1d1501 callq 0x6b8d0 leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x12c0f5 movq %rdx, 0x8(%rsp) movq (%rcx), %rdx movq %rdx, 0x18(%rsp) jmp 0x12c0fd movups (%rcx), %xmm0 movups %xmm0, (%r12) movq 0x8(%rax), %rdx leaq 0x8(%rsp), %rsi movq %rdx, 0x8(%rsi) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0x48(%rsp), %rdi callq 0x6eef0 movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x12c13a movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x28(%rsp), %rdi cmpq %r15, %rdi je 0x12c151 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 movq 0x58(%rsp), %rdi cmpq %r14, %rdi je 0x12c168 movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 movq 0x50(%rsp), %rdi testq %rdi, %rdi je 0x12c177 callq 0x69d60 callq 0x6c2d0 jmp 0x12bedd movq %rax, %rbx jmp 0x12bfea movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r12, %rdi je 0x12c1a8 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12c1a8 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r15, %rdi je 0x12c1c4 movq 0x38(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12c1c4 movq %rax, %rbx movq 0x58(%rsp), %rdi cmpq %r14, %rdi je 0x12c1e0 movq 0x68(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12c1e0 movq %rax, %rbx movq 0x50(%rsp), %rdi testq %rdi, %rdi je 0x12c1ef callq 0x69d60 callq 0x6c2d0 jmp 0x12bfea jmp 0x12c291 movq %rax, %rbx leaq 0x100(%rsp), %rdi callq 0x12c3b6 jmp 0x12c237 movq %rax, %rbx movq 0xd0(%rsp), %rdi jmp 0x12c228 movq %rax, %rbx movq 0xc0(%rsp), %rdi testq %rdi, %rdi je 0x12c237 callq 0x69d60 jmp 0x12c237 movq %rax, %rbx movq 0x80(%rsp), %rdi testq %rdi, %rdi je 0x12c29c callq 0x69d60 jmp 0x12c29c movq %rax, %rbx movq 0x100(%rsp), %rdi cmpq %r15, %rdi je 0x12c29c movq 0x110(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12c29c movq %rax, %rbx movq 0x190(%rsp), %rax testq %rax, %rax je 0x12c29c leaq 0x180(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax jmp 0x12c29c movq %rax, %rdi callq 0x7cc8d movq %rax, %rbx movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::getAnnotations(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::vector<QPDFAnnotationObjectHelper> QPDFPageObjectHelper::getAnnotations(std::string const& only_subtype) { std::vector<QPDFAnnotationObjectHelper> result; QPDFObjectHandle annots = oh().getKey("/Annots"); if (annots.isArray()) { int nannots = annots.getArrayNItems(); for (int i = 0; i < nannots; ++i) { QPDFObjectHandle annot = annots.getArrayItem(i); if (annot.isDictionaryOfType("", only_subtype)) { result.emplace_back(annot); } } } return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdx, 0x50(%rsp) xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq %rdi, 0x28(%rsp) movq $0x0, 0x10(%rdi) movq 0x8(%rsi), %rax movq %rax, 0x30(%rsp) movq 0x10(%rsi), %rax movq %rax, 0x38(%rsp) testq %rax, %rax je 0x12c458 movq 0x11c996(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12c454 incl 0x8(%rax) jmp 0x12c458 lock incl 0x8(%rax) leaq 0x18(%rsp), %rax movq %rax, -0x10(%rax) leaq 0x8cd6d(%rip), %rsi # 0x1b91d5 leaq 0x8cd6d(%rip), %rdx # 0x1b91dc leaq 0x8(%rsp), %rdi callq 0x68bb0 leaq 0x40(%rsp), %rdi leaq 0x30(%rsp), %rsi leaq 0x8(%rsp), %rdx callq 0x6ba70 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0x12c4a9 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x38(%rsp), %rdi testq %rdi, %rdi je 0x12c4b8 callq 0x69d60 leaq 0x40(%rsp), %rdi callq 0x6c8b0 testb %al, %al je 0x12c572 leaq 0x40(%rsp), %rdi callq 0x6f1d0 movl %eax, %ebp testl %eax, %eax jle 0x12c572 xorl %r15d, %r15d leaq 0x30(%rsp), %r12 leaq 0xa6739(%rip), %rbx # 0x1d2c26 leaq 0x8(%rsp), %r13 movq %r12, %rdi leaq 0x40(%rsp), %rsi movl %r15d, %edx callq 0x6ac00 leaq 0x18(%rsp), %rax movq %rax, 0x8(%rsp) movq %r13, %rdi movq %rbx, %rsi movq %rbx, %rdx callq 0x68bb0 movq %r12, %rdi movq %r13, %rsi movq 0x50(%rsp), %rdx callq 0x6bdb0 movl %eax, %r14d movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0x12c549 movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 testb %r14b, %r14b je 0x12c55b movq 0x28(%rsp), %rdi movq %r12, %rsi callq 0xacbb2 movq 0x38(%rsp), %rdi testq %rdi, %rdi je 0x12c56a callq 0x69d60 incl %r15d cmpl %r15d, %ebp jne 0x12c4f2 movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x12c581 callq 0x69d60 movq 0x28(%rsp), %rax addq $0x58, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq jmp 0x12c5c6 jmp 0x12c5c6 movq %rax, %r14 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0x12c5bd movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12c5bd movq %rax, %r14 movq 0x38(%rsp), %rdi jmp 0x12c603 jmp 0x12c5cb movq %rax, %r14 jmp 0x12c5fe movq %rax, %r14 jmp 0x12c5ef movq %rax, %r14 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0x12c5ef movq 0x18(%rsp), %rsi incq %rsi callq 0x68760 movq 0x38(%rsp), %rdi testq %rdi, %rdi je 0x12c5fe callq 0x69d60 movq 0x48(%rsp), %rdi testq %rdi, %rdi je 0x12c60d callq 0x69d60 movq 0x28(%rsp), %rdi callq 0xaca70 movq %r14, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::getPageContents()
std::vector<QPDFObjectHandle> QPDFPageObjectHelper::getPageContents() { return oh().getPageContents(); }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movq 0x8(%rsi), %rax movq %rax, (%rsp) movq 0x10(%rsi), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x12c653 movq 0x11c79b(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12c64f incl 0x8(%rax) jmp 0x12c653 lock incl 0x8(%rax) movq %rsp, %rsi movq %rbx, %rdi callq 0x6cd30 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12c66d callq 0x69d60 movq %rbx, %rax addq $0x10, %rsp popq %rbx retq movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12c688 callq 0x69d60 movq %rbx, %rdi callq 0x6b780
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::addContentTokenFilter(std::shared_ptr<QPDFObjectHandle::TokenFilter>)
void QPDFPageObjectHelper::addContentTokenFilter( std::shared_ptr<QPDFObjectHandle::TokenFilter> token_filter) { if (oh().isFormXObject()) { oh().addTokenFilter(token_filter); } else { oh().addContentTokenFilter(token_filter); } }
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %rax movq %rax, (%rsp) movq 0x10(%rdi), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x12ca69 movq 0x11c385(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12ca65 incl 0x8(%rax) jmp 0x12ca69 lock incl 0x8(%rax) movq %rsp, %rdi callq 0x6d090 movl %eax, %ebp movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12ca82 callq 0x69d60 testb %bpl, %bpl je 0x12caae movq 0x8(%r14), %rax movq %rax, (%rsp) movq 0x10(%r14), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x12cad9 movq 0x11c33c(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12cad5 incl 0x8(%rax) jmp 0x12cad9 movq 0x8(%r14), %rax movq %rax, (%rsp) movq 0x10(%r14), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x12cb04 movq 0x11c315(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12cb00 incl 0x8(%rax) jmp 0x12cb04 lock incl 0x8(%rax) movq (%rbx), %rax movq %rax, 0x20(%rsp) movq 0x8(%rbx), %rax movq %rax, 0x28(%rsp) testq %rax, %rax je 0x12cb2f movq 0x11c2ea(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12cb2b incl 0x8(%rax) jmp 0x12cb2f lock incl 0x8(%rax) movq (%rbx), %rax movq %rax, 0x10(%rsp) movq 0x8(%rbx), %rax movq %rax, 0x18(%rsp) testq %rax, %rax je 0x12cb47 movq 0x11c2bf(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12cb43 incl 0x8(%rax) jmp 0x12cb47 lock incl 0x8(%rax) movq %rsp, %rdi leaq 0x20(%rsp), %rsi callq 0x6a530 movq 0x28(%rsp), %rdi jmp 0x12cb59 lock incl 0x8(%rax) movq %rsp, %rdi leaq 0x10(%rsp), %rsi callq 0x6c070 movq 0x18(%rsp), %rdi testq %rdi, %rdi je 0x12cb63 callq 0x69d60 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12cb72 callq 0x69d60 addq $0x30, %rsp popq %rbx popq %r14 popq %rbp retq movq %rax, %rbx movq 0x18(%rsp), %rdi jmp 0x12cb8d movq %rax, %rbx movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x12cb9c callq 0x69d60 jmp 0x12cb9c movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12cbab callq 0x69d60 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::removeUnreferencedResources()
void QPDFPageObjectHelper::removeUnreferencedResources() { // Accumulate a list of unresolved names across all nested form XObjects. std::set<std::string> unresolved; bool any_failures = false; forEachFormXObject( true, [&any_failures, &unresolved](QPDFObjectHandle& obj, QPDFObjectHandle&, std::string const&) { if (!removeUnreferencedResourcesHelper(QPDFPageObjectHelper(obj), unresolved)) { any_failures = true; } }); if (oh().isFormXObject() || (!any_failures)) { removeUnreferencedResourcesHelper(*this, unresolved); } }
pushq %rbp pushq %rbx subq $0xa8, %rsp movq %rdi, %rbx leaq 0x80(%rsp), %rax movl $0x0, (%rax) xorl %ecx, %ecx movq %rcx, 0x8(%rax) movq %rax, 0x10(%rax) movq %rax, 0x18(%rax) movq %rcx, 0x20(%rax) leaq 0x7(%rsp), %rax movb $0x0, (%rax) xorps %xmm0, %xmm0 leaq 0x50(%rsp), %rdx movaps %xmm0, (%rdx) movaps %xmm0, 0x10(%rdx) movq %rax, (%rdx) leaq 0x78(%rsp), %rax movq %rax, 0x8(%rdx) leaq 0x4d5e(%rip), %rax # 0x13233a movq %rax, 0x18(%rdx) leaq 0x4df7(%rip), %rax # 0x1323de movq %rax, 0x10(%rdx) movl $0x1, %esi callq 0x6d440 movq 0x60(%rsp), %rax testq %rax, %rax je 0x12d60e leaq 0x50(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x8(%rbx), %rax movq %rax, 0x8(%rsp) movq 0x10(%rbx), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x12d63a movq 0x11b7b4(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12d636 incl 0x8(%rax) jmp 0x12d63a lock incl 0x8(%rax) leaq 0x8(%rsp), %rdi callq 0x6d090 movl %eax, %ebp movb 0x7(%rsp), %al xorb $0x1, %al orb %al, %bpl movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x12d65e callq 0x69d60 testb $0x1, %bpl je 0x12d721 movq 0x8(%rbx), %rax movq %rax, 0x20(%rsp) movq 0x10(%rbx), %rax movq %rax, 0x28(%rsp) testq %rax, %rax je 0x12d694 movq 0x11b75a(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12d690 incl 0x8(%rax) jmp 0x12d694 lock incl 0x8(%rax) movq 0x11b695(%rip), %rax # 0x248d30 addq $0x10, %rax movq %rax, 0x18(%rsp) movq 0x18(%rbx), %rax movq %rax, 0x30(%rsp) movq 0x20(%rbx), %rax movq %rax, 0x38(%rsp) testq %rax, %rax je 0x12d6d0 movq 0x11b71e(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12d6cc incl 0x8(%rax) jmp 0x12d6d0 lock incl 0x8(%rax) leaq 0x1164c1(%rip), %rax # 0x243b98 movq %rax, 0x18(%rsp) movq 0x28(%rbx), %rax movq %rax, 0x40(%rsp) movq 0x30(%rbx), %rax movq %rax, 0x48(%rsp) testq %rax, %rax je 0x12d708 movq 0x11b6e6(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12d704 incl 0x8(%rax) jmp 0x12d708 lock incl 0x8(%rax) leaq 0x18(%rsp), %rdi leaq 0x78(%rsp), %rsi callq 0x12cbb4 leaq 0x18(%rsp), %rdi callq 0xacab2 leaq 0x78(%rsp), %rdi callq 0x6cf60 addq $0xa8, %rsp popq %rbx popq %rbp retq movq %rax, %rbx leaq 0x18(%rsp), %rdi callq 0xacab2 jmp 0x12d776 jmp 0x12d788 movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x12d776 callq 0x69d60 jmp 0x12d776 movq %rax, %rbx movq 0x60(%rsp), %rax testq %rax, %rax je 0x12d776 leaq 0x50(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax leaq 0x78(%rsp), %rdi callq 0x6cf60 movq %rbx, %rdi callq 0x6b780 movq %rax, %rdi callq 0x7cc8d
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::shallowCopyPage()
QPDFPageObjectHelper QPDFPageObjectHelper::shallowCopyPage() { QPDF& qpdf = oh().getQPDF("QPDFPageObjectHelper::shallowCopyPage called with a direct object"); QPDFObjectHandle new_page = oh().shallowCopy(); return {qpdf.makeIndirectObject(new_page)}; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rsi, %r15 movq %rdi, %rbx movq 0x8(%rsi), %rax movq %rax, 0x8(%rsp) movq 0x10(%rsi), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x12d7cd movq 0x11b621(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12d7c9 incl 0x8(%rax) jmp 0x12d7cd lock incl 0x8(%rax) leaq 0x28(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0xa3df1(%rip), %rsi # 0x1d15cf leaq 0xa3e2b(%rip), %rdx # 0x1d1610 leaq 0x18(%rsp), %rdi callq 0x68bb0 leaq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rsi callq 0x6cc30 movq %rax, %r14 movq 0x18(%rsp), %rdi cmpq %r12, %rdi je 0x12d818 movq 0x28(%rsp), %rsi incq %rsi callq 0x68760 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x12d827 callq 0x69d60 movq 0x8(%r15), %rax movq %rax, 0x8(%rsp) movq 0x10(%r15), %rax movq %rax, 0x10(%rsp) testq %rax, %rax je 0x12d853 movq 0x11b59b(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12d84f incl 0x8(%rax) jmp 0x12d853 lock incl 0x8(%rax) leaq 0x18(%rsp), %rdi leaq 0x8(%rsp), %rsi callq 0x6bba0 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x12d871 callq 0x69d60 movq 0x18(%rsp), %rcx movq 0x20(%rsp), %rax movq %rcx, 0x38(%rsp) movq %rax, 0x40(%rsp) testq %rax, %rax je 0x12d89f movq 0x11b54f(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12d89b incl 0x8(%rax) jmp 0x12d89f lock incl 0x8(%rax) leaq 0x48(%rsp), %rdi leaq 0x38(%rsp), %rdx movq %r14, %rsi callq 0x6ad50 leaq 0x48(%rsp), %rsi movq %rbx, %rdi callq 0x6b730 movq 0x50(%rsp), %rdi testq %rdi, %rdi je 0x12d8cd callq 0x69d60 movq 0x40(%rsp), %rdi testq %rdi, %rdi je 0x12d8dc callq 0x69d60 movq 0x20(%rsp), %rdi testq %rdi, %rdi je 0x12d8eb callq 0x69d60 movq %rbx, %rax addq $0x58, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x50(%rsp), %rdi testq %rdi, %rdi je 0x12d911 callq 0x69d60 jmp 0x12d911 movq %rax, %rbx movq 0x40(%rsp), %rdi testq %rdi, %rdi je 0x12d920 callq 0x69d60 movq 0x20(%rsp), %rdi jmp 0x12d94d jmp 0x12d945 movq %rax, %rbx movq 0x18(%rsp), %rdi cmpq %r12, %rdi je 0x12d948 movq 0x28(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12d948 movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x12d957 callq 0x69d60 movq %rbx, %rdi callq 0x6b780 nop
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc
QPDFPageObjectHelper::getFormXObjectForPage(bool)
QPDFObjectHandle QPDFPageObjectHelper::getFormXObjectForPage(bool handle_transformations) { auto result = oh().getQPDF("QPDFPageObjectHelper::getFormXObjectForPage called with a direct object") .newStream(); QPDFObjectHandle newdict = result.getDict(); newdict.replaceKey("/Type", QPDFObjectHandle::newName("/XObject")); newdict.replaceKey("/Subtype", QPDFObjectHandle::newName("/Form")); newdict.replaceKey("/Resources", getAttribute("/Resources", false).shallowCopy()); newdict.replaceKey("/Group", getAttribute("/Group", false).shallowCopy()); QPDFObjectHandle bbox = getTrimBox(false).shallowCopy(); if (!bbox.isRectangle()) { oh().warnIfPossible( "bounding box is invalid; form XObject created from page will not work"); } newdict.replaceKey("/BBox", bbox); auto provider = std::shared_ptr<QPDFObjectHandle::StreamDataProvider>(new ContentProvider(oh())); result.replaceStreamData(provider, QPDFObjectHandle::newNull(), QPDFObjectHandle::newNull()); QPDFObjectHandle rotate_obj = getAttribute("/Rotate", false); QPDFObjectHandle scale_obj = getAttribute("/UserUnit", false); if (handle_transformations && (!(rotate_obj.isNull() && scale_obj.isNull()))) { newdict.replaceKey("/Matrix", QPDFObjectHandle::newArray(getMatrixForTransformations())); } return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movl %edx, %r15d movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rax movq %rax, (%rsp) movq 0x10(%rsi), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x12dd09 movq 0x11b0e5(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12dd05 incl 0x8(%rax) jmp 0x12dd09 lock incl 0x8(%rax) leaq 0x30(%rsp), %rbp movq %rbp, -0x10(%rbp) leaq 0xa3902(%rip), %rsi # 0x1d161b leaq 0xa3942(%rip), %rdx # 0x1d1662 leaq 0x20(%rsp), %rdi callq 0x68bb0 movq %rsp, %rdi leaq 0x20(%rsp), %rsi callq 0x6cc30 movq %rbx, %rdi movq %rax, %rsi callq 0x6d330 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12dd59 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12dd68 callq 0x69d60 leaq 0x70(%rsp), %rdi movq %rbx, %rsi movq %rbx, 0x80(%rsp) callq 0x6ae50 leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0x89d05(%rip), %rsi # 0x1b7a91 leaq 0x89d03(%rip), %rdx # 0x1b7a96 callq 0x68bb0 leaq 0x10(%rsp), %rbx movq %rbx, -0x10(%rbx) leaq 0x91410(%rip), %rsi # 0x1bf1b8 leaq 0x91411(%rip), %rdx # 0x1bf1c0 movq %rsp, %rdi callq 0x68bb0 leaq 0x50(%rsp), %rdi movq %rsp, %rsi callq 0x6da40 leaq 0x70(%rsp), %rdi leaq 0x20(%rsp), %rsi leaq 0x50(%rsp), %rdx callq 0x6c930 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12dde7 callq 0x69d60 movq (%rsp), %rdi cmpq %rbx, %rdi je 0x12ddfd movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12de14 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0x8b1a2(%rip), %rsi # 0x1b8fc5 leaq 0x8b1a3(%rip), %rdx # 0x1b8fcd callq 0x68bb0 movq %rsp, %rdi movq %rbx, (%rdi) leaq 0x8b5d4(%rip), %rsi # 0x1b9410 leaq 0x8b5d2(%rip), %rdx # 0x1b9415 callq 0x68bb0 leaq 0x50(%rsp), %rdi movq %rsp, %rsi callq 0x6da40 leaq 0x70(%rsp), %rdi leaq 0x20(%rsp), %rsi leaq 0x50(%rsp), %rdx callq 0x6c930 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12de78 callq 0x69d60 movq (%rsp), %rdi cmpq %rbx, %rdi je 0x12de8e movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12dea5 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0x8b210(%rip), %rsi # 0x1b90c4 leaq 0x8b213(%rip), %rdx # 0x1b90ce callq 0x68bb0 movq %rsp, %rdi movq %rbx, (%rdi) leaq 0x8b1f7(%rip), %rsi # 0x1b90c4 leaq 0x8b1fa(%rip), %rdx # 0x1b90ce callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %rsp, %rdx movq %r14, %rsi xorl %ecx, %ecx callq 0x691c0 leaq 0x50(%rsp), %rdi leaq 0x60(%rsp), %rsi callq 0x6bba0 leaq 0x70(%rsp), %rdi leaq 0x20(%rsp), %rsi leaq 0x50(%rsp), %rdx callq 0x6c930 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12df1d callq 0x69d60 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x12df2c callq 0x69d60 movq (%rsp), %rdi cmpq %rbx, %rdi je 0x12df42 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12df59 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0xa36fb(%rip), %rsi # 0x1d1663 leaq 0xa36fa(%rip), %rdx # 0x1d1669 callq 0x68bb0 movq %rsp, %rdi movq %rbx, (%rdi) leaq 0xa36e2(%rip), %rsi # 0x1d1663 leaq 0xa36e1(%rip), %rdx # 0x1d1669 callq 0x68bb0 leaq 0x60(%rsp), %rdi movq %rsp, %rdx movq %r14, %rsi xorl %ecx, %ecx callq 0x691c0 leaq 0x50(%rsp), %rdi leaq 0x60(%rsp), %rsi callq 0x6bba0 leaq 0x70(%rsp), %rdi leaq 0x20(%rsp), %rsi leaq 0x50(%rsp), %rdx callq 0x6c930 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12dfd1 callq 0x69d60 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x12dfe0 callq 0x69d60 movq (%rsp), %rdi cmpq %rbx, %rdi je 0x12dff6 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e00d movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x20(%rsp), %rdi movq %r14, %rsi xorl %edx, %edx xorl %ecx, %ecx callq 0x6e3d0 leaq 0x50(%rsp), %rdi leaq 0x20(%rsp), %rsi callq 0x6bba0 movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x12e03c callq 0x69d60 leaq 0x50(%rsp), %rdi callq 0x6f210 testb %al, %al jne 0x12e0c3 movq 0x8(%r14), %rax movq %rax, (%rsp) movq 0x10(%r14), %rax movq %rax, 0x8(%rsp) testq %rax, %rax je 0x12e075 movq 0x11ad79(%rip), %rcx # 0x248de0 cmpb $0x0, (%rcx) je 0x12e071 incl 0x8(%rax) jmp 0x12e075 lock incl 0x8(%rax) leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0xa35e6(%rip), %rsi # 0x1d166a leaq 0xa3624(%rip), %rdx # 0x1d16af callq 0x68bb0 movq %rsp, %rdi leaq 0x20(%rsp), %rsi callq 0x6eef0 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e0b4 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12e0c3 callq 0x69d60 leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0x8b338(%rip), %rsi # 0x1b940a leaq 0x8b336(%rip), %rdx # 0x1b940f callq 0x68bb0 leaq 0x70(%rsp), %rdi leaq 0x20(%rsp), %rsi leaq 0x50(%rsp), %rdx callq 0x6c930 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e109 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movl %r15d, %ebx movl $0x20, %edi callq 0x68ab0 movq %rax, %r12 movq 0x8(%r14), %r15 movq 0x10(%r14), %r13 testq %r13, %r13 je 0x12e13d movq 0x11acb3(%rip), %rax # 0x248de0 cmpb $0x0, (%rax) je 0x12e138 incl 0x8(%r13) jmp 0x12e13d lock incl 0x8(%r13) movq %r12, %rdi xorl %esi, %esi callq 0x69e20 leaq 0x118912(%rip), %rax # 0x246a60 movq %rax, (%r12) movq %r15, 0x10(%r12) movq %r13, 0x18(%r12) testq %r13, %r13 je 0x12e178 movq 0x11ac78(%rip), %rax # 0x248de0 cmpb $0x0, (%rax) je 0x12e173 incl 0x8(%r13) jmp 0x12e178 lock incl 0x8(%r13) movl $0x18, %edi callq 0x68ab0 movq %rax, %r15 movabsq $0x100000001, %rax # imm = 0x100000001 movq %rax, 0x8(%r15) leaq 0x1189be(%rip), %rax # 0x246b58 movq %rax, (%r15) movq %r12, 0x10(%r15) testq %r13, %r13 je 0x12e1ae movq %r13, %rdi callq 0x69d60 movq %r12, 0x88(%rsp) movq %r15, 0x90(%rsp) movq 0x11ac1b(%rip), %rax # 0x248de0 cmpb $0x0, (%rax) je 0x12e1d0 incl 0x8(%r15) jmp 0x12e1d5 lock incl 0x8(%r15) movq 0x80(%rsp), %r12 leaq 0x10(%rsp), %r13 leaq 0x20(%rsp), %rdi callq 0x6b240 movq %rsp, %rdi callq 0x6b240 leaq 0x88(%rsp), %rsi leaq 0x20(%rsp), %rdx movq %rsp, %rcx movq %r12, %rdi callq 0x6c3b0 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12e21b callq 0x69d60 movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x12e22a callq 0x69d60 movq 0x90(%rsp), %rdi testq %rdi, %rdi je 0x12e23c callq 0x69d60 leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0xa296f(%rip), %rsi # 0x1d0bba leaq 0xa296f(%rip), %rdx # 0x1d0bc1 callq 0x68bb0 leaq 0x60(%rsp), %rdi leaq 0x20(%rsp), %rdx movq %r14, %rsi xorl %ecx, %ecx callq 0x691c0 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e282 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 leaq 0x20(%rsp), %rdi movq %rbp, (%rdi) leaq 0xa3380(%rip), %rsi # 0x1d1611 leaq 0xa3382(%rip), %rdx # 0x1d161a callq 0x68bb0 leaq 0xa8(%rsp), %rdi leaq 0x20(%rsp), %rdx movq %r14, %rsi xorl %ecx, %ecx callq 0x691c0 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e2cb movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 testb %bl, %bl je 0x12e369 leaq 0x60(%rsp), %rdi callq 0x6db30 testb %al, %al je 0x12e2f2 leaq 0xa8(%rsp), %rdi callq 0x6db30 testb %al, %al jne 0x12e369 movq %rsp, %rdi movq %r13, (%rdi) leaq 0x8aece(%rip), %rsi # 0x1b91cd leaq 0x8aece(%rip), %rdx # 0x1b91d4 callq 0x68bb0 leaq 0x20(%rsp), %rdi movq %r14, %rsi xorl %edx, %edx callq 0x6e1f0 leaq 0x98(%rsp), %rdi leaq 0x20(%rsp), %rsi callq 0x68500 leaq 0x70(%rsp), %rdi movq %rsp, %rsi leaq 0x98(%rsp), %rdx callq 0x6c930 movq 0xa0(%rsp), %rdi testq %rdi, %rdi je 0x12e353 callq 0x69d60 movq (%rsp), %rdi cmpq %r13, %rdi je 0x12e369 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 movq 0xb0(%rsp), %rdi testq %rdi, %rdi je 0x12e37b callq 0x69d60 movq 0x68(%rsp), %rdi testq %rdi, %rdi je 0x12e38a callq 0x69d60 movq %r15, %rdi callq 0x69d60 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12e3a1 callq 0x69d60 movq 0x78(%rsp), %rdi testq %rdi, %rdi je 0x12e3b0 callq 0x69d60 movq %r12, %rax addq $0xb8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movq %rax, %r14 movq 0xa0(%rsp), %rdi testq %rdi, %rdi je 0x12e413 callq 0x69d60 jmp 0x12e413 jmp 0x12e430 movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e3fd movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12e3fd movq %rax, %r14 movq 0x8(%rsp), %rdi testq %rdi, %rdi jne 0x12e4ce jmp 0x12e543 movq %rax, %r14 movq (%rsp), %rdi leaq 0x10(%rsp), %rax cmpq %rax, %rdi je 0x12e433 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12e433 movq %rax, %r14 movq 0xb0(%rsp), %rdi testq %rdi, %rdi je 0x12e466 callq 0x69d60 jmp 0x12e466 movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e466 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12e466 movq %rax, %r14 movq 0x68(%rsp), %rdi jmp 0x12e4c1 movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e4cb movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12e4cb movq %rax, %r14 jmp 0x12e4cb movq %rax, %r14 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x12e4a5 callq 0x69d60 jmp 0x12e4a5 movq %rax, %r14 movq 0x28(%rsp), %rdi testq %rdi, %rdi je 0x12e4b9 callq 0x69d60 jmp 0x12e4b9 movq %rax, %r14 movq 0x90(%rsp), %rdi testq %rdi, %rdi je 0x12e4cb callq 0x69d60 movq %r15, %rdi callq 0x69d60 jmp 0x12e543 movq %rax, %rdi callq 0x683f0 movq (%r12), %rax movq %r12, %rdi callq *0x8(%rax) callq 0x6c640 movq %rax, %r14 callq 0x6c2d0 xorl %ebx, %ebx jmp 0x12e505 movq %rax, %rdi callq 0x7cc8d movq %rax, %r14 movb $0x1, %bl testq %r13, %r13 je 0x12e512 movq %r13, %rdi callq 0x69d60 testb %bl, %bl je 0x12e543 movl $0x20, %esi movq %r12, %rdi jmp 0x12e537 jmp 0x12e540 movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e543 movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12e543 jmp 0x12e540 movq %rax, %r14 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12e5ee callq 0x69d60 jmp 0x12e5ee movq %rax, %r14 movq 0x28(%rsp), %rdi jmp 0x12e548 jmp 0x12e5eb jmp 0x12e574 jmp 0x12e588 jmp 0x12e5b4 jmp 0x12e5cf jmp 0x12e5eb movq %rax, %r14 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12e58b callq 0x69d60 jmp 0x12e58b movq %rax, %r14 movq 0x68(%rsp), %rdi jmp 0x12e5a8 jmp 0x12e5b4 jmp 0x12e5cf jmp 0x12e5eb jmp 0x12e5a0 jmp 0x12e5b4 jmp 0x12e5cf jmp 0x12e5eb movq %rax, %r14 movq 0x58(%rsp), %rdi testq %rdi, %rdi je 0x12e5b7 callq 0x69d60 jmp 0x12e5b7 movq %rax, %r14 movq (%rsp), %rdi cmpq %rbx, %rdi je 0x12e5d2 movq 0x10(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12e5d2 movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e5ee movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 jmp 0x12e5ee movq %rax, %r14 movq 0x78(%rsp), %rdi testq %rdi, %rdi je 0x12e5fd callq 0x69d60 movq 0x80(%rsp), %rax movq 0x8(%rax), %rdi testq %rdi, %rdi je 0x12e613 callq 0x69d60 movq %r14, %rdi callq 0x6b780 movq %rax, %r14 jmp 0x12e5fd movq %rax, %r14 jmp 0x12e63f movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %rbp, %rdi je 0x12e63f movq 0x30(%rsp), %rsi incq %rsi callq 0x68760 movq 0x8(%rsp), %rdi jmp 0x12e609
/jberkenbilt[P]qpdf/libqpdf/QPDFPageObjectHelper.cc