name string | code string | asm string | file string |
|---|---|---|---|
cfd::core::Secp256k1::NegatePrivkeySecp256k1Ec(cfd::core::ByteData const&) | ByteData Secp256k1::NegatePrivkeySecp256k1Ec(const ByteData& privkey) {
secp256k1_context* context =
static_cast<secp256k1_context*>(secp256k1_context_);
if (secp256k1_context_ == NULL) {
warn(CFD_LOG_SOURCE, "Secp256k1 context is NULL.");
throw CfdException(
CfdError::kCfdIllegalArgumentErro... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq (%rsi), %r14
testq %r14, %r14
je 0x1eb764
movq %rdx, %r15
movq %rdi, %rbx
movq %rdx, %rdi
callq 0x1a1016
cmpq $0x20, %rax
jne 0x1eb7e1
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1a1008
movq (%r12), %rsi
movq %r14, %rdi
callq... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_secp256k1.cpp |
cfd::core::Secp256k1::NegatePubkeySecp256k1Ec(cfd::core::ByteData const&) | ByteData Secp256k1::NegatePubkeySecp256k1Ec(const ByteData& pubkey) {
secp256k1_context* context =
static_cast<secp256k1_context*>(secp256k1_context_);
if (secp256k1_context_ == NULL) {
warn(CFD_LOG_SOURCE, "Secp256k1 context is NULL.");
throw CfdException(
CfdError::kCfdIllegalArgumentError,... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq (%rsi), %r14
testq %r14, %r14
je 0x1eba48
movq %rdx, %r15
movq %rdi, %rbx
movq %rdx, %rdi
callq 0x1a1016
cmpq $0x21, %rax
jne 0x1ebac5
leaq 0x88(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1a1008
movq (%r12), %rdx
movq 0x8(%r12), %rcx
... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_secp256k1.cpp |
cfd::core::Secp256k1::SignWhitelistSecp256k1Ec(cfd::core::ByteData const&, cfd::core::ByteData256 const&, cfd::core::ByteData256 const&, std::vector<cfd::core::ByteData, std::allocator<cfd::core::ByteData>> const&, std::vector<cfd::core::ByteData, std::allocator<cfd::core::ByteData>> const&, unsigned int) | ByteData Secp256k1::SignWhitelistSecp256k1Ec(
const ByteData& offline_pubkey, const ByteData256& online_privkey,
const ByteData256& tweak_sum, const std::vector<ByteData>& online_keys,
const std::vector<ByteData>& offline_keys, uint32_t whitelist_index) {
static constexpr uint32_t kWhitelistCountMaximum =... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2138, %rsp # imm = 0x2138
movq (%rsi), %r14
testq %r14, %r14
je 0x1ec46a
movq %r9, %r13
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %rbx
movq %rdi, %rbp
movq %rdx, %rdi
callq 0x1a1016
cmpq $0x21, %rax
jne 0x1ec4f3
movq %r12, 0x98(%rsp)
mo... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_secp256k1.cpp |
cfd::core::SchnorrSignature::IsValidSigHashType(unsigned char) | bool SchnorrSignature::IsValidSigHashType(uint8_t sighash_type_value) {
bool is_anyone_can_pay = (sighash_type_value & 0x80) ? true : false;
if ((is_anyone_can_pay &&
((sighash_type_value <= 0x80) || (sighash_type_value > 0x83))) ||
((!is_anyone_can_pay) && (sighash_type_value > 0x03))) {
return fa... | testb %dil, %dil
js 0x1ed06c
cmpb $0x3, %dil
jbe 0x1ed07e
xorl %eax, %eax
retq
cmpb $-0x80, %dil
sete %al
cmpb $-0x7c, %dil
setae %cl
orb %al, %cl
jne 0x1ed069
movb $0x1, %al
retq
nop
| /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_schnorrsig.cpp |
cfd::core::TaprootScriptTree::operator=(cfd::core::TaprootScriptTree const&) & | TaprootScriptTree& TaprootScriptTree::operator=(
const TaprootScriptTree& object) & {
if (this != &object) {
has_leaf_ = object.has_leaf_;
leaf_version_ = object.leaf_version_;
script_ = object.script_;
root_commitment_ = object.root_commitment_;
branch_list_ = object.branch_list_;
nodes_ ... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x1f1838
movq %rsi, %r14
movb 0x8(%rsi), %al
movb %al, 0x8(%rbx)
movb 0x9(%rsi), %al
movb %al, 0x9(%rbx)
addq $0x10, %rsi
leaq 0x10(%rbx), %rdi
callq 0x1abda6
leaq 0x48(%r14), %rsi
leaq 0x48(%rbx), %rdi
callq 0xcff62
leaq 0x60(%r14), %rsi
leaq 0x60(%rb... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_taproot.cpp |
cfd::core::TaprootUtil::CreateTapScriptControl(cfd::core::SchnorrPubkey const&, cfd::core::TapBranch const&, cfd::core::SchnorrPubkey*, cfd::core::Script*) | ByteData TaprootUtil::CreateTapScriptControl(
const SchnorrPubkey& internal_pubkey, const TapBranch& merkle_tree,
SchnorrPubkey* witness_program, Script* locking_script) {
bool parity = false;
auto pubkey_data =
merkle_tree.GetTweakedPubkey(internal_pubkey, &parity).GetByteData256();
uint8_t top = m... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r8, %r15
movq %rcx, 0x8(%rsp)
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
leaq 0x7(%rsp), %rcx
movb $0x0, (%rcx)
leaq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq %rdx, %rsi
movq %r13, %rdx
callq 0x1f1166
leaq 0x48(%rsp), %rdi
movq %r... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_taproot.cpp |
cfd::core::TaprootUtil::VerifyTaprootCommitment(bool, unsigned char, cfd::core::SchnorrPubkey const&, cfd::core::SchnorrPubkey const&, std::vector<cfd::core::ByteData256, std::allocator<cfd::core::ByteData256>> const&, cfd::core::Script const&, cfd::core::ByteData256*) | bool TaprootUtil::VerifyTaprootCommitment(
bool has_parity, uint8_t tapleaf_bit,
const SchnorrPubkey& target_taproot, // witness program
const SchnorrPubkey& internal_pubkey,
const std::vector<ByteData256>& nodes, const Script& tapscript,
ByteData256* tapleaf_hash) {
if (nodes.size() > TaprootScr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq 0x8(%r8), %rax
subq (%r8), %rax
pushq $0x18
popq %rcx
cqto
idivq %rcx
cmpq $0x81, %rax
jb 0x1f1cf2
leaq 0x202456(%rip), %rcx # 0x3f4115
leaq 0x18(%rsp), %rdi
movq %rcx, (%rdi)
movl $0x25d, 0x8(%rdi... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_taproot.cpp |
void cfd::core::logger::log<unsigned char const&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, unsigned char const&) | void log(
const CfdSourceLocation &source, cfd::core::logger::CfdLogLevel lvl,
const char *fmt, Args &&...args) {
if (cfd::core::logger::IsEnableLogLevel(lvl)) {
auto message = fmt::format(fmt, args...);
// std::string message = fmt::format(std::locale::messages, fmt, args...);
cfd::core::logger::... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r12
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq 0x221627
testb %al, %al
je 0x1f36ef
movzbl (%r12), %eax
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
movq %r15, %rdi
callq 0x1a2e88
movq %rsp, %r15
pushq $0x2
popq %rcx
movq %r15... | /p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h |
cfd::core::ParsePubkey(cfd::core::Pubkey const&) | secp256k1_pubkey ParsePubkey(const Pubkey& pubkey) {
auto pubkey_bytes = pubkey.GetData().GetBytes();
auto ctx = wally_get_secp_context();
secp256k1_pubkey result;
int ret = secp256k1_ec_pubkey_parse(
ctx, &result, pubkey_bytes.data(), pubkey_bytes.size());
if (ret != 1) {
throw CfdException(
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x1ce760
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x1a1008
leaq 0x20(%rsp), %rdi
callq 0xaf946
callq 0x2f7b94
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
subq %rdx, %rcx
movq %rax, %rdi
movq %rbx, %rsi
callq 0... | /p2pderivatives[P]cfd/external/cfd-core/src/secp256k1_util.cpp |
cfd::core::ParseXOnlyPubkey(cfd::core::SchnorrPubkey const&) | secp256k1_xonly_pubkey ParseXOnlyPubkey(const SchnorrPubkey& pubkey) {
auto ctx = wally_get_secp_context();
secp256k1_xonly_pubkey xonly_pubkey;
auto ret = secp256k1_xonly_pubkey_parse(
ctx, &xonly_pubkey, pubkey.GetData().GetBytes().data());
if (ret != 1) {
throw CfdException(
CfdError::kCf... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2f7b94
movq %rax, %r14
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1edbde
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x1a1008
movq 0x8(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x311... | /p2pderivatives[P]cfd/external/cfd-core/src/secp256k1_util.cpp |
cfd::core::ParseSignature(cfd::core::ByteData const&) | secp256k1_ecdsa_signature ParseSignature(const ByteData& signature) {
auto ctx = wally_get_secp_context();
secp256k1_ecdsa_signature result;
auto ret = secp256k1_ecdsa_signature_parse_compact(
ctx, &result, signature.GetBytes().data());
if (ret != 1) {
throw CfdException(
CfdError::kCfdIllega... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2f7b94
movq %rax, %r15
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq 0x1a1008
movq (%r12), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x30e5be
movl %eax, %ebp
leaq 0x10(%rsp), %rdi
callq 0xaf946... | /p2pderivatives[P]cfd/external/cfd-core/src/secp256k1_util.cpp |
cfd::core::GetXOnlyPubkeyFromPubkey(secp256k1_pubkey const&, bool*) | secp256k1_xonly_pubkey GetXOnlyPubkeyFromPubkey(
const secp256k1_pubkey& pubkey, bool* parity) {
auto ctx = wally_get_secp_context();
secp256k1_xonly_pubkey xonly_pubkey;
int pk_parity = 0;
auto ret = secp256k1_xonly_pubkey_from_pubkey(
ctx, &xonly_pubkey, &pk_parity, &pubkey);
if (ret != 1) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2f7b94
leaq 0x4(%rsp), %rdx
andl $0x0, (%rdx)
movq %rax, %rdi
movq %rbx, %rsi
movq %r15, %rcx
callq 0x311865
cmpl $0x1, %eax
jne 0x1f3c5f
testq %r14, %r14
je 0x1f3c51
cmpl $0x0, 0x4(%rsp)
setne (%r14)
mo... | /p2pderivatives[P]cfd/external/cfd-core/src/secp256k1_util.cpp |
cfd::core::TweakAddXonlyPubkey(cfd::core::SchnorrPubkey const&, cfd::core::ByteData256 const&, bool*) | ByteData256 TweakAddXonlyPubkey(
const SchnorrPubkey& pubkey, const ByteData256& tweak, bool* parity) {
auto ctx = wally_get_secp_context();
auto base_xonly_key = ParseXOnlyPubkey(pubkey);
std::vector<uint8_t> tweak_bytes = tweak.GetBytes();
secp256k1_pubkey tweak_pubkey;
memset(&tweak_pubkey, 0, sizeof(t... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2f7b94
movq %rax, %r13
leaq 0xa8(%rsp), %rbp
movq %rbp, %rdi
movq %r12, %rsi
callq 0x1f3a31
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1a1518
xorps... | /p2pderivatives[P]cfd/external/cfd-core/src/secp256k1_util.cpp |
cfd::core::ConvertSchnorrPubkey(secp256k1_xonly_pubkey const&) | ByteData256 ConvertSchnorrPubkey(const secp256k1_xonly_pubkey& pubkey) {
auto ctx = wally_get_secp_context();
std::vector<uint8_t> result_bytes(SchnorrPubkey::kSchnorrPubkeySize);
int ret =
secp256k1_xonly_pubkey_serialize(ctx, result_bytes.data(), &pubkey);
if (ret != 1) {
throw CfdException(
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2f7b94
movq %rax, %r15
leaq 0x8(%rsp), %r12
pushq $0x20
popq %rsi
leaq 0x20(%rsp), %rdx
movq %r12, %rdi
callq 0x110382
movq (%r12), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x3117f7
cmpl $0x1, %eax
jne 0x1f... | /p2pderivatives[P]cfd/external/cfd-core/src/secp256k1_util.cpp |
cfd::core::ConfidentialTransaction::SetTxOutValue(unsigned int, cfd::core::Amount const&) | void ConfidentialTransaction::SetTxOutValue(
uint32_t index, const Amount &value) {
CheckTxOutIndex(index, __LINE__, __FUNCTION__);
struct wally_tx *tx_pointer =
static_cast<struct wally_tx *>(wally_tx_pointer_);
if (tx_pointer != nullptr) {
struct wally_tx_output *output = tx_pointer->outputs + in... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq (%rdi), %rax
leaq 0x1f0fe1(%rip), %r13 # 0x3f06c3
movl $0x8d6, %edx # imm = 0x8D6
movq %r13, %rcx
callq *0x60(%rax)
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x1ff7f6
movl... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_elements_transaction.cpp |
cfd::core::ConfidentialTransaction::GetIssuanceBlindingKey(cfd::core::Privkey const&, cfd::core::Txid const&, unsigned int) | Privkey ConfidentialTransaction::GetIssuanceBlindingKey(
const Privkey &master_blinding_key, const Txid &txid, uint32_t vout) {
// script: OP_RETURN <txid> <vout>
ScriptBuilder builder;
builder.AppendOperator(ScriptOperator::OP_RETURN);
builder.AppendData(txid.GetData());
int64_t vout64 = vout;
builder.... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x342077(%rip), %rax # 0x547848
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
andq $0x0, 0x18(%rdi)
leaq 0x378f24(%rip), %rsi # 0x57e710
callq 0x1ac... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_elements_transaction.cpp |
cfd::core::ConfidentialTransaction::RandomSortTxOut() | void ConfidentialTransaction::RandomSortTxOut() {
const std::vector<ConfidentialTxOutReference> &txout_list = GetTxOutList();
// blind check
for (size_t index = 0; index < txout_list.size(); ++index) {
const ConfidentialValue &value = txout_list[index].GetConfidentialValue();
if (value.HasBlinding()) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp # imm = 0x138
movq %rdi, %rbp
leaq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x1febfc
pushq $0x78
popq %r15
xorl %r12d, %r12d
movl $0xf8, %r13d
leaq 0x80(%rsp), %rbx
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rax
subq %rsi, %rax
cqto... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_elements_transaction.cpp |
cfd::core::ConfidentialTransaction::GenerateExtPubkeyFromDescriptor(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int, cfd::core::ByteData const&, cfd::core::NetType, cfd::core::NetType, cfd::core::ExtPubkey*, cfd::core::Address*) | ExtPubkey ConfidentialTransaction::GenerateExtPubkeyFromDescriptor(
const std::string &bitcoin_descriptor, uint32_t bip32_counter,
const ByteData &prefix, NetType net_type, NetType elements_net_type,
ExtPubkey *base_ext_pubkey, Address *descriptor_derive_address) {
bool is_liquidv1 = false;
switch (elem... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf08, %rsp # imm = 0xF08
movl %r8d, 0x2c(%rsp)
movq %rcx, %r15
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x3, %r9d
je 0x206f3c
jb 0x207670
xorl %ebp, %ebp
jmp 0x206f3f
movb $0x1, %bpl
movq %rbx, %rdi
callq 0x1ca62e
leaq 0xa... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_elements_transaction.cpp |
cfd::core::ConfidentialTransaction::GetWitnessOnlyHash() const | ByteData256 ConfidentialTransaction::GetWitnessOnlyHash() const {
std::vector<ByteData256> leaves;
leaves.reserve(std::max(vin_.size(), vout_.size()));
for (const auto &vin : vin_) {
leaves.push_back(vin.GetWitnessHash());
}
ByteData256 hash_in = CryptoUtil::ComputeFastMerkleRoot(leaves);
leaves.clear()... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movq 0x18(%rsi), %rax
movq 0x30(%rsi), %rcx
subq 0x10(%rsi), %rax
movl $0x160, %esi # imm = 0x160
cqto
idivq %rsi
mo... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_elements_transaction.cpp |
cfd::core::ConfidentialTransaction::CopyConfidentialCommitment(void const*, unsigned long, unsigned long, unsigned char*) | uint8_t *ConfidentialTransaction::CopyConfidentialCommitment(
const void *buffer, size_t buffer_size, size_t explicit_size,
uint8_t *address) {
uint8_t *result = address;
const uint8_t *buffer_addr = static_cast<const uint8_t *>(buffer);
if ((!buffer_addr) || (buffer_size == 0) || (buffer_addr[0] == 0)) {... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %rdx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x20802f
movq %rdi, %rsi
movzbl (%rdi), %eax
cmpl $0x1, %eax
je 0x20803b
testl %eax, %eax
jne 0x208037
movb $0x0, (%rbx)
incq %rbx
jmp 0x20806f
pushq $0x... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_elements_transaction.cpp |
cfd::core::ConfidentialTransaction::CheckTxOutIndex(unsigned int, int, char const*) const | void ConfidentialTransaction::CheckTxOutIndex(
uint32_t index, int line, const char *caller) const {
if (vout_.size() <= index) {
cfd::core::logger::CfdSourceLocation location = {
CFD_LOG_FILE, line, caller};
warn(location, "vout[{}] out_of_range.", index);
throw CfdException(kCfdOutOfRangeErr... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %esi, 0x4(%rsp)
movq 0x30(%rdi), %rax
subq 0x28(%rdi), %rax
movl %edx, %r8d
movl $0xf8, %edi
cqto
idivq %rdi
movl %esi, %edx
cmpq %rdx, %rax
jbe 0x208fe5
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x1eb8a7(%rip), %rax # 0x3f4893
leaq 0x28(%rsp), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/cfdcore_elements_transaction.cpp |
fmt::v7::detail::format_decimal_result<char*> fmt::v7::detail::format_decimal<char, unsigned __int128>(char*, unsigned __int128, int) | inline format_decimal_result<Char*> format_decimal(Char* out, UInt value,
int size) {
FMT_ASSERT(size >= count_digits(value), "invalid digit count");
out += size;
Char* end = out;
while (value >= 100) {
// Integer division is slow so do it for a group of tw... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x21054a
cmpl %ebx, %eax
jg 0x210694
movslq %ebx, %rax
leaq (%r15,%rax), %rbx
addq %rax, %r15
addq $-0x2, %r15
pushq $0x64
popq %r13
leaq 0x1... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> fmt::v7::detail::write<char, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, unsigned __int128, 0>(std::back_insert_iterator<std::__cxx11::basic_string<cha... | OutputIt write(OutputIt out, T value) {
auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
bool negative = is_negative(value);
// Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
if (negative) abs_value = ~abs_value + 1;
int num_digits = count_digits(abs_value);
auto size ... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x21054a
movslq %eax, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x2105be
movq %rax, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %r12d, %ecx
callq 0x2105df
movq %r15, %rax
addq $0x8... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> fmt::v7::detail::write<char, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, float, 0>(std::back_insert_iterator<std::__cxx11::basic_string<char, std::char... | OutputIt write(OutputIt out, T value) {
if (const_check(!is_supported_floating_point(value))) return out;
using floaty = conditional_t<std::is_same<T, long double>::value, double, T>;
using uint = typename dragonbox::float_info<floaty>::carrier_uint;
auto bits = bit_cast<uint>(value);
auto fspecs = float_sp... | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movd %xmm0, %eax
andq $0x0, (%rsp)
testl %eax, %eax
jns 0x2107fe
movl $0x100, 0x4(%rsp) # imm = 0x100
pxor 0x1e5892(%rip), %xmm0 # 0x3f6090
notl %eax
testl $0x7f800000, %eax # imm = 0x7F800000
jne 0x21082f
movd %xmm0, %eax
andl $0x7fffffff, %eax # imm = 0x... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::dragonbox::decimal_fp<float> fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, char, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> ... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r15
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r12d, %r12d
subq %rbp, %rax
cmovaeq %rax, %r12
movzbl 0x9(%r14), %eax
andl $0xf, %eax
leaq 0x1e66a0(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::dragonbox::decimal_fp<float> fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, char, std::back_insert_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> ... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r15
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r12d, %r12d
subq %rbp, %rax
cmovaeq %rax, %r12
movzbl 0x9(%r14), %eax
andl $0xf, %eax
leaq 0x1e6473(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_bin()::'lambda'(std::back_insert_iterator<fmt::v7::detail... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %r13, %rdi
callq 0x217096
movq (%r13), %rdx
leaq 0x10(%rsp), %rcx
movq %r15, (%rcx)
movq %r14, 0x8(%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x70(%rs... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::format_uint<1u, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned __int128>(std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned __int128, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r8d, %ebx
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl %ecx, %edi
callq 0x20cac3
movq %rsp, %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x218e8e
movslq %ebp, %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
char* fmt::v7::detail::format_uint<1u, char, unsigned __int128>(char*, unsigned __int128, int, bool) | inline Char* format_uint(Char* buffer, UInt value, int num_digits,
bool upper = false) {
buffer += num_digits;
Char* end = buffer;
do {
const char* digits = upper ? "0123456789ABCDEF" : data::hex_digits;
unsigned digit = (value & ((1 << BASE_BITS) - 1));
*--buffer = static_cas... | movslq %ecx, %rcx
leaq (%rdi,%rcx), %rax
addq %rdi, %rcx
decq %rcx
pushq $0x1
popq %rdi
movq %rdx, %r8
movl %esi, %r9d
andb $0x1, %r9b
orb $0x30, %r9b
movb %r9b, (%rcx)
movq %rdx, %r9
shldq $0x3f, %rsi, %r9
shrq %r8
decq %rcx
cmpq %rsi, %rdi
movl $0x0, %esi
sbbq %rdx, %rsi
movq %r9, %rsi
movq %r8, %rdx
jb 0x218ea1
retq... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_oct()::'lambda'(std::back_insert_iterator<fmt::v7::detail... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %r13, %rdi
callq 0x217096
movq (%r13), %rdx
leaq 0x10(%rsp), %rcx
movq %r15, (%rcx)
movq %r14, 0x8(%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x70(%rs... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::format_uint<3u, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned __int128>(std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned __int128, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r8d, %ebx
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl %ecx, %edi
callq 0x20cac3
movq %rsp, %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
movl %ebx, %r8d
callq 0x2190a4
movslq %ebp, %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::arg_formatter_base<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::error_handler>::write(char const*) | void write(const Char* value) {
if (!value) {
FMT_THROW(format_error("string pointer is null"));
} else {
auto length = std::char_traits<char_type>::length(value);
basic_string_view<char_type> sv(value, length);
specs_ ? write(sv, *specs_) : write(sv);
}
} | pushq %r14
pushq %rbx
pushq %rax
testq %rsi, %rsi
je 0x2199e9
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x88290
movq 0x10(%r14), %rcx
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
testq %rcx, %rcx
je 0x2199e1
popq %rbx
popq %r14
jmp 0x219220
popq %rbx
popq %r14
jmp 0x219a58
pushq $0x10
pop... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
void fmt::v7::detail::handle_cstring_type_spec<char, fmt::v7::detail::arg_formatter_base<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::error_handler>::cstring_spec_handler>(char, fmt::v7::detail::arg_formatter_base<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v... | FMT_CONSTEXPR void handle_cstring_type_spec(Char spec, Handler&& handler) {
if (spec == 0 || spec == 's')
handler.on_string();
else if (spec == 'p')
handler.on_pointer();
else
handler.on_error("invalid type specifier");
} | cmpl $0x73, %edi
je 0x219a3a
cmpl $0x70, %edi
je 0x219a42
testl %edi, %edi
jne 0x219a4a
movq %rsi, %rdi
jmp 0x219a72
movq %rsi, %rdi
jmp 0x219a82
pushq %rax
leaq 0x1dcd06(%rip), %rsi # 0x3f6758
callq 0x20c758
nop
| /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::arg_formatter_base<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::error_handler>::operator()<double, 0>(double) | iterator operator()(T value) {
auto specs = specs_ ? *specs_ : format_specs();
if (const_check(is_supported_floating_point(value)))
out_ = detail::write(out_, value, specs, locale_);
else
FMT_ASSERT(false, "unsupported float argument type");
return out_;
} | pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0x21d872
movq (%rax), %rsi
movq 0x8(%rax), %rdx
jmp 0x21d886
movabsq $-0x100000000, %rsi # imm = 0xFFFFFFFF00000000
movabsq $0x1000000200000, %rdx # imm = 0x1000000200000
movq (%rbx), %rdi
movq 0x8(%rbx), %rcx
callq 0x22057c
movq %rax, (%rbx)
pop... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::arg_formatter<fmt::v7::detail::buffer_appender<char>, char>::operator()(fmt::v7::basic_format_arg<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>::handle) | iterator operator()(typename basic_format_arg<context_type>::handle handle) {
if (ptr_) advance_to(*parse_ctx_, ptr_);
handle.format(*parse_ctx_, ctx_);
return ctx_.out();
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x28(%rdi), %rsi
testq %rsi, %rsi
je 0x21d9cc
movq 0x20(%rbx), %rdi
callq 0x215c36
movq 0x18(%rbx), %rdx
movq 0x20(%rbx), %rsi
movq %r15, %rdi
callq *%r14
movq 0x18(%rbx), %rax
movq (%rax), %rax
popq %rbx
popq %r14
popq %r15
retq
nop
| /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
void fmt::v7::detail::arg_formatter_base<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::error_handler>::write_int<int>(int, fmt::v7::basic_format_specs<char> const&) | void write_int(T value, const format_specs& spec) {
using uint_type = uint32_or_64_or_128_t<T>;
int_writer<iterator, Char, uint_type> w(out_, locale_, value, spec);
handle_int_type_spec(spec.type, w);
out_ = w.out;
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movups (%rdi), %xmm0
movaps %xmm0, (%rsp)
movq %rdx, 0x10(%rsp)
movl %esi, 0x18(%rsp)
andl $0x0, 0x20(%rsp)
testl %esi, %esi
js 0x21da48
movb 0x9(%rdx), %al
shrb $0x4, %al
andb $0x7, %al
cmpb $0x2, %al
jb 0x21da5b
pushq $0x2b
popq %rax
pushq $0x20
popq %rcx
cmovel ... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_hex() | void on_hex() {
if (specs.alt) {
prefix[prefix_size++] = '0';
prefix[prefix_size++] = specs.type;
}
int num_digits = count_digits<4>(abs_value);
out = write_int(out, num_digits, get_prefix(), specs,
[this, num_digits](iterator it) {
return format_uin... | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpb $0x0, 0x9(%rax)
jns 0x21db4e
movl 0x20(%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x20(%rbx)
movb $0x30, 0x1c(%rbx,%rcx)
movb 0x8(%rax), %al
movl 0x20(%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x20(%rbx)
movb %al, 0x1c(%rbx,%rcx)
movl 0x18(%rbx),... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_num() | void on_num() {
std::string groups = grouping<Char>(locale);
if (groups.empty()) return on_dec();
auto sep = thousands_sep<Char>(locale);
if (!sep) return on_dec();
int num_digits = count_digits(abs_value);
int size = num_digits, n = num_digits;
std::string::const_iterator group = groups.cbe... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x270, %rsp # imm = 0x270
movq %rdi, %rbx
movq 0x8(%rdi), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x20de4b
cmpq $0x0, 0x8(%r14)
je 0x21dcc4
movq 0x8(%rbx), %rdi
callq 0x20deab
movl %eax, %ebp
testb %al, %al
je 0x21dcd1
movl 0x18(%rbx), %edi
call... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_hex()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basic... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %r13, %rdi
callq 0x217096
movq (%r13), %rdx
leaq 0x10(%rsp), %rcx
movq %r15, (%rcx)
movq %r14, 0x8(%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x70(%rs... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_hex()::'la... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r15d, %r15d
subq %rbp, %rax
cmovaeq %rax, %r15
movzbl 0x9(%rbx), %eax
andl $0xf, %eax
leaq 0x1d95d5(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_bin()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basic... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %r13, %rdi
callq 0x217096
movq (%r13), %rdx
leaq 0x10(%rsp), %rcx
movq %r15, (%rcx)
movq %r14, 0x8(%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x70(%rs... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_bin()::'la... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r15d, %r15d
subq %rbp, %rax
cmovaeq %rax, %r15
movzbl 0x9(%rbx), %eax
andl $0xf, %eax
leaq 0x1d93ed(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::format_uint<1u, char, fmt::v7::detail::buffer_appender<char>, unsigned int>(fmt::v7::detail::buffer_appender<char>, unsigned int, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r15d
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movl %edx, %edi
callq 0x20cac3
movl %eax, %esi
movq %rbx, %rdi
callq 0x219bc7
movzbl %r15b, %ecx
testq %rax, %rax
je 0x21e388
movq %rax, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x21758a
jmp... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_oct()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basic... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %r13, %rdi
callq 0x217096
movq (%r13), %rdx
leaq 0x10(%rsp), %rcx
movq %r15, (%rcx)
movq %r14, 0x8(%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x70(%rs... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::format_uint<3u, char, fmt::v7::detail::buffer_appender<char>, unsigned int>(fmt::v7::detail::buffer_appender<char>, unsigned int, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r15d
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movl %edx, %edi
callq 0x20cac3
movl %eax, %esi
movq %rbx, %rdi
callq 0x219bc7
movzbl %r15b, %ecx
testq %rax, %rax
je 0x21e560
movq %rax, %rdi
movl %r14d, %esi
movl %ebp, %edx
callq 0x217762
jmp... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_num()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appende... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r15d, %r15d
subq %rbp, %rax
cmovaeq %rax, %r15
movzbl 0x9(%rbx), %eax
andl $0xf, %eax
leaq 0x1d90a9(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_dec()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basi... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %r13, %rdi
callq 0x217096
movq (%r13), %rdx
leaq 0x10(%rsp), %rcx
movq %r15, (%rcx)
movq %r14, 0x8(%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x70(%rs... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_dec()::'l... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r15d, %r15d
subq %rbp, %rax
cmovaeq %rax, %r15
movzbl 0x9(%rbx), %eax
andl $0xf, %eax
leaq 0x1d8a98(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_oct()::'l... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r15d, %r15d
subq %rbp, %rax
cmovaeq %rax, %r15
movzbl 0x9(%rbx), %eax
andl $0xf, %eax
leaq 0x1d85df(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned __int128>::int_writer<__int128>(fmt::v7::detail::buffer_appender<char>, fmt::v7::detail::locale_ref, __int128, fmt::v7::basic_format_specs<char> const&) | int_writer(OutputIt output, locale_ref loc, Int value,
const basic_format_specs<Char>& s)
: out(output),
locale(loc),
specs(s),
abs_value(static_cast<UInt>(value)),
prefix_size(0) {
static_assert(std::is_same<uint32_or_64_or_128_t<Int>, UInt>::value, "");
if (i... | movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
movq %r9, 0x10(%rdi)
movq %r8, 0x28(%rdi)
movq %rcx, 0x20(%rdi)
andl $0x0, 0x34(%rdi)
testq %r8, %r8
js 0x21f355
movb 0x9(%r9), %al
shrb $0x4, %al
andb $0x7, %al
cmpb $0x2, %al
jb 0x21f354
pushq $0x2b
popq %rax
pushq $0x20
popq %rcx
cmovel %eax, %ecx
movb %cl, 0x30(%rdi)
movl $0x1... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned __int128>::on_bin() | void on_bin() {
if (specs.alt) {
prefix[prefix_size++] = '0';
prefix[prefix_size++] = static_cast<char>(specs.type);
}
int num_digits = count_digits<1>(abs_value);
out = write_int(out, num_digits, get_prefix(), specs,
[this, num_digits](iterator it) {
... | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpb $0x0, 0x9(%rax)
jns 0x21f4ba
movl 0x34(%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x34(%rbx)
movb $0x30, 0x30(%rbx,%rcx)
movb 0x8(%rax), %al
movl 0x34(%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x34(%rbx)
movb %al, 0x30(%rbx,%rcx)
movq 0x20(%rbx),... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned __int128>::on_oct() | void on_oct() {
int num_digits = count_digits<3>(abs_value);
if (specs.alt && specs.precision <= num_digits && abs_value != 0) {
// Octal prefix '0' is counted as a digit, so only add it if precision
// is not greater than the number of digits.
prefix[prefix_size++] = '0';
}
out = writ... | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x20(%rdi), %rdi
movq 0x28(%rbx), %rsi
callq 0x218ed1
movq 0x10(%rbx), %r8
cmpb $0x0, 0x9(%r8)
jns 0x21f536
cmpl %eax, 0x4(%r8)
jg 0x21f536
movq 0x28(%rbx), %rcx
orq 0x20(%rbx), %rcx
je 0x21f536
movl 0x34(%rbx), %ecx
leal 0x1(%rcx), %edx
movl %edx, 0x34(%rbx)
movb $0x30,... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned __int128>::on_dec()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %r13, %rdi
callq 0x217096
movq (%r13), %rdx
leaq 0x10(%rsp), %rcx
movq %r15, (%rcx)
movq %r14, 0x8(%rcx)
movups (%r13), %xmm0
movups %xmm0, 0x10(%rcx)
movq 0x70(%rs... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned __int128>::on_hex()... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movl (%rsi), %edi
callq 0x20cac3
movl %eax, %eax
xorl %r15d, %r15d
subq %rbp, %rax
cmovaeq %rax, %r15
movzbl 0x9(%rbx), %eax
andl $0xf, %eax
leaq 0x1d7cb8(%rip), %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::format_uint<1u, char, fmt::v7::detail::buffer_appender<char>, unsigned __int128>(fmt::v7::detail::buffer_appender<char>, unsigned __int128, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movl %r8d, %r12d
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl %ecx, %edi
callq 0x20cac3
movl %eax, %esi
movq %rbx, %rdi
callq 0x219bc7
movzbl %r12b, %r8d
testq %rax, %rax
je 0x21fcc7
movq %rax, %rdi
movq %r15, %rsi
movq %r14... | /p2pderivatives[P]cfd/external/cfd-core/src/include/fmt/format.h |
cfd::TransactionContext::AddInput(cfd::UtxoData const&, unsigned int) | void TransactionContext::AddInput(const UtxoData& utxo, uint32_t sequence) {
if (!utxo.txid.IsValid()) {
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to AddInput. invalid utxo txid.");
}
UtxoData dest;
Utxo temp;
memset(&temp, 0, sizeof(temp));
UtxoUtil::ConvertToUtxo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5c8, %rsp # imm = 0x5C8
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsi), %r14
movq %r14, %rdi
callq 0x1d0ef6
testb %al, %al
je 0x2240e8
leaq 0xd8(%rsp), %r12
movq %r12, %rdi
callq 0x221900
movq %rsp, %r13
movl $0xd8, %e... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::IsFindUtxoMap(cfd::core::OutPoint const&, cfd::UtxoData*) const | bool TransactionContext::IsFindUtxoMap(
const OutPoint& outpoint, UtxoData* utxo) const {
for (const auto& utxo_data : utxo_map_) {
if ((outpoint.GetVout() == utxo_data.vout) &&
utxo_data.txid.Equals(outpoint.GetTxid())) {
if (utxo != nullptr) *utxo = utxo_data;
return true;
}
}
re... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, (%rsp)
movq %rsi, %r14
movq 0x40(%rdi), %r15
movq 0x48(%rdi), %rbx
addq $0x28, %r15
leaq 0x8(%rsp), %r13
leaq -0x28(%r15), %r12
cmpq %rbx, %r12
je 0x2243ca
movq %r14, %rdi
callq 0x1bfbe0
cmpl 0x20(%r15), %eax
jne 0x2243ae
movq... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::GetTxInUtxoData(cfd::core::OutPoint const&) const | UtxoData TransactionContext::GetTxInUtxoData(const OutPoint& outpoint) const {
UtxoData utxo;
utxo.address_type = AddressType::kP2shAddress;
utxo.vout = 0;
utxo.block_height = 0;
utxo.binary_data = nullptr;
IsFindUtxoMap(outpoint, &utxo);
return utxo;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x221900
movl $0x1, 0x268(%rbx)
andl $0x0, 0x48(%rbx)
andq $0x0, (%rbx)
andq $0x0, 0x270(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x22434c
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rb... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::GetFeeAmount() const | Amount TransactionContext::GetFeeAmount() const {
Amount input;
UtxoData utxo;
for (const auto& txin_ref : vin_) {
OutPoint outpoint(txin_ref.GetTxid(), txin_ref.GetVout());
if (!IsFindUtxoMap(outpoint, &utxo)) {
throw CfdException(
CfdError::kCfdIllegalStateError,
"Utxo is not f... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x568, %rsp # imm = 0x568
movq %rdi, %rbx
leaq 0x40(%rsp), %rdi
callq 0x1d0750
leaq 0x78(%rsp), %rdi
callq 0x221900
movq 0x10(%rbx), %r12
movq 0x18(%rbx), %r15
leaq 0x2d0(%rsp), %r13
leaq 0x10(%rsp), %rbp
leaq 0x50(%rsp), %r14
cmpq %r15,... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::SplitTxOut(unsigned int, std::vector<cfd::core::Amount, std::allocator<cfd::core::Amount>> const&, std::vector<cfd::core::Address, std::allocator<cfd::core::Address>> const&) | void TransactionContext::SplitTxOut(
uint32_t index, const std::vector<Amount>& amount_list,
const std::vector<Address>& address_list) {
std::vector<Script> locking_script_list;
for (const auto& addr : address_list) {
locking_script_list.emplace_back(addr.GetLockingScript());
}
SplitTxOut(index, amo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, 0x8(%rsp)
movl %esi, %ebp
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r15
andq $0x0, 0x10(%r15)
movaps %xmm0, (%r15)
movq (%rcx), %r12
movq 0x8(%rcx), %rbx
leaq 0x30(%rsp), %r13
cmpq %rbx, %r12
je 0x224695
movq %r13, ... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::AddSchnorrSign(cfd::core::OutPoint const&, cfd::core::SchnorrSignature const&, cfd::core::ByteData const*) | void TransactionContext::AddSchnorrSign(
const OutPoint& outpoint, const SchnorrSignature& signature,
const ByteData* annex) {
std::vector<SignParameter> sign_params = {
SignParameter(signature.GetData(true))};
if (annex != nullptr) sign_params.emplace_back(*annex);
AddSign(outpoint, sign_params, tr... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x28(%rsp), %rdi
pushq $0x1
popq %rdx
movq %r15, %rsi
callq 0x1ed148
leaq 0x40(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x222d6a
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rsi
pushq $0x1
popq %r... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::CheckMultisig(std::vector<cfd::SignParameter, std::allocator<cfd::SignParameter>> const&, cfd::core::Script const&) | std::vector<SignParameter> TransactionContext::CheckMultisig(
const std::vector<SignParameter>& sign_list, const Script& redeem_script) {
// check signData (too much data)
if (sign_list.empty() || (sign_list.size() > kMaximumMultisigKeyNum)) {
warn(
CFD_LOG_SOURCE, "Failed to CheckMultisig. sign arr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movq %rdi, 0x8(%rsp)
movq (%rsi), %rcx
movq 0x8(%rsi), %rax
cmpq %rax, %rcx
je 0x226087
movq %rdx, %r8
subq %rcx, %rax
pushq $0x78
popq %rcx
cqto
idivq %rcx
cmpq $0x10, %rax
jae 0x226087
movq %rsi, %rbx
leaq 0x7... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::AddTapScriptSign(cfd::core::OutPoint const&, cfd::core::TaprootScriptTree const&, cfd::core::SchnorrPubkey const&, std::vector<cfd::SignParameter, std::allocator<cfd::SignParameter>> const&, cfd::core::ByteData const*) | void TransactionContext::AddTapScriptSign(
const OutPoint& outpoint, const TaprootScriptTree& tree,
const SchnorrPubkey& internal_pubkey,
const std::vector<SignParameter>& sign_data_list, const ByteData* annex) {
std::vector<SignParameter> sign_params = sign_data_list;
auto control = TaprootUtil::Create... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %r9, %r15
movq %rcx, %r13
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %rdi
movq %r8, %rsi
callq 0x227d0a
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x1f1aa8
leaq 0x38(%rsp), ... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionContext::VerifyInputSchnorrSignature(cfd::core::SchnorrSignature const&, cfd::core::OutPoint const&, std::vector<cfd::UtxoData, std::allocator<cfd::UtxoData>> const&, cfd::core::SchnorrPubkey const&, cfd::core::ByteData const*) const | bool TransactionContext::VerifyInputSchnorrSignature(
const SchnorrSignature& signature, const OutPoint& outpoint,
const std::vector<UtxoData>& utxo_list, const SchnorrPubkey& pubkey,
const ByteData* annex) const {
UtxoData target_utxo;
std::vector<TxOut> utxos;
utxos.reserve(vin_.size());
for (cons... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5d8, %rsp # imm = 0x5D8
movq %r9, %r15
movq %r8, 0x58(%rsp)
movq %rcx, 0x80(%rsp)
movq %rdx, 0x60(%rsp)
movq %rsi, 0x50(%rsp)
movq %rdi, %rbx
leaq 0xe8(%rsp), %rdi
callq 0x221900
xorps %xmm0, %xmm0
leaq 0xc0(%rsp), %rdi
movaps %xmm0, (... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionController::AddTxIn(cfd::core::Txid const&, unsigned int, cfd::core::Pubkey const&, unsigned int) | const TxInReference TransactionController::AddTxIn(
const Txid& txid, uint32_t vout, const Pubkey& pubkey, uint32_t sequence) {
uint32_t index = transaction_.AddTxIn(
txid, vout, sequence, ScriptBuilder().AppendData(pubkey).Build());
return transaction_.GetTxIn(index);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movl %r9d, %ebp
movl %ecx, %r15d
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x320b30(%rip), %rax # 0x547848
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
andq $0x0, 0x18(%rdi)
movq %r8, %rsi
callq 0x... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionController::InsertUnlockingScript(cfd::core::Txid const&, unsigned int, std::vector<cfd::core::ByteData, std::allocator<cfd::core::ByteData>> const&) | void TransactionController::InsertUnlockingScript(
const Txid& txid, uint32_t vout,
const std::vector<ByteData>& unlocking_scripts) {
uint32_t txin_index = transaction_.GetTxInIndex(txid, vout);
Script script = transaction_.GetTxIn(txin_index).GetUnlockingScript();
if (script.IsEmpty()) {
transaction_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %r14
movq %rdi, %rbx
addq $0x10, %rbx
movq %rbx, %rdi
callq 0x1c29e4
movl %eax, %ebp
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
movl %eax, %edx
callq 0x1c29a2
leaq 0x50(%rsp), %rsi
leaq 0xb0(%rsp), %rdi
callq 0x1abd2c
leaq 0x20(%rs... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionController::AddWitnessStack(cfd::core::Txid const&, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, cfd::core::Pubkey const&) | void TransactionController::AddWitnessStack(
const Txid& txid, uint32_t vout, const std::string& signed_signature_hash,
const Pubkey& pubkey) {
std::vector<std::string> signed_signature_hashes(2);
signed_signature_hashes[0] = signed_signature_hash;
signed_signature_hashes[1] = pubkey.GetHex();
AddWitnes... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %r12
movq %rcx, %r13
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq %rsp, %rbp
pushq $0x2
popq %rsi
leaq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x227ed6
movq (%rbp), %rdi
movq %r13, %rsi
callq 0x88360
leaq 0x18(%rsp), %rd... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionController::AddWitnessStack(cfd::core::Txid const&, unsigned int, 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&, cfd::core::Script const&) | void TransactionController::AddWitnessStack(
const Txid& txid, uint32_t vout,
const std::vector<std::string>& signed_signature_hashes,
const Script& redeem_script) {
std::vector<std::string> list;
std::copy(
signed_signature_hashes.begin(), signed_signature_hashes.end(),
std::back_inserter(l... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r12
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq %rsp, %rdx
andq $0x0, 0x10(%rdx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdx)
movq (%rcx), %rdi
movq 0x8(%rcx), %rsi
callq 0x2295c8
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
callq 0x1ab212
leaq 0x38(%... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionController::GetSizeIgnoreTxIn() const | uint32_t TransactionController::GetSizeIgnoreTxIn() const {
uint32_t result = AbstractTransaction::kTransactionMinimumSize;
std::vector<TxOutReference> txouts = transaction_.GetTxOutList();
for (const auto& txout : txouts) {
result += txout.GetSerializeSize();
}
return result;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
leaq 0x10(%rdi), %rsi
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1c3756
movq (%rbx), %r14
movq 0x8(%rbx), %r15
pushq $0xa
popq %rbx
cmpq %r15, %r14
je 0x227643
movq %r14, %rdi
callq 0x1bf89c
addl %eax, %ebx
addq $0x50, %r14
jmp 0x22762e
leaq 0x8(%rsp), %rdi
callq 0xe2... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionController::CreateSignatureHash(cfd::core::Txid const&, unsigned int, cfd::core::Pubkey const&, cfd::core::SigHashType, cfd::core::Amount const&, cfd::core::WitnessVersion) const | ByteData TransactionController::CreateSignatureHash(
const Txid& txid, uint32_t vout, const Pubkey& pubkey,
SigHashType sighash_type, const Amount& value,
WitnessVersion version) const {
Script script = ScriptUtil::CreateP2pkhLockingScript(pubkey);
uint32_t txin_index = transaction_.GetTxInIndex(txid, v... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %r9, %r15
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x48(%rsp), %rdi
movq %r8, %rsi
callq 0x1ace20
addq $0x10, %r14
movq %r14, %rdi
movq %r12, %rsi
movl %ebp, %edx
callq 0x1c29e4
movl %eax, %ebp
leaq 0x8(%rsp), %rdi
... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::TransactionController::CreateSignatureHash(cfd::core::Txid const&, unsigned int, cfd::core::Script const&, cfd::core::SigHashType, cfd::core::Amount const&, cfd::core::WitnessVersion) const | ByteData TransactionController::CreateSignatureHash(
const Txid& txid, uint32_t vout, const Script& redeem_script,
SigHashType sighash_type, const Amount& value,
WitnessVersion version) const {
uint32_t txin_index = transaction_.GetTxInIndex(txid, vout);
// TODO(soejima): OP_CODESEPARATOR存在時、Scriptの分割が必... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rsi, %r14
movq %rdi, %rbx
addq $0x10, %r14
movq %r14, %rdi
movq %rdx, %rsi
movl %ecx, %edx
callq 0x1c29e4
movl %eax, %ebp
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x1ab212
leaq 0x44(%rsp), %rdi
movq %r15, %rsi... | /p2pderivatives[P]cfd/src/cfd_transaction.cpp |
cfd::core::OutPoint::operator=(cfd::core::OutPoint const&) | class CFD_CORE_EXPORT OutPoint {
public:
/**
* @brief constructor (for vector)
*/
OutPoint();
/**
* @brief constructor.
* @param[in] txid txid
* @param[in] vout vout
*/
explicit OutPoint(const Txid& txid, uint32_t vout);
/**
* @brief get txid.
* @return Txid
... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x1d0e28
movl 0x20(%rbx), %eax
movl %eax, 0x20(%r14)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
| /p2pderivatives[P]cfd/external/cfd-core/src/../include/cfdcore/cfdcore_transaction_common.h |
void cfd::core::logger::log<unsigned int const&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, unsigned int const&) | void log(
const CfdSourceLocation &source, cfd::core::logger::CfdLogLevel lvl,
const char *fmt, Args &&...args) {
if (cfd::core::logger::IsEnableLogLevel(lvl)) {
auto message = fmt::format(fmt, args...);
// std::string message = fmt::format(std::locale::messages, fmt, args...);
cfd::core::logger::... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r12
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq 0x221627
testb %al, %al
je 0x22932d
movl (%r12), %eax
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
movq %r15, %rdi
callq 0x1a2e88
movq %rsp, %r15
pushq $0x2
popq %rcx
movq %r15, ... | /p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h |
void cfd::core::logger::log<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, std::__cxx11::basic_string<char, s... | void log(
const CfdSourceLocation &source, cfd::core::logger::CfdLogLevel lvl,
const char *fmt, Args &&...args) {
if (cfd::core::logger::IsEnableLogLevel(lvl)) {
auto message = fmt::format(fmt, args...);
// std::string message = fmt::format(std::locale::messages, fmt, args...);
cfd::core::logger::... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq 0x221627
testb %al, %al
je 0x229557
movups (%r13), %xmm0
movups (%r12), %xmm1
leaq 0x20(%rsp), %r12
movaps %xmm0, (%r12)
movaps %xmm1, 0x10(%r12)
m... | /p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h |
cfd::ParseDescriptor(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<cfd::core::KeyData, std::allocator<cfd::core::KeyData>>*, cfd::core::NetType*) | cfd::DescriptorScriptData ParseDescriptor(
const std::string& descriptor, std::vector<KeyData>* key_list,
NetType* net_type = nullptr) {
std::vector<KeyData> temp_key_list;
cfd::DescriptorScriptData script_data;
if (net_type == nullptr) {
NetType target_list[] = {
NetType::kMainnet, NetType::k... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3b8, %rsp # imm = 0x3B8
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
andq $0x0, 0x30(%rsp)
callq 0xaf256
testq %r12, %r12
je 0x229734
movl (%r12), %esi
leaq 0x58(%rsp), %rd... | /p2pderivatives[P]cfd/src/cfd_psbt.cpp |
cfd::Psbt::GetUtxoData(unsigned int, cfd::core::NetType) const | UtxoData Psbt::GetUtxoData(uint32_t index, NetType net_type) const {
CheckTxInIndex(index, __LINE__, __FUNCTION__);
struct wally_psbt* psbt_pointer;
psbt_pointer = static_cast<struct wally_psbt*>(wally_psbt_pointer_);
UtxoData utxo;
utxo.block_height = 0;
utxo.address_type = AddressType::kP2shAddress;
ut... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x758, %rsp # imm = 0x758
movl %ecx, 0x84(%rsp)
movl %edx, %r12d
movq %rsi, %r13
movq %rdi, %rbx
movq (%rsi), %rax
leaq 0x1cc851(%rip), %rcx # 0x3f8320
movq %rsi, %rdi
movl %edx, %esi
movl $0x2d2, %edx # imm = 0x2D2
callq *... | /p2pderivatives[P]cfd/src/cfd_psbt.cpp |
cfd::CollectSighashByTx(cfd::core::Transaction const*, cfd::core::OutPoint const&, cfd::UtxoData const&, cfd::core::SigHashType const&, cfd::core::Pubkey const&, cfd::core::Script const&, cfd::core::WitnessVersion, cfd::core::ByteData const*, cfd::core::TaprootScriptTree const*) | static ByteData256 CollectSighashByTx(
const Transaction* transaction, const OutPoint& outpoint,
const UtxoData& utxo, const SigHashType& sighash_type,
const Pubkey& pubkey, const Script& redeem_script,
WitnessVersion witness_version, const ByteData*,
const TaprootScriptTree*) {
uint32_t index =
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r9, 0x8(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %r14
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rdx, %rsi
callq 0x1bfbd2
movq %rbp, %rdi
callq 0x1bfbe0
movq (%r15), %rcx
leaq 0x28(%rsp), %rsi
movq %r1... | /p2pderivatives[P]cfd/src/cfd_psbt.cpp |
void cfd::core::logger::log<unsigned int&, unsigned int&>(cfd::core::logger::CfdSourceLocation const&, cfd::core::logger::CfdLogLevel, char const*, unsigned int&, unsigned int&) | void log(
const CfdSourceLocation &source, cfd::core::logger::CfdLogLevel lvl,
const char *fmt, Args &&...args) {
if (cfd::core::logger::IsEnableLogLevel(lvl)) {
auto message = fmt::format(fmt, args...);
// std::string message = fmt::format(std::locale::messages, fmt, args...);
cfd::core::logger::... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %edi
callq 0x221627
testb %al, %al
je 0x22e45d
movl (%r13), %eax
movl (%r12), %ecx
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
movq %rcx, 0x10(%r12)
movq %r15, %r... | /p2pderivatives[P]cfd/external/cfd-core/src/include/cfdcore/cfdcore_logger.h |
cfd::AddressFactory::GetAddressByLockingScript(cfd::core::Script const&) const | Address AddressFactory::GetAddressByLockingScript(
const Script& locking_script) const {
std::vector<ScriptElement> items = locking_script.GetElementList();
if (locking_script.IsP2pkScript()) {
Pubkey pubkey = Pubkey(items[0].GetBinaryData());
return CreateP2pkhAddress(pubkey);
} else if (locking_scri... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rdx, %rsi
callq 0x1abeba
movq %r15, %rdi
callq 0x1ac024
testb %al, %al
je 0x22e6fc
movq 0x28(%rsp), %rsi
leaq 0x70(%rsp), %rdi
callq 0x1aadfa
leaq 0x8(%rsp), %rdi
leaq 0x70(%rsp), %rs... | /p2pderivatives[P]cfd/src/cfd_address.cpp |
cfd::AddressFactory::CheckAddressNetType(cfd::core::Address const&, cfd::core::NetType) const | bool AddressFactory::CheckAddressNetType(
const Address& address, NetType net_type) const {
if (address.GetNetType() == net_type) {
return true;
}
// check prefix
bool result = false;
AddressType addr_type = address.GetAddressType();
AddressFormatData addr_format = address.GetAddressFormatData();
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movb $0x1, %bl
cmpl %edx, (%rsi)
je 0x22ed66
movl %edx, %ebp
movq %rdi, %r15
movl 0x4(%rsi), %r12d
addq $0x148, %rsi # imm = 0x148
movq %rsp, %rdi
callq 0xaffce
movq 0x10(%r15), %r14
movq 0x18(%r15), %rbx
cmpq %rbx, %r14
je 0x22ecc3
movq... | /p2pderivatives[P]cfd/src/cfd_address.cpp |
cfd::AddressFactory::CreateAddress(cfd::core::AddressType, cfd::core::Pubkey const*, cfd::core::Script const*, cfd::core::Script*, cfd::core::Script*) const | Address AddressFactory::CreateAddress(
AddressType address_type, const Pubkey* pubkey, const Script* script,
Script* locking_script, Script* redeem_script) const {
if ((pubkey == nullptr) || (!pubkey->IsValid())) {
if (address_type == AddressType::kP2pkhAddress ||
address_type == AddressType::kP2w... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp # imm = 0x1D8
movq %r9, %r14
movq %r8, %rbp
movq %rcx, %r13
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %rbx
movl %edx, 0xc(%rsp)
testq %rcx, %rcx
je 0x22edd4
movq %r13, %rdi
callq 0x1ce7d6
testb %al, %al
jne 0x22ede9
cmpl $0... | /p2pderivatives[P]cfd/src/cfd_address.cpp |
cfd::AddressFactory::GetAddressesFromMultisig(cfd::core::AddressType, cfd::core::Script const&, std::vector<cfd::core::Pubkey, std::allocator<cfd::core::Pubkey>>*) const | std::vector<Address> AddressFactory::GetAddressesFromMultisig(
AddressType address_type, const Script& redeem_script,
std::vector<Pubkey>* pubkey_list) const {
if ((address_type != AddressType::kP2pkhAddress) &&
(address_type != AddressType::kP2wpkhAddress) &&
(address_type != AddressType::kP2shP2... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x368, %rsp # imm = 0x368
movq %rsi, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
movl %edx, 0x1c(%rsp)
cmpl $0x6, %edx
ja 0x22f3cf
movl %edx, %ebp
pushq $0x54
popq %rax
btl %edx, %eax
jae 0x22f3cf
movq %r8, %rbx
leaq 0x28(%rsp), %rdi
movq %rcx, %rsi... | /p2pderivatives[P]cfd/src/cfd_address.cpp |
cfd::CoinSelectionOption::CoinSelectionOption() | CoinSelectionOption::CoinSelectionOption()
: effective_fee_baserate_(kDefaultLongTermFeeRate),
long_term_fee_baserate_(kDefaultLongTermFeeRate),
knapsack_minimum_change_(-1),
dust_fee_rate_(kDustRelayTxFeeRate),
has_ignore_fee_asset_(false) {
// do nothing
} | pushq %rbx
movq %rdi, %rbx
movb $0x1, (%rdi)
andq $0x0, 0x4(%rdi)
movl $0x4e20, %eax # imm = 0x4E20
movq %rax, 0x10(%rdi)
movq %rax, 0x18(%rdi)
orq $-0x1, 0x20(%rdi)
movq $0xbb8, 0x28(%rdi) # imm = 0xBB8
movb $0x0, 0x30(%rdi)
addq $0x38, %rdi
callq 0x1f615e
movabsq $0x3400000000, %rax # imm = 0x34000... | /p2pderivatives[P]cfd/src/cfd_utxo.cpp |
cfd::CoinSelectionOption::InitializeTxSizeInfo() | void CoinSelectionOption::InitializeTxSizeInfo() {
// wpkh想定
Script wpkh_script("0014ffffffffffffffffffffffffffffffffffffffff");
TxOut txout(Amount(), wpkh_script);
TxOutReference txout_ref(txout);
change_output_size_ = txout_ref.GetSerializeVsize();
change_spend_size_ =
TxIn::EstimateTxInVsize(Addres... | pushq %rbx
subq $0x110, %rsp # imm = 0x110
movq %rdi, %rbx
leaq 0x1c771e(%rip), %rsi # 0x3f8840
movq %rsp, %rdi
leaq 0x50(%rsp), %rdx
callq 0x88260
leaq 0xd8(%rsp), %rdi
movq %rsp, %rsi
callq 0x1ab26e
movq %rsp, %rdi
callq 0x88db0
leaq 0x50(%rsp), %rdi
callq 0x1d0750
movq %rsp, %rdi
leaq 0x50(%rsp), %rsi
... | /p2pderivatives[P]cfd/src/cfd_utxo.cpp |
cfd::CoinSelectionOption::InitializeConfidentialTxSizeInfo() | void CoinSelectionOption::InitializeConfidentialTxSizeInfo() {
// wpkh想定
Script wpkh_script("0014ffffffffffffffffffffffffffffffffffffffff");
ConfidentialTxOut ctxout(
wpkh_script, ConfidentialAssetId(), ConfidentialValue());
ConfidentialTxOutReference txout(ctxout);
change_output_size_ =
txout.Get... | pushq %rbx
subq $0x2f0, %rsp # imm = 0x2F0
movq %rdi, %rbx
leaq 0x1c7474(%rip), %rsi # 0x3f8840
leaq 0x1f8(%rsp), %rdi
leaq 0x100(%rsp), %rdx
callq 0x88260
leaq 0xc8(%rsp), %rdi
leaq 0x1f8(%rsp), %rsi
callq 0x1ab26e
leaq 0x1f8(%rsp), %rdi
callq 0x88db0
leaq 0x100(%rsp), %rdi
callq 0x1f615e
leaq 0x30(%rsp)... | /p2pderivatives[P]cfd/src/cfd_utxo.cpp |
cfd::CoinSelection::SelectCoins(cfd::core::Amount const&, std::vector<cfd::Utxo, std::allocator<cfd::Utxo>> const&, cfd::UtxoFilter const&, cfd::CoinSelectionOption const&, cfd::core::Amount const&, cfd::core::Amount*, cfd::core::Amount*, bool*) | std::vector<Utxo> CoinSelection::SelectCoins(
const Amount& target_value, const std::vector<Utxo>& utxos,
const UtxoFilter& filter, const CoinSelectionOption& option_params,
const Amount& tx_fee_value, Amount* select_value, Amount* utxo_fee_value,
bool* searched_bnb) {
#ifndef CFD_DISABLE_ELEMENTS
boo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %r9, 0x70(%rsp)
movq %r8, 0x68(%rsp)
movq %rcx, %rbp
movq %rdx, %r13
movq %rsi, 0x60(%rsp)
movq %rdi, 0x78(%rsp)
movl $0x89, %r14d
addq (%rcx), %r14
movq 0x8(%rcx), %rbx
movb $0x1, %al
leaq 0x90(%rsp), %r15
pushq $0x21
popq %r12
lea... | /p2pderivatives[P]cfd/src/cfd_utxo.cpp |
cfd::CoinSelection::SelectCoinsMinConf(long const&, std::vector<cfd::Utxo*, std::allocator<cfd::Utxo*>> const&, cfd::UtxoFilter const&, cfd::CoinSelectionOption const&, cfd::core::Amount const&, bool, long*, cfd::core::Amount*, bool*) | std::vector<Utxo> CoinSelection::SelectCoinsMinConf(
const int64_t& target_value, const std::vector<Utxo*>& utxos,
const UtxoFilter& filter, const CoinSelectionOption& option_params,
const Amount& tx_fee_value, const bool consider_fee, int64_t* select_value,
Amount* utxo_fee_value, bool* searched_bnb) {... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r9, %r13
movq %rcx, %rbx
movq %rdx, 0x80(%rsp)
movq %rsi, %r14
movq %rdi, %r15
movq 0x120(%rsp), %r12
movq 0x110(%rsp), %rdx
leaq 0x1c6f26(%rip), %rcx # 0x3f88be
leaq 0x1c7152(%rip), %rax # 0x3f8af1
testq %rdx, %rdx
je 0x2319... | /p2pderivatives[P]cfd/src/cfd_utxo.cpp |
cfd::ConfidentialTransactionContext::CalculateSimpleFee(bool, bool) const | Amount ConfidentialTransactionContext::CalculateSimpleFee(
bool append_feature_signed_size, bool append_signed_witness) const {
static constexpr uint32_t kP2wpkhWitnessSize = 72 + 33 + 3;
uint32_t size = GetTotalSize();
uint32_t vsize = GetVsize();
uint32_t rate = FeeCalculator::kRelayMinimumFee;
if (app... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %r14
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %ebx
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
testl %r15d, %r15d
je 0x2401d2
movq (%r14), %rax
movq %r14, %rdi
callq *0x30(%rax)
movl %eax, %r15d
movq %r14, %... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::AddPeginTxIn(cfd::core::OutPoint const&, cfd::core::Amount const&, cfd::core::ConfidentialAssetId const&, cfd::core::BlockHash const&, cfd::core::Script const&, cfd::core::ByteData const&, cfd::core::ByteData const&) | void ConfidentialTransactionContext::AddPeginTxIn( // AddPeginWitness
const OutPoint& outpoint, const Amount& amount,
const ConfidentialAssetId& asset_id,
const BlockHash& mainchain_genesis_block_hash, const Script& claim_script,
const ByteData& mainchain_pegin_transaction,
const ByteData& tx_out_p... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r9, 0x20(%rsp)
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %rbx
leaq 0x4(%rsp), %rdx
andl $0x0, (%rdx)
callq 0x23eae2
testb %al, %al
je 0x2404b4
movl 0x4(%rsp), %ebp
jmp 0x2404c9
movq (%rbx), %rax
movq... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::BlindTransactionWithDirectKey(std::map<cfd::core::OutPoint, cfd::core::UnblindParameter, std::less<cfd::core::OutPoint>, std::allocator<std::pair<cfd::core::OutPoint const, cfd::core::UnblindParameter>>> const&, std::map<cfd::core::OutPoint, cfd::core::IssuanceBlindingKeyPair, std::... | void ConfidentialTransactionContext::BlindTransactionWithDirectKey(
const std::map<OutPoint, BlindParameter>& utxo_info_map,
const std::map<OutPoint, IssuanceBlindingKeyPair>& issuance_key_map,
const std::vector<ElementsConfidentialAddress>& confidential_address_list,
const std::vector<ConfidentialKeyBl... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp # imm = 0x2A8
movq %r9, 0x70(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %rbx
movq %rdx, %r12
movq %rdi, 0x8(%rsp)
andq $0x0, 0x60(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
cmpq $0x0, 0x28(%rsi)
je 0x240fd8
movq %rsi, %r13
... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::AddInput(cfd::UtxoData const&, unsigned int) | void ConfidentialTransactionContext::AddInput(
const UtxoData& utxo, uint32_t sequence) {
if (!utxo.txid.IsValid()) {
throw CfdException(
CfdError::kCfdIllegalArgumentError,
"Failed to AddInput. invalid utxo txid.");
}
UtxoData dest;
Utxo temp;
memset(&temp, 0, sizeof(temp));
UtxoUt... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5c8, %rsp # imm = 0x5C8
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsi), %r14
movq %r14, %rdi
callq 0x1d0ef6
testb %al, %al
je 0x2415a8
leaq 0xd8(%rsp), %r12
movq %r12, %rdi
callq 0x221900
movq %rsp, %r13
movl $0xd8, %e... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::CollectInputUtxo(std::vector<cfd::UtxoData, std::allocator<cfd::UtxoData>> const&) | void ConfidentialTransactionContext::CollectInputUtxo(
const std::vector<UtxoData>& utxos) {
if ((!utxos.empty()) && (utxo_map_.size() != GetTxInCount())) {
for (const auto& txin_ref : vin_) {
const Txid& txid = txin_ref.GetTxid();
uint32_t vout = txin_ref.GetVout();
OutPoint outpoint(txid,... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x638, %rsp # imm = 0x638
movq %rdi, (%rsp)
movq (%rsi), %rax
movq %rsi, 0x10(%rsp)
cmpq 0x8(%rsi), %rax
je 0x2416b4
movq (%rsp), %rdi
movq 0x48(%rdi), %rax
subq 0x40(%rdi), %rax
movl $0x4f0, %ecx # imm = 0x4F0
cqto
idivq %rcx... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::IsFindUtxoMap(cfd::core::OutPoint const&, cfd::UtxoData*) const | bool ConfidentialTransactionContext::IsFindUtxoMap(
const OutPoint& outpoint, UtxoData* utxo) const {
for (const auto& utxo_data : utxo_map_) {
if ((outpoint.GetVout() == utxo_data.vout) &&
utxo_data.txid.Equals(outpoint.GetTxid())) {
if (utxo != nullptr) *utxo = utxo_data;
return true;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, (%rsp)
movq %rsi, %r14
movq 0x40(%rdi), %r15
movq 0x48(%rdi), %rbx
addq $0x28, %r15
leaq 0x8(%rsp), %r13
leaq -0x28(%r15), %r12
cmpq %rbx, %r12
je 0x24188a
movq %r14, %rdi
callq 0x1bfbe0
cmpl 0x20(%r15), %eax
jne 0x24186e
movq... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::GetTxInUtxoData(cfd::core::OutPoint const&) const | UtxoData ConfidentialTransactionContext::GetTxInUtxoData(
const OutPoint& outpoint) const {
UtxoData utxo;
utxo.address_type = AddressType::kP2shAddress;
utxo.vout = 0;
utxo.block_height = 0;
utxo.binary_data = nullptr;
IsFindUtxoMap(outpoint, &utxo);
return utxo;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x221900
movl $0x1, 0x268(%rbx)
andl $0x0, 0x48(%rbx)
andq $0x0, (%rbx)
andq $0x0, 0x270(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x24180c
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rb... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::Blind(std::vector<cfd::core::ElementsConfidentialAddress, std::allocator<cfd::core::ElementsConfidentialAddress>> const*, long, int, int, std::vector<cfd::core::BlindData, std::allocator<cfd::core::BlindData>>*) | void ConfidentialTransactionContext::Blind(
const std::vector<ElementsConfidentialAddress>* confidential_addresses,
int64_t minimum_range_value, int exponent, int minimum_bits,
std::vector<BlindData>* blinder_list) {
BlindIssuance(
std::map<OutPoint, IssuanceBlindingKeyPair>(), confidential_addresse... | pushq %rbx
subq $0x40, %rsp
movl %r8d, %eax
movl %ecx, %r8d
movq %rdx, %rcx
movq %rsi, %rdx
leaq 0x18(%rsp), %rsi
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%rsi)
andq $0x0, 0x8(%rsi)
movq %rsi, 0x10(%rsi)
movq %rsi, 0x18(%rsi)
andq $0x0, 0x20(%rsi)
movq %r9, (%rsp)
leaq 0x10(%rsp), %rsi
movl %eax, %r9d
callq 0x241972
leaq ... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::BlindIssuance(std::map<cfd::core::OutPoint, cfd::core::IssuanceBlindingKeyPair, std::less<cfd::core::OutPoint>, std::allocator<std::pair<cfd::core::OutPoint const, cfd::core::IssuanceBlindingKeyPair>>> const&, std::vector<cfd::core::ElementsConfidentialAddress, std::allocator<cfd::c... | void ConfidentialTransactionContext::BlindIssuance(
const std::map<OutPoint, IssuanceBlindingKeyPair>& issuance_key_map,
const std::vector<ElementsConfidentialAddress>* confidential_addresses,
int64_t minimum_range_value, int exponent, int minimum_bits,
std::vector<BlindData>* blinder_list) {
std::map... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x638, %rsp # imm = 0x638
movq %r9, 0x20(%rsp)
movl %r8d, 0xc(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, 0x28(%rsp)
movq %rsi, 0x10(%rsp)
movq %rdi, %r12
leaq 0x38(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0x8(%rax)
movq %rax, 0x10(%rax)
movq... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::SignWithKey(cfd::core::OutPoint const&, cfd::core::Pubkey const&, cfd::core::Privkey const&, cfd::core::SigHashType, bool) | void ConfidentialTransactionContext::SignWithKey(
const OutPoint& outpoint, const Pubkey& pubkey, const Privkey& privkey,
SigHashType sighash_type, bool has_grind_r) {
UtxoData utxo;
if (!IsFindUtxoMap(outpoint, &utxo)) {
throw CfdException(
CfdError::kCfdIllegalStateError, "Utxo is not found. s... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x538, %rsp # imm = 0x538
movl %r9d, %ebp
movq %r8, %r13
movq %rcx, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
callq 0x221900
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x24... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::SignWithPrivkeySimple(cfd::core::OutPoint const&, cfd::core::Pubkey const&, cfd::core::Privkey const&, cfd::core::SigHashType, cfd::core::ConfidentialValue const&, cfd::core::AddressType, bool) | void ConfidentialTransactionContext::SignWithPrivkeySimple(
const OutPoint& outpoint, const Pubkey& pubkey, const Privkey& privkey,
SigHashType sighash_type, const ConfidentialValue& value,
AddressType address_type, bool has_grind_r) {
WitnessVersion version = TransactionContextUtil::CheckSignWithPrivkeyS... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r9, 0x20(%rsp)
movq %r8, %r15
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %rbp
movq %rdi, %rbx
movl 0x120(%rsp), %ecx
movq %rsi, %rdi
movq %rdx, %rsi
movq %r13, %rdx
callq 0x2a4eaa
movl %eax, %r12d
leaq 0x4c(%rsp), %rdi
movq %r15, 0... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::IsFindOutPoint(std::vector<cfd::core::OutPoint, std::allocator<cfd::core::OutPoint>> const&, cfd::core::OutPoint const&) const | bool ConfidentialTransactionContext::IsFindOutPoint(
const std::vector<OutPoint>& list, const OutPoint& outpoint) const {
for (const auto& target : list) {
if (outpoint == target) return true;
}
return false;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq (%rsi), %rcx
movq 0x8(%rsi), %r15
movq %rcx, %r14
cmpq %r15, %rcx
je 0x242020
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1bfbea
leaq 0x28(%r14), %rcx
testb %al, %al
je 0x242005
cmpq %r15, %r14
setne %al
popq %rbx
popq %r14
popq %r15
retq
| /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
cfd::ConfidentialTransactionContext::Verify() | void ConfidentialTransactionContext::Verify() {
for (const auto& vin : vin_) {
OutPoint outpoint = vin.GetOutPoint();
if (!IsFindOutPoint(verify_ignore_map_, outpoint)) {
Verify(outpoint);
}
}
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %r14
movq 0x18(%rdi), %r13
leaq 0xa0(%rdi), %r15
leaq 0x8(%rsp), %r12
cmpq %r13, %r14
je 0x24208b
movq %r12, %rdi
movq %r14, %rsi
callq 0x1bf582
movq %r15, %rsi
movq %r12, %rdx
callq 0x241ff6
testb %al, %al
jne 0x24... | /p2pderivatives[P]cfd/src/cfd_elements_transaction.cpp |
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.