name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
secp256k1_keypair_load
static int secp256k1_keypair_load(const secp256k1_context* ctx, secp256k1_scalar *sk, secp256k1_ge *pk, const secp256k1_keypair *keypair) { int ret; const secp256k1_pubkey *pubkey = (const secp256k1_pubkey *)&keypair->data[32]; /* Need to declassify the pubkey because pubkey_load ARG_CHECKs if it's * ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq %rdx, 0x20(%rsp) movq %rcx, 0x18(%rsp) movq 0x18(%rsp), %rax addq $0x20, %rax movq %rax, 0x8(%rsp) movq 0x30(%rsp), %rdi movq 0x8(%rsp), %rsi movl $0x40, %edx callq 0x90d0 movq 0x30(%rsp), %rdi movq 0x20(%rsp), %rsi movq 0x8(%rsp), %rdx callq 0x3160 movl...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h
secp256k1_keypair_xonly_tweak_add
int secp256k1_keypair_xonly_tweak_add(const secp256k1_context* ctx, secp256k1_keypair *keypair, const unsigned char *tweak32) { secp256k1_ge pk; secp256k1_scalar sk; int y_parity; int ret; VERIFY_CHECK(ctx != NULL); ARG_CHECK(keypair != NULL); ARG_CHECK(tweak32 != NULL); ret = secp256k...
subq $0xa8, %rsp movq %rdi, 0x98(%rsp) movq %rsi, 0x90(%rsp) movq %rdx, 0x88(%rsp) jmp 0x8f51 cmpq $0x0, 0x90(%rsp) setne %al xorb $-0x1, %al andb $0x1, %al movzbl %al, %eax cltq cmpq $0x0, %rax je 0x8f97 movq 0x98(%rsp), %rdi addq $0xa8, %rdi leaq 0x1339c(%rip), %rsi # 0x1c31e callq 0x2270 movl $0x0, 0xa4(%rsp) jm...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/main_impl.h
secp256k1_hsort
static void secp256k1_hsort(void *ptr, size_t count, size_t size, int (*cmp)(const void *, const void *, void *), void *cmp_data ) { size_t i; for(i = count/2; 0 < i; --i) { heap_down(ptr, i-1, count, size, cmp, cmp_data); } for(i = count;...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq %rdx, 0x20(%rsp) movq %rcx, 0x18(%rsp) movq %r8, 0x10(%rsp) movq 0x28(%rsp), %rax shrq %rax movq %rax, 0x8(%rsp) xorl %eax, %eax cmpq 0x8(%rsp), %rax jae 0x932a movq 0x30(%rsp), %rdi movq 0x8(%rsp), %rsi subq $0x1, %rsi movq 0x28(%rsp), %rdx movq 0x20(%r...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/hsort_impl.h
nonce_function_bip340
static int nonce_function_bip340(unsigned char *nonce32, const unsigned char *msg, size_t msglen, const unsigned char *key32, const unsigned char *xonly_pk32, const unsigned char *algo, size_t algolen, void *data) { secp256k1_sha256 sha; unsigned char masked_key[32]; int i; if (algo == NULL) { ...
subq $0xd8, %rsp movq 0xe8(%rsp), %rax movq 0xe0(%rsp), %rax movq %rdi, 0xc8(%rsp) movq %rsi, 0xc0(%rsp) movq %rdx, 0xb8(%rsp) movq %rcx, 0xb0(%rsp) movq %r8, 0xa8(%rsp) movq %r9, 0xa0(%rsp) cmpq $0x0, 0xa0(%rsp) jne 0x9442 movl $0x0, 0xd4(%rsp) jmp 0x95bc cmpq $0x0, 0xe8(%rsp) je 0x94bc leaq 0x38(%rsp), %rdi callq 0x1...
/jonasnick[P]secp256k1-zkp/src/modules/schnorrsig/main_impl.h
secp256k1_schnorrsig_sign_internal
static int secp256k1_schnorrsig_sign_internal(const secp256k1_context* ctx, unsigned char *sig64, const unsigned char *msg, size_t msglen, const secp256k1_keypair *keypair, secp256k1_nonce_function_hardened noncefp, void *ndata) { secp256k1_scalar sk; secp256k1_scalar e; secp256k1_scalar k; secp256k1_ge...
subq $0x248, %rsp # imm = 0x248 movq 0x250(%rsp), %rax movq %rdi, 0x238(%rsp) movq %rsi, 0x230(%rsp) movq %rdx, 0x228(%rsp) movq %rcx, 0x220(%rsp) movq %r8, 0x218(%rsp) movq %r9, 0x210(%rsp) leaq 0x60(%rsp), %rdi xorl %esi, %esi movl $0x20, %edx callq 0x2080 movl $0x1, 0x1c(%rsp) jmp 0x967a movq 0x238(%rsp),...
/jonasnick[P]secp256k1-zkp/src/modules/schnorrsig/main_impl.h
secp256k1_schnorrsig_challenge
static void secp256k1_schnorrsig_challenge(secp256k1_scalar* e, const unsigned char *r32, const unsigned char *msg, size_t msglen, const unsigned char *pubkey32) { unsigned char buf[32]; secp256k1_sha256 sha; /* tagged hash(r.x, pk.x, msg) */ secp256k1_schnorrsig_sha256_tagged(&sha); secp256k1_sha2...
subq $0xb8, %rsp movq %rdi, 0xb0(%rsp) movq %rsi, 0xa8(%rsp) movq %rdx, 0xa0(%rsp) movq %rcx, 0x98(%rsp) movq %r8, 0x90(%rsp) leaq 0x8(%rsp), %rdi callq 0x191b0 movq 0xa8(%rsp), %rsi leaq 0x8(%rsp), %rdi movl $0x20, %edx callq 0x6790 movq 0x90(%rsp), %rsi leaq 0x8(%rsp), %rdi movl $0x20, %edx callq 0x6790 movq 0xa0(%rs...
/jonasnick[P]secp256k1-zkp/src/modules/schnorrsig/main_impl.h
secp256k1_fe_equal_var
SECP256K1_INLINE static int secp256k1_fe_equal_var(const secp256k1_fe *a, const secp256k1_fe *b) { secp256k1_fe na; #ifdef VERIFY secp256k1_fe_verify(a); secp256k1_fe_verify(b); VERIFY_CHECK(a->magnitude <= 1); VERIFY_CHECK(b->magnitude <= 31); #endif secp256k1_fe_negate(&na, a, 1); secp256k...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rsi movq %rsp, %rdi movl $0x1, %edx callq 0x100f0 movq 0x28(%rsp), %rsi movq %rsp, %rdi callq 0xca20 movq %rsp, %rdi callq 0x18410 addq $0x38, %rsp retq nopw (%rax,%rax)
/jonasnick[P]secp256k1-zkp/src/field_impl.h
secp256k1_ellswift_sha256_init_create
static void secp256k1_ellswift_sha256_init_create(secp256k1_sha256* hash) { secp256k1_sha256_initialize(hash); hash->s[0] = 0xd29e1bf5ul; hash->s[1] = 0xf7025f42ul; hash->s[2] = 0x9b024773ul; hash->s[3] = 0x094cb7d5ul; hash->s[4] = 0xe59ed789ul; hash->s[5] = 0x03bc9786ul; hash->s[6] = 0x...
pushq %rax movq %rdi, (%rsp) movq (%rsp), %rdi callq 0xb630 movq (%rsp), %rax movl $0xd29e1bf5, (%rax) # imm = 0xD29E1BF5 movq (%rsp), %rax movl $0xf7025f42, 0x4(%rax) # imm = 0xF7025F42 movq (%rsp), %rax movl $0x9b024773, 0x8(%rax) # imm = 0x9B024773 movq (%rsp), %rax movl $0x94cb7d5, 0xc(%rax) # imm = 0x94CB7...
/jonasnick[P]secp256k1-zkp/src/modules/ellswift/main_impl.h
secp256k1_fe_impl_set_b32_mod
static void secp256k1_fe_impl_set_b32_mod(secp256k1_fe *r, const unsigned char *a) { r->n[0] = (uint64_t)a[31] | ((uint64_t)a[30] << 8) | ((uint64_t)a[29] << 16) | ((uint64_t)a[28] << 24) | ((uint64_t)a[27] << 32) | ((uint64_t)a[26] << 40) | ((...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq -0x10(%rsp), %rax movzbl 0x1f(%rax), %eax movl %eax, %ecx movq -0x10(%rsp), %rax movzbl 0x1e(%rax), %eax shlq $0x8, %rax orq %rax, %rcx movq -0x10(%rsp), %rax movzbl 0x1d(%rax), %eax shlq $0x10, %rax orq %rax, %rcx movq -0x10(%rsp), %rax movzbl 0x1c(%rax), %eax shlq $0x...
/jonasnick[P]secp256k1-zkp/src/field_5x52_impl.h
secp256k1_ellswift_xswiftec_frac_var
static void secp256k1_ellswift_xswiftec_frac_var(secp256k1_fe *xn, secp256k1_fe *xd, const secp256k1_fe *u, const secp256k1_fe *t) { /* The implemented algorithm is the following (all operations in GF(p)): * * - Let c0 = sqrt(-3) = 0xa2d2ba93507f1df233770c2a797962cc61f6d15da14ecd47d8d27ae1cd5f852. * ...
subq $0x138, %rsp # imm = 0x138 movq %rdi, 0x130(%rsp) movq %rsi, 0x128(%rsp) movq %rdx, 0x120(%rsp) movq %rcx, 0x118(%rsp) movq 0x120(%rsp), %rsi leaq 0xf0(%rsp), %rdi movl $0x28, %edx callq 0x20e0 leaq 0xf0(%rsp), %rdi callq 0x18410 cltq cmpq $0x0, %rax je 0xb0df leaq 0xf0(%rsp), %rdi leaq 0x115bb(%rip), %...
/jonasnick[P]secp256k1-zkp/src/modules/ellswift/main_impl.h
secp256k1_ecmult_const_xonly
static int secp256k1_ecmult_const_xonly(secp256k1_fe* r, const secp256k1_fe *n, const secp256k1_fe *d, const secp256k1_scalar *q, int known_on_curve) { /* This algorithm is a generalization of Peter Dettman's technique for * avoiding the square root in a random-basepoint x-only multiplication * on a Weie...
subq $0x1a8, %rsp # imm = 0x1A8 movq %rdi, 0x198(%rsp) movq %rsi, 0x190(%rsp) movq %rdx, 0x188(%rsp) movq %rcx, 0x180(%rsp) movl %r8d, 0x17c(%rsp) movq 0x190(%rsp), %rsi leaq 0x150(%rsp), %rdi callq 0xb810 movq 0x190(%rsp), %rdx leaq 0x150(%rsp), %rsi movq %rsi, %rdi callq 0xb840 cmpq $0x0, 0x188(%rsp) je 0x...
/jonasnick[P]secp256k1-zkp/src/ecmult_const_impl.h
secp256k1_sha256_initialize
static void secp256k1_sha256_initialize(secp256k1_sha256 *hash) { hash->s[0] = 0x6a09e667ul; hash->s[1] = 0xbb67ae85ul; hash->s[2] = 0x3c6ef372ul; hash->s[3] = 0xa54ff53aul; hash->s[4] = 0x510e527ful; hash->s[5] = 0x9b05688cul; hash->s[6] = 0x1f83d9abul; hash->s[7] = 0x5be0cd19ul; ha...
movq %rdi, -0x8(%rsp) movq -0x8(%rsp), %rax movl $0x6a09e667, (%rax) # imm = 0x6A09E667 movq -0x8(%rsp), %rax movl $0xbb67ae85, 0x4(%rax) # imm = 0xBB67AE85 movq -0x8(%rsp), %rax movl $0x3c6ef372, 0x8(%rax) # imm = 0x3C6EF372 movq -0x8(%rsp), %rax movl $0xa54ff53a, 0xc(%rax) # imm = 0xA54FF53A movq -0x8(%rsp), %...
/jonasnick[P]secp256k1-zkp/src/hash_impl.h
secp256k1_fe_sqr_inner
SECP256K1_INLINE static void secp256k1_fe_sqr_inner(uint64_t *r, const uint64_t *a) { /** * Registers: rdx:rax = multiplication accumulator * r9:r8 = c * rcx:rbx = d * r10-r14 = a0-a4 * r15 = M (0xfffffffffffff) * rdi = r * rsi = a /...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq -0x10(%rsp), %rsi movq -0x8(%rsp), %rdi movq (%rsi), %r10 movq 0x8(%rsi), %r11 movq 0x10(%rsi), %r12 movq 0x18(%rsi), %r13 movq 0x20(%rsi), %r14 movabsq $0xfffffffffffff, %r15 # imm = 0xFFFFFFFFFFFFF leaq (%r10,%r1...
/jonasnick[P]secp256k1-zkp/src/field_5x52_asm_impl.h
secp256k1_write_be64
SECP256K1_INLINE static void secp256k1_write_be64(unsigned char* p, uint64_t x) { p[7] = x; p[6] = x >> 8; p[5] = x >> 16; p[4] = x >> 24; p[3] = x >> 32; p[2] = x >> 40; p[1] = x >> 48; p[0] = x >> 56; }
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq -0x10(%rsp), %rax movb %al, %cl movq -0x8(%rsp), %rax movb %cl, 0x7(%rax) movq -0x10(%rsp), %rax shrq $0x8, %rax movb %al, %cl movq -0x8(%rsp), %rax movb %cl, 0x6(%rax) movq -0x10(%rsp), %rax shrq $0x10, %rax movb %al, %cl movq -0x8(%rsp), %rax movb %cl, 0x5(%rax) movq ...
/jonasnick[P]secp256k1-zkp/src/util.h
secp256k1_gej_eq_x_var
static int secp256k1_gej_eq_x_var(const secp256k1_fe *x, const secp256k1_gej *a) { secp256k1_fe r; #ifdef VERIFY secp256k1_fe_verify(x); VERIFY_CHECK(a->x.magnitude <= 31); secp256k1_gej_verify(a); VERIFY_CHECK(!a->infinity); #endif secp256k1_fe_sqr(&r, &a->z); secp256k1_fe_mul(&r, &r, x); ...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x28(%rsp), %rsi addq $0x50, %rsi movq %rsp, %rdi callq 0xb810 movq 0x30(%rsp), %rdx movq %rsp, %rsi movq %rsi, %rdi callq 0xb840 movq 0x28(%rsp), %rsi movq %rsp, %rdi callq 0xa160 addq $0x38, %rsp retq nopw %cs:(%rax,%rax)
/jonasnick[P]secp256k1-zkp/src/group_impl.h
secp256k1_scalar_to_signed62
static void secp256k1_scalar_to_signed62(secp256k1_modinv64_signed62 *r, const secp256k1_scalar *a) { const uint64_t M62 = UINT64_MAX >> 2; const uint64_t a0 = a->d[0], a1 = a->d[1], a2 = a->d[2], a3 = a->d[3]; #ifdef VERIFY VERIFY_CHECK(secp256k1_scalar_check_overflow(a) == 0); #endif r->v[0] = a0 ...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movabsq $0x3fffffffffffffff, %rax # imm = 0x3FFFFFFFFFFFFFFF movq %rax, -0x18(%rsp) movq -0x10(%rsp), %rax movq (%rax), %rax movq %rax, -0x20(%rsp) movq -0x10(%rsp), %rax movq 0x8(%rax), %rax movq %rax, -0x28(%rsp) movq -0x10(%rsp), %rax movq 0x10(%rax), %rax movq %rax, -0x3...
/jonasnick[P]secp256k1-zkp/src/scalar_4x64_impl.h
secp256k1_modinv64_update_de_62
static void secp256k1_modinv64_update_de_62(secp256k1_modinv64_signed62 *d, secp256k1_modinv64_signed62 *e, const secp256k1_modinv64_trans2x2 *t, const secp256k1_modinv64_modinfo* modinfo) { const uint64_t M62 = UINT64_MAX >> 2; const int64_t d0 = d->v[0], d1 = d->v[1], d2 = d->v[2], d3 = d->v[3], d4 = d->v[4];...
subq $0xe8, %rsp movq %rdi, 0xe0(%rsp) movq %rsi, 0xd8(%rsp) movq %rdx, 0xd0(%rsp) movq %rcx, 0xc8(%rsp) movabsq $0x3fffffffffffffff, %rax # imm = 0x3FFFFFFFFFFFFFFF movq %rax, 0xc0(%rsp) movq 0xe0(%rsp), %rax movq (%rax), %rax movq %rax, 0xb8(%rsp) movq 0xe0(%rsp), %rax movq 0x8(%rax), %rax movq %rax, 0xb0(%rsp) movq ...
/jonasnick[P]secp256k1-zkp/src/modinv64_impl.h
secp256k1_modinv64_normalize_62
static void secp256k1_modinv64_normalize_62(secp256k1_modinv64_signed62 *r, int64_t sign, const secp256k1_modinv64_modinfo *modinfo) { const int64_t M62 = (int64_t)(UINT64_MAX >> 2); int64_t r0 = r->v[0], r1 = r->v[1], r2 = r->v[2], r3 = r->v[3], r4 = r->v[4]; volatile int64_t cond_add, cond_negate; #ifdef...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq %rdx, -0x18(%rsp) movabsq $0x3fffffffffffffff, %rax # imm = 0x3FFFFFFFFFFFFFFF movq %rax, -0x20(%rsp) movq -0x8(%rsp), %rax movq (%rax), %rax movq %rax, -0x28(%rsp) movq -0x8(%rsp), %rax movq 0x8(%rax), %rax movq %rax, -0x30(%rsp) movq -0x8(%rsp), %rax movq 0x10(%rax), ...
/jonasnick[P]secp256k1-zkp/src/modinv64_impl.h
secp256k1_scalar_mul_512
static void secp256k1_scalar_mul_512(uint64_t l[8], const secp256k1_scalar *a, const secp256k1_scalar *b) { #ifdef USE_ASM_X86_64 const uint64_t *pb = b->d; __asm__ __volatile__( /* Preload */ "movq 0(%%rdi), %%r15\n" "movq 8(%%rdi), %%rbx\n" "movq 16(%%rdi), %%rcx\n" "movq 0(%%rdx), %%r11\n...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq %rdx, -0x18(%rsp) movq -0x18(%rsp), %rax movq %rax, -0x20(%rsp) movq -0x20(%rsp), %rdx movq -0x8(%rsp), %rsi movq -0x10(%rsp), %rdi movq (%rdi), %r15 movq 0x8(%rdi), %rbx movq 0x10(%rdi), %rcx movq (%rdx), %r11 movq...
/jonasnick[P]secp256k1-zkp/src/scalar_4x64_impl.h
secp256k1_hmac_sha256_initialize
static void secp256k1_hmac_sha256_initialize(secp256k1_hmac_sha256 *hash, const unsigned char *key, size_t keylen) { size_t n; unsigned char rkey[64]; if (keylen <= sizeof(rkey)) { memcpy(rkey, key, keylen); memset(rkey + keylen, 0, sizeof(rkey) - keylen); } else { secp256k1_sha2...
subq $0xd8, %rsp movq %rdi, 0xd0(%rsp) movq %rsi, 0xc8(%rsp) movq %rdx, 0xc0(%rsp) cmpq $0x40, 0xc0(%rsp) ja 0xeb07 leaq 0x70(%rsp), %rdi movq 0xc8(%rsp), %rsi movq 0xc0(%rsp), %rdx callq 0x20e0 leaq 0x70(%rsp), %rdi addq 0xc0(%rsp), %rdi movl $0x40, %edx subq 0xc0(%rsp), %rdx xorl %esi, %esi callq 0x2080 jmp 0xeb4f le...
/jonasnick[P]secp256k1-zkp/src/hash_impl.h
secp256k1_scalar_add
static int secp256k1_scalar_add(secp256k1_scalar *r, const secp256k1_scalar *a, const secp256k1_scalar *b) { int overflow; secp256k1_uint128 t; secp256k1_u128_from_u64(&t, a->d[0]); secp256k1_u128_accum_u64(&t, b->d[0]); r->d[0] = secp256k1_u128_to_u64(&t); secp256k1_u128_rshift(&t, 64); secp256...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq 0x38(%rsp), %rax movq (%rax), %rsi leaq 0x10(%rsp), %rdi callq 0xc770 movq 0x30(%rsp), %rax movq (%rax), %rsi leaq 0x10(%rsp), %rdi callq 0xc790 leaq 0x10(%rsp), %rdi callq 0xc7c0 movq %rax, %rcx movq 0x40(%rsp), %rax movq %rcx, (%r...
/jonasnick[P]secp256k1-zkp/src/scalar_4x64_impl.h
secp256k1_ec_commit_pubkey_serialize_const
static int secp256k1_ec_commit_pubkey_serialize_const(secp256k1_ge *pubp, unsigned char *buf33) { if (secp256k1_ge_is_infinity(pubp)) { return 0; } secp256k1_fe_normalize(&pubp->x); secp256k1_fe_normalize(&pubp->y); secp256k1_fe_get_b32(&buf33[1], &pubp->x); buf33[0] = secp256k1_fe_is_od...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movq %rsi, (%rsp) movq 0x8(%rsp), %rdi callq 0xa140 cmpl $0x0, %eax je 0xf536 movl $0x0, 0x14(%rsp) jmp 0xf590 movq 0x8(%rsp), %rdi callq 0x76f0 movq 0x8(%rsp), %rdi addq $0x28, %rdi callq 0x76f0 movq (%rsp), %rdi addq $0x1, %rdi movq 0x8(%rsp), %rsi callq 0x79b0 movq 0x8(%rsp), %r...
/jonasnick[P]secp256k1-zkp/src/eccommit_impl.h
secp256k1_scalar_cond_negate
static int secp256k1_scalar_cond_negate(secp256k1_scalar *r, int flag) { /* If we are flag = 0, mask = 00...00 and this is a no-op; * if we are flag = 1, mask = 11...11 and this is identical to secp256k1_scalar_negate */ volatile int vflag = flag; uint64_t mask = -vflag; uint64_t nonzero = (secp256...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movl %esi, 0x2c(%rsp) movl 0x2c(%rsp), %eax movl %eax, 0x28(%rsp) movl 0x28(%rsp), %ecx xorl %eax, %eax subl %ecx, %eax cltq movq %rax, 0x20(%rsp) movq 0x30(%rsp), %rdi callq 0x6c80 cmpl $0x0, %eax setne %al andb $0x1, %al movzbl %al, %eax subl $0x1, %eax cltq movq %rax, 0x18(%rsp...
/jonasnick[P]secp256k1-zkp/src/scalar_4x64_impl.h
secp256k1_modinv64_divsteps_59
static int64_t secp256k1_modinv64_divsteps_59(int64_t zeta, uint64_t f0, uint64_t g0, secp256k1_modinv64_trans2x2 *t) { /* u,v,q,r are the elements of the transformation matrix being built up, * starting with the identity matrix times 8 (because the caller expects * a result scaled by 2^62). Semantically ...
subq $0x10, %rsp movq %rdi, 0x8(%rsp) movq %rsi, (%rsp) movq %rdx, -0x8(%rsp) movq %rcx, -0x10(%rsp) movq $0x8, -0x18(%rsp) movq $0x0, -0x20(%rsp) movq $0x0, -0x28(%rsp) movq $0x8, -0x30(%rsp) movq (%rsp), %rax movq %rax, -0x58(%rsp) movq -0x8(%rsp), %rax movq %rax, -0x60(%rsp) movl $0x3, -0x7c(%rsp) cmpl $0x3e, -0x7c(...
/jonasnick[P]secp256k1-zkp/src/modinv64_impl.h
secp256k1_fe_impl_normalize_weak
static void secp256k1_fe_impl_normalize_weak(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]; /* Reduce t4 at the start so there will be at most a single carry from the first pass */ uint64_t x = t4 >> 48; t4 &= 0x0FFFFFFFFFFFFULL; /* The first pass ens...
movq %rdi, -0x8(%rsp) movq -0x8(%rsp), %rax movq (%rax), %rax movq %rax, -0x10(%rsp) movq -0x8(%rsp), %rax movq 0x8(%rax), %rax movq %rax, -0x18(%rsp) movq -0x8(%rsp), %rax movq 0x10(%rax), %rax movq %rax, -0x20(%rsp) movq -0x8(%rsp), %rax movq 0x18(%rax), %rax movq %rax, -0x28(%rsp) movq -0x8(%rsp), %rax movq 0x20(%ra...
/jonasnick[P]secp256k1-zkp/src/field_5x52_impl.h
secp256k1_eckey_pubkey_tweak_add
static int secp256k1_eckey_pubkey_tweak_add(secp256k1_ge *key, const secp256k1_scalar *tweak) { secp256k1_gej pt; secp256k1_gej_set_ge(&pt, key); secp256k1_ecmult(&pt, &pt, &secp256k1_scalar_one, tweak); if (secp256k1_gej_is_infinity(&pt)) { return 0; } secp256k1_ge_set_gej(key, &pt); ...
subq $0x98, %rsp movq %rdi, 0x88(%rsp) movq %rsi, 0x80(%rsp) movq 0x88(%rsp), %rsi movq %rsp, %rdi callq 0x9f40 movq 0x80(%rsp), %rcx movq %rsp, %rsi leaq 0xc2e7(%rip), %rdx # 0x1c540 movq %rsi, %rdi callq 0x9fc0 movq %rsp, %rdi callq 0x6490 cmpl $0x0, %eax je 0x1027b movl $0x0, 0x94(%rsp) jmp 0x10296 movq 0x88(%r...
/jonasnick[P]secp256k1-zkp/src/eckey_impl.h
secp256k1_fe_impl_cmov
SECP256K1_INLINE static void secp256k1_fe_impl_cmov(secp256k1_fe *r, const secp256k1_fe *a, int flag) { uint64_t mask0, mask1; volatile int vflag = flag; SECP256K1_CHECKMEM_CHECK_VERIFY(r->n, sizeof(r->n)); mask0 = vflag + ~((uint64_t)0); mask1 = ~mask0; r->n[0] = (r->n[0] & mask0) | (a->n[0] & ...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movl %edx, -0x14(%rsp) movl -0x14(%rsp), %eax movl %eax, -0x2c(%rsp) movl -0x2c(%rsp), %eax cltq addq $-0x1, %rax movq %rax, -0x20(%rsp) movq -0x20(%rsp), %rax xorq $-0x1, %rax movq %rax, -0x28(%rsp) movq -0x8(%rsp), %rax movq (%rax), %rcx andq -0x20(%rsp), %rcx movq -0x10(%...
/jonasnick[P]secp256k1-zkp/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; secp256k1_gej_verify(r); secp256k1_fe_verify(s); #ifdef VERIFY VERIFY_CHECK(!secp256k1_fe_normalizes_to_zero_var(s)); #endif secp256k1_fe_sqr(&zz, s); secp256k1_fe_mul...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rdi callq 0x10700 movq 0x28(%rsp), %rdi callq 0xb7f0 movq 0x28(%rsp), %rsi movq %rsp, %rdi callq 0xb810 movq 0x30(%rsp), %rdi movq 0x30(%rsp), %rsi movq %rsp, %rdx callq 0xb840 movq 0x30(%rsp), %rdi addq $0x28, %rdi movq 0x30(%rsp), %rsi add...
/jonasnick[P]secp256k1-zkp/src/group_impl.h
secp256k1_fe_impl_inv
static void secp256k1_fe_impl_inv(secp256k1_fe *r, const secp256k1_fe *x) { secp256k1_fe tmp = *x; secp256k1_modinv64_signed62 s; secp256k1_fe_normalize(&tmp); secp256k1_fe_to_signed62(&s, &tmp); secp256k1_modinv64(&s, &secp256k1_const_modinfo_fe); secp256k1_fe_from_signed62(r, &s); }
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq 0x58(%rsp), %rsi leaq 0x30(%rsp), %rdi movl $0x28, %edx callq 0x20e0 leaq 0x30(%rsp), %rdi callq 0x76f0 leaq 0x8(%rsp), %rdi leaq 0x30(%rsp), %rsi callq 0x10990 leaq 0x8(%rsp), %rdi leaq 0xbd91(%rip), %rsi # 0x1c6b8 callq 0xf770 movq 0x60(%rsp), %rd...
/jonasnick[P]secp256k1-zkp/src/field_5x52_impl.h
secp256k1_fe_from_signed62
static void secp256k1_fe_from_signed62(secp256k1_fe *r, const secp256k1_modinv64_signed62 *a) { const uint64_t M52 = UINT64_MAX >> 12; const uint64_t a0 = a->v[0], a1 = a->v[1], a2 = a->v[2], a3 = a->v[3], a4 = a->v[4]; /* The output from secp256k1_modinv64{_var} should be normalized to range [0,modulus), ...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movabsq $0xfffffffffffff, %rax # imm = 0xFFFFFFFFFFFFF movq %rax, -0x18(%rsp) movq -0x10(%rsp), %rax movq (%rax), %rax movq %rax, -0x20(%rsp) movq -0x10(%rsp), %rax movq 0x8(%rax), %rax movq %rax, -0x28(%rsp) movq -0x10(%rsp), %rax movq 0x10(%rax), %rax movq %rax, -0x30(%rs...
/jonasnick[P]secp256k1-zkp/src/field_5x52_impl.h
secp256k1_sha256_transform
static void secp256k1_sha256_transform(uint32_t* s, const unsigned char* buf) { uint32_t a = s[0], b = s[1], c = s[2], d = s[3], e = s[4], f = s[5], g = s[6], h = s[7]; uint32_t w0, w1, w2, w3, w4, w5, w6, w7, w8, w9, w10, w11, w12, w13, w14, w15; Round(a, b, c, d, e, f, g, h, 0x428a2f98, w0 = secp256k1_r...
subq $0x2b8, %rsp # imm = 0x2B8 movq %rdi, 0x2b0(%rsp) movq %rsi, 0x2a8(%rsp) movq 0x2b0(%rsp), %rax movl (%rax), %eax movl %eax, 0x2a4(%rsp) movq 0x2b0(%rsp), %rax movl 0x4(%rax), %eax movl %eax, 0x2a0(%rsp) movq 0x2b0(%rsp), %rax movl 0x8(%rax), %eax movl %eax, 0x29c(%rsp) movq 0x2b0(%rsp), %rax movl 0xc(%...
/jonasnick[P]secp256k1-zkp/src/hash_impl.h
secp256k1_gej_cmov
static SECP256K1_INLINE void secp256k1_gej_cmov(secp256k1_gej *r, const secp256k1_gej *a, int flag) { secp256k1_gej_verify(r); secp256k1_gej_verify(a); secp256k1_fe_cmov(&r->x, &a->x, flag); secp256k1_fe_cmov(&r->y, &a->y, flag); secp256k1_fe_cmov(&r->z, &a->z, flag); r->infinity ^= (r->infinit...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq %rsi, 0x8(%rsp) movl %edx, 0x4(%rsp) movq 0x10(%rsp), %rdi callq 0x10700 movq 0x8(%rsp), %rdi callq 0x10700 movq 0x10(%rsp), %rdi movq 0x8(%rsp), %rsi movl 0x4(%rsp), %edx callq 0x10360 movq 0x10(%rsp), %rdi addq $0x28, %rdi movq 0x8(%rsp), %rsi addq $0x28, %rsi movl 0x4(%rsp...
/jonasnick[P]secp256k1-zkp/src/group_impl.h
secp256k1_scalar_cadd_bit
static void secp256k1_scalar_cadd_bit(secp256k1_scalar *r, unsigned int bit, int flag) { secp256k1_uint128 t; volatile int vflag = flag; VERIFY_CHECK(bit < 256); bit += ((uint32_t) vflag - 1) & 0x100; /* forcing (bit >> 6) > 3 makes this a noop */ secp256k1_u128_from_u64(&t, r->d[0]); secp256k1...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movl %esi, 0x2c(%rsp) movl %edx, 0x28(%rsp) movl 0x28(%rsp), %eax movl %eax, 0xc(%rsp) movl 0xc(%rsp), %eax subl $0x1, %eax andl $0x100, %eax # imm = 0x100 addl 0x2c(%rsp), %eax movl %eax, 0x2c(%rsp) movq 0x30(%rsp), %rax movq (%rax), %rsi leaq 0x10(%rsp), %rdi callq 0x...
/jonasnick[P]secp256k1-zkp/src/scalar_4x64_impl.h
secp256k1_gej_add_ge_var
static void secp256k1_gej_add_ge_var(secp256k1_gej *r, const secp256k1_gej *a, const secp256k1_ge *b, secp256k1_fe *rzr) { /* 8 mul, 3 sqr, 13 add/negate/normalize_weak/normalizes_to_zero (ignoring special cases) */ secp256k1_fe z12, u1, u2, s1, s2, h, i, h2, h3, t; secp256k1_gej_verify(a); secp256k1_ge...
subq $0x1b8, %rsp # imm = 0x1B8 movq %rdi, 0x1b0(%rsp) movq %rsi, 0x1a8(%rsp) movq %rdx, 0x1a0(%rsp) movq %rcx, 0x198(%rsp) movq 0x1a8(%rsp), %rdi callq 0x10700 movq 0x1a0(%rsp), %rdi callq 0xb800 movq 0x1a8(%rsp), %rax cmpl $0x0, 0x78(%rax) je 0x180ab jmp 0x18091 movq 0x1b0(%rsp), %rdi movq 0x1a0(%rsp), %rs...
/jonasnick[P]secp256k1-zkp/src/group_impl.h
secp256k1_ge_set_ge_zinv
static void secp256k1_ge_set_ge_zinv(secp256k1_ge *r, const secp256k1_ge *a, const secp256k1_fe *zi) { secp256k1_fe zi2; secp256k1_fe zi3; secp256k1_ge_verify(a); secp256k1_fe_verify(zi); VERIFY_CHECK(!a->infinity); secp256k1_fe_sqr(&zi2, zi); secp256k1_fe_mul(&zi3, &zi2, zi); secp256k1_...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq %rdx, 0x50(%rsp) movq 0x58(%rsp), %rdi callq 0xb800 movq 0x50(%rsp), %rdi callq 0xb7f0 movq 0x50(%rsp), %rsi leaq 0x28(%rsp), %rdi callq 0xb810 movq 0x50(%rsp), %rdx movq %rsp, %rdi leaq 0x28(%rsp), %rsi callq 0xb840 movq 0x60(%rsp), %rdi movq 0x58(%rsp)...
/jonasnick[P]secp256k1-zkp/src/group_impl.h
secp256k1_fe_equal
SECP256K1_INLINE static int secp256k1_fe_equal(const secp256k1_fe *a, const secp256k1_fe *b) { secp256k1_fe na; #ifdef VERIFY secp256k1_fe_verify(a); secp256k1_fe_verify(b); VERIFY_CHECK(a->magnitude <= 1); VERIFY_CHECK(b->magnitude <= 31); #endif secp256k1_fe_negate(&na, a, 1); secp256k1_fe...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rsi movq %rsp, %rdi movl $0x1, %edx callq 0x100f0 movq 0x28(%rsp), %rsi movq %rsp, %rdi callq 0xca20 movq %rsp, %rdi callq 0x10460 addq $0x38, %rsp retq nopw (%rax,%rax)
/jonasnick[P]secp256k1-zkp/src/field_impl.h
heap_down
static SECP256K1_INLINE void heap_down(unsigned char *a, size_t i, size_t heap_size, size_t stride, int (*cmp)(const void *, const void *, void *), void *cmp_data) { while (i < heap_size/2) { VERIFY_CHECK(i <= SIZE_MAX/2 - 1); /* Proof: * i < heap_size/2 ...
subq $0x98, %rsp movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq %rdx, 0x80(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq %r9, 0x68(%rsp) movq 0x88(%rsp), %rax movq 0x80(%rsp), %rcx shrq %rcx cmpq %rcx, %rax jae 0x18f49 jmp 0x18d1c jmp 0x18d1e movq 0x88(%rsp), %rdi callq 0x18fe0 movq 0x88(%rsp), %rdi callq 0x1...
/jonasnick[P]secp256k1-zkp/src/modules/extrakeys/hsort_impl.h
secp256k1_gej_add_zinv_var
static void secp256k1_gej_add_zinv_var(secp256k1_gej *r, const secp256k1_gej *a, const secp256k1_ge *b, const secp256k1_fe *bzinv) { /* 9 mul, 3 sqr, 13 add/negate/normalize_weak/normalizes_to_zero (ignoring special cases) */ secp256k1_fe az, z12, u1, u2, s1, s2, h, i, h2, h3, t; secp256k1_ge_verify(b); ...
subq $0x228, %rsp # imm = 0x228 movq %rdi, 0x220(%rsp) movq %rsi, 0x218(%rsp) movq %rdx, 0x210(%rsp) movq %rcx, 0x208(%rsp) movq 0x210(%rsp), %rdi callq 0xb800 movq 0x208(%rsp), %rdi callq 0xb7f0 movq 0x218(%rsp), %rax cmpl $0x0, 0x78(%rax) je 0x1a035 movq 0x210(%rsp), %rax movl 0x50(%rax), %ecx movq 0x220(%...
/jonasnick[P]secp256k1-zkp/src/group_impl.h
secp256k1_ellswift_xelligatorswift_var
static void secp256k1_ellswift_xelligatorswift_var(unsigned char *u32, secp256k1_fe *t, const secp256k1_fe *x, const secp256k1_sha256 *hasher) { /* Pool of 3-bit branch values. */ unsigned char branch_hash[32]; /* Number of 3-bit values in branch_hash left. */ int branches_left = 0; /* Field element...
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) movq %rdx, 0x70(%rsp) movq %rcx, 0x68(%rsp) movl $0x0, 0x3c(%rsp) movl $0x0, 0x38(%rsp) cmpl $0x0, 0x3c(%rsp) jne 0x1a509 leaq 0x40(%rsp), %rdi movq 0x68(%rsp), %rsi movl 0x38(%rsp), %edx movl %edx, %eax addl $0x1, %eax movl %eax, 0x38(%rsp) callq 0x1a5a0 mov...
/jonasnick[P]secp256k1-zkp/src/modules/ellswift/main_impl.h
secp256k1_ellswift_prng
static void secp256k1_ellswift_prng(unsigned char* out32, const secp256k1_sha256 *hasher, uint32_t cnt) { secp256k1_sha256 hash = *hasher; unsigned char buf4[4]; #ifdef VERIFY size_t blocks = hash.bytes >> 6; #endif buf4[0] = cnt; buf4[1] = cnt >> 8; buf4[2] = cnt >> 16; buf4[3] = cnt >> 24;...
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) movl %edx, 0x74(%rsp) movq 0x78(%rsp), %rsi leaq 0x8(%rsp), %rdi movl $0x68, %edx callq 0x20e0 movl 0x74(%rsp), %eax movb %al, 0x4(%rsp) movl 0x74(%rsp), %eax shrl $0x8, %eax movb %al, 0x5(%rsp) movl 0x74(%rsp), %eax shrl $0x10, %eax movb %al, 0x6(%rsp) movl ...
/jonasnick[P]secp256k1-zkp/src/modules/ellswift/main_impl.h
secp256k1_ellswift_xswiftec_inv_var
static int secp256k1_ellswift_xswiftec_inv_var(secp256k1_fe *t, const secp256k1_fe *x_in, const secp256k1_fe *u_in, int c) { /* The implemented algorithm is this (all arithmetic, except involving c, is mod p): * * - If (c & 2) = 0: * - If (-x-u) is a valid X coordinate, fail. * - Let s=-(u^3...
subq $0x178, %rsp # imm = 0x178 movq %rdi, 0x168(%rsp) movq %rsi, 0x160(%rsp) movq %rdx, 0x158(%rsp) movl %ecx, 0x154(%rsp) movq 0x160(%rsp), %rsi leaq 0x128(%rsp), %rdi movl $0x28, %edx callq 0x20e0 movq 0x158(%rsp), %rsi leaq 0x100(%rsp), %rdi movl $0x28, %edx callq 0x20e0 leaq 0x128(%rsp), %rdi callq 0xff...
/jonasnick[P]secp256k1-zkp/src/modules/ellswift/main_impl.h
mbedtls_cipher_info_from_values
const mbedtls_cipher_info_t *mbedtls_cipher_info_from_values( const mbedtls_cipher_id_t cipher_id, int key_bitlen, const mbedtls_cipher_mode_t mode ) { const mbedtls_cipher_definition_t *def; for( def = mbedtls_cipher_d...
leaq 0x10dc2(%rip), %rcx # 0x18770 movq 0x8(%rcx), %rax testq %rax, %rax je 0x79da addq $0x18, %rcx movq 0x28(%rax), %r8 cmpl %edi, (%r8) jne 0x79ce cmpl %esi, 0x8(%rax) jne 0x79ce cmpl %edx, 0x4(%rax) je 0x79dc movq (%rcx), %rax addq $0x10, %rcx testq %rax, %rax jne 0x79bb xorl %eax, %eax retq
/Dragonchang[P]https_client/mbedtls/library/cipher.c
mbedtls_cipher_auth_decrypt
int mbedtls_cipher_auth_decrypt( mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %r9, %r10 movq %r8, %r9 movq %rcx, %r8 movq %rdx, %rcx movq %rsi, %rdx movq 0x50(%rsp), %rbx movq 0x48(%rsp), %r11 movq 0x40(%rsp), %r15 movq 0x38(%rsp), %r14 movq 0x30(%rsp), %rsi movq (%rdi), %rax movl 0x4(%rax), %ebp cmpl $0x8, %ebp je 0x84a1 movl $0xffff9f...
/Dragonchang[P]https_client/mbedtls/library/cipher.c
mbedtls_des_setkey_dec
int mbedtls_des_setkey_dec( mbedtls_des_context *ctx, const unsigned char key[MBEDTLS_DES_KEY_SIZE] ) { int i; mbedtls_des_setkey( ctx->sk, key ); for( i = 0; i < 16; i += 2 ) { SWAP( ctx->sk[i ], ctx->sk[30 - i] ); SWAP( ctx->sk[i + 1], ctx->sk[31 - i] ); } return( 0 ); }
pushq %rbx movq %rdi, %rbx callq 0x8843 leaq 0x7c(%rbx), %rax movq $-0x2, %rcx movl 0x8(%rbx,%rcx,4), %edx movl -0x4(%rax), %esi movl %esi, 0x8(%rbx,%rcx,4) movl %edx, -0x4(%rax) movl 0xc(%rbx,%rcx,4), %edx movl (%rax), %esi movl %esi, 0xc(%rbx,%rcx,4) movl %edx, (%rax) addq $0x2, %rcx addq $-0x8, %rax cmpq $0xe, %rcx ...
/Dragonchang[P]https_client/mbedtls/library/des.c
mbedtls_gcm_starts
int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, int mode, const unsigned char *iv, size_t iv_len, const unsigned char *add, size_t add_len ) { int ret; unsigned char work_buf[16]; size_t i; const unsigned char *p; size...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq $0x0, 0x8(%rsp) movq %r9, %rax orq %rcx, %rax shrq $0x3d, %rax movl $0xffffffec, %eax # imm = 0xFFFFFFEC jne 0x9f66 movq %r9, %rbx movq %r8, %r14 movq %rcx, %rbp movq %rdx, %r13 movq %rdi, %r15 leaq 0x178(%rdi), %r12 pxor %xmm...
/Dragonchang[P]https_client/mbedtls/library/gcm.c
mbedtls_aes_decrypt
void mbedtls_aes_decrypt( mbedtls_aes_context *ctx, const unsigned char input[16], unsigned char output[16] ) { int i; uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; RK = ctx->rk; GET_UINT32_LE( X0, input, 0 ); X0 ^= *RK++; GET_UINT32_LE( X1, inp...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdx, -0x8(%rsp) movq 0x8(%rdi), %rax movl (%rax), %ecx movl 0x4(%rax), %edx xorl (%rsi), %ecx xorl 0x4(%rsi), %edx movl 0x8(%rax), %r9d xorl 0x8(%rsi), %r9d movl 0xc(%rax), %r10d addq $0x10, %rax xorl 0xc(%rsi), %r10d movl (%rdi), %esi sarl %esi le...
/Dragonchang[P]https_client/mbedtls/library/aes.c
mbedtls_aes_crypt_cfb128
int mbedtls_aes_crypt_cfb128( mbedtls_aes_context *ctx, int mode, size_t length, size_t *iv_off, unsigned char iv[16], const unsigned char *input, unsigned char *output ) { int c...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %r14 movq %r8, %r15 movq %rdx, %r12 movq %rdi, 0x8(%rsp) movq 0x50(%rsp), %rbx movq %rcx, 0x10(%rsp) movq (%rcx), %rbp testl %esi, %esi je 0xbded testq %r12, %r12 je 0xbe2e xorl %r13d, %r13d testq %rbp, %rbp jne 0xbdce movq 0x8...
/Dragonchang[P]https_client/mbedtls/library/aes.c
mbedtls_aes_self_test
int mbedtls_aes_self_test( int verbose ) { int ret = 0, i, j, u, v; unsigned char key[32]; unsigned char buf[64]; #if defined(MBEDTLS_CIPHER_MODE_CBC) || defined(MBEDTLS_CIPHER_MODE_CFB) unsigned char iv[16]; #endif #if defined(MBEDTLS_CIPHER_MODE_CBC) unsigned char prv[16]; #endif #if defined(MBEDT...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1f8, %rsp # imm = 0x1F8 movl %edi, 0xc(%rsp) pxor %xmm0, %xmm0 leaq 0x80(%rsp), %rax movdqa %xmm0, (%rax) movdqa %xmm0, 0x10(%rax) leaq 0xc0(%rsp), %r15 movl $0x120, %edx # imm = 0x120 movq %r15, %rdi xorl %esi, %esi callq 0...
/Dragonchang[P]https_client/mbedtls/library/aes.c
mbedtls_aesni_crypt_ecb
int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx, int mode, const unsigned char input[16], unsigned char output[16] ) { asm( "movdqu (%3), %%xmm0 \n\t" // load input "movdqu (%1), %%xmm1 \n\t" // load round key 0 "pxor...
movl (%rdi), %eax movq 0x8(%rdi), %rdi movdqu (%rdx), %xmm0 movdqu (%rdi), %xmm1 pxor %xmm1, %xmm0 addq $0x10, %rdi subl $0x1, %eax testl %esi, %esi je 0xc681 movdqu (%rdi), %xmm1 aesenc %xmm1, %xmm0 addq $0x10, %rdi subl $0x1, %eax jne 0xc664 movdqu (%rdi), %xmm1 aesenclast %xmm1, %xmm0 jmp 0xc69c movdqu (%rdi), %xmm1...
/Dragonchang[P]https_client/mbedtls/library/aesni.c
mbedtls_aesni_inverse_key
void mbedtls_aesni_inverse_key( unsigned char *invkey, const unsigned char *fwdkey, int nr ) { unsigned char *ik = invkey; const unsigned char *fk = fwdkey + 16 * nr; memcpy( ik, fk, 16 ); for( fk -= 16, ik += 16; fk > fwdkey; fk -= 16, ik += 16 ) asm( "movdqu (%0), %%x...
shll $0x4, %edx movslq %edx, %rax addq %rsi, %rax addq $-0x10, %rax movups 0x10(%rax), %xmm0 movups %xmm0, (%rdi) addq $0x10, %rdi cmpq %rsi, %rax jbe 0xc891 movdqu (%rax), %xmm0 aesimc %xmm0, %xmm0 movdqu %xmm0, (%rdi) addq $-0x10, %rax jmp 0xc875 movups (%rax), %xmm0 movups %xmm0, (%rdi) retq
/Dragonchang[P]https_client/mbedtls/library/aesni.c
mbedtls_blowfish_setkey
int mbedtls_blowfish_setkey( mbedtls_blowfish_context *ctx, const unsigned char *key, unsigned int keybits ) { unsigned int i, j, k; uint32_t data, datal, datar; if( keybits < MBEDTLS_BLOWFISH_MIN_KEY_BITS || keybits > MBEDTLS_BLOWFISH_MAX_KEY_BITS || ( keybits % 8 ) ) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %edx, %r14d leal -0x20(%r14), %eax cmpl $0x1a1, %eax # imm = 0x1A1 setae %cl testb $0x7, %r14b setne %dl movl $0xffffffea, %eax # imm = 0xFFFFFFEA orb %cl, %dl jne 0xce43 movq %rsi, %r15 movq %rdi, %rbx xorl %r12d, %r12d ...
/Dragonchang[P]https_client/mbedtls/library/blowfish.c
mbedtls_blowfish_crypt_cbc
int mbedtls_blowfish_crypt_cbc( mbedtls_blowfish_context *ctx, int mode, size_t length, unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], const unsigned char *input, unsigned char *output ) { int i; unsigned char tem...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r12 movl $0xffffffe8, %eax # imm = 0xFFFFFFE8 testb $0x7, %r12b jne 0xd044 movq %r9, %rbx movq %r8, %r14 movq %rcx, %r15 movl %esi, %ebp movq %rdi, %r13 testl %esi, %esi je 0xd007 testq %r12, %r12 je 0xd042 xorl %eax, %eax mo...
/Dragonchang[P]https_client/mbedtls/library/blowfish.c
mbedtls_blowfish_crypt_ctr
int mbedtls_blowfish_crypt_ctr( mbedtls_blowfish_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[MBEDTLS_BLOWFISH_BLOCKSIZE], unsigned char stream_block[MBEDTLS_BLOWFISH_BLOCKSIZE], ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq %rdx, 0x8(%rsp) movq (%rdx), %rbx testq %rsi, %rsi je 0xd19b movq %r9, %r14 movq %r8, %r15 movq %rcx, %r12 movq %rsi, %r13 movq 0x50(%rsp), %rbp testq %rbx, %rbx jne 0xd17e movq 0x10(%rsp), %rdi movl $0x1, %esi...
/Dragonchang[P]https_client/mbedtls/library/blowfish.c
mbedtls_camellia_setkey_dec
int mbedtls_camellia_setkey_dec( mbedtls_camellia_context *ctx, const unsigned char *key, unsigned int keybits ) { int idx, ret; size_t i; mbedtls_camellia_context cty; uint32_t *RK; uint32_t *SK; mbedtls_camellia_init( &cty ); /* Also checks keybits */ if( ( r...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx leaq 0x4(%rsp), %r15 movl $0x114, %edx # imm = 0x114 movq %r15, %rdi xorl %esi, %esi callq 0x40c0 movq %r15, %rdi movq %r14, %rsi movl %ebp, %edx callq 0xd1d7 testl %eax, %ea...
/Dragonchang[P]https_client/mbedtls/library/camellia.c
mbedtls_camellia_crypt_ctr
int mbedtls_camellia_crypt_ctr( mbedtls_camellia_context *ctx, size_t length, size_t *nc_off, unsigned char nonce_counter[16], unsigned char stream_block[16], const unsigned char *input, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq %rdx, 0x8(%rsp) movq (%rdx), %rbx testq %rsi, %rsi je 0xe088 movq %r9, %r14 movq %r8, %r15 movq %rcx, %r12 movq %rsi, %r13 movq 0x50(%rsp), %rbp testq %rbx, %rbx jne 0xe06b movq 0x10(%rsp), %rdi movq %r12, %rdx...
/Dragonchang[P]https_client/mbedtls/library/camellia.c
void async::detail::continuation_vector::flush_and_lock<async::detail::task_base::run_continuations()::'lambda'(async::detail::ref_count_ptr<async::detail::task_base>)>(async::detail::task_base::run_continuations()::'lambda'(async::detail::ref_count_ptr<async::detail::task_base>)&&)
void flush_and_lock(Func&& func) { // Try to lock the vector using a compare-exchange loop internal_data data = atomic_data.load(std::memory_order_relaxed); internal_data new_data; do { new_data = data; new_data.set_flags(data.get_flags() | flags::is_locked); } while (!atomic_data.compare_exchange_weak...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x78(%rbp) xorl %esi, %esi callq 0x6780 movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x20(%rbp) leaq -0x18(%rbp), %rdi callq 0x6820 movq %rax, %rsi orq $0x1, %rsi leaq -0x20(%rbp), %rd...
/Amanieu[P]asyncplusplus/include/async++/continuation_vector.h
async::threadpool_scheduler::threadpool_scheduler(unsigned long, std::function<void ()>&&, std::function<void ()>&&)
threadpool_scheduler::threadpool_scheduler(std::size_t num_threads, std::function<void()>&& prerun, std::function<void()>&& postrun) : impl(new detail::threadpool_data(num_threads, std::move(prerun), std::move(postrun))) { // Sta...
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 -0x8(%rbp), %rax movq %rax, -0x60(%rbp) movq %rax, -0x58(%rbp) movl $0xb0, %edi callq 0x4330 movq %rax, %rdi movq %rdi, %rax movq %rax, -0x50(%rbp) movq -0x10(%rbp), %rsi movq -0x1...
/Amanieu[P]asyncplusplus/src/threadpool_scheduler.cpp
async::threadpool_scheduler::schedule(async::task_run_handle)
void threadpool_scheduler::schedule(task_run_handle t) { detail::threadpool_data_wrapper wrapper = detail::get_threadpool_data_wrapper(); // Check if we are in the thread pool if (wrapper.owning_threadpool == impl.get()) { // Push the task onto our task queue impl->thread_data[wrapper.thread_id].queue.push(std...
pushq %rbp movq %rsp, %rbp subq $0x190, %rsp # imm = 0x190 movq %rsi, -0x108(%rbp) movq %rdi, -0x90(%rbp) movq %rsi, -0x98(%rbp) movq -0x90(%rbp), %rax movq %rax, -0x100(%rbp) callq 0xb420 movq -0x100(%rbp), %rdi movq %rax, -0xa8(%rbp) movq %rdx, -0xa0(%rbp) movq -0xa8(%rbp), %rax movq %rax, -0xf8(%rbp) call...
/Amanieu[P]asyncplusplus/src/threadpool_scheduler.cpp
async::detail::work_steal_queue::steal()
task_run_handle steal() { // Loop while the compare_exchange fails. This is still lock-free because // a fail means that another thread has sucessfully stolen a task. while (true) { // Make sure top is read before bottom std::size_t t = top.load(std::memory_order_acquire); std::atomic_thread_fence(std::...
pushq %rbp movq %rsp, %rbp subq $0x1e0, %rsp # imm = 0x1E0 movq %rdi, -0xa8(%rbp) movq %rdi, %rax movq %rax, -0xa0(%rbp) movq %rdi, -0x68(%rbp) movq %rsi, -0x70(%rbp) movq -0x70(%rbp), %rax movq %rax, -0x98(%rbp) movq -0x98(%rbp), %rax addq $0x8, %rax movq %rax, -0x38(%rbp) movl $0x2, -0x3c(%rbp) movq -0x38(...
/Amanieu[P]asyncplusplus/src/work_steal_queue.h
hexdump
char *hexdump(const unsigned char *buffer, size_t len) { static char dump[200 * 3 + 1]; char *p = dump; size_t i; if(len > 200) return NULL; for(i = 0; i<len; i++, p += 3) msnprintf(p, 4, "%02x ", buffer[i]); return dump; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax cmpq $0xc8, %rsi jbe 0x242b xorl %ebx, %ebx jmp 0x2475 movq %rsi, %r14 testq %rsi, %rsi je 0x246e movq %rdi, %r15 leaq 0x2ca3(%rip), %rbx # 0x50e0 leaq 0xcba(%rip), %r12 # 0x30fe xorl %ebp, %ebp movq %rbx, %r13 movzbl (%r15,%rbp), %...
/kfalconspb[P]curl/tests/libtest/first.c
curlx_uztoul
unsigned long curlx_uztoul(size_t uznum) { #ifdef __INTEL_COMPILER # pragma warning(push) # pragma warning(disable:810) /* conversion may lose significant bits */ #endif #if (SIZEOF_LONG < SIZEOF_SIZE_T) DEBUGASSERT(uznum <= (size_t) CURL_MASK_ULONG); #endif return (unsigned long)(uznum & (size_t) CURL_MASK_ULONG)...
movq %rdi, %rax retq
/kfalconspb[P]curl/lib/warnless.c
curlx_uitous
unsigned short curlx_uitous(unsigned int uinum) { #ifdef __INTEL_COMPILER # pragma warning(push) # pragma warning(disable:810) /* conversion may lose significant bits */ #endif DEBUGASSERT(uinum <= (unsigned int) CURL_MASK_USHORT); return (unsigned short) (uinum & (unsigned int) CURL_MASK_USHORT); #ifdef __INTE...
movl %edi, %eax retq
/kfalconspb[P]curl/lib/warnless.c
nlohmann::json_abi_v3_11_2::detail::type_error nlohmann::json_abi_v3_11_2::detail::type_error::create<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_...
static type_error create(int id_, const std::string& what_arg, BasicJsonContext context) { std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg); return {id_, w.c_str()}; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdx, %r15 movl %esi, %ebp movq %rdi, %rbx leaq 0x38(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0xca3b6(%rip), %rsi # 0xe7d5b leaq 0xca3b9(%rip), %rdx # 0xe7d65 leaq 0x28(%rsp), %rdi callq 0x37caa leaq 0x48(%rsp), %rdi leaq 0x2...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x160, %rsp # imm = 0x160 movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x1e43a movq %rdi, %rsi leaq 0x10(%rsp), %rdi callq 0x1e9c6 movl $0x150, %edi # imm = 0x150 callq 0x14180 movq %rax, %r14 leaq 0x10(%rsp), %rsi movq %rax, %rdi callq 0x1e4d8 leaq 0x8(%rsp), %r15 m...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const& nlohmann::json_ab...
const_reference at(KeyType && key) const { // at only works for objects if (JSON_HEDLEY_UNLIKELY(!is_object())) { JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this)); } auto it = m_value.object->find(std::forward<KeyTyp...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdi, %r14 cmpb $0x1, (%rdi) jne 0x1f532 movq %rsi, %r15 movq 0x8(%r14), %rdi callq 0x1fdf2 movq 0x8(%r14), %rcx addq $0x8, %rcx cmpq %rcx, %rax je 0x1f590 addq $0x40, %rax addq $0x40, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp ret...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const& nlohmann::json_ab...
const_reference at(KeyType && key) const { // at only works for objects if (JSON_HEDLEY_UNLIKELY(!is_object())) { JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this)); } auto it = m_value.object->find(std::forward<KeyTyp...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdi, %r14 cmpb $0x1, (%rdi) jne 0x1f6ca movq %rsi, %r15 movq 0x8(%r14), %rdi callq 0x1fe5e movq 0x8(%r14), %rcx addq $0x8, %rcx cmpq %rcx, %rax je 0x1f728 addq $0x40, %rax addq $0x40, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp ret...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const& nlohmann::json_ab...
const_reference at(KeyType && key) const { // at only works for objects if (JSON_HEDLEY_UNLIKELY(!is_object())) { JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this)); } auto it = m_value.object->find(std::forward<KeyTyp...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdi, %r14 cmpb $0x1, (%rdi) jne 0x1f9fa movq %rsi, %r15 movq 0x8(%r14), %rdi callq 0x201c4 movq 0x8(%r14), %rcx addq $0x8, %rcx cmpq %rcx, %rax je 0x1fa58 addq $0x40, %rax addq $0x40, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp ret...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x2030a movq %rdi, %rsi movq %rsp, %rdi callq 0x203dc movl $0x18, %edi callq 0x14180 movq %rsp, %r14 movaps (%r14), %xmm0 movups %xmm0, (%rax) movq 0x10(%r14), %rcx movq %rcx, 0x10(%rax) xorl %ecx, %ecx movq %rcx, 0x10(%r14) xorps %x...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
decltype(fp0.reserve(std::declval<std::vector<discordpp::Guild, std::allocator<discordpp::Guild>>::size_type>()), fp.get<std::vector<discordpp::Guild, std::allocator<discordpp::Guild>>::value_type>(), (void)()) nlohmann::json_abi_v3_11_2::detail::from_json_array_impl<nlohmann::json_abi_v3_11_2::basic_json<std::map, std...
auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, priority_tag<1> /*unused*/) -> decltype( arr.reserve(std::declval<typename ConstructibleArrayType::size_type>()), j.template get<typename ConstructibleArrayType::value_type>(), void()) { using std::end; ConstructibleArra...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rsi, %rbx movq %rdi, %r14 xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) movzbl (%rdi), %esi testl %esi, %esi je 0x205af cmpl $0x1, %esi je 0x205a0 cmpl $0x2, %esi jne 0x205aa movq 0x8(%r14), %rax movq 0x8(%rax), %rsi subq (%ra...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::omittable_field<discordpp::Snowflake>::operator=(discordpp::omitted_t)
virtual omittable_field &operator=(omitted_t) { field<T>::t_ = nullptr; field<T>::s_ = field<T>::omitted_e; return *this; }
pushq %rbx movq %rdi, %rbx movq 0x8(%rdi), %rdi movq $0x0, 0x8(%rbx) testq %rdi, %rdi je 0x220c9 movl $0x8, %esi callq 0x14110 movl $0x2, 0x10(%rbx) movq %rbx, %rax popq %rbx retq nop
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const& nlohmann::json_ab...
const_reference at(KeyType && key) const { // at only works for objects if (JSON_HEDLEY_UNLIKELY(!is_object())) { JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this)); } auto it = m_value.object->find(std::forward<KeyTyp...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdi, %r14 cmpb $0x1, (%rdi) jne 0x27a7e movq %rsi, %r15 movq 0x8(%r14), %rdi callq 0x2eb6c movq 0x8(%r14), %rcx addq $0x8, %rcx cmpq %rcx, %rax je 0x27adc addq $0x40, %rax addq $0x40, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp ret...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const& nlohmann::json_ab...
const_reference at(KeyType && key) const { // at only works for objects if (JSON_HEDLEY_UNLIKELY(!is_object())) { JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this)); } auto it = m_value.object->find(std::forward<KeyTyp...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdi, %r14 cmpb $0x1, (%rdi) jne 0x27f46 movq %rsi, %r15 movq 0x8(%r14), %rdi callq 0x2ecb0 movq 0x8(%r14), %rcx addq $0x8, %rcx cmpq %rcx, %rax je 0x27fa4 addq $0x40, %rax addq $0x40, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp ret...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x2a2c6 xorl %r14d, %r14d leaq 0x8(%rsp), %rsi movq %r14, (%rsi) callq 0x2a2f0 movl $0x8, %edi callq 0x14180 movq %r14, (%rax) movq (%rbx), %rdi movq %rax, (%rbx) movl $0x1, %ebp jmp 0x2a2d5 movq (%rbx), %rdi movq $0x0, (%rbx) movl $...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x2fe45 movq %rdi, %rsi movq %rsp, %rdi callq 0x2fe74 movl $0x18, %edi callq 0x14180 movq %rsp, %r14 movaps (%r14), %xmm0 movups %xmm0, (%rax) movq 0x10(%r14), %rcx movq %rcx, 0x10(%rax) xorl %ecx, %ecx movq %rcx, 0x10(%r14) xorps %x...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::Team nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::get_imp...
const noexcept(noexcept( JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>()))) { auto ret = ValueType(); JSONSerializer<ValueType>::from_json(*this, ret); return ret; }
pushq %r15 pushq %r14 pushq %rbx subq $0x60, %rsp movq %rsi, %r15 movq %rdi, %r14 leaq 0x40(%rsp), %rbx xorl %eax, %eax movq %rax, (%rbx) movl %eax, 0x8(%rbx) leaq 0x1138c9(%rip), %rcx # 0x14a208 movq %rcx, -0x8(%rbx) leaq 0x28(%rsp), %rdx movq %rax, (%rdx) movl %eax, 0x8(%rdx) leaq 0x50(%rsp), %rcx movq %rax, (%rcx...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> nlohmann::json_abi_v3_11_2::detail::concat<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, char const (&) [29], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, char const (&) [5...
inline OutStringType concat(Args && ... args) { OutStringType str; str.reserve(concat_length(std::forward<Args>(args)...)); concat_into(str, std::forward<Args>(args)...); return str; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r14 movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rsp) movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) movq %rsi, %rdi callq 0x14510 movq %rax, %rbp addq 0x8(%r12), %...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
nlohmann::json_abi_v3_11_2::detail::dtoa_impl::grisu2(char*, int&, int&, nlohmann::json_abi_v3_11_2::detail::dtoa_impl::diyfp, nlohmann::json_abi_v3_11_2::detail::dtoa_impl::diyfp, nlohmann::json_abi_v3_11_2::detail::dtoa_impl::diyfp)
inline void grisu2(char* buf, int& len, int& decimal_exponent, diyfp m_minus, diyfp v, diyfp m_plus) { JSON_ASSERT(m_plus.e == m_minus.e); JSON_ASSERT(m_plus.e == v.e); // --------(-----------------------+-----------------------)-------- (A) // m- v ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rcx, 0x58(%rsp) movl %r8d, 0x60(%rsp) cmpl %r8d, 0xc8(%rsp) jne 0x3bb66 movq %rdi, 0x20(%rsp) movq %rsi, 0x28(%rsp) movq %rdx, 0x30(%rsp) leaq 0xb0(%rsp), %r13 cmpl %r8d, 0x8(%r13) jne 0x3bb85 movl %r8d, %edi callq 0x3bc3a movq %rd...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x4a20e movq %rdi, %rsi movq %rsp, %rdi callq 0x4a28a movl $0x30, %edi callq 0x14180 leaq 0x8(%rax), %rdx movq 0x10(%rsp), %rsi testq %rsi, %rsi je 0x4a21f leaq 0x8(%rsp), %r8 movl (%r8), %ecx movq %rsi, 0x10(%rax) movq 0x10(%r8), %r9 movq 0x18...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::Channel::Channel(discordpp::field<discordpp::Snowflake>, discordpp::field<int>, discordpp::omittable_field<discordpp::Snowflake>, discordpp::omittable_field<int>, discordpp::omittable_field<std::vector<discordpp::Overwrite, std::allocator<discordpp::Overwrite>>>, discordpp::nullable_omittable_field<std::__cx...
Channel( field<Snowflake> id = uninitialized, field<int> type = uninitialized, omittable_field<Snowflake> guild_id = omitted, omittable_field<int> position = omitted, omittable_field<std::vector<Overwrite> > permission_overwrites = omitted, nullable_omittable_field<std::s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %r9, 0x8(%rsp) movq %r8, 0x10(%rsp) movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %rbp movq %rdi, %rbx movq (%rsi), %r14 testq %r14, %r14 je 0x4ce4d movl $0x8, %edi callq 0x14180 movq %rax, %r15 movq (%r14), %rax movq %rax, (%r15) jmp ...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/objects.hh
discordpp::ForumTag::ForumTag(discordpp::ForumTag&&)
ForumTag( field<Snowflake> id = uninitialized, field<std::string> name = uninitialized, field<bool> moderated = uninitialized, nullable_field<Snowflake> emoji_id = uninitialized, nullable_field<std::string> emoji_name = uninitialized ): id(id), name(name), ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx movq (%rsi), %r14 testq %r14, %r14 je 0x51b4b movl $0x8, %edi callq 0x14180 movq (%r14), %rcx movq %rcx, (%rax) jmp 0x51b4d xorl %eax, %eax movq %rax, (%rbx) movl 0x8(%r15), %eax movl %eax, 0x8(%rbx) leaq 0x10(%rbx), %r14 leaq 0x10(%...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/objects.hh
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x5744c movq %rdi, %rsi movq %rsp, %rdi callq 0x574a0 movl $0x18, %edi callq 0x14180 movq %rsp, %r14 movaps (%r14), %xmm0 movups %xmm0, (%rax) movq 0x10(%r14), %rcx movq %rcx, 0x10(%rax) xorl %ecx, %ecx movq %rcx, 0x10(%r14) xorps %x...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::EmbedFooter nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::...
const noexcept(noexcept( JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>()))) { auto ret = ValueType(); JSONSerializer<ValueType>::from_json(*this, ret); return ret; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx xorl %eax, %eax leaq 0x8(%rsp), %rsi movq %rax, (%rsi) movl $0x0, 0x8(%rsi) leaq 0x38(%rsp), %r15 movq %rax, (%r15) movl $0x2, %ecx movl %ecx, 0x8(%r15) leaq 0xf1c10(%rip), %rdx # 0x14a360 movq %rdx, -0x8(%r15) leaq 0x20(%r...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %rbp pushq %r14 pushq %rbx subq $0x60, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x58a74 movq %rdi, %rsi leaq 0x8(%rsp), %rdi callq 0x58bc6 movl $0x58, %edi callq 0x14180 movq %rax, %r14 leaq 0x8(%rsp), %rsi movq %rax, %rdi callq 0x58ac4 movq (%rbx), %rsi movq %r14, (%rbx) testq %rsi, %rsi je 0x58a02 movq %rbx, %...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::EmbedThumbnail nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>...
const noexcept(noexcept( JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>()))) { auto ret = ValueType(); JSONSerializer<ValueType>::from_json(*this, ret); return ret; }
pushq %r15 pushq %r14 pushq %rbx subq $0x60, %rsp movq %rsi, %r15 movq %rdi, %rbx xorl %eax, %eax leaq 0x8(%rsp), %rsi movq %rax, (%rsi) movl $0x0, 0x8(%rsi) leaq 0x20(%rsp), %r14 movq %rax, (%r14) movl $0x2, %edx movl %edx, 0x8(%r14) leaq 0xf11ae(%rip), %rcx # 0x14a360 movq %rcx, -0x8(%r14) leaq 0x48(%rsp), %rcx m...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::Embed::Embed(discordpp::Embed&&)
Embed( omittable_field<std::string> title = omitted, omittable_field<std::string> type = omitted, omittable_field<std::string> description = omitted, omittable_field<std::string> url = omitted, omittable_field<Timestamp> timestamp = omitted, omittable_field<int> color = o...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rsi, %r15 movq %rdi, %r13 addq $0x8, %rdi addq $0x8, %rsi movq %rdi, 0x30(%rsp) callq 0x1c518 leaq 0xef0b9(%rip), %rbx # 0x14a360 movq %rbx, (%r13) leaq 0x20(%r13), %rdi leaq 0x20(%r15), %rsi movq %rdi, 0x28(%rsp) callq 0x1c518...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/objects.hh
discordpp::field<discordpp::EmbedImage>::operator=(discordpp::field<discordpp::EmbedImage> const&)
field<T> &operator=(const field<T> &f) { t_.reset(f.t_ ? new T(*f.t_) : nullptr); s_ = present_e; return *this; }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movq (%rsi), %r15 testq %r15, %r15 je 0x5b886 movl $0x58, %edi callq 0x14180 movq %rax, %r14 movq %rax, %rdi movq %r15, %rsi callq 0x47132 jmp 0x5b889 xorl %r14d, %r14d movq (%rbx), %rsi movq %r14, (%rbx) testq %rsi, %rsi je 0x5b89c movq %rbx, %rdi callq 0x419ba movl $0x...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::field<discordpp::EmbedProvider>::operator=(discordpp::field<discordpp::EmbedProvider> const&)
field<T> &operator=(const field<T> &f) { t_.reset(f.t_ ? new T(*f.t_) : nullptr); s_ = present_e; return *this; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, %r14 movq (%rsi), %r12 testq %r12, %r12 je 0x5b9e9 movl $0x30, %edi callq 0x14180 movq %rax, %rbx leaq 0x8(%rax), %r15 leaq 0x8(%r12), %rsi movq %r15, %rdi callq 0x1c518 leaq 0xee993(%rip), %r13 # 0x14a360 movq %r13, (%rbx) movq %rbx, %rdi addq $0x20...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x5bbd0 movq %rdi, %rsi movq %rsp, %rdi callq 0x5bc00 movl $0x18, %edi callq 0x14180 movq %rsp, %r14 movaps (%r14), %xmm0 movups %xmm0, (%rax) movq 0x10(%r14), %rcx movq %rcx, 0x10(%rax) xorl %ecx, %ecx movq %rcx, 0x10(%r14) xorps %x...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::Reaction nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::get...
const noexcept(noexcept( JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>()))) { auto ret = ValueType(); JSONSerializer<ValueType>::from_json(*this, ret); return ret; }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %r14 movq %rdi, %rbx xorl %eax, %eax leaq 0x18(%rsp), %rsi movq %rax, (%rsi) movl %eax, 0x8(%rsi) leaq 0x8(%rsp), %rdx movq %rax, (%rdx) movl %eax, 0x8(%rdx) leaq 0x28(%rsp), %rcx movq %rax, (%rcx) movl %eax, 0x8(%rcx) callq 0x5c210 leaq 0x28(%rsp), %rdi callq 0x41328 m...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x5ccdf movq %rdi, %rsi movq %rsp, %rdi callq 0x5cdc0 movl $0x28, %edi callq 0x14180 movq %rax, %r14 movq (%rsp), %r15 testq %r15, %r15 je 0x5ccfd movl $0x4, %edi callq 0x14180 movl (%r15), %ecx movl %ecx, (%rax) jmp 0x5cc...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %rbp pushq %r14 pushq %rbx subq $0x60, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x5d074 movq %rdi, %rsi movq %rsp, %rdi callq 0x5d21a movl $0x60, %edi callq 0x14180 movq %rax, %r14 movq %rsp, %rsi movq %rax, %rdi callq 0x5d0c2 movq (%rbx), %rsi movq %r14, (%rbx) testq %rsi, %rsi je 0x5d002 movq %rbx, %rdi callq ...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %rbp pushq %r14 pushq %rbx subq $0x60, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x5dfff movq %rdi, %rsi leaq 0x8(%rsp), %rdi callq 0x5e166 movl $0x58, %edi callq 0x14180 movq %rax, %r14 leaq 0x8(%rsp), %rsi movq %rax, %rdi callq 0x5e04e movq (%rbx), %rsi movq %r14, (%rbx) testq %rsi, %rsi je 0x5df94 movq %rbx, %...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x5e69b movq %rdi, %rsi movq %rsp, %rdi callq 0x5e6ca movl $0x18, %edi callq 0x14180 movq %rsp, %r14 movaps (%r14), %xmm0 movups %xmm0, (%rax) movq 0x10(%r14), %rcx movq %rcx, 0x10(%rax) xorl %ecx, %ecx movq %rcx, 0x10(%r14) xorps %x...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x5ef9a movq %rdi, %rsi movq %rsp, %rdi callq 0x5efca movl $0x18, %edi callq 0x14180 movq %rsp, %r14 movaps (%r14), %xmm0 movups %xmm0, (%rax) movq 0x10(%r14), %rcx movq %rcx, 0x10(%rax) xorl %ecx, %ecx movq %rcx, 0x10(%r14) xorps %x...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
decltype(from_json_array_impl(fp, fp0, nlohmann::json_abi_v3_11_2::detail::priority_tag<3u>{}), fp.get<std::vector<discordpp::StickerItem, std::allocator<discordpp::StickerItem>>::value_type>(), (void)()) nlohmann::json_abi_v3_11_2::detail::from_json<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__...
auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr) -> decltype(from_json_array_impl(j, arr, priority_tag<3> {}), j.template get<typename ConstructibleArrayType::value_type>(), void()) { if (JSON_HEDLEY_UNLIKELY(!j.is_array())) { JSON_THROW(type_error::create(302, concat("type must be ar...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %r14 cmpb $0x2, (%rdi) jne 0x5f028 movq %r14, %rdi addq $0x30, %rsp popq %rbx popq %r14 popq %rbp jmp 0x5f0be movl $0x20, %edi callq 0x144f0 movq %rax, %rbx movq %r14, %rdi callq 0x1dbd0 leaq 0x8(%rsp), %rdx movq %rax, (%rdx) leaq 0x88e2e(%rip), %rsi # 0x...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
decltype(fp0.reserve(std::declval<std::vector<discordpp::StickerItem, std::allocator<discordpp::StickerItem>>::size_type>()), fp.get<std::vector<discordpp::StickerItem, std::allocator<discordpp::StickerItem>>::value_type>(), (void)()) nlohmann::json_abi_v3_11_2::detail::from_json_array_impl<nlohmann::json_abi_v3_11_2::...
auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, priority_tag<1> /*unused*/) -> decltype( arr.reserve(std::declval<typename ConstructibleArrayType::size_type>()), j.template get<typename ConstructibleArrayType::value_type>(), void()) { using std::end; ConstructibleArra...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rsi, %rbx movq %rdi, %r14 xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) movzbl (%rdi), %esi testl %esi, %esi je 0x5f115 cmpl $0x1, %esi je 0x5f106 cmpl $0x2, %esi jne 0x5f110 movq 0x8(%r14), %rax movq 0x8(%rax), %rsi subq (%ra...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::StickerItem nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::...
const noexcept(noexcept( JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>()))) { auto ret = ValueType(); JSONSerializer<ValueType>::from_json(*this, ret); return ret; }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %r14 movq %rdi, %rbx xorl %eax, %eax leaq 0x28(%rsp), %rsi movq %rax, (%rsi) movl %eax, 0x8(%rsi) leaq 0x8(%rsp), %rdx movq %rax, (%rdx) movl %eax, 0x8(%rdx) leaq 0x18(%rsp), %rcx movq %rax, (%rcx) movl %eax, 0x8(%rcx) callq 0x5f60e movq 0x18(%rsp), %rdi testq %rdi, %rd...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::from_json(nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> con...
void from_json(const nlohmann::json &j, field<T> &f) { if (j.is_null()) { f.t_ = nullptr; f.s_ = nulled_e; } else { f.t_ = std::make_unique<T>(j.get<T>()); f.s_ = present_e; } }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx cmpb $0x0, (%rdi) je 0x6040a movq %rdi, %rsi movq %rsp, %rdi callq 0x60486 movl $0x30, %edi callq 0x14180 leaq 0x8(%rax), %rdx movq 0x10(%rsp), %rsi testq %rsi, %rsi je 0x6041b leaq 0x8(%rsp), %r8 movl (%r8), %ecx movq %rsi, 0x10(%rax) movq 0x10(%r8), %r9 movq 0x18...
/DiscordPP[P]echo-bot/lib/plugin-native/discordpp/field.hh
decltype(fp0.reserve(std::declval<std::vector<discordpp::ApplicationCommandInteractionDataOption, std::allocator<discordpp::ApplicationCommandInteractionDataOption>>::size_type>()), fp.get<std::vector<discordpp::ApplicationCommandInteractionDataOption, std::allocator<discordpp::ApplicationCommandInteractionDataOption>>...
auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, priority_tag<1> /*unused*/) -> decltype( arr.reserve(std::declval<typename ConstructibleArrayType::size_type>()), j.template get<typename ConstructibleArrayType::value_type>(), void()) { using std::end; ConstructibleArra...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rsi, %rbx movq %rdi, %r14 xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) movzbl (%rdi), %esi testl %esi, %esi je 0x610cf cmpl $0x1, %esi je 0x610c0 cmpl $0x2, %esi jne 0x610ca movq 0x8(%r14), %rax movq 0x8(%rax), %rsi subq (%ra...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp
discordpp::ApplicationCommandInteractionDataOption nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_2::adl_serializer, std::vector<unsigned char, std::...
const noexcept(noexcept( JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>()))) { auto ret = ValueType(); JSONSerializer<ValueType>::from_json(*this, ret); return ret; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rsi, 0x38(%rsp) movq %rdi, %rbx xorl %r14d, %r14d movq %rsp, %r13 movq %r14, (%r13) movl %r14d, 0x8(%r13) leaq 0x28(%rsp), %rbp movq %r14, (%rbp) movl %r14d, 0x8(%rbp) leaq 0x18(%rsp), %rcx movq %r14, (%rcx) movl $0x2, %r15d movl %...
/DiscordPP[P]echo-bot/lib/discordpp/lib/nlohmannjson/single_include/nlohmann/json.hpp