name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
cnn::VariableIndex cnn::ComputationGraph::add_function<cnn::Sparsemax>(std::initializer_list<cnn::VariableIndex> const&) | inline VariableIndex ComputationGraph::add_function(const std::initializer_list<VariableIndex>& arguments) {
VariableIndex new_node_index(nodes.size());
nodes.push_back(new Function(arguments));
set_dim_for_new_node(new_node_index);
return new_node_index;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rsi), %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
subq (%rsi), %rax
shrq $0x3, %rax
movl %eax, (%rdi)
pushq $0x50
popq %rdi
callq 0x1568c0
movq %rax, %r15
movq %rax, %rdi
movq %r12, %rsi
callq 0x1560f0
movq %rsp, %rsi
movq %r14, %rdi
movq %r15, (... | /LeonCrashCode[P]InOrderParser/cnn/cnn.h |
cnn::VariableIndex cnn::ComputationGraph::add_function<cnn::PoissonRegressionLoss, unsigned int const*&>(std::initializer_list<cnn::VariableIndex> const&, unsigned int const*&) | inline VariableIndex ComputationGraph::add_function(const std::initializer_list<VariableIndex>& arguments,
Args&&... side_information) {
VariableIndex new_node_index(nodes.size());
nodes.push_back(new Function(arguments, std::forward<Args>(side_information)...));
set_... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq 0x8(%rsi), %rax
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
subq (%rsi), %rax
shrq $0x3, %rax
movl %eax, (%rdi)
pushq $0x60
popq %rdi
callq 0x1568c0
movq (%r12), %rdx
movq %rax, %r15
movq %rax, %rdi
movq %r13, %rsi
callq 0x... | /LeonCrashCode[P]InOrderParser/cnn/cnn.h |
cnn::VariableIndex cnn::ComputationGraph::add_function<cnn::KMaxPooling, unsigned int&>(std::initializer_list<cnn::VariableIndex> const&, unsigned int&) | inline VariableIndex ComputationGraph::add_function(const std::initializer_list<VariableIndex>& arguments,
Args&&... side_information) {
VariableIndex new_node_index(nodes.size());
nodes.push_back(new Function(arguments, std::forward<Args>(side_information)...));
set_... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq 0x8(%rsi), %rax
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
subq (%rsi), %rax
shrq $0x3, %rax
movl %eax, (%rdi)
pushq $0x58
popq %rdi
callq 0x1568c0
movl (%r12), %edx
movq %rax, %r15
movq %rax, %rdi
movq %r13, %rsi
callq 0x... | /LeonCrashCode[P]InOrderParser/cnn/cnn.h |
cnn::VariableIndex cnn::ComputationGraph::add_function<cnn::PickRange, unsigned int&, unsigned int&>(std::initializer_list<cnn::VariableIndex> const&, unsigned int&, unsigned int&) | inline VariableIndex ComputationGraph::add_function(const std::initializer_list<VariableIndex>& arguments,
Args&&... side_information) {
VariableIndex new_node_index(nodes.size());
nodes.push_back(new Function(arguments, std::forward<Args>(side_information)...));
set_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rsi), %rax
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r14
movq %rdi, %rbx
subq (%rsi), %rax
shrq $0x3, %rax
movl %eax, (%rdi)
pushq $0x58
popq %rdi
callq 0x1568c0
movl (%r13), %edx
movl (%r12), %ecx
movq %rax, %r15
mo... | /LeonCrashCode[P]InOrderParser/cnn/cnn.h |
cnn::LSTMBuilder::start_new_sequence_impl(std::vector<cnn::expr::Expression, std::allocator<cnn::expr::Expression>> const&) | void LSTMBuilder::start_new_sequence_impl(const vector<Expression>& hinit) {
h.clear();
c.clear();
if (hinit.size() > 0) {
assert(layers*2 == hinit.size());
h0.resize(layers);
c0.resize(layers);
for (unsigned i = 0; i < layers; ++i) {
c0[i] = hinit[i];
h0[i] = hinit[i + layers];
}
... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x58, %rdi
movq %rsi, %r14
callq 0x15c8c0
leaq 0x70(%rbx), %rdi
callq 0x15c8c0
movq 0x8(%r14), %rax
subq (%r14), %rax
je 0x17505e
movl 0xc0(%rbx), %esi
sarq $0x4, %rax
leal (%rsi,%rsi), %ecx
cmpq %rcx, %rax
jne 0x17506e
leaq 0x90(%rbx), %rdi
callq 0x15d6d0
movl 0xc... | /LeonCrashCode[P]InOrderParser/cnn/lstm.cc |
cnn::LSTMBuilder::final_s() const | std::vector<Expression> final_s() const override {
std::vector<Expression> ret = (c.size() == 0 ? c0 : c.back());
for(auto my_h : final_h()) ret.push_back(my_h);
return ret;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0x78(%rsi), %rax
movq %rsi, %r14
leaq 0xa8(%rsi), %rcx
movq %rdi, %rbx
cmpq 0x70(%r14), %rax
leaq -0x18(%rax), %rsi
cmoveq %rcx, %rsi
callq 0x153500
movq (%r14), %rax
movq %rsp, %rdi
movq %r14, %rsi
callq *0x18(%rax)
movq (%rsp), %r15
movq 0x8(%rsp), %r1... | /LeonCrashCode[P]InOrderParser/cnn/lstm.h |
cnn::Parameters::Parameters(cnn::Dim const&, float) | Parameters::Parameters(const Dim& d, float scale) : dim(d) {
values.d = g.d = d;
values.v = static_cast<float*>(ps->allocate(d.size() * sizeof(float)));
if (scale) {
TensorTools::Randomize(values, scale);
}
else {
TensorTools::Randomize(values);
}
g.v = static_cast<float*>(ps->allocate(d.size() * ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x159a16(%rip), %rax # 0x2cf7e0
vmovss %xmm0, 0x4(%rsp)
movq 0x159e69(%rip), %rbp # 0x2cfc40
leaq 0x60(%rdi), %rbx
leaq 0xa8(%rdi), %r15
movq %rsi, %r12
movq %rdi, %r14
addq $0x10, %rax
movq %rax, (%rdi)
vmovups (%rsi), %ymm0
vmovup... | /LeonCrashCode[P]InOrderParser/cnn/model.cc |
cnn::LookupParameters::g_squared_l2norm(float*) const | void LookupParameters::g_squared_l2norm(float* sqnorm) const {
#if HAVE_CUDA
bool acc = false;
for (auto i : non_zero_grads) {
gpu::l2_norm_reducer(grads[i].d.size(), grads[i].v, sqnorm, true, acc);
acc = true;
}
#else
real a = 0;
for (auto i : non_zero_grads)
a += (*grads[i]).squaredNorm();
*sq... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x70(%rdi), %r12
vxorps %xmm0, %xmm0, %xmm0
leaq 0x8(%rsp), %r15
movq %rsi, %rbx
movq %rdi, %r14
movq (%r12), %r12
testq %r12, %r12
je 0x1762fa
movl 0x8(%r12), %eax
movq %r15, %rdi
vmovss %xmm0, 0x4(%rsp)
imulq $0x48, %rax, %rsi
addq 0x48(%r14), %rsi
cal... | /LeonCrashCode[P]InOrderParser/cnn/model.cc |
cnn::Model::add_parameters(cnn::Dim const&, float) | Parameters* Model::add_parameters(const Dim& d, float scale) {
Parameters* p = new Parameters(d, scale);
all_params.push_back(p);
params.push_back(p);
return p;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl $0xc0, %edi
vmovss %xmm0, 0xc(%rsp)
movq %rsi, %r15
callq 0x1568c0
movq %rax, %r14
vmovss 0xc(%rsp), %xmm0
movq %rax, %rdi
movq %r15, %rsi
callq 0x150090
leaq 0x18(%rsp), %r15
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
movq %r14, (%r15)
movq %r14, (%rsi)... | /LeonCrashCode[P]InOrderParser/cnn/model.cc |
void cnn::LookupParameters::load<boost::archive::text_iarchive>(boost::archive::text_iarchive&, unsigned int) | void load(Archive& ar, const unsigned int) {
ar & dim;
int nv;
ar & nv;
assert(nv == (int)values.size());
for (unsigned i = 0; i < values.size(); ++i)
ar & values[i];
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0x8(%rdi), %rsi
movq %rdi, %r14
movq %rbx, %rdi
callq 0x150ef0
leaq 0x4(%rsp), %r15
leaq 0x28(%rbx), %rdi
movq %r15, %rsi
callq 0x153a80
movq 0x38(%r14), %rcx
movq 0x30(%r14), %rsi
movl (%r15), %edi
movq %rcx, %rax
subq %rsi, %rax
pushq $0x48
p... | /LeonCrashCode[P]InOrderParser/cnn/model.h |
cnn::mp::CreateWorkloads(unsigned int) | std::vector<Workload> CreateWorkloads(unsigned num_children) {
int err;
std::vector<Workload> workloads(num_children);
for (unsigned cid = 0; cid < num_children; cid++) {
err = pipe(workloads[cid].p2c);
assert (err == 0);
err = pipe(workloads[cid].c2p);
assert (err == ... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x7(%rsp), %rdx
movl %esi, %r14d
movq %r14, %rsi
movq %rdi, %rbx
callq 0x15edb0
imulq $0x14, %r14, %r14
pushq $-0x14
popq %r15
leaq 0x14(%r15), %r12
cmpq %r12, %r14
je 0x17ae6f
movq (%rbx), %rax
leaq 0x20(%rax,%r15), %rdi
callq 0x159c10
testl %eax, %eax
jne 0x... | /LeonCrashCode[P]InOrderParser/cnn/mp.cc |
cnn::SparsemaxLoss::forward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor&) const | void SparsemaxLoss::forward_impl(const vector<const Tensor*>& xs, Tensor& fx) const {
if (xs[0]->d.cols() == 1) {
#if HAVE_CUDA
throw std::runtime_error("SparsemaxLoss not implemented on GPU");
#else
const int rows = xs[0]->d.rows();
if (rows > MAX_SPARSEMAX_LOSS_ROWS) {
cerr << "MAX_SPARSEMAX_LOSS_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp # imm = 0x208
movq (%rsi), %rax
movq %rsi, %r13
movq %rdi, %rbx
movq (%rax), %rax
cmpl $0x2, 0x1c(%rax)
jb 0x17b06f
cmpl $0x1, 0x4(%rax)
jne 0x17b2db
movslq (%rax), %r15
cmpq $0x10001, %r15 # imm = 0x10001
jge 0x17b3... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::SparsemaxLoss::backward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor const&, cnn::Tensor const&, unsigned int, cnn::Tensor&) const | void SparsemaxLoss::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
#if HAVE_CUDA
throw std::runtime_error("Sp... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe0, %rsp
movq 0x28(%rcx), %rax
leaq 0xc0(%rsp), %rbx
movq %r9, %r14
movq %rdi, %r15
vmovss (%rax), %xmm0
vmovss %xmm0, 0xc(%rsp)
vmovss %xmm0, 0x8(%rsp)
movq 0x68(%rdi), %rcx
movq (%rsi), %r8
movq 0x48(%rdi), %rax
movq 0x8(%rcx), %r12
subq (%rcx), %r12
movq... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::Pow::backward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor const&, cnn::Tensor const&, unsigned int, cnn::Tensor&) const | void Pow::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
assert(xs.size() == 2);
#ifdef HAVE_CUDA
throw std::runtime_error("Pow not yet implemented... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x220, %rsp # imm = 0x220
movq (%rsi), %rax
movq 0x8(%rsi), %rdi
movq %rcx, %r14
subq %rax, %rdi
cmpq $0x10, %rdi
jne 0x17bfde
movq %rsi, %r12
movq (%rax), %rsi
leaq 0x10(%rsp), %rdi
movq %r9, %rbx
movl %r8d, %ebp
movq %rdx, %r15
callq 0x15c570
mov... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::ConstScalarMultiply::backward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor const&, cnn::Tensor const&, unsigned int, cnn::Tensor&) const | void ConstScalarMultiply::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
assert(i == 0);
#ifdef HAVE_CUDA... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
testl %r8d, %r8d
jne 0x17c746
leaq 0x20(%rsp), %r15
movq %rdi, %r14
movq %r9, %rbx
movq %rcx, %rsi
movq %r15, %rdi
callq 0x159d10
addq $0x50, %r14
leaq 0x38(%rsp), %r12
movq %r15, %rsi
movq %r12, %rdi
movq %r14, %rdx
callq 0x159820
leaq 0x8(%rsp), %r14
movq %... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::LogSumExp::backward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor const&, cnn::Tensor const&, unsigned int, cnn::Tensor&) const | void LogSumExp::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
if (xs.size() == 0) {
*dEdxi += *dEdf;
return;
}
// df/dx_i = 1/{sum_j exp(x_j)} * exp... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp # imm = 0x1E8
movq 0x8(%rsi), %rax
movq %r9, %r12
movq %rcx, %r14
cmpq (%rsi), %rax
je 0x17d9eb
leaq 0xa0(%rsp), %rbx
movq %rsi, %r13
movl %r8d, %ebp
movq %rdx, %r15
movq %r12, %rsi
movq %rbx, %rdi
callq 0x151dd0
movq (%r13),... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::SumBatches::backward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor const&, cnn::Tensor const&, unsigned int, cnn::Tensor&) const | void SumBatches::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
assert(i == 0);
#if HAVE_CUDA
for (unsigned i = 0; i < dEdxi.d.bd; ++i)
CUBLAS_CHECK(cublas... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
testl %r8d, %r8d
jne 0x17dfae
leaq 0x20(%rsp), %r15
movq %r9, %rbx
movq %rcx, %r14
xorl %ebp, %ebp
movq %rsp, %r12
cmpl 0x20(%rbx), %ebp
jae 0x17dfa1
movq %r15, %rdi
movq %r14, %rsi
callq 0x15c570
movq %r12, %rdi
movq %rbx, %rsi
movl %ebp, %edx
cal... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::Average::backward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor const&, cnn::Tensor const&, unsigned int, cnn::Tensor&) const | void Average::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
dEdxi.vec() += (dEdf.vec() / xs.size());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
leaq 0x28(%rsp), %r15
movq %rsi, %r14
movq %r9, %rbx
movq %rcx, %rsi
movq %r15, %rdi
callq 0x159d10
movq 0x8(%r14), %rax
leaq 0x8(%rsp), %rdx
movq %r15, %rsi
subq (%r14), %rax
leaq 0x40(%rsp), %r14
movq %r14, %rdi
sarq $0x3, %rax
movq %rax, (%rdx)
callq 0x15a2d0
leaq 0x... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::Concatenate::forward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor&) const | void Concatenate::forward_impl(const vector<const Tensor*>& xs, Tensor& fx) const {
unsigned rows = 0;
for (auto x : xs) rows += x->d.rows();
// the following should use auxiliary memory
src_row_indices.resize(xs.size());
unsigned ind = 0;
unsigned k = 0;
for (auto x : xs) {
src_row_indices[k++] = ind... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r15
movq 0x8(%rsi), %rsi
addq $0x50, %rdi
movq %rdx, 0x8(%rsp)
subq (%r15), %rsi
movq %rdi, (%rsp)
sarq $0x3, %rsi
callq 0x14e2b0
movq 0x8(%r15), %rax
movq (%r15), %rbx
xorl %r15d, %r15d
xorl %r14d, %r14d
movq %rax, 0x10(%rsp... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::PickRange::forward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor&) const | void SumBatches::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
assert(i == 0);
#if HAVE_CUDA
for (unsigned i = 0; i < dEdxi.d.bd; ++i)
CUBLAS_CHECK(cublas... | pushq %r15
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
subq %rax, %rcx
cmpq $0x8, %rcx
jne 0x17fe64
movq (%rax), %rsi
movq %rdx, %rbx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x15c570
cmpq $0x1, 0x10(%r15)
jne 0x17fe83
movl 0x54(%r14), %eax
cmpq %rax, 0x8(%rsp)
jl 0x17fea2... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::CwiseMultiply::backward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor const&, cnn::Tensor const&, unsigned int, cnn::Tensor&) const | void CwiseMultiply::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
assert(i < 2);
if (i == 0) {
#if HAVE_CUDA
gpu::vcwise_p... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
cmpl $0x2, %r8d
jae 0x1806ba
movq %r9, %rbx
movq %rcx, %r14
testl %r8d, %r8d
je 0x180659
movq (%rsi), %rax
movq (%rax), %rsi
jmp 0x180660
movq (%rsi), %rax
movq 0x8(%rax), %rsi
leaq 0x38(%rsp), %r15
movq %r15, %rdi
callq 0x159d10
leaq 0x20(%rsp), %r12
movq %r... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::LogisticSigmoid::forward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor&) const | void SumBatches::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
assert(i == 0);
#if HAVE_CUDA
for (unsigned i = 0; i < dEdxi.d.bd; ++i)
CUBLAS_CHECK(cublas... | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
subq %rax, %rcx
cmpq $0x8, %rcx
jne 0x181596
movq (%rax), %rsi
leaq 0x18(%rsp), %r14
movq %rdx, %rbx
movq %r14, %rdi
callq 0x159d10
vmovups (%r14), %xmm0
movb 0x10(%r14), %al
leaq 0x30(%rsp), %r15
movq %rsp, %r14
movq %r14, %rdi
mo... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::Zeroes::forward_impl(std::vector<cnn::Tensor const*, std::allocator<cnn::Tensor const*>> const&, cnn::Tensor&) const | void SumBatches::backward_impl(const vector<const Tensor*>& xs,
const Tensor& fx,
const Tensor& dEdf,
unsigned i,
Tensor& dEdxi) const {
assert(i == 0);
#if HAVE_CUDA
for (unsigned i = 0; i < dEdxi.d.bd; ++i)
CUBLAS_CHECK(cublas... | pushq %rbx
movq 0x8(%rsi), %rax
cmpq (%rsi), %rax
jne 0x181962
movq 0x28(%rdx), %rbx
addq $0x50, %rdi
callq 0x150230
movl %eax, %edx
shlq $0x2, %rdx
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
jmp 0x152790
leaq 0x8f001(%rip), %rdi # 0x21096a
leaq 0x8d4f2(%rip), %rsi # 0x20ee62
leaq 0x8f002(%rip), %rcx # 0x210... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
Eigen::Map<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0>>::Scalar cnn::logdet<Eigen::Map<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0>>>(Eigen::Map<Eigen::Matrix<float, -1, -1, 0, -1, -1>, 0, Eigen::Stride<0, 0>> const&, bool) | inline typename MatrixType::Scalar logdet(const MatrixType& M, bool use_cholesky = false) {
using namespace Eigen;
using std::log;
typedef typename MatrixType::Scalar Scalar;
Scalar ld = 0;
if (use_cholesky) {
LLT<Matrix<Scalar,Dynamic,Dynamic>> chol(M);
auto& U = chol.matrixL();
for (unsigned i =... | pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
leaq 0x30(%rsp), %r14
movq %rdi, %rbx
movq %r14, %rdi
testl %esi, %esi
je 0x18238d
movq %rbx, %rsi
callq 0x152c40
movq %r14, %rdi
callq 0x14e0e0
leaq 0x28(%rsp), %r14
vxorps %xmm0, %xmm0, %xmm0
xorl %r15d, %r15d
movq %rax, (%r14)
vmovss %xmm0, 0x10(%rsp)
movl %r15d, %r1... | /LeonCrashCode[P]InOrderParser/cnn/nodes.cc |
cnn::Sparsemax::dim_forward(std::vector<cnn::Dim, std::allocator<cnn::Dim>> const&) const | Dim Sparsemax::dim_forward(const vector<Dim>& xs) const {
if (xs.size() != 1 || !LooksLikeVector(xs[0])) {
ostringstream s; s << "Bad input dimensions in Sparsemax: " << xs;
throw std::invalid_argument(s.str());
}
return xs[0];
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rdi, %r14
movq (%rdx), %rdi
movq 0x8(%rdx), %rax
movq %rdx, %rbx
subq %rdi, %rax
cmpq $0x24, %rax
jne 0x1e9c21
callq 0x157830
testb %al, %al
je 0x1e9c21
movq (%rbx), %rax
movl 0x20(%rax), %ecx
movl %ecx, 0x20(%r14)
vmovups (%rax), %ymm0
m... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::SelectCols::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string SelectCols::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << "select_cols(" << arg_names[0] << ", {csize=" << pcols->size() << "})";
return s.str();
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq %r12, %rdi
callq 0x159a30
leaq 0x83bd5(%rip), %rsi # 0x26dd66
movq %r12, %rdi
callq 0x156830
movq (%r15), %rsi
movq %rax, %rdi
callq 0x155ae0
leaq 0x83bc8(%rip)... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Dropout::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string Dropout::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << "dropout(" << arg_names[0] << ",p=" << p << ')';
return s.str();
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq %r12, %rdi
callq 0x159a30
leaq 0x82d9b(%rip), %rsi # 0x26e28c
movq %r12, %rdi
callq 0x156830
movq (%r15), %rsi
movq %rax, %rdi
callq 0x155ae0
leaq 0x82d36(%rip)... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Erf::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string Erf::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << "erf(" << arg_names[0] << ')';
return s.str();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp # imm = 0x180
leaq 0x8(%rsp), %r15
movq %rdi, %rbx
movq %rdx, %r14
movq %r15, %rdi
callq 0x159a30
leaq 0x82478(%rip), %rsi # 0x26e4b0
movq %r15, %rdi
callq 0x156830
movq (%r14), %rsi
movq %rax, %rdi
callq 0x155ae0
pushq $0x29
popq %rsi
movq %rax, %rdi
ca... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Cube::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string Cube::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << "cube(" << arg_names[0] << ')';
return s.str();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp # imm = 0x180
leaq 0x8(%rsp), %r15
movq %rdi, %rbx
movq %rdx, %r14
movq %r15, %rdi
callq 0x159a30
leaq 0x822f4(%rip), %rsi # 0x26e57e
movq %r15, %rdi
callq 0x156830
movq (%r14), %rsi
movq %rax, %rdi
callq 0x155ae0
pushq $0x29
popq %rsi
movq %rax, %rdi
ca... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Exp::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string Exp::as_string(const vector<string>& arg_names) const {
ostringstream os;
os << "exp(" << arg_names[0] << ')';
return os.str();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp # imm = 0x180
leaq 0x8(%rsp), %r15
movq %rdi, %rbx
movq %rdx, %r14
movq %r15, %rdi
callq 0x159a30
leaq 0x82272(%rip), %rsi # 0x26e5c2
movq %r15, %rdi
callq 0x156830
movq (%r14), %rsi
movq %rax, %rdi
callq 0x155ae0
pushq $0x29
popq %rsi
movq %rax, %rdi
ca... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::LogGamma::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string LogGamma::as_string(const vector<string>& arg_names) const {
ostringstream os;
os << "lgamma(" << arg_names[0] << ')';
return os.str();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp # imm = 0x180
leaq 0x8(%rsp), %r15
movq %rdi, %rbx
movq %rdx, %r14
movq %r15, %rdi
callq 0x159a30
leaq 0x821ee(%rip), %rsi # 0x26e604
movq %r15, %rdi
callq 0x156830
movq (%r14), %rsi
movq %rax, %rdi
callq 0x155ae0
pushq $0x29
popq %rsi
movq %rax, %rdi
ca... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Concatenate::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string Concatenate::as_string(const vector<string>& arg_names) const {
ostringstream os;
os << "concat(" << arg_names[0];
for (unsigned i = 1; i < arg_names.size(); ++i) {
os << ',' << arg_names[i];
}
os << ')';
return os.str();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x180, %rsp # imm = 0x180
leaq 0x8(%rsp), %r15
movq %rdi, %rbx
movq %rdx, %r14
movq %r15, %rdi
callq 0x159a30
leaq 0x820eb(%rip), %rsi # 0x26e690
movq %r15, %rdi
callq 0x156830
movq (%r14), %rsi
movq %rax, %rdi
callq 0x155ae0
pushq $0x1
popq %r... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Concatenate::dim_forward(std::vector<cnn::Dim, std::allocator<cnn::Dim>> const&) const | Dim Concatenate::dim_forward(const vector<Dim>& xs) const {
unsigned new_rows = 0;
Dim dr = xs[0];
if (LooksLikeVector(dr)) dr.resize(1);
for (auto c : xs) {
if (LooksLikeVector(c)) c.resize(1);
new_rows += c[0];
dr.set(0, c[0]);
if (dr.single_batch() != c.single_batch()) {
ostringstream s... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp # imm = 0x1D8
movq (%rdx), %rax
movq %rdx, %rbx
movq %rdi, %r14
movl 0x20(%rax), %ecx
movl %ecx, 0x20(%rdi)
vmovups (%rax), %ymm0
vmovups %ymm0, (%rdi)
vzeroupper
callq 0x157830
testb %al, %al
je 0x1ec682
movl $0x1, 0x1c(%r14... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::PickElement::dim_forward(std::vector<cnn::Dim, std::allocator<cnn::Dim>> const&) const | Dim PickElement::dim_forward(const vector<Dim>& xs) const {
assert(xs.size() == 1);
if (!LooksLikeVector(xs[0])) {
ostringstream s; s << "Bad input dimensions in PickElement: " << xs;
throw std::invalid_argument(s.str());
}
return Dim({1}, xs[0].bd);
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rdi, %r14
movq (%rdx), %rdi
movq 0x8(%rdx), %rax
subq %rdi, %rax
cmpq $0x24, %rax
jne 0x1ed863
movq %rdx, %rbx
callq 0x157830
testb %al, %al
je 0x1ed882
leaq 0x28(%rsp), %rsi
movl $0x1, (%rsi)
movq (%rbx), %rax
movl 0x20(%rax), %ecx
pushq... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Pow::as_string(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | string Pow::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << arg_names[0] << " ** " << arg_names[1];
return s.str();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x180, %rsp # imm = 0x180
leaq 0x8(%rsp), %r15
movq %rdi, %rbx
movq %rdx, %r14
movq %r15, %rdi
callq 0x159a30
movq (%r14), %rsi
movq %r15, %rdi
callq 0x155ae0
leaq 0x80d4f(%rip), %rsi # 0x26ec4c
movq %rax, %rdi
callq 0x156830
movq (%r14), %rsi
addq $0x20, %rsi
movq ... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::Pow::dim_forward(std::vector<cnn::Dim, std::allocator<cnn::Dim>> const&) const | string LogisticSigmoid::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << "\\sigma(" << arg_names[0] << ')';
return s.str();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp # imm = 0x1A8
movq (%rdx), %rsi
movq 0x8(%rdx), %rax
subq %rsi, %rax
cmpq $0x48, %rax
jne 0x1edfbf
movq %rdx, %rbx
movq %rdi, %r14
callq 0x14f580
movq (%rbx), %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
addq $0x24, %rsi
callq 0x14f580
vmovups (%r15)... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::HuberDistance::dim_forward(std::vector<cnn::Dim, std::allocator<cnn::Dim>> const&) const | string LogisticSigmoid::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << "\\sigma(" << arg_names[0] << ')';
return s.str();
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
movq (%rdx), %rax
movq 0x8(%rdx), %rcx
subq %rax, %rcx
cmpq $0x48, %rcx
jne 0x1ee7d6
vmovups (%rax), %ymm0
movq %rdi, %r14
leaq 0x30(%rsp), %rdi
movq %rdx, %rbx
vmovups %ymm0, (%rdi)
pushq $0x1
popq %rcx
movl %ecx, 0x20(%rdi)
movq %rsp, %rsi
vm... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::BinaryLogLoss::dim_forward(std::vector<cnn::Dim, std::allocator<cnn::Dim>> const&) const | string LogisticSigmoid::as_string(const vector<string>& arg_names) const {
ostringstream s;
s << "\\sigma(" << arg_names[0] << ')';
return s.str();
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq (%rdx), %rax
movq 0x8(%rdx), %rcx
subq %rax, %rcx
cmpq $0x48, %rcx
jne 0x1ef07c
cmpl $0x2, (%rax)
movq %rdx, %rbx
movq %rdi, %r14
je 0x1ef03c
cmpl $0x1, 0x1c(%rax)
jne 0x1ef09b
cmpl $0x2, 0x24(%rax)
je 0x1ef04c
cmpl $0x1, 0x40(%rax)
jne 0x... | /LeonCrashCode[P]InOrderParser/cnn/nodes-common.cc |
cnn::LookupNode::accumulate_grad(cnn::Tensor const&) | void LookupNode::accumulate_grad(const Tensor& g) {
if(pindex) {
params->accumulate_grad(*pindex, g);
} else {
assert (pindices);
const vector<Tensor>& gb = g.batch_elems();
for (unsigned b = 0; b < pindices->size(); ++b) {
unsigned i = pindices->at(b);
assert (i < params->values.size())... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq 0x78(%rdi), %rax
movq %rsi, %rdx
movq %rdi, %rbx
testq %rax, %rax
je 0x1f008b
movq 0xa0(%rbx), %rdi
movl (%rax), %esi
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0x15ae20
cmpq $0x0, 0x98(%rbx)
je 0x1f0130
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x151f30
x... | /LeonCrashCode[P]InOrderParser/cnn/param-nodes.cc |
cnn::SimpleRNNBuilder::SimpleRNNBuilder(unsigned int, unsigned int, unsigned int, cnn::Model*, bool) | SimpleRNNBuilder::SimpleRNNBuilder(unsigned layers,
unsigned input_dim,
unsigned hidden_dim,
Model* model,
bool support_lags) : layers(layers), lagging(support_lags) {
unsigned layer_input_dim = input_dim;
for (unsigned i = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq 0xdf2b1(%rip), %rax # 0x2cf780
orl $-0x1, 0x8(%rdi)
vxorps %xmm0, %xmm0, %xmm0
movl %ecx, %r13d
leaq 0x28(%rdi), %rcx
leaq 0x50(%rsp), %r14
leaq 0x30(%rsp), %rbp
movq %r8, %r15
movq %rdi, 0x18(%rsp)
vmovups %xmm0, 0xc(%rdi)
vmov... | /LeonCrashCode[P]InOrderParser/cnn/rnn.cc |
cnn::SimpleRNNBuilder::start_new_sequence_impl(std::vector<cnn::expr::Expression, std::allocator<cnn::expr::Expression>> const&) | void SimpleRNNBuilder::start_new_sequence_impl(const vector<Expression>& h_0) {
h.clear();
h0 = h_0;
if (h0.size()) { assert(h0.size() == layers); }
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x58, %rdi
movq %rsi, %r14
callq 0x15c8c0
leaq 0x70(%rbx), %rdi
movq %r14, %rsi
callq 0x1504d0
movq 0x78(%rbx), %rax
movq 0x70(%rbx), %rcx
subq %rcx, %rax
je 0x1f087b
movl 0x88(%rbx), %ecx
sarq $0x4, %rax
cmpq %rcx, %rax
jne 0x1f0883
addq $0x8, %rsp
popq %rbx
popq ... | /LeonCrashCode[P]InOrderParser/cnn/rnn.cc |
cnn::SimpleRNNBuilder::add_auxiliary_input(cnn::expr::Expression const&, cnn::expr::Expression const&) | Expression SimpleRNNBuilder::add_auxiliary_input(const Expression &in, const Expression &aux) {
const unsigned t = h.size();
h.push_back(vector<Expression>(layers));
Expression x = in;
for (unsigned i = 0; i < layers; ++i) {
const vector<Expression>& vars = param_vars[i];
assert(vars.size() >= L2H + 1... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %r13
leaq 0x58(%rsi), %r15
movq 0x58(%rsi), %r12
movq 0x60(%rsi), %rbp
movl 0x88(%rsi), %esi
leaq 0x40(%rsp), %r14
movq %rdx, %rbx
movq %rdi, 0x90(%rsp)
movq %rcx, 0xa8(%rsp)
movq %rsp, %rdx
movq %r14, %rdi
callq 0x15e430
movq... | /LeonCrashCode[P]InOrderParser/cnn/rnn.cc |
cnn::AllocateShadowParameters(cnn::Model const&) | vector<ShadowParameters> AllocateShadowParameters(const Model& m) {
vector<ShadowParameters> v;
v.reserve(m.parameters_list().size());
for (auto& p : m.parameters_list())
v.emplace_back(*p);
return v;
} | pushq %r15
pushq %r14
pushq %rbx
vxorps %xmm0, %xmm0, %xmm0
andq $0x0, 0x10(%rdi)
movq %rsi, %r14
movq %rdi, %rbx
vmovups %xmm0, (%rdi)
movq 0x20(%rsi), %rsi
subq 0x18(%r14), %rsi
sarq $0x3, %rsi
callq 0x14e9e0
movq 0x18(%r14), %r15
movq 0x20(%r14), %r14
cmpq %r14, %r15
je 0x200a29
movq (%r15), %rsi
movq %rbx, %rdi
cal... | /LeonCrashCode[P]InOrderParser/cnn/shadow-params.cc |
JSON::getDictItem(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | JSON
JSON::getDictItem(std::string const& key) const
{
if (auto v = m ? dynamic_cast<JSON_dictionary const*>(m->value.get()) : nullptr) {
if (auto it = v->members.find(key); it != v->members.end()) {
return it->second;
}
}
return makeNull();
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
movq (%rsi), %rax
testq %rax, %rax
je 0x2232d
movq (%rax), %rdi
testq %rdi, %rdi
je 0x2232d
leaq 0x1cbcb6(%rip), %rsi # 0x1edfd0
leaq 0x1cbb8f(%rip), %rdx # 0x1edeb0
xorl %ecx, %ecx
callq 0x19b30
movq %rax, %r15
jmp 0x22330
xorl %r15d, %r15d
testq %... | /jberkenbilt[P]qpdf/libqpdf/JSON.cc |
JSON::checkSchemaInternal(JSON::JSON_value*, JSON::JSON_value*, unsigned long, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::__cxx11::basic_string<char, std::char_t... | bool
JSON::checkSchemaInternal(
JSON_value* this_v,
JSON_value* sch_v,
unsigned long flags,
std::list<std::string>& errors,
std::string prefix)
{
auto* this_arr = dynamic_cast<JSON_array*>(this_v);
auto* this_dict = dynamic_cast<JSON_dictionary*>(this_v);
auto* sch_arr = dynamic_cast<JS... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movq %r8, %r15
movq %rcx, 0x58(%rsp)
movq %rdx, 0x88(%rsp)
movq %rsi, %r12
movq %rdi, %rbx
testq %rdi, %rdi
je 0x2264d
leaq 0x1cb999(%rip), %rsi # 0x1edfd0
leaq 0x1cb88a(%rip), %rdx # 0x1edec8
movq %rbx, %... | /jberkenbilt[P]qpdf/libqpdf/JSON.cc |
(anonymous namespace)::JSONParser::parse() | JSON
JSONParser::parse()
{
while (!done) {
getToken();
handleToken();
}
if (parser_state != ps_done) {
QTC::TC("libtests", "JSON parse premature EOF");
throw std::runtime_error("JSON: premature end of input");
}
auto const& tos = stack.back().item;
if (reactor && ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %rbx
movq %rdi, 0xd0(%rsp)
cmpb $0x0, 0x4040(%rsi)
je 0x23d9a
cmpl $0x9, 0x4070(%rbx)
jne 0x24f3d
movq 0x4080(%rbx), %r14
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x23d62
movq -0x10(%r14), %rax
testq %rax, %rax
je 0x23d5c
movq... | /jberkenbilt[P]qpdf/libqpdf/JSON.cc |
JSON::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | JSON
JSON::parse(std::string const& s)
{
BufferInputSource bis("json input", s);
JSONParser jp(bis, nullptr);
return jp.parse();
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x41a8, %rsp # imm = 0x41A8
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x100(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x13a9c9(%rip), %rsi # 0x160a3f
leaq 0x13a9cc(%rip), %rdx # 0x160a49
leaq 0xf0(%rsp), %rdi
callq 0x1f2ec
leaq 0x8(%rsp), %r14
leaq 0xf0(%rsp), ... | /jberkenbilt[P]qpdf/libqpdf/JSON.cc |
Pipeline::~Pipeline() | virtual ~Pipeline() = default; | movq %rdi, %rax
leaq 0x1c66ac(%rip), %rcx # 0x1ee018
movq %rcx, (%rdi)
movq 0x8(%rdi), %rdi
addq $0x18, %rax
cmpq %rax, %rdi
je 0x27987
movq (%rax), %rsi
incq %rsi
jmp 0x190e0
retq
| /jberkenbilt[P]qpdf/include/qpdf/Pipeline.hh |
JSONHandler::handle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, JSON) | void
JSONHandler::handle(std::string const& path, JSON j)
{
if (m->h.any_handler) {
m->h.any_handler(path, j);
return;
}
bool bvalue = false;
std::string s_value;
if (m->h.null_handler && j.isNull()) {
m->h.null_handler(path);
return;
}
if (m->h.string_handle... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
cmpq $0x0, 0x10(%rdi)
je 0x28854
movq (%r15), %rax
movq %rax, 0x60(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x28919
movq 0x1cb73d(%rip), %rcx ... | /jberkenbilt[P]qpdf/libqpdf/JSONHandler.cc |
MD5::encodeString(char const*) | void
MD5::encodeString(char const* str)
{
size_t len = strlen(str);
crypto->MD5_init();
encodeDataIncrementally(str, len);
crypto->MD5_finalize();
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x19420
movq %rax, %r15
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movq (%r14), %r12
movq %rbx, %rdi
callq 0x140990
movq (%r12), %rcx
movq %r12, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq *0x20(%rcx)
... | /jberkenbilt[P]qpdf/libqpdf/MD5.cc |
MD5::unparse[abi:cxx11]() | std::string
MD5::unparse()
{
this->crypto->MD5_finalize();
Digest digest_val;
digest(digest_val);
return QUtil::hex_encode(std::string(reinterpret_cast<char*>(digest_val), 16));
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq (%r14), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq (%r14), %rdi
movq (%rdi), %rax
leaq 0x30(%rsp), %r14
movq %r14, %rsi
callq *0x30(%rax)
leaq 0x18(%rsp),... | /jberkenbilt[P]qpdf/libqpdf/MD5.cc |
MD5::getFileChecksum[abi:cxx11](char const*, long long) | std::string
MD5::getFileChecksum(char const* filename, qpdf_offset_t up_to_offset)
{
MD5 m;
m.encodeFile(filename, up_to_offset);
return m.unparse();
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x29f48
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2a094
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x2a320
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2a4... | /jberkenbilt[P]qpdf/libqpdf/MD5.cc |
NNTreeIterator::NNTreeIterator(NNTreeImpl&) | NNTreeIterator::NNTreeIterator(NNTreeImpl& impl) :
impl(impl),
item_number(-1)
{
} | leaq 0x1c3b3d(%rip), %rax # 0x1ee0e0
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
leaq 0x10(%rdi), %rax
movq %rax, 0x18(%rdi)
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movq $0x0, 0x30(%rdi)
movl $0xffffffff, 0x38(%rdi) # imm = 0xFFFFFFFF
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x50(%rdi)
retq
nop
| /jberkenbilt[P]qpdf/libqpdf/NNTree.cc |
error(QPDF&, QPDFObjectHandle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | static void
error(QPDF& qpdf, QPDFObjectHandle& node, std::string const& msg)
{
throw QPDFExc(qpdf_e_damaged_pdf, qpdf.getFilename(), get_description(node), 0, msg);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl $0x80, %edi
callq 0x193f0
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
callq 0x3a9a0
movq %rsp, %rdi
movq %r15, %rsi
callq 0x300a4
movb $0x1, %bpl
leaq 0x20(%rsp), %rdx
movq %rsp, %rcx
m... | /jberkenbilt[P]qpdf/libqpdf/NNTree.cc |
warn(QPDF&, QPDFObjectHandle&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | static void
warn(QPDF& qpdf, QPDFObjectHandle& node, std::string const& msg)
{
qpdf.warn(qpdf_e_damaged_pdf, get_description(node), 0, msg);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x300a4
movq %r14, %rdi
movl $0x5, %esi
movq %r15, %rdx
xorl %ecx, %ecx
movq %rbx, %r8
callq 0x3a8be
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2acfe
movq 0x10(%rsp), %rsi
incq ... | /jberkenbilt[P]qpdf/libqpdf/NNTree.cc |
NNTreeIterator::deepen(QPDFObjectHandle, bool, bool) | bool
NNTreeIterator::deepen(QPDFObjectHandle node, bool first, bool allow_empty)
{
// Starting at this node, descend through the first or last kid until we reach a node with
// items. If we succeed, return true; otherwise return false and leave path alone.
auto opath = this->path;
bool failed = false;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movl %ecx, 0x9c(%rsp)
movl %edx, 0x54(%rsp)
movq %rsi, %r15
movq %rdi, 0x28(%rsp)
leaq 0x10(%rdi), %rbx
leaq 0xe0(%rsp), %rdi
movq %rbx, %rsi
callq 0x30356
leaq 0x100(%rsp), %rax
movl $0x0, (%rax)
xorl %ecx, %ec... | /jberkenbilt[P]qpdf/libqpdf/NNTree.cc |
NNTreeImpl::remove(QPDFObjectHandle, QPDFObjectHandle*) | bool
NNTreeImpl::remove(QPDFObjectHandle key, QPDFObjectHandle* value)
{
auto iter = find(key, false);
if (!iter.valid()) {
QTC::TC("qpdf", "NNTree remove not found");
return false;
}
if (value) {
*value = iter->second;
}
iter.remove();
return true;
} | pushq %rbp
pushq %rbx
subq $0x78, %rsp
movq %rdx, %rbx
movq %rdi, %rax
movq (%rsi), %rcx
movq %rcx, 0x8(%rsp)
movq 0x8(%rsi), %rcx
movq %rcx, 0x10(%rsp)
testq %rcx, %rcx
je 0x30005
movq 0x1c3f89(%rip), %rdx # 0x1f3f80
cmpb $0x0, (%rdx)
je 0x30001
incl 0x8(%rcx)
jmp 0x30005
lock
incl 0x8(%rcx)
leaq 0x18(%rsp), %rdi
l... | /jberkenbilt[P]qpdf/libqpdf/NNTree.cc |
Pl_LZWDecoder::write(unsigned char const*, unsigned long) | void
Pl_LZWDecoder::write(unsigned char const* bytes, size_t len)
{
for (size_t i = 0; i < len; ++i) {
buf[next_char_++] = bytes[i];
if (next_char_ == 3) {
next_char_ = 0;
}
this->bits_available += 8;
if (this->bits_available >= this->code_size) {
send... | testq %rdx, %rdx
je 0x36046
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
movb (%r14,%r12), %al
movl 0x38(%r15), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x38(%r15)
movb %al, 0x30(%r15,%rcx)
cmpl $0x3, 0x38(%r15)
jne 0x3601a
movl $0x0, 0x38(%r15)
mo... | /jberkenbilt[P]qpdf/libqpdf/Pl_LZWDecoder.cc |
Pl_OStream::~Pl_OStream() | Pl_OStream::~Pl_OStream() = default; | pushq %rbx
movq %rdi, %rbx
leaq 0x1b79b3(%rip), %rax # 0x1ee638
movq %rax, (%rdi)
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0x36c9b
movl $0x8, %esi
callq 0x190e0
movq $0x0, 0x30(%rbx)
leaq 0x1b736e(%rip), %rax # 0x1ee018
movq %rax, (%rbx)
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x36cc6
movq (%rbx... | /jberkenbilt[P]qpdf/libqpdf/Pl_OStream.cc |
Pl_PNGFilter::Pl_PNGFilter(char const*, Pipeline*, Pl_PNGFilter::action_e, unsigned int, unsigned int, unsigned int) | Pl_PNGFilter::Pl_PNGFilter(
char const* identifier,
Pipeline* next,
action_e action,
unsigned int columns,
unsigned int samples_per_pixel,
unsigned int bits_per_sample) :
Pipeline(identifier, next),
action(action)
{
if (!next) {
throw std::logic_error("Attempt to create Pl_PN... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %r9d, %r15d
movl %r8d, %r14d
movl %ecx, %ebp
movq %rdx, %r12
movq %rdi, %rbx
callq 0x31074
leaq 0x1b7962(%rip), %rax # 0x1ee680
movq %rax, (%rbx)
movl %ebp, 0x30(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rbx)
movups %xmm0, 0x50(%rbx)
mov... | /jberkenbilt[P]qpdf/libqpdf/Pl_PNGFilter.cc |
QPDFFormFieldObjectHelper::getQuadding() | int
QPDFFormFieldObjectHelper::getQuadding()
{
QPDFObjectHandle fv = getInheritableFieldValue("/Q");
bool looked_in_acroform = false;
if (!fv.isInteger()) {
fv = getFieldFromAcroForm("/Q");
looked_in_acroform = true;
}
int result = 0;
if (fv.isInteger()) {
QTC::TC("qpdf",... | pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xfa117(%rip), %rsi # 0x164095
leaq 0xfa112(%rip), %rdx # 0x164097
leaq 0x10(%rsp), %rdi
callq 0x1f2ec
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq 0x68cc2
movq 0x10(%rsp), %rdi
cmpq %r14, %rd... | /jberkenbilt[P]qpdf/libqpdf/QPDFFormFieldObjectHelper.cc |
QPDFFormFieldObjectHelper::getFlags() | int
QPDFFormFieldObjectHelper::getFlags()
{
QPDFObjectHandle f = getInheritableFieldValue("/Ff");
return f.isInteger() ? f.getIntValueAsInt() : 0;
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xfb263(%rip), %rsi # 0x165351
leaq 0xfb25f(%rip), %rdx # 0x165354
leaq 0x18(%rsp), %rdi
callq 0x1f2ec
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rdx
movq %rbx, %rsi
callq 0x68cc2
movq 0x18(%rsp), %rdi
cmpq %r14... | /jberkenbilt[P]qpdf/libqpdf/QPDFFormFieldObjectHelper.cc |
QPDFFormFieldObjectHelper::isText() | bool
QPDFFormFieldObjectHelper::isText()
{
return (getFieldType() == "/Tx");
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x690c2
leaq 0xfb19f(%rip), %rsi # 0x165355
movq %r14, %rdi
callq 0x19a90
movl %eax, %ebx
movq (%r14), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6a1da
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x190e0
testl %ebx, %eb... | /jberkenbilt[P]qpdf/libqpdf/QPDFFormFieldObjectHelper.cc |
QPDFFormFieldObjectHelper::isCheckbox() | bool
QPDFFormFieldObjectHelper::isCheckbox()
{
return ((getFieldType() == "/Btn") && ((getFlags() & (ff_btn_radio | ff_btn_pushbutton)) == 0));
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x690c2
leaq 0xf9e6d(%rip), %rsi # 0x164076
movq %r14, %rdi
callq 0x19a90
testl %eax, %eax
je 0x6a219
xorl %ebx, %ebx
jmp 0x6a229
movq %rbx, %rdi
callq 0x6a0d4
testl $0x18000, %eax # imm = 0x18... | /jberkenbilt[P]qpdf/libqpdf/QPDFFormFieldObjectHelper.cc |
QPDFFormFieldObjectHelper::isChecked() | bool
QPDFFormFieldObjectHelper::isChecked()
{
return isCheckbox() && getValue().isName() && (getValue().getName() != "/Off");
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
callq 0x6a1e8
movl %eax, %ebx
testb %al, %al
je 0x6a2df
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x69afc
movq %r15, %rdi
callq 0xc3696
testb %al, %al
je 0x6a2df
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x69afc
leaq 0x28(%r... | /jberkenbilt[P]qpdf/libqpdf/QPDFFormFieldObjectHelper.cc |
(anonymous namespace)::ArgParser::argSetPageLabels() | void
ArgParser::argSetPageLabels()
{
this->ap.selectOptionTable(O_SET_PAGE_LABELS);
accumulated_args.clear();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd5a9e(%rip), %rsi # 0x16d60c
leaq 0xd5aa6(%rip), %rdx # 0x16d61b
movq %rsp, %r14
movq %r14, %rdi
callq 0x1f2ec
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5d950
movq (%rsp), %rdi
cmpq %r15, %rdi
je ... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_argv.cc |
(anonymous namespace)::ArgParser::argUnderlay() | void
ArgParser::argUnderlay()
{
this->c_uo = c_main->underlay();
this->ap.selectOptionTable(O_UNDERLAY_OVERLAY);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0xa74e2
movaps (%r14), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r14)
movq 0x58(%rbx), %rdi
movups %xmm0, 0x50(%rbx)
testq %rdi, %rdi
je 0x97c14
callq 0x1f27c
movq 0x8(%rsp), %rdi
testq %rdi, %rd... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_argv.cc |
(anonymous namespace)::ArgParser::argEndPages() | void
ArgParser::argEndPages()
{
c_pages->endPages();
c_pages = nullptr;
} | pushq %rbx
movq %rdi, %rbx
movq 0x40(%rdi), %rdi
callq 0xa7130
xorps %xmm0, %xmm0
movq 0x48(%rbx), %rdi
movups %xmm0, 0x40(%rbx)
testq %rdi, %rdi
je 0x97cb5
popq %rbx
jmp 0x1f27c
popq %rbx
retq
nop
| /jberkenbilt[P]qpdf/libqpdf/QPDFJob_argv.cc |
QPDFJob::UOConfig::file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | QPDFJob::UOConfig*
QPDFJob::UOConfig::file(std::string const& parameter)
{
if (!config->o.m->under_overlay->filename.empty()) {
usage(config->o.m->under_overlay->which + " file already specified");
} else {
config->o.m->under_overlay->filename = parameter;
}
return this;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
movq (%rax), %rcx
movq (%rcx), %rcx
movq 0x378(%rcx), %rdi
cmpq $0x0, 0x28(%rdi)
je 0xa7685
movq (%rax), %rax
movq (%rax), %rax
movq 0x378(%rax), %rax
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
a... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc |
QPDFJob::UOConfig::from(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | QPDFJob::UOConfig*
QPDFJob::UOConfig::from(std::string const& parameter)
{
if (!parameter.empty()) {
config->o.parseNumrange(parameter.c_str(), 0);
}
config->o.m->under_overlay->from_nr = parameter;
return this;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x8(%rsi)
je 0xa7767
movq (%rbx), %rax
movq (%rax), %rsi
movq (%r14), %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x706d8
movq (%r15), %rdi
testq %rdi, %rdi
je 0xa7767
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
c... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_config.cc |
QPDFJob::EncConfig::extract(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | QPDFJob::EncConfig*
QPDFJob::EncConfig::extract(std::string const& parameter)
{
if (config->o.m->keylen == 40) {
config->o.m->r2_extract = (parameter == "y");
} else {
config->o.m->r3_extract = (parameter == "y");
}
return this;
} | pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %rbx
movq (%rdi), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
movl 0x110(%rcx), %ebp
leaq 0xc980a(%rip), %rsi # 0x1718cd
movq %rax, %rdi
callq 0x19a90
testl %eax, %eax
sete %al
movq (%rbx), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
cmpl $0x28, %ebp
jne 0xa80e6... | /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 0xba2a2
movq 0x20(%rbx), %rdi
movq (%r15), %rcx
movq 0x8(%r15), %rax
movq %rcx, 0x10(%rsp)
movq %rax, 0x18(%rsp)
testq %rax, %rax... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc |
(anonymous namespace)::Handlers::beginCopyAttachmentsFrom(JSON) | void
Handlers::beginCopyAttachmentsFrom(JSON)
{
this->c_copy_att = c_main->copyAttachmentsFrom();
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x28(%rdi), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0xa6882
movaps (%r14), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r14)
movq 0x40(%rbx), %rdi
movups %xmm0, 0x38(%rbx)
testq %rdi, %rdi
je 0xb525c
callq 0x1f27c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xb526... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc |
(anonymous namespace)::Handlers::endOverlay() | void
Handlers::endOverlay()
{
c_uo->endUnderlayOverlay();
c_uo = nullptr;
} | pushq %rbx
movq %rdi, %rbx
movq 0x68(%rdi), %rdi
callq 0xa754c
xorps %xmm0, %xmm0
movq 0x70(%rbx), %rdi
movups %xmm0, 0x68(%rbx)
testq %rdi, %rdi
je 0xb5509
popq %rbx
jmp 0x1f27c
popq %rbx
retq
nop
| /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 0xa74e2
movaps (%r15), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r15)
movq 0x70(%r14), %rdi
movups %xmm0, 0x68(%r14)
testq %rdi, %rdi
je 0xb554c
callq 0x1f27c
movq 0x8(%rsp), %rdi... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc |
(anonymous namespace)::Handlers::endUnderlay() | void
Handlers::endUnderlay()
{
c_uo->endUnderlayOverlay();
c_uo = nullptr;
} | pushq %rbx
movq %rdi, %rbx
movq 0x68(%rdi), %rdi
callq 0xa754c
xorps %xmm0, %xmm0
movq 0x70(%rbx), %rdi
movups %xmm0, 0x68(%rbx)
testq %rdi, %rdi
je 0xb5593
popq %rbx
jmp 0x1f27c
popq %rbx
retq
nop
| /jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc |
(anonymous namespace)::Handlers::ignoreItem() | void
Handlers::ignoreItem()
{
jh->addAnyHandler([](std::string const&, JSON) {});
} | pushq %rbx
subq $0x20, %rsp
movq 0x20(%rdi), %rdi
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
leaq 0x5d(%rip), %rax # 0xb6d12
movq %rax, 0x18(%rsi)
leaq 0x66(%rip), %rax # 0xb6d26
movq %rax, 0x10(%rsi)
callq 0x286da
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xb6ce0
movq %rsp, %rdi
movq %rdi, %... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.cc |
(anonymous namespace)::Handlers::beginUnderOverlay(JSON const&) | void
Handlers::beginUnderOverlay(JSON const& j)
{
// File has to be processed before items, so handle it here.
std::string file;
if (!j.getDictItem("file").getString(file)) {
QTC::TC("qpdf", "QPDFJob json over/under no file");
usage("file is required in underlay/overlay specification");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xc22e4(%rip), %rsi # 0x17bc1a
leaq 0xc22e1(%rip), %rdx # 0x17bc1e
movq %... | /jberkenbilt[P]qpdf/libqpdf/QPDFJob_json.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 0xbaae1
movq %rcx, (%rbx)
movq 0x58(%rax), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0xbaaf2
movq 0x1394a9(%rip), %rcx # 0x1f3f80
cmpb $0x0, (%rcx)
je 0xbaaee
incl 0x8(%rax)
jmp 0xbaaf2
movzbl %dl, %edx
movq %rbx, %rdi
callq 0... | /jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc |
QPDFLogger::warn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void
QPDFLogger::warn(std::string const& s)
{
getWarn(false)->writeString(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 0xbaab0
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x311a4
movq 0x10(%rsp), %rdi
addq $0x18, %rsp
testq %rdi, %rdi
je 0xbab35
popq %rbx
popq %r14
jmp 0x1f27c
popq %rbx
popq %r14
retq
movq %rax,... | /jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc |
QPDFLogger::getError(bool) | std::shared_ptr<Pipeline>
QPDFLogger::getError(bool null_okay)
{
return throwIfNull(m->p_error, null_okay);
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x60(%rax), %rcx
movq %rcx, (%rsp)
movq 0x68(%rax), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0xbab8a
movq 0x139404(%rip), %rcx # 0x1f3f80
cmpb $0x0, (%rcx)
je 0xbab86
incl 0x8(%rax)
jmp 0xbab8a
lock
incl 0x8(%rax)
movzbl %dl, %ecx
movq %rsp, %rd... | /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 0xbab54
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x3116e
movq 0x10(%rsp), %rdi
addq $0x18, %rsp
testq %rdi, %rdi
je 0xbac07
popq %rbx
popq %r14
jmp 0x1f27c
popq %rbx
popq %r14
retq
movq %rax,... | /jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc |
QPDFLogger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void
QPDFLogger::error(std::string const& s)
{
getError(false)->writeString(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 0xbab54
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x311a4
movq 0x10(%rsp), %rdi
addq $0x18, %rsp
testq %rdi, %rdi
je 0xbac63
popq %rbx
popq %r14
jmp 0x1f27c
popq %rbx
popq %r14
retq
movq %rax,... | /jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc |
QPDFLogger::getSave(bool) | std::shared_ptr<Pipeline>
QPDFLogger::getSave(bool null_okay)
{
return throwIfNull(m->p_save, null_okay);
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x70(%rax), %rcx
movq %rcx, (%rsp)
movq 0x78(%rax), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0xbacb8
movq 0x1392d6(%rip), %rcx # 0x1f3f80
cmpb $0x0, (%rcx)
je 0xbacb4
incl 0x8(%rax)
jmp 0xbacb8
lock
incl 0x8(%rax)
movzbl %dl, %ecx
movq %rsp, %rd... | /jberkenbilt[P]qpdf/libqpdf/QPDFLogger.cc |
QPDFLogger::standardError() | std::shared_ptr<Pipeline>
QPDFLogger::standardError()
{
return m->p_stderr;
} | movq %rdi, %rax
movq (%rsi), %rcx
movq 0x30(%rcx), %rdx
movq %rdx, (%rdi)
movq 0x38(%rcx), %rcx
movq %rcx, 0x8(%rdi)
testq %rcx, %rcx
je 0xbad56
movq 0x139237(%rip), %rdx # 0x1f3f80
cmpb $0x0, (%rdx)
je 0xbad52
incl 0x8(%rcx)
retq
lock
incl 0x8(%rcx)
retq
nop
| /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
... | subq $0x38, %rsp
cmpl $0x10e, %esi # imm = 0x10E
je 0xbc336
cmpl $0xb4, %esi
je 0xbc313
cmpl $0x5a, %esi
jne 0xbc36c
xorl %eax, %eax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x8(%rsi)
movabsq $-0x4010000000000000, %rcx # imm = 0xBFF0000000... | /jberkenbilt[P]qpdf/libqpdf/QPDFMatrix.cc |
QPDFNameTreeObjectHelper::begin() const | QPDFNameTreeObjectHelper::iterator
QPDFNameTreeObjectHelper::begin() const
{
return {std::make_shared<NNTreeIterator>(m->impl->begin())};
} | 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 0x2decc
leaq 0x10(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x8(%rsp), %rsi
leaq 0x7(%rsp), %rdx
movq %r14, %rcx
callq 0xbd772
leaq 0x132a10(%rip), %rax # 0x1ef5b0
movq %rax, (%rbx)... | /jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc |
QPDFNameTreeObjectHelper::find(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) | QPDFNameTreeObjectHelper::iterator
QPDFNameTreeObjectHelper::find(std::string const& key, bool return_prev_if_not_found)
{
auto i = m->impl->find(QPDFObjectHandle::newUnicodeString(key), return_prev_if_not_found);
return {std::make_shared<NNTreeIterator>(i)};
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x88, %rsp
movl %ecx, %ebp
movq %rdi, %rbx
movq 0x28(%rsi), %rax
movq (%rax), %r14
leaq 0x18(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0xc9286
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %ebp, %ecx
callq 0x2f296
movq 0x20(%rsp), %rdi
testq %rdi, %... | /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 0xbcb5c
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0xbcc24
leaq 0x50(%rsp),... | /jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc |
(anonymous namespace)::NameTreeDetails::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.getUTF8Va... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %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 0xbd332
movq 0x136c5c(%rip), %rcx # 0x1f3f80
cmpb $0x0, (%rcx)
je 0xbd32e
incl 0x8(%rax)
jmp 0xbd332
lock... | /jberkenbilt[P]qpdf/libqpdf/QPDFNameTreeObjectHelper.cc |
QPDFNumberTreeObjectHelper::QPDFNumberTreeObjectHelper(QPDFObjectHandle, QPDF&, bool) | QPDFNumberTreeObjectHelper::QPDFNumberTreeObjectHelper(
QPDFObjectHandle oh, QPDF& q, bool auto_repair) :
QPDFObjectHelper(oh),
m(new Members(oh, q, auto_repair))
{
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rsi), %rax
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
je 0xbdd81
movq 0x13621c(%rip), %rcx # 0x1f3f80
cmpb $0x0, (%rcx)
je 0xbdd6e
incl 0x8(%rdi)
jmp 0xbdd72
lock
incl 0x8(%rdi)
testq %rdi, %rdi
j... | /jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc |
QPDFNumberTreeObjectHelper::insert(long long, QPDFObjectHandle) | QPDFNumberTreeObjectHelper::iterator
QPDFNumberTreeObjectHelper::insert(numtree_number key, QPDFObjectHandle value)
{
auto i = m->impl->insert(QPDFObjectHandle::newInteger(key), value);
return {std::make_shared<NNTreeIterator>(i)};
} | pushq %r15
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rcx, %r15
movq %rdi, %rbx
movq 0x28(%rsi), %rax
movq (%rax), %r14
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0xc6f2e
movq (%r15), %rax
movq %rax, 0x20(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0xbe4e5
movq 0x135aa9(%rip), %rcx # 0x1f... | /jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc |
QPDFNumberTreeObjectHelper::hasIndex(long long) | bool
QPDFNumberTreeObjectHelper::hasIndex(numtree_number idx)
{
auto i = find(idx);
return (i != this->end());
} | pushq %rbx
subq $0x60, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
callq 0xbe390
movq %rsp, %rdi
movq %rbx, %rsi
callq 0xbe218
movq 0x38(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x2de10
movl %eax, %ebx
xorb $0x1, %bl
movq %rsp, %rdi
callq 0xbebfc
leaq 0x30(%rsp), %rdi
callq ... | /jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc |
QPDFNumberTreeObjectHelper::findObject(long long, QPDFObjectHandle&) | bool
QPDFNumberTreeObjectHelper::findObject(numtree_number idx, QPDFObjectHandle& oh)
{
auto i = find(idx);
if (i == end()) {
return false;
}
oh = i->second;
return true;
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdx, %rbx
movq %rsi, %rdx
movq %rdi, %r14
movq %rsp, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0xbe390
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0xbe218
movq 0x8(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x2de10
movl %eax, %ebp
leaq 0x30(%rsp), %rdi
callq 0xbebfc... | /jberkenbilt[P]qpdf/libqpdf/QPDFNumberTreeObjectHelper.cc |
qpdf::BaseHandle::write_json(int, JSON::Writer&) const | void
BaseHandle::write_json(int json_version, JSON::Writer& p) const
{
switch (resolved_type_code()) {
case ::ot_uninitialized:
throw std::logic_error(
"QPDFObjectHandle: attempting to get JSON from a uninitialized object");
break; // unreachable
case ::ot_null:
case ::ot_ope... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq (%rdi), %rcx
testq %rcx, %rcx
je 0xc1e33
movsbl 0x30(%rcx), %eax
cmpl $0xd, %eax
jne 0xc1e35
movq 0x48(%rcx), %rdi
movq 0x50(%rcx), %rsi
callq 0x12d67e
movq (%rax), %rax
movsbl 0x30(%r... | /jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc |
QPDFObjectHandle::writeJSON(int, JSON::Writer&, bool) const | void
QPDFObjectHandle::writeJSON(int json_version, JSON::Writer& p, bool dereference_indirect) const
{
if (!dereference_indirect && isIndirect()) {
p << "\"" << getObjGen().unparse(' ') << " R\"";
} else if (!obj) {
throw std::logic_error("attempted to dereference an uninitialized QPDFObjectHand... | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rdi, %r14
testl %ecx, %ecx
jne 0xc296a
movq (%r14), %rax
testq %rax, %rax
je 0xc296a
cmpl $0x0, 0x50(%rax)
je 0xc296a
movq (%rbx), %rdi
movq (%rdi), %rax
leaq 0xa7066(%rip), %rsi # 0x1699ba
movl $0x1, %edx
callq *0x10(%rax)
movq (%r14), %rax
testq %rax, %... | /jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc |
qpdf::BaseHandle::disconnect(bool) | void
BaseHandle::disconnect(bool only_direct)
{
// QPDF::~QPDF() calls disconnect for indirect objects, so we don't do that here.
if (only_direct && indirect()) {
return;
}
switch (raw_type_code()) {
case ::ot_array:
{
auto& a = std::get<QPDF_Array>(obj->value);
... | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
je 0xc2a68
movq (%rbx), %rax
testq %rax, %rax
je 0xc2a68
cmpl $0x0, 0x50(%rax)
jne 0xc2b4d
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xc2a76
movsbl 0x30(%rdi), %eax
jmp 0xc2a78
xorl %eax, %eax
cmpl $0x8, %eax
jg 0xc2ad0
testl %eax, %eax
je 0xc2b4d
cmpl $0x8,... | /jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc |
QPDFObject::getStringValue[abi:cxx11]() const | std::string
QPDFObject::getStringValue() const
{
switch (getResolvedTypeCode()) {
case ::ot_real:
return std::get<QPDF_Real>(value).val;
case ::ot_string:
return std::get<QPDF_String>(value).val;
case ::ot_name:
return std::get<QPDF_Name>(value).name;
case ::ot_operator:
... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movzbl 0x30(%r14), %eax
cmpl $0xf, %eax
je 0xc2b9c
cmpl $0xd, %eax
jne 0xc2baa
movq 0x48(%r14), %rdi
movq 0x50(%r14), %rsi
callq 0x12d67e
jmp 0xc2ba4
movq %r14, %rdi
callq 0xcd44c
movq (%rax), %rax
movb 0x30(%rax), %al
cmpb $0xf, %al
jne 0xc2bbb
movq %r14... | /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");... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
callq 0xc2ddc
testb %al, %al
je 0xc2eb1
movq %rbx, %rdi
callq 0xc2f7e
cvtsi2sd %rax, %xmm0
jmp 0xc2f51
movq %rbx, %rdi
callq 0xc2e26
testb %al, %al
je 0xc2f00
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc3010
movq (%r14), %rbx
movq %rbx,... | /jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.cc |
QPDFObjectHandle::getIntValue() const | long long
QPDFObjectHandle::getIntValue() const
{
if (auto integer = as<QPDF_Integer>()) {
return integer->val;
} else {
typeWarning("integer", "returning 0");
QTC::TC("qpdf", "QPDFObjectHandle integer returning 0");
return 0;
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
callq 0xcc11a
testq %rax, %rax
je 0xc2f99
movq (%rax), %rax
jmp 0xc2fe5
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xb89f5(%rip), %rsi # 0x17b99e
leaq 0xb89f9(%rip), %rdx # 0x17b9a9
movq %rsp, %r14
movq %r14, %rdi
callq 0x1f2ec
leaq 0xc06b... | /jberkenbilt[P]qpdf/libqpdf/QPDFObjectHandle.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.