name string | code string | asm string | file string |
|---|---|---|---|
qpdf_read_memory | QPDF_ERROR_CODE
qpdf_read_memory(
qpdf_data qpdf,
char const* description,
char const* buffer,
unsigned long long size,
char const* password)
{
QPDF_ERROR_CODE status = QPDF_SUCCESS;
qpdf->filename = description;
qpdf->buffer = buffer;
qpdf->size = size;
qpdf->password = password... | pushq %rbx
subq $0x20, %rsp
movq %rsi, 0x78(%rdi)
movq %rdx, 0x80(%rdi)
movq %rcx, 0x88(%rdi)
movq %r8, 0x90(%rdi)
movq %rsp, %rsi
movq $0x0, 0x8(%rsi)
leaq 0x6b(%rip), %rax # 0x14af26
movq %rax, (%rsi)
leaq 0xed97(%rip), %rax # 0x159c5c
movq %rax, 0x18(%rsi)
leaq 0xed94(%rip), %rax # 0x159c64
movq %ra... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_get_pdf_version | char const*
qpdf_get_pdf_version(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_get_pdf_version");
qpdf->tmp_string = qpdf->qpdf->getPDFVersion();
return qpdf->tmp_string.c_str();
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq (%rdi), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x3cf0e
addq $0x58, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x195c0
movq (%r14), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x14afa5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x190e0
movq (%rbx), %rax
a... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_get_info_key | char const*
qpdf_get_info_key(qpdf_data qpdf, char const* key)
{
char const* result = nullptr;
QPDFObjectHandle trailer = qpdf->qpdf->getTrailer();
if (trailer.hasKey("/Info")) {
QPDFObjectHandle info = trailer.getKey("/Info");
if (info.hasKey(key)) {
QPDFObjectHandle value = inf... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rsi
leaq 0x48(%rsp), %rdi
callq 0x3d384
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1a0b4(%rip), %rsi # 0x1650e7
leaq 0x1a0b2(%rip), %rdx # 0x1650ec
leaq 0x8(%rsp), %rdi
callq 0x1ee2c
leaq 0x48(%rs... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_set_info_key | void
qpdf_set_info_key(qpdf_data qpdf, char const* key, char const* value)
{
if ((key == nullptr) || (std::strlen(key) == 0) || (key[0] != '/')) {
return;
}
QPDFObjectHandle value_object;
if (value) {
QTC::TC("qpdf", "qpdf-c set_info_key to value");
value_object = QPDFObjectHandl... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
testq %rsi, %rsi
je 0x14b476
movq %rsi, %rbx
cmpb $0x2f, (%rsi)
jne 0x14b476
movq %rdx, %r15
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
testq %rdx, %rdx
je 0x14b2db
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
movq %r15, %rdi
callq... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_init_write_internal(_qpdf_data*) | static void
qpdf_init_write_internal(qpdf_data qpdf)
{
if (qpdf->qpdf_writer.get()) {
QTC::TC("qpdf", "qpdf-c called qpdf_init_write multiple times");
qpdf->qpdf_writer = nullptr;
if (qpdf->output_buffer.get()) {
qpdf->output_buffer = nullptr;
qpdf->write_memory = fal... | cmpq $0x0, 0x10(%rdi)
je 0x14b6dc
pushq %rbx
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq 0x18(%rdi), %rdi
movups %xmm0, 0x10(%rbx)
testq %rdi, %rdi
je 0x14b6a7
callq 0x1d0e8
cmpq $0x0, 0xa0(%rbx)
je 0x14b6db
xorps %xmm0, %xmm0
movq 0xa8(%rbx), %rdi
movups %xmm0, 0xa0(%rbx)
testq %rdi, %rdi
je 0x14b6cc
callq 0x1d0e8
movb $0... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_init_write_memory | QPDF_ERROR_CODE
qpdf_init_write_memory(qpdf_data qpdf)
{
qpdf_init_write_internal(qpdf);
QPDF_ERROR_CODE status = trap_errors(qpdf, &call_init_write_memory);
QTC::TC("qpdf", "qpdf-c called qpdf_init_write_memory");
qpdf->write_memory = true;
return status;
} | pushq %rbp
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x14b687
leaq 0x8(%rsp), %rsi
movq $0x0, 0x8(%rsi)
leaq 0x7a(%rip), %rax # 0x14b7dd
movq %rax, (%rsi)
leaq 0xe4ef(%rip), %rax # 0x159c5c
movq %rax, 0x18(%rsi)
leaq 0xe4ec(%rip), %rax # 0x159c64
movq %rax, 0x10(%rsi)
movq %rbx, %rdi
callq 0x14... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_set_r4_encryption_parameters_insecure | void
qpdf_set_r4_encryption_parameters_insecure(
qpdf_data qpdf,
char const* user_password,
char const* owner_password,
QPDF_BOOL allow_accessibility,
QPDF_BOOL allow_extract,
QPDF_BOOL allow_assemble,
QPDF_BOOL allow_annotate_and_form,
QPDF_BOOL allow_form_filling,
QPDF_BOOL allow_m... | pushq %r15
pushq %r14
pushq %rbx
movl %r9d, %eax
movl %r8d, %r9d
movl %ecx, %r8d
movl 0x38(%rsp), %r10d
movq 0x10(%rdi), %rdi
xorl %ecx, %ecx
testl %r8d, %r8d
setne %cl
xorl %r8d, %r8d
testl %r9d, %r9d
setne %r8b
xorl %r9d, %r9d
testl %eax, %eax
setne %r9b
xorl %eax, %eax
cmpl $0x0, 0x20(%rsp)
setne %al
xorl %r11d, %r1... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_set_r5_encryption_parameters2 | void
qpdf_set_r5_encryption_parameters2(
qpdf_data qpdf,
char const* user_password,
char const* owner_password,
QPDF_BOOL allow_accessibility,
QPDF_BOOL allow_extract,
QPDF_BOOL allow_assemble,
QPDF_BOOL allow_annotate_and_form,
QPDF_BOOL allow_form_filling,
QPDF_BOOL allow_modify_ot... | pushq %r14
pushq %rbx
pushq %rax
movl %r9d, %eax
movl %r8d, %r9d
movl %ecx, %r8d
movl 0x38(%rsp), %r10d
movq 0x10(%rdi), %rdi
xorl %ecx, %ecx
testl %r8d, %r8d
setne %cl
xorl %r8d, %r8d
testl %r9d, %r9d
setne %r8b
xorl %r9d, %r9d
testl %eax, %eax
setne %r9b
xorl %eax, %eax
cmpl $0x0, 0x20(%rsp)
setne %al
xorl %r11d, %r1... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_set_r6_encryption_parameters2 | void
qpdf_set_r6_encryption_parameters2(
qpdf_data qpdf,
char const* user_password,
char const* owner_password,
QPDF_BOOL allow_accessibility,
QPDF_BOOL allow_extract,
QPDF_BOOL allow_assemble,
QPDF_BOOL allow_annotate_and_form,
QPDF_BOOL allow_form_filling,
QPDF_BOOL allow_modify_ot... | pushq %r14
pushq %rbx
pushq %rax
movl %r9d, %eax
movl %r8d, %r9d
movl %ecx, %r8d
movl 0x38(%rsp), %r10d
movq 0x10(%rdi), %rdi
xorl %ecx, %ecx
testl %r8d, %r8d
setne %cl
xorl %r8d, %r8d
testl %r9d, %r9d
setne %r8b
xorl %r9d, %r9d
testl %eax, %eax
setne %r9b
xorl %eax, %eax
cmpl $0x0, 0x20(%rsp)
setne %al
xorl %r11d, %r1... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_set_minimum_pdf_version_and_extension | void
qpdf_set_minimum_pdf_version_and_extension(qpdf_data qpdf, char const* version, int extension_level)
{
QTC::TC("qpdf", "qpdf-c called qpdf_set_minimum_pdf_version");
qpdf->qpdf_writer->setMinimumPDFVersion(version, extension_level);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebx
movq 0x10(%rdi), %r14
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
callq 0x1edee
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0xe3d4a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14bc2d
movq 0x20(%rsp), %rsi
in... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_force_pdf_version_and_extension | void
qpdf_force_pdf_version_and_extension(qpdf_data qpdf, char const* version, int extension_level)
{
QTC::TC("qpdf", "qpdf-c called qpdf_force_pdf_version");
qpdf->qpdf_writer->forcePDFVersion(version, extension_level);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebx
movq 0x10(%rdi), %r14
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
callq 0x1edee
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0xe422e
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x14bcad
movq 0x20(%rsp), %rsi
in... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
new_object(_qpdf_data*, QPDFObjectHandle const&) | static qpdf_oh
new_object(qpdf_data qpdf, QPDFObjectHandle const& qoh)
{
qpdf_oh oh = ++qpdf->next_oh; // never return 0
qpdf->oh_cache[oh] = std::make_shared<QPDFObjectHandle>(qoh);
return oh;
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
movl 0xe8(%rdi), %eax
incl %eax
movl %eax, 0xe8(%rdi)
leaq 0xc(%rsp), %r14
movl %eax, (%r14)
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %rsi
leaq 0xb(%rsp), %rdx
callq 0x1594da
addq $0xb8, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
do_with_oh_void(_qpdf_data*, unsigned int, std::function<void (QPDFObjectHandle&)>) | static void
do_with_oh_void(qpdf_data qpdf, qpdf_oh oh, std::function<void(QPDFObjectHandle&)> fn)
{
do_with_oh<bool>(qpdf, oh, return_T<bool>(false), [fn](QPDFObjectHandle& o) {
fn(o);
return true; // unused
});
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x130, %rsp # imm = 0x130
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x6(%rsp), %rax
movb $0x0, (%rax)
movq $0x0, 0x68(%rsp)
movq %rax, 0x60(%rsp)
leaq 0x7c20(%rip), %rax # 0x1540f4
movq %rax, 0x78(%rsp)
leaq 0x7c1a(%rip), %rax # 0x1540fa
movq %rax, 0x70(%rsp)
leaq ... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_initialized | QPDF_BOOL
qpdf_oh_is_initialized(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_initialized");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return static_cast<bool>(o); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq 0x4e0(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xd6be(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xd6b5(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x81cf... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
int do_with_oh<int>(_qpdf_data*, unsigned int, std::function<int ()>, std::function<int (QPDFObjectHandle&)>) | static RET
do_with_oh(
qpdf_data qpdf,
qpdf_oh oh,
std::function<RET()> fallback,
std::function<RET(QPDFObjectHandle&)> fn)
{
return trap_oh_errors<RET>(qpdf, fallback, [fn, oh](qpdf_data q) {
auto i = q->oh_cache.find(oh);
bool result = ((i != q->oh_cache.end()) && (i->second).get()... | pushq %rbp
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rcx, %r14
movl %esi, %ebp
movq %rdi, %rbx
leaq 0xb0(%rsp), %rdi
movq %rdx, %rsi
callq 0x15a09a
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0xf5d66
movl %ebp, 0x68(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x80(%rsp)
movl $0x28, %edi
callq 0x1... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_bool | QPDF_BOOL
qpdf_oh_is_bool(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_bool");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isBool(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x1c(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xd1c2(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xd1b9(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x7cf5... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_integer | QPDF_BOOL
qpdf_oh_is_integer(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_integer");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isInteger(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x1ce(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xd010(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xd007(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x7b8f... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_real | QPDF_BOOL
qpdf_oh_is_real(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_real");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isReal(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x2a7(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xcf37(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xcf2e(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x7adc... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_name | QPDF_BOOL
qpdf_oh_is_name(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_name");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isName(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x380(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xce5e(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xce55(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x7a29... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_operator | QPDF_BOOL
qpdf_oh_is_operator(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_operator");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isOperator(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x532(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xccac(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xcca3(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x78c3... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_inline_image | QPDF_BOOL
qpdf_oh_is_inline_image(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_inline_image");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isInlineImage(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x60b(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xcbd3(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xcbca(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x7810... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_array | QPDF_BOOL
qpdf_oh_is_array(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_array");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isArray(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x6e4(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xcafa(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xcaf1(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x775d... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_dictionary | QPDF_BOOL
qpdf_oh_is_dictionary(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_dictionary");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isDictionary(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x7bd(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xca21(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xca18(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x76aa... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_indirect | QPDF_BOOL
qpdf_oh_is_indirect(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_indirect");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isIndirect(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x96f(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xc86f(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xc866(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x7544... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_scalar | QPDF_BOOL
qpdf_oh_is_scalar(qpdf_data qpdf, qpdf_oh oh)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_scalar");
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [](QPDFObjectHandle& o) { return o.isScalar(); });
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0xa48(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xc796(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xc78d(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x7491... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_number | QPDF_BOOL
qpdf_oh_is_number(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_number");
return o.isNumber();
});
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0xb21(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xc6bd(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xc6b4(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x73de... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_name_and_equals | QPDF_BOOL
qpdf_oh_is_name_and_equals(qpdf_data qpdf, qpdf_oh oh, char const* name)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [name](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_name_and_equals");
return o.isNameAndEquals(name);
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
leaq -0xbf9(%rip), %rcx # 0x14cf6e
movq %rcx, (%rax)
leaq 0xc5e5(%rip), %rcx # 0x15a156
movq %rcx, 0x18(%rax)
leaq 0xc5dc(%rip), %rcx # 0x15a158
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdx, (%rcx... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_type_code | qpdf_object_type_e
qpdf_oh_get_type_code(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<qpdf_object_type_e>(
qpdf, oh, return_T<qpdf_object_type_e>(ot_uninitialized), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_type_code");
return o.getTypeCode();
})... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x110, %rsp # imm = 0x110
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x60(%rsp), %rax
movl $0x0, (%rax)
leaq 0xf0(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movq %rax, (%rsi)
leaq 0x7305(%rip), %rax # 0x155050
movq %rax, 0x18(%rsi)
leaq 0x7300(%rip), %rax # 0x155056
movq %rax... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_type_name | char const*
qpdf_oh_get_type_name(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_type_name");
qpdf->tmp_string = o.getTypeName();
return qpdf->tmp_... | pushq %rbx
subq $0x50, %rsp
leaq 0x2ca84(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
leaq 0x28(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rcx, (%rdx)
leaq 0x7203(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rdx)
leaq 0x7200(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rdx)
leaq 0x8(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
char const* do_with_oh<char const*>(_qpdf_data*, unsigned int, std::function<char const* ()>, std::function<char const* (QPDFObjectHandle&)>) | static RET
do_with_oh(
qpdf_data qpdf,
qpdf_oh oh,
std::function<RET()> fallback,
std::function<RET(QPDFObjectHandle&)> fn)
{
return trap_oh_errors<RET>(qpdf, fallback, [fn, oh](qpdf_data q) {
auto i = q->oh_cache.find(oh);
bool result = ((i != q->oh_cache.end()) && (i->second).get()... | pushq %rbp
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rcx, %r14
movl %esi, %ebp
movq %rdi, %rbx
leaq 0xb0(%rsp), %rdi
movq %rdx, %rsi
callq 0x15a294
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x15a2f2
movl %ebp, 0x68(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x80(%rsp)
movl $0x28, %edi
callq 0x... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_wrap_in_array | qpdf_oh
qpdf_oh_wrap_in_array(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<qpdf_oh>(
qpdf,
oh,
[qpdf]() { return qpdf_oh_new_array(qpdf); },
[qpdf](QPDFObjectHandle& qoh) {
if (qoh.isArray()) {
QTC::TC("qpdf", "qpdf-c array to wrap_in_array");
... | pushq %rbx
subq $0x40, %rsp
xorl %eax, %eax
leaq 0x20(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rdi, (%rdx)
leaq 0x743b(%rip), %rcx # 0x155b7e
movq %rcx, 0x18(%rdx)
leaq 0x7438(%rip), %rcx # 0x155b86
movq %rcx, 0x10(%rdx)
movq %rsp, %rcx
movq %rax, 0x8(%rcx)
movq %rdi, (%rcx)
leaq 0x7449(%rip), %rax # 0x155... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
unsigned int do_with_oh<unsigned int>(_qpdf_data*, unsigned int, std::function<unsigned int ()>, std::function<unsigned int (QPDFObjectHandle&)>) | static RET
do_with_oh(
qpdf_data qpdf,
qpdf_oh oh,
std::function<RET()> fallback,
std::function<RET(QPDFObjectHandle&)> fn)
{
return trap_oh_errors<RET>(qpdf, fallback, [fn, oh](qpdf_data q) {
auto i = q->oh_cache.find(oh);
bool result = ((i != q->oh_cache.end()) && (i->second).get()... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rcx, %r14
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x50(%rsp), %rdi
movq %rdx, %rsi
callq 0x15a3ae
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x15a40c
movl %ebp, 0x28(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x40(%rsp)
movl $0x28, %edi
callq 0x1... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_bool_value | QPDF_BOOL
qpdf_oh_get_bool_value(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_bool_value");
return o.getBoolValue();
});
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq -0x1aed(%rip), %rax # 0x14cf6e
movq %rax, (%rdx)
leaq 0xb6f1(%rip), %rax # 0x15a156
movq %rax, 0x18(%rdx)
leaq 0xb6e8(%rip), %rax # 0x15a158
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x736c... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_int_value | long long
qpdf_oh_get_int_value(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<long long>(qpdf, oh, return_T<long long>(0LL), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_int_value");
return o.getIntValue();
});
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x130, %rsp # imm = 0x130
movl %esi, %ebp
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x128(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x108(%rsp), %rsi
movq %rax, 0x8(%rsi)
movq %rcx, (%rsi)
leaq 0x724a(%rip), %rax # 0x155e74
movq %rax, 0x18(%rsi)
leaq 0x7247(%rip), %rax # ... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_value_as_longlong | QPDF_BOOL
qpdf_oh_get_value_as_longlong(qpdf_data qpdf, qpdf_oh oh, long long* value)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [value](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_value_as_longlong");
return o.getValueAsInt(*value);
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
leaq -0x21be(%rip), %rcx # 0x14cf6e
movq %rcx, (%rax)
leaq 0xb020(%rip), %rcx # 0x15a156
movq %rcx, 0x18(%rax)
leaq 0xb017(%rip), %rcx # 0x15a158
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdx, (%rcx... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_int_value_as_int | int
qpdf_oh_get_int_value_as_int(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<int>(qpdf, oh, return_T<int>(0), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_int_value_as_int");
return o.getIntValueAsInt();
});
} | pushq %rbx
subq $0x50, %rsp
leaq 0xc(%rsp), %rax
movl $0x0, (%rax)
leaq 0x30(%rsp), %rdx
movq $0x0, 0x8(%rdx)
movq %rax, (%rdx)
leaq 0x709b(%rip), %rax # 0x1562b2
movq %rax, 0x18(%rdx)
leaq 0x7096(%rip), %rax # 0x1562b8
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_value_as_int | QPDF_BOOL
qpdf_oh_get_value_as_int(qpdf_data qpdf, qpdf_oh oh, int* value)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [value](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_value_as_int");
return o.getValueAsInt(*value);
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
leaq -0x237d(%rip), %rcx # 0x14cf6e
movq %rcx, (%rax)
leaq 0xae61(%rip), %rcx # 0x15a156
movq %rcx, 0x18(%rax)
leaq 0xae58(%rip), %rcx # 0x15a158
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdx, (%rcx... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_uint_value | unsigned long long
qpdf_oh_get_uint_value(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<unsigned long long>(
qpdf, oh, return_T<unsigned long long>(0ULL), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_uint_value");
return o.getUIntValue();
});
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x130, %rsp # imm = 0x130
movl %esi, %ebp
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x128(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x108(%rsp), %rsi
movq %rax, 0x8(%rsi)
movq %rcx, (%rsi)
leaq 0x6f56(%rip), %rax # 0x156338
movq %rax, 0x18(%rsi)
leaq 0x6f53(%rip), %rax # ... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_value_as_ulonglong | QPDF_BOOL
qpdf_oh_get_value_as_ulonglong(qpdf_data qpdf, qpdf_oh oh, unsigned long long* value)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [value](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_value_as_ulonglong");
return o.getValueAsUInt(*value);
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
leaq -0x2976(%rip), %rcx # 0x14cf6e
movq %rcx, (%rax)
leaq 0xa868(%rip), %rcx # 0x15a156
movq %rcx, 0x18(%rax)
leaq 0xa85f(%rip), %rcx # 0x15a158
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdx, (%rcx... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_uint_value_as_uint | unsigned int
qpdf_oh_get_uint_value_as_uint(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<unsigned int>(qpdf, oh, return_T<unsigned int>(0U), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_uint_value_as_uint");
return o.getUIntValueAsUInt();
});
} | pushq %rbx
subq $0x50, %rsp
leaq 0xc(%rsp), %rax
movl $0x0, (%rax)
leaq 0x30(%rsp), %rdx
movq $0x0, 0x8(%rdx)
movq %rax, (%rdx)
leaq 0x6da7(%rip), %rax # 0x156776
movq %rax, 0x18(%rdx)
leaq 0x6da2(%rip), %rax # 0x15677c
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_value_as_uint | QPDF_BOOL
qpdf_oh_get_value_as_uint(qpdf_data qpdf, qpdf_oh oh, unsigned int* value)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [value](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_value_as_uint");
return o.getValueAsUInt(*value);
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
leaq -0x2b35(%rip), %rcx # 0x14cf6e
movq %rcx, (%rax)
leaq 0xa6a9(%rip), %rcx # 0x15a156
movq %rcx, 0x18(%rax)
leaq 0xa6a0(%rip), %rcx # 0x15a158
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdx, (%rcx... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_real_value | char const*
qpdf_oh_get_real_value(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_real_value");
qpdf->tmp_string = o.getRealValue();
return qpdf->t... | pushq %rbx
subq $0x50, %rsp
leaq 0x2b143(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
leaq 0x28(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rcx, (%rdx)
leaq 0x58c2(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rdx)
leaq 0x58bf(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rdx)
leaq 0x8(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_value_as_real | QPDF_BOOL
qpdf_oh_get_value_as_real(qpdf_data qpdf, qpdf_oh oh, char const** value, size_t* length)
{
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [qpdf, value, length](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_value_as_real");
auto result = o.getValu... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebx
movq %rdi, %r14
movq $0x0, 0x8(%rsp)
leaq -0x2d09(%rip), %rax # 0x14cf6e
movq %rax, (%rsp)
leaq 0xa4d4(%rip), %rax # 0x15a156
movq %rax, 0x18(%rsp)
leaq 0xa4ca(%rip), %r13 # 0x15a158
mov... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_numeric_value | double
qpdf_oh_get_numeric_value(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<double>(qpdf, oh, return_T<double>(0.0), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_numeric_value");
return o.getNumericValue();
});
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x130, %rsp # imm = 0x130
movl %esi, %ebp
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x128(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x108(%rsp), %rsi
movq %rax, 0x8(%rsi)
movq %rcx, (%rsi)
leaq 0x6b6e(%rip), %rax # 0x156912
movq %rax, 0x18(%rsi)
leaq 0x6b6b(%rip), %rax # ... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_value_as_number | QPDF_BOOL
qpdf_oh_get_value_as_number(qpdf_data qpdf, qpdf_oh oh, double* value)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [value](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_value_as_number");
return o.getValueAsNumber(*value);
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
leaq -0x333d(%rip), %rcx # 0x14cf6e
movq %rcx, (%rax)
leaq 0x9ea1(%rip), %rcx # 0x15a156
movq %rcx, 0x18(%rax)
leaq 0x9e98(%rip), %rcx # 0x15a158
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdx, (%rcx... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_name | char const*
qpdf_oh_get_name(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_name");
qpdf->tmp_string = o.getName();
return qpdf->tmp_string.c_str()... | pushq %rbx
subq $0x50, %rsp
leaq 0x2a93b(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
leaq 0x28(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rcx, (%rdx)
leaq 0x50ba(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rdx)
leaq 0x50b7(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rdx)
leaq 0x8(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_string_value | char const*
qpdf_oh_get_string_value(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_string_value");
qpdf->tmp_string = o.getStringValue();
return q... | pushq %rbx
subq $0x50, %rsp
leaq 0x2a731(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
leaq 0x28(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rcx, (%rdx)
leaq 0x4eb0(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rdx)
leaq 0x4ead(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rdx)
leaq 0x8(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_value_as_string | QPDF_BOOL
qpdf_oh_get_value_as_string(qpdf_data qpdf, qpdf_oh oh, char const** value, size_t* length)
{
return do_with_oh<QPDF_BOOL>(
qpdf, oh, return_false, [qpdf, value, length](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_value_as_string");
auto result = o.get... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rcx, %r15
movq %rdx, %r12
movl %esi, %ebx
movq %rdi, %r14
movq $0x0, 0x8(%rsp)
leaq -0x371b(%rip), %rax # 0x14cf6e
movq %rax, (%rsp)
leaq 0x9ac2(%rip), %rax # 0x15a156
movq %rax, 0x18(%rsp)
leaq 0x9ab8(%rip), %r13 # 0x15a158
mov... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_utf8_value | char const*
qpdf_oh_get_utf8_value(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_utf8_value");
qpdf->tmp_string = o.getUTF8Value();
return qpdf->t... | pushq %rbx
subq $0x50, %rsp
leaq 0x2a527(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
leaq 0x28(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rcx, (%rdx)
leaq 0x4ca6(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rdx)
leaq 0x4ca3(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rdx)
leaq 0x8(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_binary_string_value | char const*
qpdf_oh_get_binary_string_value(qpdf_data qpdf, qpdf_oh oh, size_t* length)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf, length](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_binary_string_value");
qpdf->tmp_string = o.... | pushq %rbx
subq $0x50, %rsp
leaq 0x2a31d(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x28(%rsp), %rax
movq $0x0, 0x8(%rax)
movq %rcx, (%rax)
leaq 0x4a9a(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rax)
leaq 0x4a97(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rax)
leaq 0x8(%rsp), %rcx
movq %... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_binary_utf8_value | char const*
qpdf_oh_get_binary_utf8_value(qpdf_data qpdf, qpdf_oh oh, size_t* length)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf, length](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_binary_utf8_value");
qpdf->tmp_string = o.getU... | pushq %rbx
subq $0x50, %rsp
leaq 0x2a230(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
leaq 0x28(%rsp), %rax
movq $0x0, 0x8(%rax)
movq %rcx, (%rax)
leaq 0x49ad(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rax)
leaq 0x49aa(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rax)
leaq 0x8(%rsp), %rcx
movq %... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_array_item | qpdf_oh
qpdf_oh_get_array_item(qpdf_data qpdf, qpdf_oh oh, int n)
{
return do_with_oh<qpdf_oh>(qpdf, oh, return_null(qpdf), [qpdf, n](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_array_item");
return new_object(qpdf, o.getArrayItem(n));
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
movq %rdi, (%rax)
leaq 0x3577(%rip), %rcx # 0x1541dc
movq %rcx, 0x18(%rax)
leaq 0x3574(%rip), %rcx # 0x1541e4
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdi, (%rcx)
movl %edx, 0x8(%rcx)
leaq 0x6530(%rip)... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_begin_dict_key_iter | void
qpdf_oh_begin_dict_key_iter(qpdf_data qpdf, qpdf_oh oh)
{
qpdf->cur_iter_dict_keys = do_with_oh<std::set<std::string>>(
qpdf,
oh,
[]() { return std::set<std::string>(); },
[](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_begin_dict_key_iter");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x170, %rsp # imm = 0x170
movl %esi, %ebp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x120(%rsp), %rsi
movaps %xmm0, (%rsi)
leaq 0x690b(%rip), %rax # 0x157656
movq %rax, 0x18(%rsi)
leaq 0x6920(%rip), %rax # 0x157676
movq %rax, 0x10(%rsi)
mov... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_key | qpdf_oh
qpdf_oh_get_key(qpdf_data qpdf, qpdf_oh oh, char const* key)
{
return do_with_oh<qpdf_oh>(qpdf, oh, return_null(qpdf), [qpdf, key](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_key");
return new_object(qpdf, o.getKey(key));
});
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rax
movq $0x0, 0x8(%rax)
movq %rdi, (%rax)
leaq 0x2d11(%rip), %rcx # 0x1541dc
movq %rcx, 0x18(%rax)
leaq 0x2d0e(%rip), %rcx # 0x1541e4
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %rdi, (%rcx)
movq %rdx, 0x8(%rcx)
leaq 0x626b(%rip), %rdx # 0x157756
movq %rdx, 0... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_key_if_dict | qpdf_oh
qpdf_oh_get_key_if_dict(qpdf_data qpdf, qpdf_oh oh, char const* key)
{
return do_with_oh<qpdf_oh>(qpdf, oh, return_null(qpdf), [qpdf, key](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_key_if_dict");
return new_object(qpdf, o.getKeyIfDict(key));
});
} | pushq %rbx
subq $0x40, %rsp
leaq 0x20(%rsp), %rax
movq $0x0, 0x8(%rax)
movq %rdi, (%rax)
leaq 0x2c3b(%rip), %rcx # 0x1541dc
movq %rcx, 0x18(%rax)
leaq 0x2c38(%rip), %rcx # 0x1541e4
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %rdi, (%rcx)
movq %rdx, 0x8(%rcx)
leaq 0x6271(%rip), %rdx # 0x157832
movq %rdx, 0... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_is_or_has_name | QPDF_BOOL
qpdf_oh_is_or_has_name(qpdf_data qpdf, qpdf_oh oh, char const* key)
{
return do_with_oh<QPDF_BOOL>(qpdf, oh, return_false, [key](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_is_or_has_name");
return o.isOrHasName(key);
});
} | pushq %rbx
subq $0x40, %rsp
xorl %r8d, %r8d
leaq 0x20(%rsp), %rax
movq %r8, 0x8(%rax)
leaq -0x4705(%rip), %rcx # 0x14cf6e
movq %rcx, (%rax)
leaq 0x8ad9(%rip), %rcx # 0x15a156
movq %rcx, 0x18(%rax)
leaq 0x8ad0(%rip), %rcx # 0x15a158
movq %rcx, 0x10(%rax)
movq %rsp, %rcx
movq %r8, 0x8(%rcx)
movq %rdx, (%rcx... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_uninitialized | qpdf_oh
qpdf_oh_new_uninitialized(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_uninitialized");
return new_object(qpdf, QPDFObjectHandle());
} | pushq %rbx
subq $0x10, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
callq 0x14beb7
movl %eax, %ebx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x15175b
callq 0x1d0e8
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x151775
callq 0x1d0e8
movq %rbx, %r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_null | qpdf_oh
qpdf_oh_new_null(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_null");
return new_object(qpdf, QPDFObjectHandle::newNull());
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xc6078
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14beb7
movl %eax, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1517b0
callq 0x1d0e8
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x10(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_bool | qpdf_oh
qpdf_oh_new_bool(qpdf_data qpdf, QPDF_BOOL value)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_bool");
return new_object(qpdf, QPDFObjectHandle::newBool(value));
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
testl %esi, %esi
setne %al
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl %eax, %esi
callq 0xc7c98
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14beb7
movl %eax, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x151810
callq 0x1d0e8
movl %ebx, %eax
addq $0x18,... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_real_from_double | qpdf_oh
qpdf_oh_new_real_from_double(qpdf_data qpdf, double value, int decimal_places)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_real_from_double");
return new_object(qpdf, QPDFObjectHandle::newReal(value, decimal_places));
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl $0x1, %edx
callq 0xc7d1c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14beb7
movl %eax, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x151969
callq 0x1d0e8
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_string | qpdf_oh
qpdf_oh_new_string(qpdf_data qpdf, char const* str)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_string");
return new_object(qpdf, QPDFObjectHandle::newString(str));
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rdi
callq 0x1edee
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xc7dce
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x14beb7
movl %eax, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x151a7a
callq 0x1d0e8
leaq 0x2... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_unicode_string | qpdf_oh
qpdf_oh_new_unicode_string(qpdf_data qpdf, char const* utf8_str)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_unicode_string");
return new_object(qpdf, QPDFObjectHandle::newUnicodeString(utf8_str));
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rdi
callq 0x1edee
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xc7df6
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x14beb7
movl %eax, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x151b20
callq 0x1d0e8
leaq 0x2... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_binary_string | qpdf_oh
qpdf_oh_new_binary_string(qpdf_data qpdf, char const* str, size_t length)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_binary_string");
return new_object(qpdf, QPDFObjectHandle::newString(std::string(str, length)));
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
addq %rsi, %rdx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x1ee2c
movq %rsp, %rdi
movq %r14, %rsi
callq 0xc7dce
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x14beb7
movl %eax, %ebx
movq 0x8(%rsp), %rdi
testq %rdi,... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_array | qpdf_oh
qpdf_oh_new_array(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_array");
return new_object(qpdf, QPDFObjectHandle::newArray());
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xc6396
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14beb7
movl %eax, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x151cfc
callq 0x1d0e8
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x10(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_new_stream | qpdf_oh
qpdf_oh_new_stream(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_oh_new_stream");
return new_object(qpdf, qpdf->qpdf->newStream());
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rdi), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x3a77c
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14beb7
movl %eax, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x151dad
callq 0x1d0e8
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax,... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_make_direct | void
qpdf_oh_make_direct(qpdf_data qpdf, qpdf_oh oh)
{
do_with_oh_void(qpdf, oh, [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_make_direct");
o.makeDirect();
});
} | pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
leaq 0x5bc6(%rip), %rax # 0x1579ac
movq %rax, 0x18(%rdx)
leaq 0x5bc5(%rip), %rax # 0x1579b6
movq %rax, 0x10(%rdx)
callq 0x14c4a7
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x151e11
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %ed... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_make_indirect_object | qpdf_oh
qpdf_make_indirect_object(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<qpdf_oh>(qpdf, oh, return_uninitialized(qpdf), [qpdf](QPDFObjectHandle& o) {
return new_object(qpdf, qpdf->qpdf->makeIndirectObject(o));
});
} | pushq %rbx
subq $0x40, %rsp
xorl %eax, %eax
leaq 0x20(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rdi, (%rdx)
leaq 0x1eb3(%rip), %rcx # 0x153d10
movq %rcx, 0x18(%rdx)
leaq 0x1eb0(%rip), %rcx # 0x153d18
movq %rcx, 0x10(%rdx)
movq %rsp, %rcx
movq %rax, 0x8(%rcx)
movq %rdi, (%rcx)
leaq 0x5b51(%rip), %rax # 0x157... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_set_array_item | void
qpdf_oh_set_array_item(qpdf_data qpdf, qpdf_oh oh, int at, qpdf_oh item)
{
do_with_oh_void(qpdf, oh, [qpdf, at, item](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_set_array_item");
o.setArrayItem(at, qpdf_oh_item_internal(qpdf, item));
});
} | pushq %rbx
subq $0x20, %rsp
movq %rsp, %rax
movq %rdi, (%rax)
movl %edx, 0x8(%rax)
movl %ecx, 0xc(%rax)
leaq 0x5b6e(%rip), %rcx # 0x157a9a
movq %rcx, 0x18(%rax)
leaq 0x5bc1(%rip), %rcx # 0x157af8
movq %rcx, 0x10(%rax)
movq %rax, %rdx
callq 0x14c4a7
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x151f5a
movq %rsp,... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_insert_item | void
qpdf_oh_insert_item(qpdf_data qpdf, qpdf_oh oh, int at, qpdf_oh item)
{
do_with_oh_void(qpdf, oh, [qpdf, at, item](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_insert_item");
o.insertItem(at, qpdf_oh_item_internal(qpdf, item));
});
} | pushq %rbx
subq $0x20, %rsp
movq %rsp, %rax
movq %rdi, (%rax)
movl %edx, 0x8(%rax)
movl %ecx, 0xc(%rax)
leaq 0x5b7c(%rip), %rcx # 0x157b20
movq %rcx, 0x18(%rax)
leaq 0x5bcf(%rip), %rcx # 0x157b7e
movq %rcx, 0x10(%rax)
movq %rax, %rdx
callq 0x14c4a7
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x151fd2
movq %rsp,... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_append_item | void
qpdf_oh_append_item(qpdf_data qpdf, qpdf_oh oh, qpdf_oh item)
{
do_with_oh_void(qpdf, oh, [qpdf, item](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_append_item");
o.appendItem(qpdf_oh_item_internal(qpdf, item));
});
} | pushq %rbx
subq $0x20, %rsp
movq %rsp, %rax
movq $0x0, 0x8(%rax)
movq %rdi, (%rax)
movl %edx, 0x8(%rax)
leaq 0x5b85(%rip), %rcx # 0x157ba6
movq %rcx, 0x18(%rax)
leaq 0x5bd4(%rip), %rcx # 0x157c00
movq %rcx, 0x10(%rax)
movq %rax, %rdx
callq 0x14c4a7
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x15204f
movq %rsp,... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_erase_item | void
qpdf_oh_erase_item(qpdf_data qpdf, qpdf_oh oh, int at)
{
do_with_oh_void(qpdf, oh, [at](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_erase_item");
o.eraseItem(at);
});
} | pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rax
movaps %xmm0, (%rax)
movl %edx, (%rax)
leaq 0x5b90(%rip), %rcx # 0x157c28
movq %rcx, 0x18(%rax)
leaq 0x5b93(%rip), %rcx # 0x157c36
movq %rcx, 0x10(%rax)
movq %rax, %rdx
callq 0x14c4a7
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x1520c6
movq %rsp, %... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_replace_key | void
qpdf_oh_replace_key(qpdf_data qpdf, qpdf_oh oh, char const* key, qpdf_oh item)
{
do_with_oh_void(qpdf, oh, [qpdf, key, item](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_replace_key");
o.replaceKey(key, qpdf_oh_item_internal(qpdf, item));
});
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %ecx, %ebx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
movq %rsp, %r12
movq $0x0, 0x8(%r12)
movl $0x18, %edi
callq 0x19180
movq %r15, (%rax)
movq %r14, 0x8(%rax)
movl %ebx, 0x10(%rax)
movq %rax, (%r12)
leaq 0x5b23(%rip), %rax # 0x157c... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_remove_key | void
qpdf_oh_remove_key(qpdf_data qpdf, qpdf_oh oh, char const* key)
{
do_with_oh_void(qpdf, oh, [key](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_remove_key");
o.removeKey(key);
});
} | pushq %rbx
subq $0x20, %rsp
movq %rsp, %rax
movq $0x0, 0x8(%rax)
movq %rdx, (%rax)
leaq 0x5baf(%rip), %rcx # 0x157d70
movq %rcx, 0x18(%rax)
leaq 0x5c18(%rip), %rcx # 0x157de4
movq %rcx, 0x10(%rax)
movq %rax, %rdx
callq 0x14c4a7
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x1521ef
movq %rsp, %rdi
movq %rdi, %rsi... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_dict | qpdf_oh
qpdf_oh_get_dict(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<qpdf_oh>(qpdf, oh, return_null(qpdf), [qpdf](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_dict");
return new_object(qpdf, o.getDict());
});
} | pushq %rbx
subq $0x40, %rsp
xorl %eax, %eax
leaq 0x20(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rdi, (%rdx)
leaq 0x1ef2(%rip), %rcx # 0x1541dc
movq %rcx, 0x18(%rdx)
leaq 0x1eef(%rip), %rcx # 0x1541e4
movq %rcx, 0x10(%rdx)
movq %rsp, %rcx
movq %rax, 0x8(%rcx)
movq %rdi, (%rcx)
leaq 0x5c14(%rip), %rax # 0x157... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_object_id | int
qpdf_oh_get_object_id(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<int>(qpdf, oh, return_T<int>(0), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_object_id");
return o.getObjectID();
});
} | pushq %rbx
subq $0x50, %rsp
leaq 0xc(%rsp), %rax
movl $0x0, (%rax)
leaq 0x30(%rsp), %rdx
movq $0x0, 0x8(%rdx)
movq %rax, (%rdx)
leaq 0x3eea(%rip), %rax # 0x1562b2
movq %rax, 0x18(%rdx)
leaq 0x3ee5(%rip), %rax # 0x1562b8
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_generation | int
qpdf_oh_get_generation(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<int>(qpdf, oh, return_T<int>(0), [](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_generation");
return o.getGeneration();
});
} | pushq %rbx
subq $0x50, %rsp
leaq 0xc(%rsp), %rax
movl $0x0, (%rax)
leaq 0x30(%rsp), %rdx
movq $0x0, 0x8(%rdx)
movq %rax, (%rdx)
leaq 0x3e07(%rip), %rax # 0x1562b2
movq %rax, 0x18(%rdx)
leaq 0x3e02(%rip), %rax # 0x1562b8
movq %rax, 0x10(%rdx)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_unparse | char const*
qpdf_oh_unparse(qpdf_data qpdf, qpdf_oh oh)
{
return do_with_oh<char const*>(
qpdf, oh, return_T<char const*>(""), [qpdf](QPDFObjectHandle& o) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_unparse");
qpdf->tmp_string = o.unparse();
return qpdf->tmp_string.c_str();
... | pushq %rbx
subq $0x50, %rsp
leaq 0x28743(%rip), %rax # 0x17acb6
leaq 0x48(%rsp), %rcx
movq %rax, (%rcx)
xorl %eax, %eax
leaq 0x28(%rsp), %rdx
movq %rax, 0x8(%rdx)
movq %rcx, (%rdx)
leaq 0x2ec2(%rip), %rcx # 0x155452
movq %rcx, 0x18(%rdx)
leaq 0x2ebf(%rip), %rcx # 0x15545a
movq %rcx, 0x10(%rdx)
leaq 0x8(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_stream_data | QPDF_ERROR_CODE
qpdf_oh_get_stream_data(
qpdf_data qpdf,
qpdf_oh stream_oh,
qpdf_stream_decode_level_e decode_level,
QPDF_BOOL* filtered,
unsigned char** bufp,
size_t* len)
{
return trap_errors(qpdf, [stream_oh, decode_level, filtered, bufp, len](qpdf_data q) {
auto stream = qpdf_oh_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebp
movl %esi, %r12d
movq %rdi, (%rsp)
leaq 0x8(%rsp), %r13
movq $0x0, 0x8(%r13)
movl $0x20, %edi
callq 0x19180
movl %r12d, (%rax)
movl %ebp, 0x4(%rax)
movq %r15, 0x8(%rax)
movq %... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_get_page_content_data | QPDF_ERROR_CODE
qpdf_oh_get_page_content_data(qpdf_data qpdf, qpdf_oh page_oh, unsigned char** bufp, size_t* len)
{
return trap_errors(qpdf, [page_oh, bufp, len](qpdf_data q) {
QTC::TC("qpdf", "qpdf-c called qpdf_oh_get_page_content_data");
auto o = qpdf_oh_item_internal(q, page_oh);
Pl_Buff... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
movq %rsp, %r12
movq $0x0, 0x8(%r12)
movl $0x18, %edi
callq 0x19180
movl %ebp, (%rax)
movq %r14, 0x8(%rax)
movq %rbx, 0x10(%rax)
movq %rax, (%r12)
leaq 0x5a24(%rip), %rax # 0x1584... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_replace_stream_data | void
qpdf_oh_replace_stream_data(
qpdf_data qpdf,
qpdf_oh stream_oh,
unsigned char const* buf,
size_t len,
qpdf_oh filter_oh,
qpdf_oh decode_parms_oh)
{
do_with_oh_void(
qpdf, stream_oh, [qpdf, buf, len, filter_oh, decode_parms_oh](QPDFObjectHandle& o) {
QTC::TC("qpdf", "... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r15
movl %esi, 0x4(%rsp)
movq %rdi, %r13
leaq 0x8(%rsp), %r12
movq $0x0, 0x8(%r12)
movl $0x20, %edi
callq 0x19180
movq %r13, (%rax)
movq %r15, 0x8(%rax)
movq %r14, 0x10(%rax)
mo... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_get_num_pages | int
qpdf_get_num_pages(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_num_pages");
int n = -1;
QPDF_ERROR_CODE code =
trap_errors(qpdf, [&n](qpdf_data q) { n = QIntC::to_int(q->qpdf->getAllPages().size()); });
if (code & QPDF_ERRORS) {
return -1;
}
return n;
} | pushq %rbx
subq $0x30, %rsp
leaq 0xc(%rsp), %rax
movl $0xffffffff, (%rax) # imm = 0xFFFFFFFF
leaq 0x10(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movq %rax, (%rsi)
leaq 0x5aed(%rip), %rax # 0x158672
movq %rax, 0x18(%rsi)
leaq 0x5b1e(%rip), %rax # 0x1586ae
movq %rax, 0x10(%rsi)
callq 0x14aa3a
movl %eax, %ebx
movq 0x... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_get_page_n | qpdf_oh
qpdf_get_page_n(qpdf_data qpdf, size_t i)
{
QTC::TC("qpdf", "qpdf-c called qpdf_get_page_n");
qpdf_oh result = 0;
QPDF_ERROR_CODE code = trap_errors(
qpdf, [&result, i](qpdf_data q) { result = new_object(q, q->qpdf->getAllPages().at(i)); });
if ((code & QPDF_ERRORS) || (result == 0)) {
... | pushq %rbp
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x4(%rsp), %rcx
movl $0x0, (%rcx)
leaq 0x8(%rsp), %rax
movq %rcx, (%rax)
movq %rsi, 0x8(%rax)
leaq 0x5ab7(%rip), %rcx # 0x1586d4
movq %rcx, 0x18(%rax)
leaq 0x5b02(%rip), %rcx # 0x15872a
movq %rcx, 0x10(%rax)
movq %rax, %rsi
callq 0x14aa3a
movl %eax, ... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_update_all_pages_cache | QPDF_ERROR_CODE
qpdf_update_all_pages_cache(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_update_all_pages_cache");
return trap_errors(qpdf, [](qpdf_data q) { q->qpdf->updateAllPagesCache(); });
} | pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
leaq 0x5a9b(%rip), %rax # 0x158752
movq %rax, 0x18(%rsi)
leaq 0x5a9c(%rip), %rax # 0x15875e
movq %rax, 0x10(%rsi)
callq 0x14aa3a
movl %eax, %ebx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x152ce4
movq %rsp, %rdi
movq %rdi, %rs... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_find_page_by_id | int
qpdf_find_page_by_id(qpdf_data qpdf, int objid, int generation)
{
QTC::TC("qpdf", "qpdf-c called qpdf_find_page_by_id");
int n = -1;
QPDFObjGen og(objid, generation);
QPDF_ERROR_CODE code =
trap_errors(qpdf, [&n, &og](qpdf_data q) { n = QIntC::to_int(q->qpdf->findPage(og)); });
if (code ... | pushq %rbx
subq $0x30, %rsp
leaq 0x4(%rsp), %rax
movl $0xffffffff, (%rax) # imm = 0xFFFFFFFF
leaq 0x28(%rsp), %rcx
movl %esi, (%rcx)
movl %edx, 0x4(%rcx)
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movq %rcx, 0x8(%rsi)
leaq 0x5a31(%rip), %rax # 0x158776
movq %rax, 0x18(%rsi)
leaq 0x5a44(%rip), %rax # 0x158794
... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_push_inherited_attributes_to_page | QPDF_ERROR_CODE
qpdf_push_inherited_attributes_to_page(qpdf_data qpdf)
{
QTC::TC("qpdf", "qpdf-c called qpdf_push_inherited_attributes_to_page");
return trap_errors(qpdf, [](qpdf_data q) { q->qpdf->pushInheritedAttributesToPage(); });
} | pushq %rbx
subq $0x20, %rsp
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
leaq 0x5940(%rip), %rax # 0x1587ee
movq %rax, 0x18(%rsi)
leaq 0x5941(%rip), %rax # 0x1587fa
movq %rax, 0x10(%rsi)
callq 0x14aa3a
movl %eax, %ebx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x152edb
movq %rsp, %rdi
movq %rdi, %rs... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_add_page | QPDF_ERROR_CODE
qpdf_add_page(qpdf_data qpdf, qpdf_data newpage_qpdf, qpdf_oh newpage, QPDF_BOOL first)
{
QTC::TC("qpdf", "qpdf-c called qpdf_add_page");
auto page = qpdf_oh_item_internal(newpage_qpdf, newpage);
return trap_errors(qpdf, [&page, first](qpdf_data q) { q->qpdf->addPage(page, first); });
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movl %ecx, %ebx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x152fcc
leaq 0x10(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movq %r15, (%rsi)
movl %ebx, 0x8(%rsi)
leaq 0x58d0(%rip), %rax # 0x158812
movq %rax, 0x18(%rsi)
leaq 0x5941(%rip), %rax # 0x15888e
movq %r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_oh_item_internal(_qpdf_data*, unsigned int) | static QPDFObjectHandle
qpdf_oh_item_internal(qpdf_data qpdf, qpdf_oh item)
{
return do_with_oh<QPDFObjectHandle>(
qpdf,
item,
[]() { return QPDFObjectHandle::newNull(); },
[](QPDFObjectHandle& o) { return o; });
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x100(%rsp), %rsi
movaps %xmm0, (%rsi)
leaq 0x160a(%rip), %rax # 0x154600
movq %rax, 0x18(%rsi)
leaq 0x160d(%rip), %rax # 0x15460e
movq %rax, 0x10(%rsi... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_add_page_at | QPDF_ERROR_CODE
qpdf_add_page_at(
qpdf_data qpdf, qpdf_data newpage_qpdf, qpdf_oh newpage, QPDF_BOOL before, qpdf_oh refpage)
{
QTC::TC("qpdf", "qpdf-c called qpdf_add_page_at");
auto page = qpdf_oh_item_internal(newpage_qpdf, newpage);
auto ref = qpdf_oh_item_internal(qpdf, refpage);
return trap_er... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movl %r8d, %r12d
movl %ecx, %ebp
movq %rdi, %rbx
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x152fcc
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movl %r12d, %edx
callq 0x152fcc
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_remove_page | QPDF_ERROR_CODE
qpdf_remove_page(qpdf_data qpdf, qpdf_oh page)
{
QTC::TC("qpdf", "qpdf-c called qpdf_remove_page");
auto p = qpdf_oh_item_internal(qpdf, page);
return trap_errors(qpdf, [&p](qpdf_data q) { q->qpdf->removePage(p); });
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movl %esi, %edx
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x152fcc
leaq 0x18(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movq %r14, (%rsi)
leaq 0x539b(%rip), %rax # 0x1589e8
movq %rax, 0x18(%rsi)
leaq 0x5400(%rip), %rax # 0x158a58
movq %rax, 0x10(%r... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_create_from_json_file | QPDF_ERROR_CODE
qpdf_create_from_json_file(qpdf_data qpdf, char const* filename)
{
QPDF_ERROR_CODE status = QPDF_SUCCESS;
qpdf->filename = filename;
status = trap_errors(qpdf, [](qpdf_data q) { q->qpdf->createFromJSON(q->filename); });
return status;
} | pushq %rbx
subq $0x20, %rsp
movq %rsi, 0x78(%rdi)
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
leaq 0x5390(%rip), %rax # 0x158a7e
movq %rax, 0x18(%rsi)
leaq 0x53fd(%rip), %rax # 0x158af6
movq %rax, 0x10(%rsi)
callq 0x14aa3a
movl %eax, %ebx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x15371b
movq %rs... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_create_from_json_data | QPDF_ERROR_CODE
qpdf_create_from_json_data(qpdf_data qpdf, char const* buffer, unsigned long long size)
{
QPDF_ERROR_CODE status = QPDF_SUCCESS;
qpdf->filename = "json buffer";
qpdf->buffer = buffer;
qpdf->size = size;
auto b = new Buffer(QUtil::unsigned_char_pointer(buffer), QIntC::to_size(size));
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x2ec0e(%rip), %rax # 0x182378
movq %rax, 0x78(%rdi)
movq %rsi, 0x80(%rdi)
movq %rdx, 0x88(%rdi)
movl $0x8, %edi
callq 0x19180
movq %rax, %r14
movq %r12, %rdi
callq 0x13dec7
movq %r14, %rdi
movq %rax, %... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_update_from_json_file | QPDF_ERROR_CODE
qpdf_update_from_json_file(qpdf_data qpdf, char const* filename)
{
QPDF_ERROR_CODE status = QPDF_SUCCESS;
status = trap_errors(qpdf, [filename](qpdf_data q) { q->qpdf->updateFromJSON(filename); });
return status;
} | pushq %rbx
subq $0x20, %rsp
movq %rsp, %rax
movq $0x0, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x5307(%rip), %rcx # 0x158ba4
movq %rcx, 0x18(%rax)
leaq 0x5376(%rip), %rcx # 0x158c1e
movq %rcx, 0x10(%rax)
movq %rax, %rsi
callq 0x14aa3a
movl %eax, %ebx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x1538cd
movq %rsp, %rdi... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_update_from_json_data | QPDF_ERROR_CODE
qpdf_update_from_json_data(qpdf_data qpdf, char const* buffer, unsigned long long size)
{
QPDF_ERROR_CODE status = QPDF_SUCCESS;
auto b = new Buffer(QUtil::unsigned_char_pointer(buffer), QIntC::to_size(size));
auto is = std::make_shared<BufferInputSource>(qpdf->filename, b, true);
status... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movl $0x8, %edi
callq 0x19180
movq %rax, %r14
movq %r12, %rdi
callq 0x13dec7
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x1dd6a
leaq 0x40(%rsp), %r8
movq %r14, (%r8)
leaq 0x78(%rbx), %rcx
leaq 0xe(%rs... | /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_c_get_qpdf(_qpdf_data*) | std::shared_ptr<QPDF>
qpdf_c_get_qpdf(qpdf_data qpdf)
{
return qpdf->qpdf;
} | movq %rdi, %rax
movq (%rsi), %rcx
movq %rcx, (%rdi)
movq 0x8(%rsi), %rcx
movq %rcx, 0x8(%rdi)
testq %rcx, %rcx
je 0x153c91
movq 0x9c2fc(%rip), %rdx # 0x1eff80
cmpb $0x0, (%rdx)
je 0x153c8d
incl 0x8(%rcx)
retq
lock
incl 0x8(%rcx)
retq
| /jberkenbilt[P]qpdf/libqpdf/qpdf-c.cc |
qpdf_data::_qpdf_data() | _qpdf_data() = default; | leaq 0x40(%rdi), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq %rax, 0x48(%rdi)
movq %rax, 0x40(%rdi)
xorl %eax, %eax
movq %rax, 0x50(%rdi)
leaq 0x68(%rdi), %rcx
movq %rcx, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movb %al, 0x68(%rdi)
leaq 0xc0(%rdi... | /jberkenbilt[P]qpdf/libqpdf/qpdf/qpdf-c_impl.hh |
qpdf_data::~_qpdf_data() | ~_qpdf_data() = default; | pushq %rbx
movq %rdi, %rbx
movq 0x128(%rdi), %rdi
leaq 0x138(%rbx), %rax
cmpq %rax, %rdi
je 0x158f78
movq (%rax), %rsi
incq %rsi
callq 0x190e0
leaq 0xf0(%rbx), %rdi
callq 0x58270
leaq 0xb8(%rbx), %rdi
callq 0x15908c
movq 0xa8(%rbx), %rdi
testq %rdi, %rdi
je 0x158fa1
callq 0x1d0e8
movq 0x58(%rbx), %rdi
leaq 0x68(%rbx), ... | /jberkenbilt[P]qpdf/libqpdf/qpdf/qpdf-c_impl.hh |
qpdfjob_set_logger | void
qpdfjob_set_logger(qpdfjob_handle j, qpdflogger_handle logger)
{
j->j.setLogger(logger->l);
} | pushq %rbx
subq $0x10, %rsp
movq (%rsi), %rax
movq %rax, (%rsp)
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x15abdc
movq 0x953b2(%rip), %rcx # 0x1eff80
cmpb $0x0, (%rcx)
je 0x15abd8
incl 0x8(%rax)
jmp 0x15abdc
lock
incl 0x8(%rax)
movq %rsp, %rsi
callq 0x6f56e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi... | /jberkenbilt[P]qpdf/libqpdf/qpdfjob-c.cc |
qpdfjob_get_logger | qpdflogger_handle
qpdfjob_get_logger(qpdfjob_handle j)
{
return new _qpdflogger_handle(j->j.getLogger());
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
movl $0x10, %edi
callq 0x19180
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x6f540
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x15b924
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x15ac53
callq 0x1d0e8
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r... | /jberkenbilt[P]qpdf/libqpdf/qpdfjob-c.cc |
qpdfjob_initialize_from_argv | int
qpdfjob_initialize_from_argv(qpdfjob_handle j, char const* const argv[])
{
return wrap_qpdfjob(j, [argv](qpdfjob_handle jh) {
jh->j.initializeFromArgv(argv);
return 0;
});
} | pushq %rbx
subq $0x20, %rsp
movq %rsp, %rax
movq $0x0, 0x8(%rax)
movq %rsi, (%rax)
leaq 0x848(%rip), %rcx # 0x15b4ec
movq %rcx, 0x18(%rax)
leaq 0x853(%rip), %rcx # 0x15b502
movq %rcx, 0x10(%rax)
movq %rax, %rsi
callq 0x15ad08
movl %eax, %ebx
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x15acd4
movq %rsp, %rdi... | /jberkenbilt[P]qpdf/libqpdf/qpdfjob-c.cc |
qpdfjob_initialize_from_wide_argv | int
qpdfjob_initialize_from_wide_argv(qpdfjob_handle j, wchar_t const* const argv[])
{
int argc = 0;
for (auto k = argv; *k; ++k) {
++argc;
}
return QUtil::call_main_from_wmain(argc, argv, [j](int, char const* const new_argv[]) {
return qpdfjob_initialize_from_argv(j, new_argv);
});
... | pushq %rbx
subq $0x20, %rsp
cmpq $0x0, (%rsi)
je 0x15ae89
xorl %eax, %eax
cmpq $0x0, 0x8(%rsi,%rax,8)
leaq 0x1(%rax), %rax
jne 0x15ae7b
jmp 0x15ae8b
xorl %eax, %eax
movq %rsp, %rdx
movq $0x0, 0x8(%rdx)
movq %rdi, (%rdx)
leaq 0x688(%rip), %rcx # 0x15b528
movq %rcx, 0x18(%rdx)
leaq 0x689(%rip), %rcx # 0x15b53... | /jberkenbilt[P]qpdf/libqpdf/qpdfjob-c.cc |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.