name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
secp256k1_ecmult_gen | static void secp256k1_ecmult_gen(const secp256k1_ecmult_gen_context *ctx, secp256k1_gej *r, const secp256k1_scalar *gn) {
secp256k1_ge add;
secp256k1_ge_storage adds;
secp256k1_scalar gnb;
int bits;
int i, j;
memset(&adds, 0, sizeof(adds));
*r = ctx->initial;
/* Blind scalar/point multip... | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq -0xb0(%rbp), %rdi
xorl %esi, %esi
movl $0x40, %edx
callq 0x1090
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x28, %rsi
movl $0x80, %edx
callq 0x10d0
movq -0x18(%rbp), %rsi
movq -0x8(%rbp), %rdx
ad... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/ecmult_gen_impl.h |
secp256k1_scalar_add | static int secp256k1_scalar_add(secp256k1_scalar *r, const secp256k1_scalar *a, const secp256k1_scalar *b) {
int overflow;
uint128_t t = (uint128_t)a->d[0] + b->d[0];
r->d[0] = t & 0xFFFFFFFFFFFFFFFFULL; t >>= 64;
t += (uint128_t)a->d[1] + b->d[1];
r->d[1] = t & 0xFFFFFFFFFFFFFFFFULL; t >>= 64;
... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movq -0x18(%rbp), %rax
movq (%rax), %rax
addq %rax, %rcx
setb %al
movzbl %al, %eax
movq %rcx, -0x30(%rbp)
movq %rax, -0x28(%rbp)
movq -0x30(%rbp), %rcx
movq -0x8(%rbp)... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/scalar_4x64_impl.h |
secp256k1_schnorrsig_compute_sigpoint | int secp256k1_schnorrsig_compute_sigpoint(const secp256k1_context* ctx, secp256k1_pubkey *sigpoint, const unsigned char *msg32, const secp256k1_xonly_pubkey *rx, const secp256k1_xonly_pubkey *pubkey) {
unsigned char pk_buf[32];
unsigned char rx_buf[32];
secp256k1_sha256 sha;
unsigned char buf[32];
s... | pushq %rbp
movq %rsp, %rbp
subq $0x330, %rsp # imm = 0x330
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
jmp 0x1fa01
movq -0x10(%rbp), %rdi
callq 0x17e80
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/schnorrsig/main_impl.h |
secp256k1_schnorrsig_sha256_tagged | static void secp256k1_schnorrsig_sha256_tagged(secp256k1_sha256 *sha) {
secp256k1_sha256_initialize(sha);
sha->s[0] = 0x9cecba11ul;
sha->s[1] = 0x23925381ul;
sha->s[2] = 0x11679112ul;
sha->s[3] = 0xd1627e0ful;
sha->s[4] = 0x97c87550ul;
sha->s[5] = 0x003cc765ul;
sha->s[6] = 0x90f61164ul;
... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x21b30
movq -0x8(%rbp), %rax
movl $0x9cecba11, (%rax) # imm = 0x9CECBA11
movq -0x8(%rbp), %rax
movl $0x23925381, 0x4(%rax) # imm = 0x23925381
movq -0x8(%rbp), %rax
movl $0x11679112, 0x8(%rax) # imm = 0x11679112
movq -0x... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/schnorrsig/main_impl.h |
secp256k1_sha256_write | static void secp256k1_sha256_write(secp256k1_sha256 *hash, const unsigned char *data, size_t len) {
size_t bufsize = hash->bytes & 0x3F;
hash->bytes += len;
VERIFY_CHECK(hash->bytes >= len);
while (len >= 64 - bufsize) {
/* Fill the buffer, and process it. */
size_t chunk_len = 64 - bufs... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x60(%rax), %rax
andq $0x3f, %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
addq 0x60(%rax), %rcx
movq %rcx, 0x60(%rax)
jmp 0x1fd26
movq -0x18(%rbp), %rax
... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/hash_impl.h |
secp256k1_sha256_finalize | static void secp256k1_sha256_finalize(secp256k1_sha256 *hash, unsigned char *out32) {
static const unsigned char pad[64] = {0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x44(%rbp)
movq -0x8(%rbp), %rax
movq 0x60(%rax), %rax
shrq $0x1d, %rax
andq $0xff, %rax
shlq $0x18, %rax
movq -0x8(%rbp), %rcx
movq 0x60(%rcx), %rcx
shrq $0x1d, %rcx
andq $0xff00, %rcx # imm = 0xFF00
shlq $0x... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/hash_impl.h |
secp256k1_ecdsa_anti_exfil_host_commit | int secp256k1_ecdsa_anti_exfil_host_commit(const secp256k1_context* ctx, unsigned char* rand_commitment32, const unsigned char* rand32) {
secp256k1_sha256 sha;
VERIFY_CHECK(ctx != NULL);
ARG_CHECK(rand_commitment32 != NULL);
ARG_CHECK(rand32 != NULL);
secp256k1_s2c_ecdsa_data_sha256_tagged(&sha);
... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
jmp 0x20c89
cmpq $0x0, -0x18(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x20cc0
movq -0x10(%rbp), %rdi
addq $0xb8, %rdi
leaq 0x1f843(%rip), %rsi # 0x404f5
cal... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/ecdsa_s2c/main_impl.h |
secp256k1_generator_parse | int secp256k1_generator_parse(const secp256k1_context* ctx, secp256k1_generator* gen, const unsigned char *input) {
secp256k1_fe x;
secp256k1_ge ge;
VERIFY_CHECK(ctx != NULL);
ARG_CHECK(gen != NULL);
ARG_CHECK(input != NULL);
if ((input[0] & 0xFE) != 10 ||
!secp256k1_fe_set_b32(&x, &in... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
jmp 0x210c9
cmpq $0x0, -0x18(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x21103
movq -0x10(%rbp), %rdi
addq $0xb8, %rdi
leaq 0x1f460(%rip), %rsi # 0x40552
cal... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/generator/main_impl.h |
secp256k1_fe_is_quad_var | static int secp256k1_fe_is_quad_var(const secp256k1_fe *a) {
#ifndef USE_NUM_NONE
unsigned char b[32];
secp256k1_num n;
secp256k1_num m;
/* secp256k1 field prime, value p defined in "Standards for Efficient Cryptography" (SEC2) 2.7.1. */
static const unsigned char prime[32] = {
0xFF,0xFF,0xF... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x32df0
addq $0x30, %rsp
popq %rbp
retq
nop
| /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/field_impl.h |
secp256k1_pedersen_commitment_parse | int secp256k1_pedersen_commitment_parse(const secp256k1_context* ctx, secp256k1_pedersen_commitment* commit, const unsigned char *input) {
secp256k1_fe x;
secp256k1_ge ge;
VERIFY_CHECK(ctx != NULL);
ARG_CHECK(commit != NULL);
ARG_CHECK(input != NULL);
(void) ctx;
if ((input[0] & 0xFE) != 8... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
jmp 0x22329
cmpq $0x0, -0x18(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x22363
movq -0x10(%rbp), %rdi
addq $0xb8, %rdi
leaq 0x1e21c(%rip), %rsi # 0x4056e
cal... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/rangeproof/main_impl.h |
secp256k1_pedersen_blind_sum | int secp256k1_pedersen_blind_sum(const secp256k1_context* ctx, unsigned char *blind_out, const unsigned char * const *blinds, size_t n, size_t npositive) {
secp256k1_scalar acc;
secp256k1_scalar x;
size_t i;
int overflow;
VERIFY_CHECK(ctx != NULL);
ARG_CHECK(blind_out != NULL);
ARG_CHECK(bli... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
jmp 0x22861
cmpq $0x0, -0x18(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x2289b
movq -0x10(%rbp), %rdi
addq $0xb8, %r... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/rangeproof/main_impl.h |
secp256k1_gej_neg | static void secp256k1_gej_neg(secp256k1_gej *r, const secp256k1_gej *a) {
r->infinity = a->infinity;
r->x = a->x;
r->y = a->y;
r->z = a->z;
secp256k1_fe_normalize_weak(&r->y);
secp256k1_fe_negate(&r->y, &r->y, 1);
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl 0x78(%rax), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x78(%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl $0x28, %edx
callq 0x10d0
movq -0x8(%rbp), %rdi
addq $0x28, %rdi
movq -0x10(%rbp), %rsi
addq ... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/group_impl.h |
secp256k1_pedersen_blind_generator_blind_sum | int secp256k1_pedersen_blind_generator_blind_sum(const secp256k1_context* ctx, const uint64_t *value, const unsigned char* const* generator_blind, unsigned char* const* blinding_factor, size_t n_total, size_t n_inputs) {
secp256k1_scalar sum;
secp256k1_scalar tmp;
size_t i;
VERIFY_CHECK(ctx != NULL);
... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
jmp 0x22fd5
movb $0x1, %al
cmpq $0x0, -0x30(%rbp)
movb %al, -0xa9(%rbp)
je 0x22ff2
cmpq $0x0, -0x18(%rbp)
setne %al
movb %al, -0xa9(%rbp)
mo... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/rangeproof/main_impl.h |
secp256k1_rangeproof_sign_impl | SECP256K1_INLINE static int secp256k1_rangeproof_sign_impl(const secp256k1_ecmult_context* ecmult_ctx,
const secp256k1_ecmult_gen_context* ecmult_gen_ctx,
unsigned char *proof, size_t *plen, uint64_t min_value,
const secp256k1_ge *commit, const unsigned char *blind, const unsigned char *nonce, int exp, int min_bits,... | pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x6c20, %rsp # imm = 0x6C20
movq 0x58(%rbp), %rax
movq 0x50(%rbp), %rax
movq 0x48(%rbp), %rax
movq 0x40(%rbp), %rax
movq 0x38(%rbp), %rax
movq 0x30(%rbp), %rax
movl 0x28(%rbp), %eax
movl 0x20(%rbp), %eax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %r... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/rangeproof/rangeproof_impl.h |
secp256k1_whitelist_compute_tweaked_privkey | static int secp256k1_whitelist_compute_tweaked_privkey(const secp256k1_context* ctx, secp256k1_scalar* skey, const unsigned char *online_key, const unsigned char *summed_key) {
secp256k1_scalar tweak;
int ret = 1;
int overflow = 0;
secp256k1_scalar_set_b32(skey, summed_key, &overflow);
if (overflow... | pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x1, -0x44(%rbp)
movl $0x0, -0x48(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x19220
cmpl $0x0, -0x48(%rbp)
jne 0x25ebe
movq -0x10(%rbp), %rd... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/whitelist/whitelist_impl.h |
secp256k1_count_bits_set | static size_t secp256k1_count_bits_set(const unsigned char* data, size_t count) {
size_t ret = 0;
size_t i;
for (i = 0; i < count; i++) {
#ifdef HAVE_BUILTIN_POPCOUNT
ret += __builtin_popcount(data[i]);
#else
ret += !!(data[i] & 0x1);
ret += !!(data[i] & 0x2);
ret += !!(data[i] & 0x... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x10(%rbp), %rax
jae 0x2678c
movq -0x8(%rbp), %rax
movq -0x20(%rbp), %rcx
movzbl (%rax,%rcx), %ecx
movl %ecx, %eax
shrl %eax
andl $0x55555555, %eax # imm = 0x55555555
... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/surjection/main_impl.h |
secp256k1_dleq_proof | static int secp256k1_dleq_proof(const secp256k1_ecmult_gen_context *ecmult_gen_ctx, secp256k1_scalar *s, secp256k1_scalar *e, const unsigned char *algo16, const secp256k1_scalar *sk, const secp256k1_ge *gen2) {
unsigned char nonce32[32];
unsigned char key32[32];
secp256k1_ge p1, p2;
secp256k1_sha256 sha... | pushq %rbp
movq %rsp, %rbp
subq $0x3a0, %rsp # imm = 0x3A0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rcx
movq -0x38(%rbp), %r8
leaq -0xd8(%rbp), %rsi
leaq -0x130(%rbp), %rdx... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/modules/ecdsa_adaptor/dleq_impl.h |
secp256k1_der_read_len | static int secp256k1_der_read_len(size_t *len, const unsigned char **sigp, const unsigned char *sigend) {
size_t lenleft;
unsigned char b1;
VERIFY_CHECK(len != NULL);
*len = 0;
if (*sigp >= sigend) {
return 0;
}
b1 = *((*sigp)++);
if (b1 == 0xFF) {
/* X.690-0207 8.1.3.5.c... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq $0x0, (%rax)
movq -0x18(%rbp), %rax
movq (%rax), %rax
cmpq -0x20(%rbp), %rax
jb 0x2b0a4
movl $0x0, -0x4(%rbp)
jmp 0x2b1f1
movq -0x18(%rbp), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
m... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/ecdsa_impl.h |
secp256k1_der_parse_integer | static int secp256k1_der_parse_integer(secp256k1_scalar *r, const unsigned char **sig, const unsigned char *sigend) {
int overflow = 0;
unsigned char ra[32] = {0};
size_t rlen;
if (*sig == sigend || **sig != 0x02) {
/* Not a primitive integer (X.690-0207 8.3.1). */
return 0;
}
(... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1090
movq -0x18(%rbp), %rax
movq (%rax), %rax
cmpq -0x20(%rbp), %rax
je 0x2b247
movq -0x18(%rbp), %rax
movq (%rax), %rax... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/ecdsa_impl.h |
secp256k1_fe_cmp_var | static int secp256k1_fe_cmp_var(const secp256k1_fe *a, const secp256k1_fe *b) {
int i;
#ifdef VERIFY
VERIFY_CHECK(a->normalized);
VERIFY_CHECK(b->normalized);
secp256k1_fe_verify(a);
secp256k1_fe_verify(b);
#endif
for (i = 4; i >= 0; i--) {
if (a->n[i] > b->n[i]) {
return 1;
... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x4, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jl 0x2b6ac
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x18(%rbp), %rcx
movslq -0x1c(%rbp), %rdx
cmpq (%rcx,%rdx,8), %rax
jbe 0x2b67c
movl $0x1, -0x4(%rbp)
jmp 0x2b6b... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/field_5x52_impl.h |
secp256k1_ecdsa_sig_sign | static int secp256k1_ecdsa_sig_sign(const secp256k1_ecmult_gen_context *ctx, secp256k1_scalar *sigr, secp256k1_scalar *sigs, const secp256k1_scalar *seckey, const secp256k1_scalar *message, const secp256k1_scalar *nonce, int *recid) {
unsigned char b[32];
secp256k1_gej rp;
secp256k1_ge r;
secp256k1_scal... | pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp # imm = 0x160
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl $0x0, -0x14c(%rbp)
movq -0x8(%rbp), %rdi
movq -0x30(%rbp), %rdx
leaq -0xd0(%rbp), %rsi
c... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/ecdsa_impl.h |
secp256k1_ec_commit_tweak | static int secp256k1_ec_commit_tweak(unsigned char *tweak32, secp256k1_ge* pubp, secp256k1_sha256* sha, const unsigned char *data, size_t data_size)
{
unsigned char rbuf[33];
if (!secp256k1_ec_commit_pubkey_serialize_const(pubp, rbuf)) {
return 0;
}
secp256k1_sha256_write(sha, rbuf, sizeof(rbuf... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x2bf80
cmpl $0x0, %eax
jne 0x2bf37
movl $0x0, -0x4(%rbp)
jmp 0x2bf6e
movq -0x20(%rbp), %rdi
leaq -0x60(%rbp),... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/eccommit_impl.h |
secp256k1_eckey_pubkey_tweak_add | static int secp256k1_eckey_pubkey_tweak_add(const secp256k1_ecmult_context *ctx, secp256k1_ge *key, const secp256k1_scalar *tweak) {
secp256k1_gej pt;
secp256k1_scalar one;
secp256k1_gej_set_ge(&pt, key);
secp256k1_scalar_set_int(&one, 1);
secp256k1_ecmult(ctx, &pt, &pt, &one, tweak);
if (secp2... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x18(%rbp), %rsi
leaq -0xa0(%rbp), %rdi
callq 0x1ffa0
leaq -0xc0(%rbp), %rdi
movl $0x1, %esi
callq 0x229d0
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %r8
leaq -0xa0(%rbp), %rdx
leaq -0xc0(%rbp), %rcx
mov... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/eckey_impl.h |
secp256k1_fe_cmov | static SECP256K1_INLINE void secp256k1_fe_cmov(secp256k1_fe *r, const secp256k1_fe *a, int flag) {
uint64_t mask0, mask1;
VG_CHECK_VERIFY(r->n, sizeof(r->n));
mask0 = flag + ~((uint64_t)0);
mask1 = ~mask0;
r->n[0] = (r->n[0] & mask0) | (a->n[0] & mask1);
r->n[1] = (r->n[1] & mask0) | (a->n[1] & ... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movslq -0x14(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
xorq $-0x1, %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rcx
andq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq (%rax)... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/field_5x52_impl.h |
secp256k1_gej_rescale | static void secp256k1_gej_rescale(secp256k1_gej *r, const secp256k1_fe *s) {
/* Operations: 4 mul, 1 sqr */
secp256k1_fe zz;
VERIFY_CHECK(!secp256k1_fe_is_zero(s));
secp256k1_fe_sqr(&zz, s);
secp256k1_fe_mul(&r->x, &r->x, &zz); /* r->x *= s^2 */
secp256k1_fe_mul(&r->y, &r->y, &zz)... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x2b020
movq -0x10(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x29e80
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rsi
leaq -0x38(%rbp), %rdx
callq 0x29db0
movq -0x8(%rbp), %rdi
addq $0x28, %rdi
movq -0x8(%rbp... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/group_impl.h |
secp256k1_fe_normalizes_to_zero | static int secp256k1_fe_normalizes_to_zero(secp256k1_fe *r) {
uint64_t t0 = r->n[0], t1 = r->n[1], t2 = r->n[2], t3 = r->n[3], t4 = r->n[4];
/* z0 tracks a possible raw value of 0, z1 tracks a possible raw value of P */
uint64_t z0, z1;
/* Reduce t4 at the start so there will be at most a single carry... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x... | /p2pderivatives[P]cfd-go/external/libwally-core/src/secp256k1/src/field_5x52_impl.h |
confidential_commitment_varint_from_bytes | static size_t confidential_commitment_varint_from_bytes(const unsigned char *bytes,
uint64_t *v,
bool ct_value)
{
switch (*bytes) {
case 1:
*v = ct_value ? WALLY_TX_ASSET_CT_VALUE_UNBLIND_LEN ... | pushq %rbp
movq %rsp, %rbp
movb %dl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
movl %eax, -0x20(%rbp)
subl $0x1, %eax
je 0x3589e
jmp 0x35884
movl -0x20(%rbp), %eax
addl $-0x2, %eax
subl $0x2, %eax
jb 0x358c8
jmp 0x35891
movl -0x20(%... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_scriptpubkey_get_type | int wally_scriptpubkey_get_type(const unsigned char *bytes, size_t bytes_len,
size_t *written)
{
if (written)
*written = WALLY_SCRIPT_TYPE_UNKNOWN;
if (!bytes || !bytes_len || !written)
return WALLY_EINVAL;
if (scriptpubkey_is_op_return(bytes, bytes_len)) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x35bb6
movq -0x20(%rbp), %rax
movq $0x0, (%rax)
cmpq $0x0, -0x10(%rbp)
je 0x35bcb
cmpq $0x0, -0x18(%rbp)
je 0x35bcb
cmpq $0x0, -0x20(%rbp)
jne 0x35bd7
movl $0xfffffffe, -0x4(%rbp) ... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_scriptpubkey_multisig_from_bytes | int wally_scriptpubkey_multisig_from_bytes(
const unsigned char *bytes, size_t bytes_len, uint32_t threshold,
uint32_t flags, unsigned char *bytes_out, size_t len, size_t *written)
{
size_t n_pubkeys = bytes_len / EC_PUBLIC_KEY_LEN;
size_t script_len = 3 + (n_pubkeys * (EC_PUBLIC_KEY_LEN + 1));
size... | pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp # imm = 0x240
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl $0x21, %ecx
xorl %edx, %edx
divq %rcx
movq %rax, -0x38(%rbp)
imu... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_scriptpubkey_csv_2of2_then_1_from_bytes | int wally_scriptpubkey_csv_2of2_then_1_from_bytes(
const unsigned char *bytes, size_t bytes_len, uint32_t csv_blocks,
uint32_t flags, unsigned char *bytes_out, size_t len, size_t *written)
{
size_t csv_len = scriptint_get_length(csv_blocks);
size_t script_len = 2 * (EC_PUBLIC_KEY_LEN + 1) + 9 + 1 + csv_... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, %edi
callq 0x37000
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
addq $0x4e, %rax
mo... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_scriptpubkey_csv_2of2_then_1_from_bytes_opt | int wally_scriptpubkey_csv_2of2_then_1_from_bytes_opt(
const unsigned char *bytes, size_t bytes_len, uint32_t csv_blocks,
uint32_t flags, unsigned char *bytes_out, size_t len, size_t *written)
{
size_t csv_len = scriptint_get_length(csv_blocks);
size_t script_len = 2 * (EC_PUBLIC_KEY_LEN + 1) + 6 + 1 + ... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, %edi
callq 0x37000
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
addq $0x4b, %rax
mo... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_scriptpubkey_csv_2of3_then_2_from_bytes | int wally_scriptpubkey_csv_2of3_then_2_from_bytes(
const unsigned char *bytes, size_t bytes_len, uint32_t csv_blocks,
uint32_t flags, unsigned char *bytes_out, size_t len, size_t *written)
{
size_t csv_len = scriptint_get_length(csv_blocks);
size_t script_len = 3 * (EC_PUBLIC_KEY_LEN + 1) + 13 + 1 + csv... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, %edi
callq 0x37000
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
addq $0x74, %rax
mo... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_varint_to_bytes | int wally_varint_to_bytes(uint64_t value, unsigned char *bytes_out, size_t len, size_t *written)
{
if (written)
*written = 0;
if (!bytes_out || len < varint_get_length(value) || !written)
return WALLY_EINVAL;
*written = varint_to_bytes(value, bytes_out);
return WALLY_OK;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x3777a
movq -0x28(%rbp), %rax
movq $0x0, (%rax)
cmpq $0x0, -0x18(%rbp)
je 0x377a5
movq -0x20(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
callq ... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_varbuff_to_bytes | int wally_varbuff_to_bytes(const unsigned char *bytes, size_t bytes_len,
unsigned char *bytes_out, size_t len, size_t *written)
{
if (written)
*written = 0;
if (BYTES_INVALID(bytes, bytes_len) || !bytes_out ||
len < varint_get_length(bytes_len) + bytes_len || !written)... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x3788e
movq -0x30(%rbp), %rax
movq $0x0, (%rax)
cmpq $0x0, -0x10(%rbp)
setne %al
andb $0x1, %al
movzbl %al, %eax
cmpq $0x0, -0x18(%rbp)... | /p2pderivatives[P]cfd-go/external/libwally-core/src/script.c |
wally_ec_public_key_from_private_key | int wally_ec_public_key_from_private_key(const unsigned char *priv_key, size_t priv_key_len,
unsigned char *bytes_out, size_t len)
{
secp256k1_pubkey pub;
size_t len_in_out = EC_PUBLIC_KEY_LEN;
const secp256k1_context *ctx = secp_ctx();
bool ok;
if (!ctx)
... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq $0x21, -0x70(%rbp)
callq 0x24b0
movq %rax, -0x78(%rbp)
cmpq $0x0, -0x78(%rbp)
jne 0x3887f
movl $0xfffffffd, -0x4(%rbp) # imm = 0xFFFFFFFD
jmp 0x3893c
xorl %eax, %eax
cmpq $0x0, -0... | /p2pderivatives[P]cfd-go/external/libwally-core/src/sign.c |
wally_ec_public_key_negate | int wally_ec_public_key_negate(const unsigned char *pub_key, size_t pub_key_len,
unsigned char *bytes_out, size_t len)
{
secp256k1_pubkey pub;
size_t len_in_out = EC_PUBLIC_KEY_LEN;
bool ok;
ok = pub_key && pub_key_len == EC_PUBLIC_KEY_LEN &&
bytes_out && len == ... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq $0x21, -0x68(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x8(%rbp)
movb %al, -0x6a(%rbp)
je 0x38ae3
xorl %eax, %eax
cmpq $0x21, -0x10(%rbp)
movb %al, -0x6a(%rbp)
jne 0x38ae3
xorl %eax, %eax
... | /p2pderivatives[P]cfd-go/external/libwally-core/src/sign.c |
CLI::detail::EscapedStringTransformer::EscapedStringTransformer() | CLI11_INLINE EscapedStringTransformer::EscapedStringTransformer() {
func_ = [](std::string &str) {
try {
if(str.size() > 1 && (str.front() == '\"' || str.front() == '\'' || str.front() == '`') &&
str.front() == str.back()) {
process_quoted_string(str);
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
callq 0x1a3e0
movq -0x18(%rbp), %rdi
addq $0x20, %rdi
leaq -0x9(%rbp), %rsi
callq 0x1a440
addq $0x20, %rsp
popq %rbp
retq
| /CLIUtils[P]CLI11/include/CLI/impl/Validators_inl.hpp |
CLI::TypeValidator<double>::TypeValidator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | explicit TypeValidator(const std::string &validator_name)
: Validator(validator_name, [](std::string &input_string) {
using CLI::detail::lexical_cast;
auto val = DesiredType();
if(!lexical_cast(input_string, val)) {
return std::string("Failed parsing "... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x71b0
leaq -0x50(%rbp), %rdi
movq %rdi, -0x70(%rbp)
leaq -0x51(%rbp), %rsi
callq 0x55bd0
movq -0x80(%rbp), %rd... | /CLIUtils[P]CLI11/include/CLI/Validators.hpp |
CLI::TypeValidator<double>::~TypeValidator() | explicit TypeValidator(const std::string &validator_name)
: Validator(validator_name, [](std::string &input_string) {
using CLI::detail::lexical_cast;
auto val = DesiredType();
if(!lexical_cast(input_string, val)) {
return std::string("Failed parsing "... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x2dea0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| /CLIUtils[P]CLI11/include/CLI/Validators.hpp |
CLI::App::get_groups[abi:cxx11]() const | CLI11_NODISCARD CLI11_INLINE std::vector<std::string> App::get_groups() const {
std::vector<std::string> groups;
for(const Option_p &opt : options_) {
// Add group if it is not already in there
if(std::find(groups.begin(), groups.end(), opt->get_group()) == groups.end()) {
groups.pu... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x80(%rbp)
movq %rdi, %rax
movq %rax, -0x78(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x70(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x17fe0
movq -0x70(%rbp), %rax
addq $0xd8, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::Option::reduced_results[abi:cxx11]() const | CLI11_NODISCARD CLI11_INLINE results_t Option::reduced_results() const {
results_t res = proc_results_.empty() ? results_ : proc_results_;
if(current_option_state_ < option_state::reduced) {
if(current_option_state_ == option_state::parsing) {
res = results_;
_validate_results(re... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x58(%rbp)
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x48(%rbp)
movb $0x0, -0x11(%rbp)
addq $0x230, %rdi # imm = 0x230
callq 0xc280
testb $0x1, %al
jne 0xb589
jmp 0xb599
movq -... | /CLIUtils[P]CLI11/include/CLI/impl/Option_inl.hpp |
CLI::detail::convert_arg_for_ini(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char, char, bool) | CLI11_INLINE std::string
convert_arg_for_ini(const std::string &arg, char stringQuote, char literalQuote, bool disable_multi_line) {
if(arg.empty()) {
return std::string(2, stringQuote);
}
// some specifically supported strings
if(arg == "true" || arg == "false" || arg == "nan" || arg == "inf") ... | pushq %rbp
movq %rsp, %rbp
subq $0x280, %rsp # imm = 0x280
movq %rdi, -0x228(%rbp)
movb %r8b, %al
movq %rdi, %r8
movq %r8, -0x220(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb %dl, -0x11(%rbp)
movb %cl, -0x12(%rbp)
andb $0x1, %al
movb %al, -0x13(%rbp)
movq -0x10(%rbp), %rdi
callq 0x7770
testb $0x1,... | /CLIUtils[P]CLI11/include/CLI/impl/Config_inl.hpp |
CLI::clean_name_string(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&) | CLI11_INLINE std::string &clean_name_string(std::string &name, const std::string &keyChars) {
if(name.find_first_of(keyChars) != std::string::npos || (name.front() == '[' && name.back() == ']') ||
(name.find_first_of("'`\"\\") != std::string::npos)) {
if(name.find_first_of('\'') == std::string::npos)... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x73f0
cmpq $-0x1, %rax
jne 0xced7
movq -0x8(%rbp), %rdi
callq 0x7110
movsbl (%rax), %eax
cmpl $0x5b, %eax
jne 0xceb9
movq -0x8(%rbp), %rdi
callq 0x... | /CLIUtils[P]CLI11/include/CLI/impl/Config_inl.hpp |
CLI::App::get_subcommands(std::function<bool (CLI::App const*)> const&) const | CLI11_INLINE std::vector<const App *> App::get_subcommands(const std::function<bool(const App *)> &filter) const {
std::vector<const App *> subcomms(subcommands_.size());
std::transform(
std::begin(subcommands_), std::end(subcommands_), std::begin(subcomms), [](const App_p &v) { return v.get(); });
... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rdi, -0xb0(%rbp)
movq %rdi, %rax
movq %rax, -0xc0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
movb $0x0, -0x19(%rbp)
addq $0x2c0, %rdi # imm = 0x2C0
callq 0x... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::Formatter::make_footer[abi:cxx11](CLI::App const*) const | CLI11_INLINE std::string Formatter::make_footer(const App *app) const {
std::string footer = app->get_footer();
if(footer.empty()) {
return std::string{};
}
return '\n' + footer + "\n\n";
} | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x80(%rbp)
movq %rdi, %rax
movq %rax, -0x78(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x53ec0
leaq -0x38(%rbp), %rdi
callq 0x7770
testb $0x1, %al
jne 0x12a6e
jmp 0x12a80
movq -0x80... | /CLIUtils[P]CLI11/include/CLI/impl/Formatter_inl.hpp |
CLI::Formatter::make_usage(CLI::App const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const | CLI11_INLINE std::string Formatter::make_usage(const App *app, std::string name) const {
std::string usage = app->get_usage();
if(!usage.empty()) {
return usage + "\n\n";
}
std::stringstream out;
out << '\n';
if(name.empty())
out << get_label("Usage") << ':';
else
o... | pushq %rbp
movq %rsp, %rbp
subq $0x520, %rsp # imm = 0x520
movq %rcx, -0x438(%rbp)
movq %rdi, -0x430(%rbp)
movq %rdi, %rax
movq %rax, -0x428(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x420(%rbp)
movq -0x18(%rbp), %rsi
l... | /CLIUtils[P]CLI11/include/CLI/impl/Formatter_inl.hpp |
CLI::Formatter::make_option[abi:cxx11](CLI::Option const*, bool) const | CLI11_INLINE std::string Formatter::make_option(const Option *opt, bool is_positional) const {
std::stringstream out;
if(is_positional) {
const std::string left = " " + make_option_name(opt, true) + make_option_opts(opt);
const std::string desc = make_option_desc(opt);
out << std::setw(... | pushq %rbp
movq %rsp, %rbp
subq $0x5a0, %rsp # imm = 0x5A0
movq %rdi, -0x490(%rbp)
movb %cl, %al
movq %rdi, %rcx
movq %rcx, -0x488(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x480(%rbp)
leaq -0x1a8(%rbp), %... | /CLIUtils[P]CLI11/include/CLI/impl/Formatter_inl.hpp |
CLI::Formatter::make_option_opts[abi:cxx11](CLI::Option const*) const | CLI11_INLINE std::string Formatter::make_option_opts(const Option *opt) const {
std::stringstream out;
if(!opt->get_option_text().empty()) {
out << " " << opt->get_option_text();
} else {
if(opt->get_type_size() != 0) {
if(!opt->get_type_name().empty())
out << " ... | pushq %rbp
movq %rsp, %rbp
subq $0x5f0, %rsp # imm = 0x5F0
movq %rdi, -0x510(%rbp)
movq %rdi, %rax
movq %rax, -0x508(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x500(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0x7310
movq -0x18(%rbp), %rdi
callq 0x552... | /CLIUtils[P]CLI11/include/CLI/impl/Formatter_inl.hpp |
bool CLI::detail::integral_conversion<int, (CLI::detail::enabler)0>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int&) | bool integral_conversion(const std::string &input, T &output) noexcept {
if(input.empty()) {
return false;
}
char *val = nullptr;
errno = 0;
std::int64_t output_ll = std::strtoll(input.c_str(), &val, 0);
if(errno == ERANGE) {
return false;
}
output = static_cast<T>(output... | pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp # imm = 0x180
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x7770
testb $0x1, %al
jne 0x18ce2
jmp 0x18ceb
movb $0x0, -0x1(%rbp)
jmp 0x191fd
movq $0x0, -0x20(%rbp)
callq 0x7060
movl $0x0, (%rax)
movq -0x10(%rbp), %rdi
callq 0x7190
movq... | /CLIUtils[P]CLI11/include/CLI/TypeTools.hpp |
CLI::Validator::Validator() | Validator() = default; | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
leaq -0x9(%rbp), %rsi
callq 0x1a490
movq -0x18(%rbp), %rdi
addq $0x20, %rdi
leaq -0xa(%rbp), %rsi
callq 0x15970
movq -0x18(%rbp), %rdi
addq $0x40, %rdi
callq 0x76a0
movq -0x18(%rbp), %rax
movl $0xffffffff, 0x6... | /CLIUtils[P]CLI11/include/CLI/Validators.hpp |
CLI::detail::hexConvert(char) | CLI11_INLINE std::uint32_t hexConvert(char hc) {
int hcode{0};
if(hc >= '0' && hc <= '9') {
hcode = (hc - '0');
} else if(hc >= 'A' && hc <= 'F') {
hcode = (hc - 'A' + 10);
} else if(hc >= 'a' && hc <= 'f') {
hcode = (hc - 'a' + 10);
} else {
hcode = -1;
}
ret... | pushq %rbp
movq %rsp, %rbp
movb %dil, %al
movb %al, -0x1(%rbp)
movl $0x0, -0x8(%rbp)
movsbl -0x1(%rbp), %eax
cmpl $0x30, %eax
jl 0x1bd7f
movsbl -0x1(%rbp), %eax
cmpl $0x39, %eax
jg 0x1bd7f
movsbl -0x1(%rbp), %eax
subl $0x30, %eax
movl %eax, -0x8(%rbp)
jmp 0x1bdcc
movsbl -0x1(%rbp), %eax
cmpl $0x41, %eax
jl 0x1bda0
movs... | /CLIUtils[P]CLI11/include/CLI/impl/StringTools_inl.hpp |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> CLI::detail::join<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>>>>>(std::vector<std::__cxx11::basic_st... | std::string join(const T &v, std::string delim = ",") {
std::ostringstream s;
auto beg = std::begin(v);
auto end = std::end(v);
if(beg != end)
s << *beg++;
while(beg != end) {
s << delim << *beg++;
}
auto rval = s.str();
if(!rval.empty() && delim.size() == 1 && rval.back(... | pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp # imm = 0x200
movq %rdx, -0x1e0(%rbp)
movq %rdi, -0x1d8(%rbp)
movq %rdi, %rax
movq %rax, -0x1d0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq -0x190(%rbp), %rdi
callq 0x7660
movq -0x10(%rbp), %rdi
callq 0x22bc0
movq %rax, -0x198(%r... | /CLIUtils[P]CLI11/include/CLI/StringTools.hpp |
CLI::detail::find_member(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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>>>>, bool, bool) | CLI11_INLINE std::ptrdiff_t
find_member(std::string name, const std::vector<std::string> names, bool ignore_case, bool ignore_underscore) {
auto it = std::end(names);
if(ignore_case) {
if(ignore_underscore) {
name = detail::to_lower(detail::remove_underscore(name));
it = std::fin... | pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp # imm = 0x1D0
movl %ecx, %eax
movl %edx, %ecx
movq %rsi, -0x1a8(%rbp)
movq %rdi, %rdx
movq -0x1a8(%rbp), %rdi
movq %rdx, -0x1a0(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
andb $0x1, %cl
movb %cl, -0x11(%rbp)
andb $0x1, %al
movb %al, -0x12(%rbp)
callq 0x22a... | /CLIUtils[P]CLI11/include/CLI/impl/StringTools_inl.hpp |
CLI::FailureMessage::simple[abi:cxx11](CLI::App const*, CLI::Error const&) | CLI11_INLINE std::string simple(const App *app, const Error &e) {
std::string header = std::string(e.what()) + "\n";
std::vector<std::string> names;
// Collect names
if(app->get_help_ptr() != nullptr)
names.push_back(app->get_help_ptr()->get_name());
if(app->get_help_all_ptr() != nullptr)
... | pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp # imm = 0x180
movq %rdi, -0x158(%rbp)
movq %rdi, %rax
movq %rax, -0x150(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb $0x0, -0x19(%rbp)
movq -0x18(%rbp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq %rax, -0x148(%r... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::detail::get_default_flag_values(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | CLI11_INLINE std::vector<std::pair<std::string, std::string>> get_default_flag_values(const std::string &str) {
std::vector<std::string> flags = split_names(str);
flags.erase(std::remove_if(flags.begin(),
flags.end(),
[](const std::string &name) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp # imm = 0x170
movq %rdi, -0x128(%rbp)
movq %rdi, %rax
movq %rax, -0x120(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x48(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x71b0
movq -0x118(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x302... | /CLIUtils[P]CLI11/include/CLI/impl/Split_inl.hpp |
CLI::Option::matching_name[abi:cxx11](CLI::Option const&) const | CLI11_NODISCARD CLI11_INLINE const std::string &Option::matching_name(const Option &other) const {
static const std::string estring;
bool bothConfigurable = configurable_ && other.configurable_;
for(const std::string &sname : snames_) {
if(other.check_sname(sname))
return sname;
... | pushq %rbp
movq %rsp, %rbp
subq $0x2d0, %rsp # imm = 0x2D0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x210(%rbp)
cmpb $0x0, 0x496f3(%rip) # 0x7ba38
jne 0x3238a
leaq 0x496ea(%rip), %rdi # 0x7ba38
callq 0x7840
cmpl $0x0, %eax
je 0x3238a
leaq 0x496b9(%rip), %rdi ... | /CLIUtils[P]CLI11/include/CLI/impl/Option_inl.hpp |
CLI::OptionBase<CLI::Option>::group(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | CRTP *group(const std::string &name) {
if(!detail::valid_alias_name_string(name)) {
throw IncorrectConstruction("Group names may not contain newlines or null characters");
}
group_ = name;
return static_cast<CRTP *>(this);
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rdi
callq 0x36a00
testb $0x1, %al
jne 0x36639
movb $0x1, -0x45(%rbp)
movl $0x38, %edi
callq 0x7210
movq %rax, -0x60(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0x58(%rbp)... | /CLIUtils[P]CLI11/include/CLI/Option.hpp |
CLI::App::parse(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>>>>&&) | CLI11_INLINE void App::parse(std::vector<std::string> &&args) {
// Clear if parsed
if(parsed_ > 0)
clear();
// parsed_ is incremented in commands/subcommands,
// but placed here to make sure this is cleared when
// running parse after an error is thrown, even by _validate or _configure.
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpl $0x0, 0x2e4(%rax)
jbe 0x384ea
movq -0x18(%rbp), %rdi
callq 0x38830
movq -0x18(%rbp), %rdi
movl $0x1, 0x2e4(%rdi)
callq 0x38940
movq -0x18(%rbp), %rdi
callq 0x38d90
movq -0x18(%rbp),... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::_validate() const | CLI11_INLINE void App::_validate() const {
// count the number of positional only args
auto pcount = std::count_if(std::begin(options_), std::end(options_), [](const Option_p &opt) {
return opt->get_items_expected_max() >= detail::expected_max_vector_size && !opt->nonpositional();
});
if(pcount ... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xf8(%rbp)
addq $0xd8, %rdi
callq 0x1cac0
movq -0xf8(%rbp), %rdi
movq %rax, -0x18(%rbp)
addq $0xd8, %rdi
callq 0x1caf0
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq ... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::_configure() | CLI11_INLINE void App::_configure() {
if(default_startup == startup_mode::enabled) {
disabled_ = false;
} else if(default_startup == startup_mode::disabled) {
disabled_ = true;
}
for(const App_p &app : subcommands_) {
if(app->has_automatic_name_) {
app->name_.clear();... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpb $0x1, 0x2de(%rax)
jne 0x38db7
movq -0x30(%rbp), %rax
movb $0x0, 0x4d(%rax)
jmp 0x38dce
movq -0x30(%rbp), %rax
cmpb $0x2, 0x2de(%rax)
jne 0x38dcc
movq -0x30(%rbp), %rax
movb $0x1, 0x4d(%rax)
jmp 0x38dce
mo... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::run_callback(bool, bool) | CLI11_INLINE void App::run_callback(bool final_mode, bool suppress_final_callback) {
pre_callback();
// in the main app if immediate_callback_ is set it runs the main callback before the used subcommands
if(!final_mode && parse_complete_callback_) {
parse_complete_callback_();
}
// run the c... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movb %dl, %al
movb %sil, %cl
movq %rdi, -0x8(%rbp)
andb $0x1, %cl
movb %cl, -0x9(%rbp)
andb $0x1, %al
movb %al, -0xa(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x80(%rbp)
movq (%rdi), %rax
callq *0x10(%rax)
testb $0x1, -0x9(%rbp)
jne 0x38f83
movq -0x80(%rbp), %rdi
addq $0x70, %r... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::_parse_single(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>>>>&, bool&) | CLI11_INLINE bool App::_parse_single(std::vector<std::string> &args, bool &positional_only) {
bool retval = true;
detail::Classifier classifier = positional_only ? detail::Classifier::NONE : _recognize(args.back());
switch(classifier) {
case detail::Classifier::POSITIONAL_MARK:
args.pop_back();
... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
movb $0x1, -0x19(%rbp)
movq -0x18(%rbp), %rax
testb $0x1, (%rax)
je 0x399c9
xorl %eax, %eax
movb %al, -0x89(%rbp)
jmp 0x399ec
movq -0x10(%rbp), %rdi
callq 0x22170
... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::_process_extras() | CLI11_INLINE void App::_process_extras() {
if(!(allow_extras_ || prefix_command_)) {
std::size_t num_left_over = remaining_size();
if(num_left_over > 0) {
throw ExtrasError(name_, remaining(false));
}
}
for(App_p &sub : subcommands_) {
if(sub->count() > 0)
... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
testb $0x1, 0x48(%rax)
jne 0x39dd2
movq -0x60(%rbp), %rax
testb $0x1, 0x4a(%rax)
jne 0x39dd2
movq -0x60(%rbp), %rdi
xorl %esi, %esi
callq 0x41830
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jbe 0x39dd0
movb ... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::_recognize(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) const | CLI11_NODISCARD CLI11_INLINE detail::Classifier App::_recognize(const std::string ¤t,
bool ignore_used_subcommands) const {
std::string dummy1, dummy2;
if(current == "--")
return detail::Classifier::POSITIONAL_MARK;
if(_valid_sub... | pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp # imm = 0x180
movb %dl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x76a0
leaq -0x60(%rbp), %rdi
callq 0x76a0
movq -0x18(%rbp), %rdi
leaq 0x1f41... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::detail::split_long(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) | CLI11_INLINE bool split_long(const std::string ¤t, std::string &name, std::string &value) {
if(current.size() > 2 && current.compare(0, 2, "--") == 0 && valid_first_char(current[2])) {
auto loc = current.find_first_of('=');
if(loc != std::string::npos) {
name = current.substr(2, lo... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x7300
cmpq $0x2, %rax
jbe 0x3dbea
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0x2, %edx
leaq 0x1bc41(%rip), %rcx # 0x5972f
callq 0x7640
cmpl $0x0, %eax
jne ... | /CLIUtils[P]CLI11/include/CLI/impl/Split_inl.hpp |
CLI::detail::split_windows_style(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) | CLI11_INLINE bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
if(current.size() > 1 && current[0] == '/' && valid_first_char(current[1])) {
auto loc = current.find_first_of(':');
if(loc != std::string::npos) {
name = current.substr(1, loc - 1)... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x7300
cmpq $0x1, %rax
jbe 0x3dfb1
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x74f0
movsbl (%rax), %eax
cmpl $0x2f, %eax
jne 0x3dfb1
movq -0x10(%rbp), %rdi
mov... | /CLIUtils[P]CLI11/include/CLI/impl/Split_inl.hpp |
CLI::App::_process_extras(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>>>>&) | CLI11_INLINE void App::_process_extras(std::vector<std::string> &args) {
if(!(allow_extras_ || prefix_command_)) {
std::size_t num_left_over = remaining_size();
if(num_left_over > 0) {
args = remaining(false);
throw ExtrasError(name_, args);
}
}
for(App_p &su... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x80(%rbp)
testb $0x1, 0x48(%rax)
jne 0x3fd6f
movq -0x80(%rbp), %rax
testb $0x1, 0x4a(%rax)
jne 0x3fd6f
movq -0x80(%rbp), %rdi
xorl %esi, %esi
callq 0x41830
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::remaining_size(bool) const | CLI11_NODISCARD CLI11_INLINE std::size_t App::remaining_size(bool recurse) const {
auto remaining_options = static_cast<std::size_t>(std::count_if(
std::begin(missing_), std::end(missing_), [](const std::pair<detail::Classifier, std::string> &val) {
return val.first != detail::Classifier::POSITI... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
addq $0x1b8, %rdi # imm = 0x1B8
callq 0x41ed0
movq -0x58(%rbp), %rdi
movq %rax, -0x20(%rbp)
addq $0x1b8, %rdi # imm = 0x1B8
callq 0x41f0... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::App::remaining[abi:cxx11](bool) const | CLI11_NODISCARD CLI11_INLINE std::vector<std::string> App::remaining(bool recurse) const {
std::vector<std::string> miss_list;
for(const std::pair<detail::Classifier, std::string> &miss : missing_) {
miss_list.push_back(std::get<1>(miss));
}
// Get from a subcommand that may allow extras
if(... | pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp # imm = 0x120
movq %rdi, -0xf8(%rbp)
movb %dl, %al
movq %rdi, %rcx
movq %rcx, -0xf0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xe8(%rbp)
movb $0x0, -0x12(%rbp)
callq 0x17fe0
movq -0xe... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
CLI::detail::close_sequence(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, char) | CLI11_INLINE std::size_t close_sequence(const std::string &str, std::size_t start, char closure_char) {
auto bracket_loc = matchBracketChars.find(closure_char);
switch(bracket_loc) {
case 0:
return close_string_quote(str, start, closure_char);
case 1:
case 2:
#if defined(_MSC_VER) && _MSC_V... | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movb %dl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movb %al, -0x19(%rbp)
movsbl -0x19(%rbp), %esi
leaq 0x37fbd(%rip), %rdi # 0x7b530
xorl %eax, %eax
movl %eax, %edx
callq 0x7620
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
subq $-0x1, %rax... | /CLIUtils[P]CLI11/include/CLI/impl/StringTools_inl.hpp |
CLI::Option::run_callback() | CLI11_INLINE void Option::run_callback() {
bool used_default_str = false;
if(force_callback_ && results_.empty()) {
used_default_str = true;
add_result(default_str_);
}
if(current_option_state_ == option_state::parsing) {
_validate_results(results_);
current_option_state_... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
movb $0x0, -0x9(%rbp)
testb $0x1, 0x24e(%rax)
je 0x440ec
movq -0x98(%rbp), %rdi
addq $0x218, %rdi # imm = 0x218
callq 0xc280
testb $0x1, %al
jne 0x44090
jmp 0x440ec
movq -0x98(%rbp), %rsi
movb $0x1,... | /CLIUtils[P]CLI11/include/CLI/impl/Option_inl.hpp |
CLI::App::_process_config_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) | CLI11_INLINE bool App::_process_config_file(const std::string &config_file, bool throw_error) {
auto path_result = detail::check_path(config_file.c_str());
if(path_result == detail::path_type::file) {
try {
std::vector<ConfigItem> values = config_formatter_->from_file(config_file);
... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movb %dl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rdi
callq 0x7190
movq %rax, %rdi
callq 0x16540
movb %al, -0x1a(%rbp)
cmpb $0x1, -0x1a(%rbp)
jne 0x4a2e9
movq -0x80... | /CLIUtils[P]CLI11/include/CLI/impl/App_inl.hpp |
void CLI::Option::results<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>>>>>(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocato... | void results(T &output) const {
bool retval = false;
if(current_option_state_ >= option_state::reduced || (results_.size() == 1 && validators_.empty())) {
const results_t &res = (proc_results_.empty()) ? results_ : proc_results_;
retval = detail::lexical_conversion<T, T>(res, out... | pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp # imm = 0x100
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xe0(%rbp)
movb $0x0, -0x11(%rbp)
cmpb $0x4, 0x248(%rax)
jge 0x4a40d
movq -0xe0(%rbp), %rdi
addq $0x218, %rdi # imm = 0x218
callq 0x17f90
cmpq $0x1, %rax
jne 0x... | /CLIUtils[P]CLI11/include/CLI/Option.hpp |
llvm::APInt::usub_sat(llvm::APInt const&) const | APInt APInt::usub_sat(const APInt &RHS) const {
bool Overflow;
APInt Res = usub_ov(RHS, Overflow);
if (!Overflow)
return Res;
return APInt(BitWidth, 0);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %r15
movq %r15, %rcx
callq 0x4bc7b8
cmpb $0x0, (%r15)
je 0x4bcac7
movl 0x8(%r14), %esi
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x6585b2
cmpl $0x41, 0x18(%rsp)
jb 0x4bcad6
movq 0x10(%rsp)... | /Support/APInt.cpp |
llvm::DiagnosticPredicate (anonymous namespace)::AArch64Operand::isUImmScaled<3, 8, 0, false>() const | DiagnosticPredicate isUImmScaled() const {
if (IsRange && isImmRange() &&
(getLastImmVal() != getFirstImmVal() + Offset))
return DiagnosticPredicateTy::NoMatch;
return isImmScaled<Bits, Scale, IsRange>(false);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq (%rdi), %rax
callq *0x28(%rax)
movl $0x2, %ebx
testb %al, %al
jne 0x50313d
cmpl $0x2, 0x30(%r14)
jne 0x50316b
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
cmpl $0x2, 0x30(%r14)
je 0x50316b
movq 0x48(%r14), %rax
cmpb $0x1, (%rax)
jne 0x50316b
movq 0x10(%rax), ... | /Target/AArch64/AsmParser/AArch64AsmParser.cpp |
llvm::AMDGPUTargetAsmStreamer::EmitHSAMetadata(llvm::msgpack::Document&, bool) | bool AMDGPUTargetAsmStreamer::EmitHSAMetadata(
msgpack::Document &HSAMetadataDoc, bool Strict) {
HSAMD::V3::MetadataVerifier Verifier(Strict);
if (!Verifier.verify(HSAMetadataDoc.getRoot()))
return false;
std::string HSAMetadataString;
raw_string_ostream StrOS(HSAMetadataString);
HSAMetadataDoc.toYAM... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x7(%rsp), %rdi
movb %dl, (%rdi)
addq $0x48, %rsi
callq 0x171bd3a
movl %eax, %ebx
testb %al, %al
je 0x576261
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
xorl %eax, %eax
movq %rax, -0x8(%r13)
movb %al, (%r13)
le... | /Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp |
llvm::R600InstPrinter::printBankSwizzle(llvm::MCInst const*, unsigned int, llvm::raw_ostream&) | const MCOperand &getOperand(unsigned i) const { return Operands[i]; } | movl %edx, %eax
movq 0x10(%rsi), %rdx
shlq $0x4, %rax
movl 0x8(%rdx,%rax), %eax
decl %eax
cmpl $0x4, %eax
ja 0x579320
leaq 0x1d77b6e(%rip), %rdx # 0x22f0e48
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
leaq 0x1d77ba6(%rip), %rsi # 0x22f0e90
jmp 0x579313
leaq 0x1d77be1(%rip), %rsi # 0x22f0ed4
jmp 0x579305... | /llvm/MC/MCInst.h |
llvm::AMDGPUInstPrinter::printOffset0(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void AMDGPUInstPrinter::printTH(const MCInst *MI, int64_t TH, int64_t Scope,
raw_ostream &O) {
// For th = 0 do not print this field
if (TH == 0)
return;
const unsigned Opcode = MI->getOpcode();
const MCInstrDesc &TID = MII.get(Opcode);
bool IsStore = TID.mayStore();
boo... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %r12d
movq 0x10(%rsi), %rax
shlq $0x4, %r12
cmpq $0x0, 0x8(%rax,%r12)
je 0x5851e0
movq %r8, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x1da0e89(%rip), %rsi # 0x2326039
movl $0x9, %edx
movq %r8, %rdi
callq 0x4eb430
movq 0x10(%r15), %rax
movzbl 0x8... | /Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp |
llvm::AMDGPUInstPrinter::printImmediate64(unsigned long, llvm::MCSubtargetInfo const&, llvm::raw_ostream&, bool) | void AMDGPUInstPrinter::printImmediate64(uint64_t Imm,
const MCSubtargetInfo &STI,
raw_ostream &O, bool IsFP) {
int64_t SImm = static_cast<int64_t>(Imm);
if (SImm >= -16 && SImm <= 64) {
O << SImm;
return;
}
if (Imm == ll... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rsi, %rax
leaq 0x10(%rsi), %rcx
cmpq $0x50, %rcx
ja 0x586687
movq %rbx, %rdi
movq %rax, %rsi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x78979c
movq %rdi, %rsi
movabsq $0x3fc45f306dc9c881, %rcx # imm = 0x3FC45F306DC9C881
cmpq %rcx, %rax
jle 0x5866f1
movabsq $0... | /Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp |
llvm::AMDGPU::getSMEMIsBuffer(unsigned int) | bool getSMEMIsBuffer(unsigned Opc) {
const SMInfo *Info = getSMEMOpcodeHelper(Opc);
return Info ? Info->IsBuffer : false;
} | movl $0x413, %ecx # imm = 0x413
leaq 0x1ef90e5(%rip), %rax # 0x24d6110
movq %rcx, %rdx
shrq %rdx
leaq (%rax,%rdx,4), %rsi
addq $0x4, %rsi
movzwl -0x4(%rsi), %r8d
movq %rdx, %r9
notq %r9
addq %rcx, %r9
cmpl %edi, %r8d
cmovaeq %rdx, %r9
cmovbq %rsi, %rax
movq %r9, %rcx
testq %r9, %r9
jg 0x5dd02b
leaq 0x1efa0... | /Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp |
llvm::SmallVectorImpl<unsigned int>::assignRemote(llvm::SmallVectorImpl<unsigned int>&&) | void assignRemote(SmallVectorImpl &&RHS) {
this->destroy_range(this->begin(), this->end());
if (!this->isSmall())
free(this->begin());
this->BeginX = RHS.BeginX;
this->Size = RHS.Size;
this->Capacity = RHS.Capacity;
RHS.resetToSmall();
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rdi
leaq 0x10(%r14), %rax
cmpq %rax, %rdi
je 0x5dfe89
callq 0x4ba740
movq (%rbx), %rax
movq %rax, (%r14)
movq 0x8(%rbx), %rax
movq %rax, 0x8(%r14)
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r... | /llvm/ADT/SmallVector.h |
(anonymous namespace)::ARMAsmParser::FixModeAfterArchChange(bool, llvm::SMLoc) | void ARMAsmParser::FixModeAfterArchChange(bool WasThumb, SMLoc Loc) {
if (WasThumb != isThumb()) {
if (WasThumb && hasThumb()) {
// Stay in Thumb mode
SwitchMode();
} else if (!WasThumb && hasARM()) {
// Stay in ARM mode
SwitchMode();
} else {
// Mode switch forced, because t... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
callq 0x16d9f04
movb 0xef(%rax), %al
andb $0x20, %al
shrb $0x5, %al
cmpb %bpl, %al
je 0x5fd7ec
movq %r14, %rdi
callq 0x16d9f04
testb %bpl, %bpl
je 0x5fd6b0
testb $0x40, 0xeb(%rax)
jne 0x5fd... | /Target/ARM/AsmParser/ARMAsmParser.cpp |
getRealVSTOpcode(unsigned int, unsigned int&) | static unsigned getRealVSTOpcode(unsigned Opc, unsigned &Spacing) {
switch(Opc) {
default: llvm_unreachable("unexpected opcode!");
// VST1LN
case ARM::VST1LNdWB_fixed_Asm_8: Spacing = 1; return ARM::VST1LNd8_UPD;
case ARM::VST1LNdWB_fixed_Asm_16: Spacing = 1; return ARM::VST1LNd16_UPD;
case ARM::VST1LNdWB_... | movslq %edi, %rax
leaq 0x1f16a14(%rip), %rcx # 0x2522770
movl -0x8d0(%rcx,%rax,4), %ecx
leaq 0x1f16b6e(%rip), %rdx # 0x25228d8
movl -0x8d0(%rdx,%rax,4), %eax
movl %ecx, (%rsi)
retq
| /Target/ARM/AsmParser/ARMAsmParser.cpp |
void llvm::ARMInstPrinter::printT2AddrModeImm8s4Operand<false>(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void ARMInstPrinter::printT2AddrModeImm8s4Operand(const MCInst *MI,
unsigned OpNum,
const MCSubtargetInfo &STI,
raw_ostream &O) {
const MCOperand &MO1 = MI->getOperand(... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %r8, %rbx
movl %edx, %r15d
movq %rdi, %r14
movl %edx, %r13d
movq 0x10(%rsi), %r12
shlq $0x4, %r13
cmpb $0x1, (%r12,%r13)
jne 0x612d89
addq %r12, %r13
incl %r15d
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl $0x3, %ecx
callq 0x16f7... | /Target/ARM/MCTargetDesc/ARMInstPrinter.cpp |
llvm::ARM_MC::createARMMCSubtargetInfo(llvm::Triple const&, llvm::StringRef, llvm::StringRef) | MCSubtargetInfo *ARM_MC::createARMMCSubtargetInfo(const Triple &TT,
StringRef CPU, StringRef FS) {
std::string ArchFS = ARM_MC::ParseARMTriple(TT, CPU);
if (!FS.empty()) {
if (!ArchFS.empty())
ArchFS = (Twine(ArchFS) + "," + FS).str();
else
ArchF... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0xb0(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x618182
testq %r12, %r12
je 0x618454
cmpq $0x0, 0xb8(%rsp)
je 0x6... | /Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp |
(anonymous namespace)::BPFMCInstrAnalysis::evaluateBranch(llvm::MCInst const&, unsigned long, unsigned long, unsigned long&) const | bool evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
uint64_t &Target) const override {
// The target is the 3rd operand of cond inst and the 1st of uncond inst.
int32_t Imm;
if (isConditionalBranch(Inst)) {
if (Inst.getOpcode() == BPF::JCOND)
Imm = (shor... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r13
movq (%rdi), %rax
callq *0x28(%rax)
testb %al, %al
je 0x63bfe3
cmpl $0x14e, (%r12) # imm = 0x14E
movq 0x10(%r12), %rax
jne 0x63c009
movswl 0x8(%rax), %eax
jmp 0x63c00d
movq (%r1... | /Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp |
llvm::HexagonConvertUnits(unsigned int, unsigned int*) | unsigned llvm::HexagonConvertUnits(unsigned ItinUnits, unsigned *Lanes) {
enum {
CVI_NONE = 0,
CVI_XLANE = 1 << 0,
CVI_SHIFT = 1 << 1,
CVI_MPY0 = 1 << 2,
CVI_MPY1 = 1 << 3,
CVI_ZW = 1 << 4
};
if (ItinUnits == HexagonItinerariesV62FU::CVI_ALL ||
ItinUnits == HexagonItinerariesV62FU::... | movl $0x1, %eax
movl $0x4, %ecx
cmpl $0x2000, %edi # imm = 0x2000
je 0x651316
cmpl $0x4000, %edi # imm = 0x4000
je 0x651316
movl %edi, %edx
movl %edx, %r8d
notl %r8d
movl $0x5, %eax
movl $0x2, %ecx
testl $0x1800, %r8d # imm = 0x1800
je 0x651316
testl $0x1800, %edx # imm = 0x1800
... | /Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp |
llvm::APInt::getSignedMaxValue(unsigned int) | static APInt getSignedMaxValue(unsigned numBits) {
APInt API = getAllOnes(numBits);
API.clearBit(numBits - 1);
return API;
} | pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movq $-0x1, %rdx
movl $0x1, %ecx
callq 0x6585b2
decl %ebx
movq $-0x2, %rax
movl %ebx, %ecx
rolq %cl, %rax
shrl $0x3, %ebx
andl $-0x8, %ebx
addq (%r14), %rbx
cmpl $0x41, 0x8(%r14)
cmovbq %r14, %rbx
andq %rax, (%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rb... | /llvm/ADT/APInt.h |
llvm::HexagonMCCodeEmitter::parseBits(unsigned long, llvm::MCInst const&, llvm::MCInst const&) const | uint32_t HexagonMCCodeEmitter::parseBits(size_t Last, MCInst const &MCB,
MCInst const &MCI) const {
bool Duplex = HexagonMCInstrInfo::isDuplex(MCII, MCI);
if (State.Index == 0) {
if (HexagonMCInstrInfo::isInnerLoop(MCB)) {
assert(!Duplex);
assert(State.Index ... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rdi), %rdi
movq %rcx, %rsi
callq 0x64f0dd
movl %eax, %ebp
movq 0x28(%r14), %rcx
testq %rcx, %rcx
jne 0x662a94
movq %r15, %rdi
callq 0x64fdcd
movl %eax, %ecx
movl $0x8000, %eax # imm = 0x8000
testb... | /Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp |
llvm::HexagonMCCodeEmitter::getFixupNoBits(llvm::MCInstrInfo const&, llvm::MCInst const&, llvm::MCOperand const&, llvm::MCSymbolRefExpr::VariantKind) const | Hexagon::Fixups HexagonMCCodeEmitter::getFixupNoBits(
MCInstrInfo const &MCII, const MCInst &MI, const MCOperand &MO,
const MCSymbolRefExpr::VariantKind VarKind) const {
const MCInstrDesc &MCID = HexagonMCInstrInfo::getDesc(MCII, MI);
unsigned InsnType = HexagonMCInstrInfo::getType(MCII, MI);
using na... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %r8d, %ebx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r13
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x64f9ff
movq %rax, %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x64fbac
cmpl $0x22, %eax
jne 0x667fd0
testw %bx, %bx
je 0x66801f
movb 0x323ff14(%rip), %al # 0x3... | /Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp |
(anonymous namespace)::LanaiAsmParser::parseRegister(llvm::MCRegister&, llvm::SMLoc&, llvm::SMLoc&) | bool LanaiAsmParser::parseRegister(MCRegister &RegNum, SMLoc &StartLoc,
SMLoc &EndLoc) {
const AsmToken &Tok = getParser().getTok();
StartLoc = Tok.getLoc();
EndLoc = Tok.getEndLoc();
std::unique_ptr<LanaiOperand> Op = parseRegister(/*RestoreOnFailure=*/false);
if (Op != nul... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
movq 0x8(%rdi), %rdi
callq 0x16d93b2
movq %rax, %r13
movq %rax, %rdi
callq 0x16d9238
movq %rax, (%r15)
movq %r13, %rdi
callq 0x16d923e
movq %rax, (%r14)
leaq 0x8(%rsp), %r14
movq %r14,... | /Target/Lanai/AsmParser/LanaiAsmParser.cpp |
(anonymous namespace)::LoongArchAsmParser::emitLAInstSeq(llvm::MCRegister, llvm::MCRegister, llvm::MCExpr const*, llvm::SmallVectorImpl<(anonymous namespace)::LoongArchAsmParser::Inst>&, llvm::SMLoc, llvm::MCStreamer&, bool) | void LoongArchAsmParser::emitLAInstSeq(MCRegister DestReg, MCRegister TmpReg,
const MCExpr *Symbol,
SmallVectorImpl<Inst> &Insts,
SMLoc IDLoc, MCStreamer &Out,
bool... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %r9, %rbx
movq %r8, %r13
movq %rcx, 0xb0(%rsp)
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, (%rsp)
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rax, 0xa8(%rsp)
movl 0x8(%r13), %eax
testq %rax, %rax
je 0x67592f
movq ... | /Target/LoongArch/AsmParser/LoongArchAsmParser.cpp |
llvm::LoongArchInstPrinter::printRegName(llvm::raw_ostream&, llvm::MCRegister) const | void LoongArchInstPrinter::printRegName(raw_ostream &O, MCRegister Reg) const {
O << '$' << getRegisterName(Reg);
} | pushq %rbx
movl %edx, %ebx
movq %rsi, %rdi
movq 0x20(%rsi), %rax
cmpq 0x18(%rsi), %rax
jae 0x675ee1
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%rdi)
movb $0x24, (%rax)
jmp 0x675eee
movl $0x24, %esi
callq 0x789c1c
movq %rax, %rdi
decl %ebx
cmpb $0x0, 0x32322d9(%rip) # 0x38a81d0
jne 0x675f11
leaq 0x20233d0(%rip), %rax # 0x... | /Target/LoongArch/MCTargetDesc/LoongArchInstPrinter.cpp |
llvm::LoongArchAsmBackend::shouldForceRelocation(llvm::MCAssembler const&, llvm::MCFixup const&, llvm::MCValue const&, llvm::MCSubtargetInfo const*) | MCFixupKind getKind() const { return Kind; } | movl 0xc(%rdx), %edx
movb $0x1, %al
cmpl $0xff, %edx
jg 0x679564
decl %edx
cmpl $0x5, %edx
jae 0x679565
movq 0x8(%rcx), %rax
orq (%rcx), %rax
setne %al
retq
movb 0xd9(%r8), %al
andb $0x2, %al
shrb %al
retq
nop
| /llvm/MC/MCFixup.h |
(anonymous namespace)::LoongArchELFObjectWriter::getRelocType(llvm::MCContext&, llvm::MCValue const&, llvm::MCFixup const&, bool) const | unsigned LoongArchELFObjectWriter::getRelocType(MCContext &Ctx,
const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel) const {
// Determine the type of the relocation
u... | subq $0x28, %rsp
movl 0xc(%rcx), %eax
cmpl $0x100, %eax # imm = 0x100
jb 0x67a632
addl $0xffffff00, %eax # imm = 0xFFFFFF00
addq $0x28, %rsp
retq
movzbl %al, %eax
leal -0x80(%rax), %edx
cmpl $0xa, %edx
ja 0x67a654
leaq 0x203d170(%rip), %rax # 0x26b77b4
movslq (%rax,%rdx,4), %rcx
addq %rax, %rcx
jmpq ... | /Target/LoongArch/MCTargetDesc/LoongArchELFObjectWriter.cpp |
(anonymous namespace)::MipsOperand::~MipsOperand() | ~MipsOperand() override {
switch (Kind) {
case k_Memory:
delete Mem.Base;
break;
case k_RegList:
delete RegList.List;
break;
case k_Immediate:
case k_RegisterIndex:
case k_Token:
break;
}
} | pushq %rbx
movq %rdi, %rbx
callq 0x681320
movl $0x70, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x4ba0c0
nop
| /Target/Mips/AsmParser/MipsAsmParser.cpp |
(anonymous namespace)::MipsAsmParser::parseSetPushDirective() | bool MipsAsmParser::parseSetPushDirective() {
MCAsmParser &Parser = getParser();
Parser.Lex();
if (getLexer().isNot(AsmToken::EndOfStatement))
return reportParseError("unexpected token, expected end of statement");
// Create a copy of the current assembler options environment and push it.
AssemblerOption... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0xb8(%rax)
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq 0x8(%rax), %rax
cmpl $0x9, (%rax)
jne 0x685244
leaq 0x138(%rbx), %r14
movq 0x138(%rbx), %rax
movl 0x140(%rbx), %ecx
movq -0x8(%rax,%rcx... | /Target/Mips/AsmParser/MipsAsmParser.cpp |
(anonymous namespace)::MipsAsmParser::parseSetFeature(unsigned long) | bool MipsAsmParser::parseSetFeature(uint64_t Feature) {
MCAsmParser &Parser = getParser();
Parser.Lex();
if (getLexer().isNot(AsmToken::EndOfStatement))
return reportParseError("unexpected token, expected end of statement");
switch (Feature) {
default:
llvm_unreachable("Unimplemented feature");
cas... | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0xb8(%rax)
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq 0x8(%rax), %rax
cmpl $0x9, (%rax)
jne 0x685721
decq %r14
leaq 0x203961d(%rip), %rax # 0x26bed00
movslq (%rax,%r14,4), %rcx
addq ... | /Target/Mips/AsmParser/MipsAsmParser.cpp |
(anonymous namespace)::MipsAsmParser::expandDivRem(llvm::MCInst&, llvm::SMLoc, llvm::MCStreamer&, llvm::MCSubtargetInfo const*, bool, bool) | bool MipsAsmParser::expandDivRem(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out,
const MCSubtargetInfo *STI,
const bool IsMips64, const bool Signed) {
MipsTargetStreamer &TOut = getTargetStreamer();
warnIfNoMacro(IDLoc);
const MCOperand &RdRegOp = In... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %r9d, %r14d
movl %r8d, %r15d
movq %rcx, 0x38(%rsp)
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r12
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x10(%rax), %rax
movq %rax, 0x30(%rsp)
movq %r12, %rdi
movq %r13, %rsi
... | /Target/Mips/AsmParser/MipsAsmParser.cpp |
(anonymous namespace)::MipsAsmParser::expandLoadSingleImmToFPR(llvm::MCInst&, llvm::SMLoc, llvm::MCStreamer&, llvm::MCSubtargetInfo const*) | bool MipsAsmParser::expandLoadSingleImmToFPR(MCInst &Inst, SMLoc IDLoc,
MCStreamer &Out,
const MCSubtargetInfo *STI) {
MipsTargetStreamer &TOut = getTargetStreamer();
assert(Inst.getNumOperands() == 2 && "Invalid operand count... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x10(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%r14), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x4(%rsp)
movq 0x18... | /Target/Mips/AsmParser/MipsAsmParser.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.