index int64 0 66.5k | func_name stringlengths 2 5.36k | func_dep stringlengths 16 2.19k | func stringlengths 8 55.3k | test stringlengths 0 7.07k | opt stringclasses 4
values | language stringclasses 2
values | asm stringlengths 0 45.4k | ida_asm stringlengths 0 44.7k | ida_pseudo stringlengths 0 44.3k | ghidra_asm stringlengths 0 49.1k | ghidra_pseudo stringlengths 0 64.7k |
|---|---|---|---|---|---|---|---|---|---|---|---|
24,100 | fs_get_cache_directory[abi:cxx11]() | monkey531[P]llama/common/common.cpp | std::string fs_get_cache_directory() {
std::string cache_directory = "";
auto ensure_trailing_slash = [](std::string p) {
// Make sure to add trailing slash
if (p.back() != DIRECTORY_SEPARATOR) {
p += DIRECTORY_SEPARATOR;
}
return p;
};
if (getenv("LLAMA_CACHE... | O3 | cpp | fs_get_cache_directory[abi:cxx11]():
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x87bd6(%rip), %rdx # 0xa8ea5
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0x1ded4
leaq 0x87e12(%rip), %rdi # 0xa90f5
callq 0x187f0
testq ... | _Z22fs_get_cache_directoryB5cxx11v:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0A0h
mov rbx, rdi
lea r13, [rsp+0C8h+var_98]
mov [r13-10h], r13
lea rdx, aEndIndexOutOfB+19h; ""
lea rdi, [rsp+0C8h+var_A8]
mov rsi, rdx
call _ZNSt7__cxx1112basic_stringIcSt11char_trai... | long long fs_get_cache_directory[abi:cxx11](long long a1)
{
long long v1; // rax
long long v2; // r14
long long v3; // r12
long long v4; // rax
long long v5; // rax
long long v6; // r14
long long v7; // r12
long long v8; // rax
long long v9; // r14
long long v10; // rax
long long v11; // rax
__... | fs_get_cache_directory[abi:cxx11]:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xa0
MOV RBX,RDI
LEA R13,[RSP + 0x30]
MOV qword ptr [R13 + -0x10],R13
LEA RDX,[0x1a8ea5]
LEA RDI,[RSP + 0x20]
MOV RSI,RDX
CALL 0x0011ded4
LEA RDI,[0x1a90f5]
CALL 0x001187f0
TEST RAX,RAX
JZ 0x00121319
MOV R14,RAX
LEA R15,[RSP + 0x20]... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* fs_get_cache_directory[abi:cxx11]() */
void fs_get_cache_directory_abi_cxx11_(void)
{
char *pcVar1;
char *pcVar2;
long *plVar3;
long *plVar4;
long *in_RDI;
long *local_c8;
long local_c0;
int1 local_b8;
int7 uStack_b7;
... | |
24,101 | bytes_dup | corpus-core[P]colibri-stateless/src/util/bytes.c | bytes_t bytes_dup(bytes_t data) {
bytes_t result = {.data = safe_malloc(data.len), .len = data.len};
if (!result.data && data.len > 0) {
// This case should technically not be reached if safe_malloc exits on failure,
// but kept for conceptual completeness or if safe_malloc behaviour changes.
return NUL... | O0 | c | bytes_dup:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x30(%rbp)
movl -0x20(%rbp), %eax
movl %eax, %edi
callq 0x9c400
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x9d101
cmpl $0x0, -0x20(%rbp)
jbe 0x9d101
movl $0x0, -0x10(%rbp)
movq... | bytes_dup:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_20], edi
mov [rbp+var_18], rsi
mov eax, [rbp+var_20]
mov dword ptr [rbp+var_30], eax
mov eax, [rbp+var_20]
mov edi, eax
call safe_malloc
mov [rbp+var_28], rax
cmp [rbp+var_28], 0
jnz short loc_9D101
cmp [rbp... | long long bytes_dup(unsigned int a1, long long a2)
{
long long v3; // [rsp+8h] [rbp-28h]
v3 = safe_malloc(a1);
if ( v3 || !a1 )
{
memcpy(v3, a2, a1);
return a1;
}
else
{
return 0;
}
}
| bytes_dup:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x20],EDI
MOV qword ptr [RBP + -0x18],RSI
MOV EAX,dword ptr [RBP + -0x20]
MOV dword ptr [RBP + -0x30],EAX
MOV EAX,dword ptr [RBP + -0x20]
MOV EDI,EAX
CALL 0x0019c400
MOV qword ptr [RBP + -0x28],RAX
CMP qword ptr [RBP + -0x28],0x0
JNZ 0x0019d101
CMP dwor... |
int1 [16] bytes_dup(uint param_1,void *param_2)
{
int1 auVar1 [16];
int8 local_10;
local_10 = (void *)safe_malloc(param_1);
if ((local_10 == (void *)0x0) && (param_1 != 0)) {
param_1 = 0;
local_10 = (void *)0x0;
}
else {
memcpy(local_10,param_2,(ulong)param_1);
}
auVar1._4_4_ = 0;
au... | |
24,102 | clip_encode_float_image | monkey531[P]llama/examples/llava/clip.cpp | bool clip_encode_float_image (struct clip_ctx * ctx, int n_threads, float * img, int h, int w, float * vec) {
clip_image_f32 clip_img;
clip_img.buf.resize(h * w * 3);
for (int i = 0; i < h*w*3; i++)
{
clip_img.buf[i] = img[i];
}
clip_img.nx = w;
clip_img.ny = h;
clip_image_encode... | O1 | cpp | clip_encode_float_image:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, (%rsp)
movl %r8d, %r12d
movl %ecx, %r15d
movq %rdx, %r13
movl %esi, %ebp
movq %rdi, %r14
leaq 0x10(%rsp), %rdi
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl %ecx, %eax
imull %r8d, %... | clip_encode_float_image:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov [rsp+58h+var_58], r9
mov r12d, r8d
mov r15d, ecx
mov r13, rdx
mov ebp, esi
mov r14, rdi
lea rdi, [rsp+58h+var_48]
xorps xmm0, xmm0
movups xmmword ptr [rdi], xmm0
mov q... | char clip_encode_float_image(long long a1, unsigned int a2, long long a3, int a4, int a5)
{
int v8; // ebx
long long v9; // rax
long long i; // rdx
_DWORD v12[2]; // [rsp+8h] [rbp-50h] BYREF
__int128 v13; // [rsp+10h] [rbp-48h] BYREF
long long v14; // [rsp+20h] [rbp-38h]
v13 = 0LL;
v14 = 0LL;
v8 = 3... | clip_encode_float_image:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RSP],R9
MOV R12D,R8D
MOV R15D,ECX
MOV R13,RDX
MOV EBP,ESI
MOV R14,RDI
LEA RDI,[RSP + 0x10]
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI],XMM0
MOV qword ptr [RDI + 0x10],0x0
MOV EAX,ECX
IMUL EAX,R8D
LEA EBX,[RAX + RAX*0... |
int8
clip_encode_float_image
(int8 param_1,int4 param_2,long param_3,int param_4,int param_5,
int8 param_6)
{
uint uVar1;
ulong uVar2;
int local_50;
int local_4c;
void *local_48;
int8 uStack_40;
long local_38;
local_48 = (void *)0x0;
uStack_40 = 0;
local_38 = 0;
uVar1 = pa... | |
24,103 | clip_encode_float_image | monkey531[P]llama/examples/llava/clip.cpp | bool clip_encode_float_image (struct clip_ctx * ctx, int n_threads, float * img, int h, int w, float * vec) {
clip_image_f32 clip_img;
clip_img.buf.resize(h * w * 3);
for (int i = 0; i < h*w*3; i++)
{
clip_img.buf[i] = img[i];
}
clip_img.nx = w;
clip_img.ny = h;
clip_image_encode... | O2 | cpp | clip_encode_float_image:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, 0x10(%rsp)
movl %r8d, %r13d
movl %ecx, %r12d
movq %rdx, %r14
movl %esi, 0xc(%rsp)
movq %rdi, %r15
leaq 0x20(%rsp), %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movl %ecx, %eax
imul... | clip_encode_float_image:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov [rsp+68h+var_58], r9
mov r13d, r8d
mov r12d, ecx
mov r14, rdx
mov [rsp+68h+var_5C], esi
mov r15, rdi
lea rbx, [rsp+68h+var_48]
xorps xmm0, xmm0
movups xmmword ptr [rbx], x... | char clip_encode_float_image(long long a1, unsigned int a2, long long a3, int a4, int a5)
{
long long v8; // rbp
long long v9; // rax
long long v10; // rcx
_DWORD v12[2]; // [rsp+18h] [rbp-50h] BYREF
__int128 v13; // [rsp+20h] [rbp-48h] BYREF
long long v14; // [rsp+30h] [rbp-38h]
v13 = 0LL;
v14 = 0LL;... | clip_encode_float_image:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RSP + 0x10],R9
MOV R13D,R8D
MOV R12D,ECX
MOV R14,RDX
MOV dword ptr [RSP + 0xc],ESI
MOV R15,RDI
LEA RBX,[RSP + 0x20]
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RBX],XMM0
AND qword ptr [RBX + 0x10],0x0
MOV EAX,ECX
IMUL EAX... |
int8
clip_encode_float_image
(int8 param_1,int4 param_2,long param_3,int param_4,int param_5,
int8 param_6)
{
uint uVar1;
ulong uVar2;
ulong uVar3;
int local_50;
int local_4c;
long local_48 [3];
local_48[0] = 0;
local_48[1] = 0;
local_48[2] = 0;
uVar1 = param_4 * param_5 * 3... | |
24,104 | start_transaction | eloqsql/client/mysqldump.c | static int start_transaction(MYSQL *mysql_con)
{
verbose_msg("-- Starting transaction...\n");
/*
We use BEGIN for old servers. --single-transaction --master-data will fail
on old servers, but that's ok as it was already silently broken (it didn't
do a consistent read, so better tell people frankly, with... | O0 | c | start_transaction:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
leaq 0xa07eb(%rip), %rdi # 0xdb92e
movb $0x0, %al
callq 0x393f0
movq -0x8(%rbp), %rdi
callq 0x523b0
cmpq $0x9ca4, %rax # imm = 0x9CA4
jae 0x3b211
cmpl $0x0, 0x3c64c6(%rip) # 0x40162c
je 0x3b211
movq 0x209e6d(%rip), %ra... | start_transaction:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
lea rdi, aStartingTransa; "-- Starting transaction...\n"
mov al, 0
call verbose_msg
mov rdi, [rbp+var_8]
call mysql_get_server_version
cmp rax, 9CA4h
jnb loc_3B211
cmp cs:opt_master_data, 0
jz lo... | _BOOL8 start_transaction(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)
{
... | start_transaction:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
LEA RDI,[0x1db92e]
MOV AL,0x0
CALL 0x001393f0
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x001523b0
CMP RAX,0x9ca4
JNC 0x0013b211
CMP dword ptr [0x0050162c],0x0
JZ 0x0013b211
MOV RAX,qword ptr [0x00344fe0]
MOV RAX,qword ptr [RAX]
MOV qword ptr... |
bool start_transaction(long param_1)
{
int iVar1;
ulong uVar2;
char *pcVar3;
char *pcVar4;
bool local_29;
char *local_28;
verbose_msg("-- Starting transaction...\n");
uVar2 = mysql_get_server_version(param_1);
if ((uVar2 < 0x9ca4) && (opt_master_data != 0)) {
pcVar3 = "Error";
if (ignore_... | |
24,105 | mi_calc_total_blob_length | eloqsql/storage/myisam/mi_dynrec.c | ulong _mi_calc_total_blob_length(MI_INFO *info, const uchar *record)
{
ulong length;
MI_BLOB *blob,*end;
for (length=0, blob= info->blobs, end=blob+info->s->base.blobs ;
blob != end;
blob++)
{
blob->length=_mi_calc_blob_length(blob->pack_length,record + blob->offset);
length+=blob->length... | O0 | c | mi_calc_total_blob_length:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq -0x8(%rbp), %rcx
movq (%rcx), %rcx
movl 0x188(%rcx), %ecx
imulq $0x18, %rcx, %rcx
addq... | _mi_calc_total_blob_length:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], 0
mov rax, [rbp+var_8]
mov rax, [rax+48h]
mov [rbp+var_20], rax
mov rax, [rbp+var_20]
mov rcx, [rbp+var_8]
mov rcx, [rcx]
mov ecx, [rcx+188h]
imu... | long long mi_calc_total_blob_length(_QWORD *a1, long long a2)
{
long long v3; // [rsp+8h] [rbp-28h]
long long v4; // [rsp+10h] [rbp-20h]
long long v5; // [rsp+18h] [rbp-18h]
v5 = 0LL;
v4 = a1[9];
v3 = 24LL * *(unsigned int *)(*a1 + 392LL) + v4;
while ( v4 != v3 )
{
*(_QWORD *)(v4 + 16) = mi_calc_b... | _mi_calc_total_blob_length:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x48]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x8]
MOV RC... |
long _mi_calc_total_blob_length(long *param_1,long param_2)
{
long *plVar1;
long lVar2;
long *local_28;
long local_20;
local_20 = 0;
local_28 = (long *)param_1[9];
plVar1 = local_28 + (ulong)*(uint *)(*param_1 + 0x188) * 3;
for (; local_28 != plVar1; local_28 = local_28 + 3) {
lVar2 = _mi_calc_... | |
24,106 | mi_calc_total_blob_length | eloqsql/storage/myisam/mi_dynrec.c | ulong _mi_calc_total_blob_length(MI_INFO *info, const uchar *record)
{
ulong length;
MI_BLOB *blob,*end;
for (length=0, blob= info->blobs, end=blob+info->s->base.blobs ;
blob != end;
blob++)
{
blob->length=_mi_calc_blob_length(blob->pack_length,record + blob->offset);
length+=blob->length... | O3 | c | mi_calc_total_blob_length:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movl 0x188(%rax), %eax
testq %rax, %rax
je 0x775ff
movq 0x48(%rdi), %rcx
shlq $0x3, %rax
leaq (%rax,%rax,2), %rdx
xorl %edi, %edi
leaq 0x6a105(%rip), %r8 # 0xe16a8
xorl %eax, %eax
movl 0x8(%rcx,%rdi), %r10d
decl %r10d
cmpl $0x3, %r10d
ja 0x775... | _mi_calc_total_blob_length:
push rbp
mov rbp, rsp
mov rax, [rdi]
mov eax, [rax+188h]
test rax, rax
jz short loc_775FF
mov rcx, [rdi+48h]
shl rax, 3
lea rdx, [rax+rax*2]
xor edi, edi
lea r8, jpt_775BE
xor eax, eax
loc_775A5:
mov r10d, [rcx+rdi+8]
dec r10d; switch 4 ... | long long mi_calc_total_blob_length(_QWORD *a1, long long a2)
{
long long v2; // rcx
long long v3; // rdx
long long v4; // rdi
long long result; // rax
long long v6; // r9
unsigned long long v7; // r9
if ( !*(_DWORD *)(*a1 + 392LL) )
return 0LL;
v2 = a1[9];
v3 = 24LL * *(unsigned int *)(*a1 + 39... | _mi_calc_total_blob_length:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RDI]
MOV EAX,dword ptr [RAX + 0x188]
TEST RAX,RAX
JZ 0x001775ff
MOV RCX,qword ptr [RDI + 0x48]
SHL RAX,0x3
LEA RDX,[RAX + RAX*0x2]
XOR EDI,EDI
LEA R8,[0x1e16a8]
XOR EAX,EAX
LAB_001775a5:
MOV R10D,dword ptr [RCX + RDI*0x1 + 0x8]
DEC R10D
CMP R10D,0x3
JA... |
long _mi_calc_total_blob_length(long *param_1,long param_2)
{
uint uVar1;
int iVar2;
long lVar3;
long lVar4;
long lVar5;
long lVar6;
ulong uVar7;
uVar1 = *(uint *)(*param_1 + 0x188);
if ((ulong)uVar1 == 0) {
lVar5 = 0;
}
else {
lVar3 = param_1[9];
lVar6 = 0;
lVar5 = 0;
do ... | |
24,107 | ma_remove_table_from_trnman | eloqsql/storage/maria/ma_state.c | void _ma_remove_table_from_trnman(MARIA_HA *info)
{
MARIA_SHARE *share= info->s;
TRN *trn= info->trn;
MARIA_USED_TABLES *tables, **prev;
DBUG_ENTER("_ma_remove_table_from_trnman");
DBUG_PRINT("enter", ("trn: %p used_tables: %p share: %p in_trans: %d",
trn, trn->used_tables, share, sh... | O3 | c | ma_remove_table_from_trnman:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
cmpq 0x346b6e(%rip), %rdi # 0x38cf60
je 0x46454
movq (%rbx), %rax
addq $0x58, %rdi
movq %rdi, %rcx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x4641d
cmpq %rax, 0x8(%rdi)
jne 0x463fb
movq (%rdi), %rdx
movq %... | _ma_remove_table_from_trnman:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+8]
cmp rdi, cs:dummy_transaction_object_ptr
jz short loc_46454
mov rax, [rbx]
add rdi, 58h ; 'X'
loc_463FB:
mov rcx, rdi
mov rdi, [rdi]
test rdi, rdi
jz short loc_4641D
... | _QWORD * ma_remove_table_from_trnman(_QWORD *a1)
{
_QWORD *result; // rax
_QWORD *v3; // rdi
long long v4; // rax
_QWORD *v5; // rdi
_QWORD *v6; // rcx
long long v7; // rdx
long long v8; // rdx
v3 = (_QWORD *)a1[1];
if ( v3 != dummy_transaction_object )
{
v4 = *a1;
v5 = v3 + 11;
while (... | _ma_remove_table_from_trnman:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x8]
CMP RDI,qword ptr [0x0048cf60]
JZ 0x00146454
MOV RAX,qword ptr [RBX]
ADD RDI,0x58
LAB_001463fb:
MOV RCX,RDI
MOV RDI,qword ptr [RDI]
TEST RDI,RDI
JZ 0x0014641d
CMP qword ptr [RDI + 0x8],RAX
JNZ 0x001463fb
MOV R... |
void _ma_remove_table_from_trnman(long *param_1)
{
int *piVar1;
long *plVar2;
long lVar3;
long *plVar4;
if ((int *)param_1[1] != PTR_dummy_transaction_object_0048cf60) {
lVar3 = *param_1;
plVar2 = (long *)((int *)param_1[1] + 0x58);
do {
plVar4 = plVar2;
plVar2 = (long *)*plVar4;
... | |
24,108 | blst_miller_loop_n | corpus-core[P]colibri-stateless/build_O1/_deps/blst-src/src/pairing.c | void blst_miller_loop_n(vec384fp12 out, const POINTonE2_affine *const Qs[],
const POINTonE1_affine *const Ps[],
size_t n)
{ /* ~10KB of stack storage */
POINTonE2 T[MILLER_LOOP_N_MAX];
POINTonE2_affine Q[MILLER_LOOP_N_MAX];
PO... | O1 | c | blst_miller_loop_n:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2698, %rsp # imm = 0x2698
movq %rdi, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
testq %rcx, %rcx
je 0x62fba
movq -0x48(%rbp), %rax
decq %rax
movq %rax, -0x60(%rbp)
xorl %r14d, %r14d
xorl %r8d, %r8d
movq $0x0,... | blst_miller_loop_n:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 2698h
mov [rbp+var_40], rdi
mov [rbp+var_48], rcx
test rcx, rcx
jz loc_62FBA
mov rax, [rbp+var_48]
dec rax
mov [rbp+var_60], rax
xor r14d, r14d
xor r8d, r8d
mov ... | void blst_miller_loop_n(long long a1, long long *a2, _QWORD *a3, long long a4)
{
unsigned long long v4; // r14
long long v5; // r8
long long v6; // r13
long long v7; // rax
long long v8; // rbx
bool v9; // zf
long long v10; // r15
_OWORD *v11; // r12
unsigned long long v12; // r14
_OWORD *v13; // r... | blst_miller_loop_n:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x2698
MOV qword ptr [RBP + -0x40],RDI
MOV qword ptr [RBP + -0x48],RCX
TEST RCX,RCX
JZ 0x00162fba
MOV RAX,qword ptr [RBP + -0x48]
DEC RAX
MOV qword ptr [RBP + -0x60],RAX
XOR R14D,R14D
XOR R8D,R8D
MOV qword ptr [RBP + -0x50],0x... |
void blst_miller_loop_n(int1 *param_1,long *param_2,long *param_3,ulong param_4)
{
ulong uVar1;
long lVar2;
int8 *puVar3;
int8 *puVar4;
long lVar5;
int1 *puVar6;
void *__src;
byte bVar7;
int1 local_26c8 [192];
int8 auStack_2608 [552];
int1 local_14c8 [3072];
int1 local_8c8 [576];
int1 local_... | |
24,109 | glfwInitVulkan | untodesu[P]riteg/build_O1/_deps/glfw-src/src/vulkan.c | GLFWbool _glfwInitVulkan(int mode)
{
VkResult err;
VkExtensionProperties* ep;
uint32_t i, count;
if (_glfw.vk.available)
return GLFW_TRUE;
#if !defined(_GLFW_VULKAN_STATIC)
#if defined(_GLFW_VULKAN_LIBRARY)
_glfw.vk.handle = _glfw_dlopen(_GLFW_VULKAN_LIBRARY);
#elif defined(_GLFW_WIN32)
... | O1 | c | glfwInitVulkan:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x880da(%rip), %rbx # 0xa4638
movl $0x1, %r14d
cmpl $0x0, 0x1fe70(%rbx)
je 0x1c57f
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %edi, %ebp
leaq 0x632f4(%rip), %... | _glfwInitVulkan:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
lea rbx, _glfw
mov r14d, 1
cmp dword ptr [rbx+1FE70h], 0
jz short loc_1C57F
loc_1C56D:
mov eax, r14d
add rsp, 8
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
retn
loc_1... | long long glfwInitVulkan(int a1)
{
long long v1; // rax
unsigned int v2; // r14d
long long v4; // rax
long long ( *v5)(_QWORD, char *); // rax
long long ( *v6)(_QWORD, _DWORD *, _QWORD); // rax
unsigned int v7; // eax
const char *VulkanResultString; // rax
long long v9; // rdi
long long v10; // r15
... | _glfwInitVulkan:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
LEA RBX,[0x1a4638]
MOV R14D,0x1
CMP dword ptr [RBX + 0x1fe70],0x0
JZ 0x0011c57f
LAB_0011c56d:
MOV EAX,R14D
ADD RSP,0x8
POP RBX
POP R12
POP R13
POP R14
POP R15
POP RBP
RET
LAB_0011c57f:
MOV EBP,EDI
LEA RDI,[0x17f87c]
MOV ESI,0x1
CALL 0x0010c... |
int8 _glfwInitVulkan(int param_1)
{
int iVar1;
ulong in_RAX;
int8 uVar2;
char *pcVar3;
char *__s1;
ulong uVar4;
int8 uStack_38;
if (DAT_001c44a8 != 0) {
return 1;
}
uStack_38 = in_RAX;
DAT_001c44b0 = dlopen("libvulkan.so.1",1);
if (DAT_001c44b0 == 0) {
if (param_1 != 2) {
retu... | |
24,110 | my_ll10tostr_mb2_or_mb4 | eloqsql/strings/ctype-ucs2.c | static size_t
my_ll10tostr_mb2_or_mb4(CHARSET_INFO *cs,
char *dst, size_t len, int radix, longlong val)
{
char buffer[65];
register char *p, *db, *de;
long long_val;
int sl= 0;
ulonglong uval= (ulonglong) val;
if (radix < 0)
{
if (val < 0)
{
sl= 1;
/* Avoid i... | O0 | c | my_ll10tostr_mb2_or_mb4:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x58(%rbp)
movq %rsi, -0x60(%rbp)
movq %rdx, -0x68(%rbp)
movl %ecx, -0x6c(%rbp)
movq %r8, -0x78(%rbp)
movl $0x0, -0x9c(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0xa8(%rbp)
cmpl $0x0, -0x6c(%rbp)
jge... | my_ll10tostr_mb2_or_mb4:
push rbp
mov rbp, rsp
sub rsp, 0D0h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_58], rdi
mov [rbp+var_60], rsi
mov [rbp+var_68], rdx
mov [rbp+var_6C], ecx
mov [rbp+var_78], r8
mov [rbp+var_9C], 0
mov rax, [rbp+var_78]
mov [rbp+var_A8], ra... | long long my_ll10tostr_mb2_or_mb4(long long a1, unsigned long long a2, long long a3, int a4, long long a5)
{
char *v5; // rax
char *v6; // rax
char *v7; // rax
bool v9; // [rsp+Bh] [rbp-C5h]
int v10; // [rsp+Ch] [rbp-C4h]
unsigned long long v11; // [rsp+28h] [rbp-A8h]
int v12; // [rsp+34h] [rbp-9Ch]
si... | my_ll10tostr_mb2_or_mb4:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV qword ptr [RBP + -0x68],RDX
MOV dword ptr [RBP + -0x6c],ECX
MOV qword ptr [RBP + -0x78],R8
MOV dword ptr [RBP + -0x9c],0x0
MOV RAX,qwo... |
long my_ll10tostr_mb2_or_mb4(long param_1,ulong param_2,long param_3,int param_4,ulong param_5)
{
int iVar1;
long in_FS_OFFSET;
bool bVar2;
ulong local_b0;
ulong local_a0;
int local_90;
char *local_88;
ulong local_68;
char local_19 [9];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28)... | |
24,111 | trnman_destroy | eloqsql/storage/maria/trnman.c | void trnman_destroy()
{
DBUG_ENTER("trnman_destroy");
if (short_trid_to_active_trn == NULL) /* trnman already destroyed */
DBUG_VOID_RETURN;
DBUG_ASSERT(trid_to_trn.count == 0);
DBUG_ASSERT(trnman_active_transactions == 0);
DBUG_ASSERT(trnman_committed_transactions == 0);
DBUG_ASSERT(active_list_max.pr... | O0 | c | trnman_destroy:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
cmpq $0x0, 0x42ae20(%rip) # 0x476d70
jne 0x4bf59
jmp 0x4bf54
jmp 0x4bfef
jmp 0x4bf5b
jmp 0x4bf5d
jmp 0x4bf5f
jmp 0x4bf61
jmp 0x4bf63
jmp 0x4bf65
jmp 0x4bf67
jmp 0x4bf69
jmp 0x4bf6b
jmp 0x4bf6d
jmp 0x4bf6f
jmp 0x4bf71
jmp 0x4bf73
jmp 0x4bf75
jmp 0x4bf77
cmpq... | trnman_destroy:
push rbp
mov rbp, rsp
sub rsp, 10h
cmp cs:short_trid_to_active_trn, 0
jnz short loc_4BF59
jmp short $+2
loc_4BF54:
jmp loc_4BFEF
loc_4BF59:
jmp short $+2
loc_4BF5B:
jmp short $+2
loc_4BF5D:
jmp short $+2
loc_4BF5F:
jmp short $+2
loc_4BF61:
jmp short $+2
loc... | long long trnman_destroy()
{
long long result; // rax
long long v1; // [rsp+8h] [rbp-8h]
if ( short_trid_to_active_trn )
{
while ( pool )
{
v1 = pool;
pool = *(_QWORD *)(pool + 104);
inline_mysql_mutex_destroy_2(v1 + 16);
my_free(v1);
}
lf_hash_destroy(&trid_to_trn);
... | trnman_destroy:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
CMP qword ptr [0x00576d70],0x0
JNZ 0x0014bf59
JMP 0x0014bf54
LAB_0014bf54:
JMP 0x0014bfef
LAB_0014bf59:
JMP 0x0014bf5b
LAB_0014bf5b:
JMP 0x0014bf5d
LAB_0014bf5d:
JMP 0x0014bf5f
LAB_0014bf5f:
JMP 0x0014bf61
LAB_0014bf61:
JMP 0x0014bf63
LAB_0014bf63:
JMP 0x0014bf65
LAB_00... |
void trnman_destroy(void)
{
long lVar1;
long lVar2;
if (short_trid_to_active_trn != 0) {
while (lVar1 = pool, pool != 0) {
lVar2 = pool + 0x10;
pool = *(long *)(pool + 0x68);
inline_mysql_mutex_destroy(lVar2);
my_free(lVar1);
}
lf_hash_destroy(trid_to_trn);
inline_mysq... | |
24,112 | trnman_destroy | eloqsql/storage/maria/trnman.c | void trnman_destroy()
{
DBUG_ENTER("trnman_destroy");
if (short_trid_to_active_trn == NULL) /* trnman already destroyed */
DBUG_VOID_RETURN;
DBUG_ASSERT(trid_to_trn.count == 0);
DBUG_ASSERT(trnman_active_transactions == 0);
DBUG_ASSERT(trnman_committed_transactions == 0);
DBUG_ASSERT(active_list_max.pr... | O3 | c | trnman_destroy:
cmpq $0x0, 0x3b6c8b(%rip) # 0x3fd170
je 0x4659f
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x3b6f4f(%rip), %rbx # 0x3fd448
testq %rbx, %rbx
je 0x46544
leaq 0x33fb0b(%rip), %r14 # 0x386010
movq 0x68(%rbx), %rax
movq %rax, 0x3b6f38(%rip) # 0x3fd448
movq 0x50(%rbx), %rdi
testq %rdi, ... | trnman_destroy:
cmp cs:short_trid_to_active_trn, 0
jz locret_4659F
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, cs:pool
test rbx, rbx
jz short loc_46544
lea r14, PSI_server
loc_46505:
mov rax, [rbx+68h]
mov cs:pool, rax
mov rdi, [rbx+50h]
test rdi, rdi
jz sh... | long long trnman_destroy()
{
long long i; // rbx
long long result; // rax
if ( short_trid_to_active_trn )
{
for ( i = pool; pool; i = pool )
{
pool = *(_QWORD *)(i + 104);
if ( *(_QWORD *)(i + 80) )
{
PSI_server[9]();
*(_QWORD *)(i + 80) = 0LL;
}
pthread_mu... | trnman_destroy:
CMP qword ptr [0x004fd170],0x0
JZ 0x0014659f
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,qword ptr [0x004fd448]
TEST RBX,RBX
JZ 0x00146544
LEA R14,[0x486010]
LAB_00146505:
MOV RAX,qword ptr [RBX + 0x68]
MOV qword ptr [0x004fd448],RAX
MOV RDI,qword ptr [RBX + 0x50]
TEST RDI,RDI
JZ 0x00146527
MOV RAX,q... |
void trnman_destroy(void)
{
long lVar1;
if (short_trid_to_active_trn != 0) {
lVar1 = pool;
if (pool != 0) {
do {
pool = *(long *)(lVar1 + 0x68);
if (*(long *)(lVar1 + 0x50) != 0) {
(**(code **)(PSI_server + 0x48))();
*(int8 *)(lVar1 + 0x50) = 0;
}
... | |
24,113 | my_init_mysys_psi_keys | eloqsql/mysys/my_init.c | void my_init_mysys_psi_keys()
{
const char* category= "mysys";
int count;
count= sizeof(all_mysys_mutexes)/sizeof(all_mysys_mutexes[0]);
mysql_mutex_register(category, all_mysys_mutexes, count);
count= sizeof(all_mysys_conds)/sizeof(all_mysys_conds[0]);
mysql_cond_register(category, all_mysys_conds, count... | O3 | c | my_init_mysys_psi_keys:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0x2cc7e7(%rip), %r14 # 0x2f9888
movq (%r14), %rax
leaq 0x378a7(%rip), %rbx # 0x64952
leaq 0x2cbfee(%rip), %rsi # 0x2f90a0
movq %rbx, %rdi
movl $0x13, %edx
callq *(%rax)
movq (%r14), %rax
leaq 0x2cc1aa(%rip), %rsi # 0x2f9270
movq ... | my_init_mysys_psi_keys:
push rbp
mov rbp, rsp
push r14
push rbx
lea r14, PSI_server
mov rax, [r14]
lea rbx, aMysys; "mysys"
lea rsi, all_mysys_mutexes
mov rdi, rbx
mov edx, 13h
call qword ptr [rax]
mov rax, [r14]
lea rsi, all_mysys_conds
mov rdi, rbx
mov edx, 7
ca... | long long my_init_mysys_psi_keys()
{
(*(void ( **)(const char *, _UNKNOWN **, long long))PSI_server[0])("mysys", &all_mysys_mutexes, 19LL);
(*((void ( **)(const char *, _UNKNOWN **, long long))PSI_server[0] + 2))("mysys", &all_mysys_conds, 7LL);
(*((void ( **)(const char *, _UNKNOWN **, long long))PSI_server[0] +... | my_init_mysys_psi_keys:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
LEA R14,[0x3f9888]
MOV RAX,qword ptr [R14]
LEA RBX,[0x164952]
LEA RSI,[0x3f90a0]
MOV RDI,RBX
MOV EDX,0x13
CALL qword ptr [RAX]
MOV RAX,qword ptr [R14]
LEA RSI,[0x3f9270]
MOV RDI,RBX
MOV EDX,0x7
CALL qword ptr [RAX + 0x10]
MOV RAX,qword ptr [R14]
LEA RSI,[0x... |
void my_init_mysys_psi_keys(void)
{
(**(code **)PSI_server)("mysys",all_mysys_mutexes,0x13);
(**(code **)(PSI_server + 0x10))("mysys",all_mysys_conds,7);
(**(code **)(PSI_server + 8))("mysys",all_mysys_rwlocks,1);
(**(code **)(PSI_server + 0x18))("mysys",all_mysys_threads,1);
(**(code **)(PSI_server + 0x20)... | |
24,114 | ankerl::nanobench::Bench::title(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | BadAccessGuards/build_O3/_deps/nanobench-src/src/include/nanobench.h | Bench& Bench::title(std::string const& benchmarkTitle) {
if (benchmarkTitle != mConfig.mBenchmarkTitle) {
mResults.clear();
}
mConfig.mBenchmarkTitle = benchmarkTitle;
return *this;
} | O3 | c | ankerl::nanobench::Bench::title(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rdx
cmpq 0x8(%rdi), %rdx
jne 0xb720
testq %rdx, %rdx
je 0xb733
movq (%rbx), %rsi
movq (%r14), %rdi
callq 0x3320
testl ... | _ZN6ankerl9nanobench5Bench5titleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
mov rdx, [rsi+8]
cmp rdx, [rdi+8]
jnz short loc_B720
test rdx, rdx
jz short loc_B733
mov rsi, [rbx]
mov rdi, [r14]
call _bcmp
test... | _QWORD * ankerl::nanobench::Bench::title(_QWORD *a1, _QWORD *a2)
{
long long v2; // rdx
v2 = a2[1];
if ( v2 != a1[1] || v2 && (unsigned int)bcmp(*a2, *a1) )
std::vector<ankerl::nanobench::Result>::_M_erase_at_end(a1 + 35, a1[35]);
std::string::_M_assign(a1);
return a1;
}
| title:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
MOV RDX,qword ptr [RSI + 0x8]
CMP RDX,qword ptr [RDI + 0x8]
JNZ 0x0010b720
TEST RDX,RDX
JZ 0x0010b733
MOV RSI,qword ptr [RBX]
MOV RDI,qword ptr [R14]
CALL 0x00103320
TEST EAX,EAX
JZ 0x0010b733
LAB_0010b720:
LEA RDI,[RBX + 0x118]
MOV RSI,qword ptr [RBX + 0x118]
C... |
/* ankerl::nanobench::Bench::title(std::__cxx11::string const&) */
Bench * __thiscall ankerl::nanobench::Bench::title(Bench *this,string *param_1)
{
size_t __n;
int iVar1;
__n = *(size_t *)(param_1 + 8);
if (__n == *(size_t *)(this + 8)) {
if (__n == 0) goto LAB_0010b733;
iVar1 = bcmp(*(void **)pa... | |
24,115 | GLOBAL__sub_I_crc32c.cc | eloqsql/mysys/crc32/crc32c.cc | static uint32_t cpuid_ecx()
{
#ifdef __GNUC__
uint32_t reax= 0, rebx= 0, recx= 0, redx= 0;
__cpuid(1, reax, rebx, recx, redx);
return recx;
#elif defined _MSC_VER
int regs[4];
__cpuid(regs, 1);
return regs[2];
#else
# error "unknown compiler"
#endif
} | O3 | cpp | GLOBAL__sub_I_crc32c.cc:
movl $0x1, %eax
xchgq %rbx, %rsi
cpuid
xchgq %rbx, %rsi
movl $0x100002, %edx # imm = 0x100002
andl %edx, %ecx
cmpl $0x100000, %ecx # imm = 0x100000
leaq 0x381ad(%rip), %rsi # 0x62a3b
leaq 0x38287(%rip), %rax # 0x62b1c
cmoveq %rsi, %rax
cmpl %edx, %ecx
jne 0x2a8a9
pushq %... | _GLOBAL__sub_I_crc32c_cc:
mov eax, 1
xchg rsi, rbx
cpuid
xchg rsi, rbx
mov edx, offset unk_100002
and ecx, edx
cmp ecx, offset unk_100000
lea rsi, _ZN15mysys_namespace6crc32cL12crc32c_sse42EjPKcm; mysys_namespace::crc32c::crc32c_sse42(uint,char const*,ulong)
lea rax, _ZN15mysys_namespace6c... | long long ( *GLOBAL__sub_I_crc32c_cc())()
{
int v5; // ecx
long long ( *result)(); // rax
_RAX = 1LL;
__asm { cpuid }
v5 = (unsigned int)&unk_100002 & _RCX;
result = (long long ( *)())mysys_namespace::crc32c::crc32c_slow;
if ( v5 == (_DWORD)&unk_100000 )
result = (long long ( *)())mysys_namespace::cr... | _GLOBAL__sub_I_crc32c.cc:
MOV EAX,0x1
XCHG RBX,RSI
CPUID
XCHG RBX,RSI
MOV EDX,0x100002
AND ECX,EDX
CMP ECX,0x100000
LEA RSI,[0x162a3b]
LEA RAX,[0x162b1c]
CMOVZ RAX,RSI
CMP ECX,EDX
JNZ 0x0012a8a9
PUSH RBP
MOV RBP,RSP
LEA RAX,[0x162d64]
POP RBP
LAB_0012a8a9:
MOV qword ptr [0x004b13e0],RAX
RET
|
/* WARNING: Removing unreachable block (ram,0x0012a875) */
void _GLOBAL__sub_I_crc32c_cc(void)
{
long lVar1;
uint uVar2;
lVar1 = cpuid_Version_info(1);
uVar2 = *(uint *)(lVar1 + 0xc) & 0x100002;
mysys_namespace::crc32c::ChosenExtend = mysys_namespace::crc32c::crc32c_slow;
if (uVar2 == 0x100000) {
... | |
24,116 | copy_typelib | eloqsql/mysys/typelib.c | TYPELIB *copy_typelib(MEM_ROOT *root, const TYPELIB *from)
{
TYPELIB *to;
uint i;
if (!from)
return NULL;
if (!(to= (TYPELIB*) alloc_root(root, sizeof(TYPELIB))))
return NULL;
if (!(to->type_names= (const char **)
alloc_root(root, (sizeof(char *) + sizeof(int)) * (from->count + 1))))
re... | O0 | c | copy_typelib:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0xa9474
movq $0x0, -0x8(%rbp)
jmp 0xa95f1
movq -0x10(%rbp), %rdi
movl $0x20, %esi
callq 0x96e00
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
jne 0xa9499
movq $0x0, -0x8(%rbp)
jmp 0xa95f1
movq -0x... | copy_typelib:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
cmp [rbp+var_18], 0
jnz short loc_A9474
mov [rbp+var_8], 0
jmp loc_A95F1
loc_A9474:
mov rdi, [rbp+var_10]
mov esi, 20h ; ' '
call alloc_root
mov [rbp+var_20], rax
cmp rax, 0... | char * copy_typelib(_QWORD **a1, unsigned int *a2)
{
char *v2; // rax
long long v3; // rax
char *v4; // rax
unsigned int i; // [rsp+Ch] [rbp-24h]
char *v7; // [rsp+10h] [rbp-20h]
if ( !a2 )
return 0LL;
v7 = alloc_root(a1, 32LL);
if ( !v7 )
return 0LL;
v2 = alloc_root(a1, 12LL * (*a2 + 1));
... | copy_typelib:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
CMP qword ptr [RBP + -0x18],0x0
JNZ 0x001a9474
MOV qword ptr [RBP + -0x8],0x0
JMP 0x001a95f1
LAB_001a9474:
MOV RDI,qword ptr [RBP + -0x10]
MOV ESI,0x20
CALL 0x00196e00
MOV qword ptr [RBP + -0x20],RAX
CMP RAX,... |
uint * copy_typelib(int8 param_1,uint *param_2)
{
long lVar1;
uint local_2c;
uint *local_10;
if (param_2 == (uint *)0x0) {
local_10 = (uint *)0x0;
}
else {
local_10 = (uint *)alloc_root(param_1,0x20);
if (local_10 == (uint *)0x0) {
local_10 = (uint *)0x0;
}
else {
lVar1 ... | |
24,117 | my_readlink | eloqsql/mysys/my_symlink.c | int my_readlink(char *to, const char *filename, myf MyFlags)
{
#ifndef HAVE_READLINK
strmov(to,filename);
return 1;
#else
int result=0;
int length;
DBUG_ENTER("my_readlink");
if ((length=readlink(filename, to, FN_REFLEN-1)) < 0)
{
/* Don't give an error if this wasn't a symlink */
if ((my_errno=e... | O0 | c | my_readlink:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
movl $0x1ff, %edx # imm = 0x1FF
callq 0x242c0
movl %eax, -0x20(%rbp)
cmpl $0x0, %eax
jge 0x2fbf1
callq 0x24050
movl ... | my_readlink:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_1C], 0
mov rdi, [rbp+var_10]
mov rsi, [rbp+var_8]
mov edx, 1FFh
call _readlink
mov [rbp+var_20], eax
cmp eax, 0
jge short loc_2FBF1
call ... | long long my_readlink(long long a1, long long a2, char a3)
{
unsigned int *v3; // rax
int v5; // [rsp+1Ch] [rbp-24h]
int v6; // [rsp+20h] [rbp-20h]
unsigned int v7; // [rsp+24h] [rbp-1Ch]
v7 = 0;
v6 = readlink(a2, a1, 511LL);
if ( v6 >= 0 )
{
*(_BYTE *)(a1 + v6) = 0;
}
else
{
v5 = *(_DWO... | my_readlink:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x1c],0x0
MOV RDI,qword ptr [RBP + -0x10]
MOV RSI,qword ptr [RBP + -0x8]
MOV EDX,0x1ff
CALL 0x001242c0
MOV dword ptr [RBP + -0x20],EAX
CMP EAX,0x0
JGE 0x001... |
int4 my_readlink(char *param_1,char *param_2,ulong param_3)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
int4 local_24;
local_24 = 0;
sVar2 = readlink(param_2,param_1,0x1ff);
if ((int)sVar2 < 0) {
piVar3 = __errno_location();
iVar1 = *piVar3;
piVar3 = (int *)_my_thread_var();
*piVar3 = iV... | |
24,118 | my_readlink | eloqsql/mysys/my_symlink.c | int my_readlink(char *to, const char *filename, myf MyFlags)
{
#ifndef HAVE_READLINK
strmov(to,filename);
return 1;
#else
int result=0;
int length;
DBUG_ENTER("my_readlink");
if ((length=readlink(filename, to, FN_REFLEN-1)) < 0)
{
/* Don't give an error if this wasn't a symlink */
if ((my_errno=e... | O3 | c | my_readlink:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1ff, %edx # imm = 0x1FF
movq %rsi, %rdi
movq %r14, %rsi
callq 0x24300
testl %eax, %eax
js 0x2b8ee
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
m... | my_readlink:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rdx
mov rbx, rsi
mov r14, rdi
mov edx, 1FFh
mov rdi, rsi
mov rsi, r14
call _readlink
test eax, eax
js short loc_2B8EE
and eax, 7FFFFFFFh
mov byte ptr [r14... | long long my_readlink(long long a1, long long a2, char a3)
{
int v4; // eax
unsigned int v5; // r14d
unsigned int *v6; // r12
unsigned int v7; // r13d
v4 = readlink(a2, a1, 511LL);
if ( v4 < 0 )
{
v6 = (unsigned int *)__errno_location(a2);
v7 = *v6;
*(_DWORD *)my_thread_var() = v7;
if ( ... | my_readlink:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
MOV EDX,0x1ff
MOV RDI,RSI
MOV RSI,R14
CALL 0x00124300
TEST EAX,EAX
JS 0x0012b8ee
AND EAX,0x7fffffff
MOV byte ptr [R14 + RAX*0x1],0x0
XOR R14D,R14D
JMP 0x0012b93b
LAB_0012b8ee:
CALL 0x00124060
MOV ... |
int8 my_readlink(char *param_1,char *param_2,ulong param_3)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
int *piVar4;
int8 uVar5;
sVar2 = readlink(param_2,param_1,0x1ff);
if ((int)(uint)sVar2 < 0) {
piVar3 = __errno_location();
iVar1 = *piVar3;
piVar4 = (int *)_my_thread_var();
*piVar4 = ... | |
24,119 | mi_checksum | eloqsql/storage/myisam/mi_checksum.c | ha_checksum mi_checksum(MI_INFO *info, const uchar *buf)
{
ha_checksum crc=0;
const uchar *record= buf;
MI_COLUMNDEF *column= info->s->rec;
MI_COLUMNDEF *column_end= column+ info->s->base.fields;
my_bool skip_null_bits= MY_TEST(info->s->options & HA_OPTION_NULL_FIELDS);
for ( ; column != column_end ; buf+=... | O3 | c | mi_checksum:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq (%rdi), %rcx
movq 0x168(%rcx), %rax
testq %rax, %rax
je 0x4a3d9
movq 0x230(%rcx), %r12
movq 0x318(%rcx), %rcx
shlq $0x4, %rax
leaq (%rax,%rax,2), %r13
xorl %ebx, %ebx
andl $0x400, %ecx # imm =... | mi_checksum:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rcx, [rdi]
mov rax, [rcx+168h]
test rax, rax
jz loc_4A3D9
mov r12, [rcx+230h]
mov rcx, [rcx+318h]
shl rax, 4
lea r13, [rax+rax*2]
xor ebx, ebx
and ecx, 400h
... | long long mi_checksum(long long *a1, unsigned __int8 *a2)
{
long long v2; // rcx
long long v3; // rax
long long v4; // r12
long long v5; // r13
long long v6; // rbx
unsigned __int8 *v7; // r14
unsigned int v8; // r15d
int v9; // eax
unsigned long long v10; // rdx
char *v11; // rsi
long long v12; ... | mi_checksum:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RCX,qword ptr [RDI]
MOV RAX,qword ptr [RCX + 0x168]
TEST RAX,RAX
JZ 0x0014a3d9
MOV R12,qword ptr [RCX + 0x230]
MOV RCX,qword ptr [RCX + 0x318]
SHL RAX,0x4
LEA R13,[RAX + RAX*0x2]
XOR EBX,EBX
AND ECX,0x400
MOV qword ptr [RBP ... |
int4 mi_checksum(long *param_1,ushort *param_2)
{
ushort uVar1;
long lVar2;
long lVar3;
ulong uVar4;
int4 uVar5;
ulong uVar6;
long lVar7;
long lVar8;
ushort *puVar9;
ushort *puVar10;
lVar7 = *param_1;
lVar2 = *(long *)(lVar7 + 0x168);
if (lVar2 == 0) {
uVar5 = 0;
}
else {
lVar... | |
24,120 | minja::Value::operator-(minja::Value const&) const | monkey531[P]llama/common/minja.hpp | Value operator-(const Value& rhs) const {
if (is_number_integer() && rhs.is_number_integer())
return get<int64_t>() - rhs.get<int64_t>();
else
return get<double>() - rhs.get<double>();
} | O3 | cpp | minja::Value::operator-(minja::Value const&) const:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movb 0x40(%rsi), %al
addb $-0x5, %al
cmpb $0x1, %al
ja 0xa4cd3
movb 0x40(%r14), %al
addb $-0x5, %al
cmpb $0x1, %al
ja 0xa4cd3
movq %rsi, %rdi
callq 0x93f62
movq %rax, %r15
movq %r14, %rd... | _ZNK5minja5ValuemiERKS0_:
push r15
push r14
push rbx
sub rsp, 10h
mov r14, rdx
mov rbx, rdi
mov al, [rsi+40h]
add al, 0FBh
cmp al, 1
ja short loc_A4CD3
mov al, [r14+40h]
add al, 0FBh
cmp al, 1
ja short loc_A4CD3
mov rdi, rsi
call _ZNK5minja5Value3getIlEET_v;... | long long minja::Value::operator-(long long a1, long long a2, long long a3)
{
long long v4; // r15
long long v5; // rax
char *v6; // r14
double v7; // xmm1_8
double v9; // [rsp+8h] [rbp-20h]
if ( (unsigned __int8)(*(_BYTE *)(a2 + 64) - 5) > 1u || (unsigned __int8)(*(_BYTE *)(a3 + 64) - 5) > 1u )
{
v... | operator-:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV R14,RDX
MOV RBX,RDI
MOV AL,byte ptr [RSI + 0x40]
ADD AL,0xfb
CMP AL,0x1
JA 0x001a4cd3
MOV AL,byte ptr [R14 + 0x40]
ADD AL,0xfb
CMP AL,0x1
JA 0x001a4cd3
MOV RDI,RSI
CALL 0x00193f62
MOV R15,RAX
MOV RDI,R14
CALL 0x00193f62
SUB R15,RAX
LEA R14,[RBX + 0x40]
XORPD XMM0,X... |
/* minja::Value::TEMPNAMEPLACEHOLDERVALUE(minja::Value const&) const */
Value * __thiscall minja::Value::operator-(Value *this,Value *param_1)
{
long lVar1;
long lVar2;
Value *in_RDX;
double dVar3;
double dVar4;
if (((byte)((char)param_1[0x40] - 5U) < 2) && ((byte)((char)in_RDX[0x40] - 5U) < 2)) {
... | |
24,121 | uf_prespace_selected | eloqsql/storage/myisam/mi_packrec.c | static void uf_prespace_selected(MI_COLUMNDEF *rec, MI_BIT_BUFF *bit_buff,
uchar *to, uchar *end)
{
uint spaces;
if (get_bit(bit_buff))
{
if ((spaces=get_bits(bit_buff,rec->space_length_bits))+to > end)
{
bit_buff->error=1;
return;
}
bfill((uchar*) to,spaces,' ');
if (to+space... | O0 | c | uf_prespace_selected:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0xbeb7a
movq -0x10(%rbp), %rax
movl (%rax), %eax
movq -0x10(%rbp), %rdx
movl 0x4(%rdx), %ecx
addl $-0x1, %ecx
movl %... | uf_prespace_selected_0:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov rax, [rbp+var_10]
cmp dword ptr [rax+4], 0
jz short loc_BEB7A
mov rax, [rbp+var_10]
mov eax, [rax]
mov rdx, [rbp+var_1... | long long uf_prespace_selected_0(long long a1, int *a2, _BYTE *a3, _BYTE *a4)
{
int v4; // eax
int v5; // ecx
unsigned int v6; // eax
int v7; // ecx
long long result; // rax
unsigned int bits_0; // [rsp+8h] [rbp-28h]
if ( a2[1] )
{
v4 = *a2;
v5 = a2[1] - 1;
a2[1] = v5;
if ( ((1 << v5) ... | uf_prespace_selected:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV RAX,qword ptr [RBP + -0x10]
CMP dword ptr [RAX + 0x4],0x0
JZ 0x001beb7a
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV R... |
void uf_prespace_selected(long param_1,uint *param_2,void *param_3,ulong param_4)
{
uint uVar1;
uint local_30;
if (param_2[1] == 0) {
fill_buffer(param_2);
param_2[1] = 0x1f;
uVar1 = *param_2 & 0x80000000;
}
else {
uVar1 = param_2[1];
param_2[1] = uVar1 - 1;
uVar1 = *param_2 & 1 <... | |
24,122 | nglog::(anonymous namespace)::LogCleaner::Run(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l>>> const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, st... | ng-log[P]ng-log/src/logging.cc | void LogCleaner::Run(const std::chrono::system_clock::time_point& current_time,
bool base_filename_selected, const string& base_filename,
const string& filename_extension) {
assert(enabled_);
assert(!base_filename_selected || !base_filename.empty());
// avoid scanning lo... | O0 | cpp | nglog::(anonymous namespace)::LogCleaner::Run(std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l>>> const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, st... | _ZN5nglog12_GLOBAL__N_110LogCleaner3RunERKNSt6chrono10time_pointINS2_3_V212system_clockENS2_8durationIlSt5ratioILl1ELl1000000000EEEEEEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESK_:
push rbp
mov rbp, rsp
sub rsp, 150h
mov al, dl
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
and al, 1... | long long nglog::`anonymous namespace'::LogCleaner::Run(
long long a1,
long long a2,
char a3,
long long a4,
long long a5)
{
long long result; // rax
long long v6; // rax
long long v7; // rax
long long v8; // [rsp+0h] [rbp-150h]
long long v9; // [rsp+8h] [rbp-148h]
ch... | Run:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV AL,DL
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
AND AL,0x1
MOV byte ptr [RBP + -0x11],AL
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x138],RAX
TEST byte ptr [RAX],0x1
JZ 0x00114f14
J... |
/* nglog::(anonymous
namespace)::LogCleaner::Run(std::chrono::time_point<std::chrono::_V2::system_clock,
std::chrono::duration<long, std::ratio<1l, 1000000000l> > > const&, bool, std::__cxx11::string
const&, std::__cxx11::string const&) */
void __thiscall
nglog::(anonymous_namespace)::LogCleaner::Run
... | |
24,123 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | void destroy(value_t t)
{
if (
(t == value_t::object && object == nullptr) ||
(t == value_t::array && array == nullptr) ||
(t == value_t::string && string == nullptr) ||
(t == value_t::binary && binary == nullptr)
)
... | O2 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE10json_value7destroyENS0_6detail7value_tE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
cmp esi, 1
setz al
... | void nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::json_value::destroy(
void **a1,
unsigned int a2)
{
_QWORD *v2; // rcx
... | destroy:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
CMP ESI,0x1
SETZ AL
MOV RCX,qword ptr [RDI]
TEST RCX,RCX
SETZ DL
TEST AL,DL
JNZ 0x001435ac
MOV R14D,ESI
TEST RCX,RCX
SETZ AL
MOV EDX,R14D
AND DL,0xfe
CMP DL,0x2
SETZ DL
CMP R14B,0x8
SETZ SIL
OR SIL,DL
TEST SIL,AL
JNZ 0x001435ac
MOV RBX,RDI
LEA ... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>::json_value::destroy(nlohmann::... | |
24,124 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | void destroy(value_t t)
{
if (
(t == value_t::object && object == nullptr) ||
(t == value_t::array && array == nullptr) ||
(t == value_t::string && string == nullptr) ||
(t == value_t::binary && binary == nullptr)
)
... | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE10json_value7destroyENS0_6detail7value_tE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
cmp esi, 1
setz cl
... | void nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::json_value::destroy(
long long **a1,
int a2)
{
long long *v2; // rax
... | destroy:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
CMP ESI,0x1
SETZ CL
MOV RAX,qword ptr [RDI]
TEST RAX,RAX
SETZ DL
TEST CL,DL
JNZ 0x0015f20a
MOV R14D,ESI
TEST RAX,RAX
SETZ CL
MOV EDX,R14D
AND DL,0xfe
CMP DL,0x2
SETZ DL
CMP R14B,0x8
SETZ SIL
OR SIL,DL
TEST SIL,CL
JNZ 0x0015f20a
MOV RBX,RDI
LEA ... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>::json_value::destroy(nlohmann::... | |
24,125 | common_chat_params_init_functionary_v3_1_llama_3_1(minja::chat_template const&, common_chat_inputs const&) | monkey531[P]llama/common/chat.cpp | static common_chat_params common_chat_params_init_functionary_v3_1_llama_3_1(const common_chat_template & tmpl, const struct common_chat_inputs & inputs) {
// https://github.com/MeetKai/functionary/blob/main/tests/prompt_test_v3-llama3.1.txt
common_chat_params data;
json tools = inputs.tools.is_null() ? inp... | O1 | cpp | common_chat_params_init_functionary_v3_1_llama_3_1(minja::chat_template const&, common_chat_inputs const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl $0x0, (%rdi)
xorl %eax, %eax
movb %al, 0x8(%rdi)
movq %rax, 0x10(%rdi)
leaq ... | _ZL50common_chat_params_init_functionary_v3_1_llama_3_1RKN5minja13chat_templateERK18common_chat_inputs:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0A8h
mov r14, rdx
mov r15, rsi
mov rbx, rdi
mov dword ptr [rdi], 0
xor eax, eax
mov [rdi+8], al
mov [rd... | const minja::chat_template * common_chat_params_init_functionary_v3_1_llama_3_1(
const minja::chat_template *a1,
const common_chat_inputs *a2,
long long a3)
{
unsigned __int8 *v4; // r12
_QWORD *v5; // rax
int v6; // r8d
int v7; // r9d
int v8; // r8d
char v9; // al
long long v10; /... | common_chat_params_init_functionary_v3_1_llama_3_1:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xa8
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
MOV dword ptr [RDI],0x0
XOR EAX,EAX
MOV byte ptr [RDI + 0x8],AL
MOV qword ptr [RDI + 0x10],RAX
LEA RCX,[RDI + 0x28]
MOV qword ptr [RDI + 0x18],RCX
MOV qword ptr [RDI... |
/* common_chat_params_init_functionary_v3_1_llama_3_1(minja::chat_template const&,
common_chat_inputs const&) */
chat_template *
common_chat_params_init_functionary_v3_1_llama_3_1
(chat_template *param_1,common_chat_inputs *param_2)
{
basic_json *pbVar1;
int8 uVar2;
chat_template cVar3;
long in_... | |
24,126 | my_8bit_collation_flags_from_data | eloqsql/strings/ctype-simple.c | uint my_8bit_collation_flags_from_data(CHARSET_INFO *cs)
{
uint flags= 0;
if (cs->sort_order && cs->sort_order['A'] < cs->sort_order['a'] &&
cs->sort_order['a'] < cs->sort_order['B'])
flags|= MY_CS_CSSORT;
return flags;
} | O0 | c | my_8bit_collation_flags_from_data:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x58(%rax)
je 0x4523d
movq -0x8(%rbp), %rax
movq 0x58(%rax), %rax
movzbl 0x41(%rax), %eax
movq -0x8(%rbp), %rcx
movq 0x58(%rcx), %rcx
movzbl 0x61(%rcx), %ecx
cmpl %ecx, %eax
jge 0x4... | my_8bit_collation_flags_from_data:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_C], 0
mov rax, [rbp+var_8]
cmp qword ptr [rax+58h], 0
jz short loc_4523D
mov rax, [rbp+var_8]
mov rax, [rax+58h]
movzx eax, byte ptr [rax+41h]
mov rcx, [rbp+var_8]
mov rcx, [rcx+58h]
... | long long my_8bit_collation_flags_from_data(long long a1)
{
unsigned int v2; // [rsp+0h] [rbp-Ch]
v2 = 0;
if ( *(_QWORD *)(a1 + 88)
&& *(unsigned __int8 *)(*(_QWORD *)(a1 + 88) + 65LL) < (int)*(unsigned __int8 *)(*(_QWORD *)(a1 + 88) + 97LL)
&& *(unsigned __int8 *)(*(_QWORD *)(a1 + 88) + 97LL) < (int)*(... | my_8bit_collation_flags_from_data:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],0x0
MOV RAX,qword ptr [RBP + -0x8]
CMP qword ptr [RAX + 0x58],0x0
JZ 0x0014523d
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x58]
MOVZX EAX,byte ptr [RAX + 0x41]
MOV RCX,qword ptr [RBP + -0x8]
M... |
int4 my_8bit_collation_flags_from_data(long param_1)
{
int4 local_14;
local_14 = 0;
if (((*(long *)(param_1 + 0x58) != 0) &&
(*(byte *)(*(long *)(param_1 + 0x58) + 0x41) < *(byte *)(*(long *)(param_1 + 0x58) + 0x61)))
&& (*(byte *)(*(long *)(param_1 + 0x58) + 0x61) < *(byte *)(*(long *)(param_1 + ... | |
24,127 | wqueue_unlink_from_queue | eloqsql/mysys/wqueue.c | void wqueue_unlink_from_queue(WQUEUE *wqueue, struct st_my_thread_var *thread)
{
if (thread->next == thread)
/* The queue contains only one member */
wqueue->last_thread= NULL;
else
{
thread->next->prev= thread->prev;
*thread->prev= thread->next;
if (wqueue->last_thread == thread)
wqueue... | O3 | c | wqueue_unlink_from_queue:
pushq %rbp
movq %rsp, %rbp
movq 0x88(%rsi), %rax
cmpq %rsi, %rax
je 0xa66d5
movq 0x90(%rsi), %rcx
movq %rcx, 0x90(%rax)
movq 0x88(%rsi), %rax
movq %rax, (%rcx)
cmpq %rsi, (%rdi)
jne 0xa66da
movq $-0x88, %rax
addq 0x90(%rsi), %rax
jmp 0xa66d7
xorl %eax, %eax
movq %rax, (%rdi)
movq $0x0, 0x88(%r... | wqueue_unlink_from_queue:
push rbp
mov rbp, rsp
mov rax, [rsi+88h]
cmp rax, rsi
jz short loc_A66D5
mov rcx, [rsi+90h]
mov [rax+90h], rcx
mov rax, [rsi+88h]
mov [rcx], rax
cmp [rdi], rsi
jnz short loc_A66DA
mov rax, 0FFFFFFFFFFFFFF78h
add rax, [rsi+90h]
jmp short l... | long long wqueue_unlink_from_queue(long long *a1, long long a2)
{
long long v2; // rax
long long *v3; // rcx
long long result; // rax
v2 = *(_QWORD *)(a2 + 136);
if ( v2 == a2 )
{
result = 0LL;
goto LABEL_5;
}
v3 = *(long long **)(a2 + 144);
*(_QWORD *)(v2 + 144) = v3;
result = *(_QWORD *)... | wqueue_unlink_from_queue:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RSI + 0x88]
CMP RAX,RSI
JZ 0x001a66d5
MOV RCX,qword ptr [RSI + 0x90]
MOV qword ptr [RAX + 0x90],RCX
MOV RAX,qword ptr [RSI + 0x88]
MOV qword ptr [RCX],RAX
CMP qword ptr [RDI],RSI
JNZ 0x001a66da
MOV RAX,-0x88
ADD RAX,qword ptr [RSI + 0x90]
JMP 0x001a66d7
... |
void wqueue_unlink_from_queue(long *param_1,long param_2)
{
int8 *puVar1;
long lVar2;
if (*(long *)(param_2 + 0x88) == param_2) {
lVar2 = 0;
}
else {
puVar1 = *(int8 **)(param_2 + 0x90);
*(int8 **)(*(long *)(param_2 + 0x88) + 0x90) = puVar1;
*puVar1 = *(int8 *)(param_2 + 0x88);
if (*p... | |
24,128 | translog_write_fixed_record | eloqsql/storage/maria/ma_loghandler.c | static my_bool translog_write_fixed_record(LSN *lsn,
enum translog_record_type type,
MARIA_HA *tbl_info,
SHORT_TRANSACTION_ID short_trid,
struct st_... | O0 | c | translog_write_fixed_record:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movw %cx, %ax
movq 0x10(%rbp), %rcx
movq %fs:0x28, %rcx
movq %rcx, -0x8(%rbp)
movq %rdi, -0x28(%rbp)
movl %esi, -0x2c(%rbp)
movq %rdx, -0x38(%rbp)
movw %ax, -0x3a(%rbp)
movq %r8, -0x48(%rbp)
movq %r9, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movl $0x1, ... | translog_write_fixed_record:
push rbp
mov rbp, rsp
sub rsp, 80h
mov ax, cx
mov rcx, [rbp+arg_0]
mov rcx, fs:28h
mov [rbp+var_8], rcx
mov [rbp+var_28], rdi
mov [rbp+var_2C], esi
mov [rbp+var_38], rdx
mov [rbp+var_3A], ax
mov [rbp+var_48], r8
mov [rbp+var_50], r9
mov ... | char translog_write_fixed_record(
_QWORD *a1,
unsigned int a2,
long long a3,
__int16 a4,
long long a5,
long long a6,
long long a7)
{
long long v7; // rax
unsigned int v8; // ecx
int v10; // [rsp+14h] [rbp-6Ch]
char v11; // [rsp+25h] [rbp-5Bh] BYREF
__in... | translog_write_fixed_record:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV AX,CX
MOV RCX,qword ptr [RBP + 0x10]
MOV RCX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RCX
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV word ptr [RBP + -0x3a],AX
MOV qword ptr [RBP + -0x48],R8
... |
int8
translog_write_fixed_record
(long *param_1,uint param_2,int8 param_3,int2 param_4,int *param_5,
int8 param_6,int8 param_7)
{
int iVar1;
char cVar2;
char cVar3;
long *plVar4;
long in_FS_OFFSET;
byte local_63;
int2 local_62;
long local_60;
int8 local_58;
int *local_50;
int... | |
24,129 | freeze_size | eloqsql/mysys/array.c | void freeze_size(DYNAMIC_ARRAY *array)
{
uint elements;
/*
Do nothing if we are using a static buffer
*/
if (array->malloc_flags & MY_INIT_BUFFER_USED)
return;
elements= MY_MAX(array->elements, 1);
if (array->buffer && array->max_element > elements)
{
array->buffer=(uchar*) my_realloc(array-... | O0 | c | freeze_size:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
andq $0x100, %rax # imm = 0x100
cmpq $0x0, %rax
je 0x34672
jmp 0x346f0
movq -0x8(%rbp), %rax
cmpl $0x1, 0x8(%rax)
jbe 0x34688
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x10(... | freeze_size:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov rax, [rax+20h]
and rax, 100h
cmp rax, 0
jz short loc_34672
jmp short loc_346F0
loc_34672:
mov rax, [rbp+var_8]
cmp dword ptr [rax+8], 1
jbe short loc_34688
mov rax, [rbp+... | long long freeze_size(long long a1)
{
long long result; // rax
unsigned int v2; // [rsp+0h] [rbp-10h]
result = *(_QWORD *)(a1 + 32) & 0x100LL;
if ( !result )
{
if ( *(_DWORD *)(a1 + 8) <= 1u )
v2 = 1;
else
v2 = *(_DWORD *)(a1 + 8);
result = a1;
if ( *(_QWORD *)a1 )
{
re... | freeze_size:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x20]
AND RAX,0x100
CMP RAX,0x0
JZ 0x00134672
JMP 0x001346f0
LAB_00134672:
MOV RAX,qword ptr [RBP + -0x8]
CMP dword ptr [RAX + 0x8],0x1
JBE 0x00134688
MOV RAX,qword ptr [RBP + -0x8]
MOV ... |
void freeze_size(long *param_1)
{
long lVar1;
uint local_18;
if ((param_1[4] & 0x100U) == 0) {
if (*(uint *)(param_1 + 1) < 2) {
local_18 = 1;
}
else {
local_18 = *(uint *)(param_1 + 1);
}
if ((*param_1 != 0) && (local_18 < *(uint *)((long)param_1 + 0xc))) {
lVar1 = my_r... | |
24,130 | sp_get_linestring_mbr | eloqsql/storage/maria/ma_sp_key.c | static int sp_get_linestring_mbr(uchar *(*wkb), uchar *end, uint n_dims,
uchar byte_order, double *mbr)
{
uint n_points;
n_points = uint4korr(*wkb);
(*wkb) += 4;
for (; n_points > 0; --n_points)
{
/* Add next point to mbr */
if (sp_add_point_to_mbr(wkb, end, n_dims, ... | O0 | c | sp_get_linestring_mbr:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %cl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movb %al, -0x1d(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
add... | sp_get_linestring_mbr:
push rbp
mov rbp, rsp
sub rsp, 30h
mov al, cl
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_1C], edx
mov [rbp+var_1D], al
mov [rbp+var_28], r8
mov rax, [rbp+var_10]
mov rax, [rax]
mov eax, [rax]
mov [rbp+var_2C], eax
mov rax, [rbp+... | long long sp_get_linestring_mbr(_DWORD **a1, long long a2, unsigned int a3, unsigned __int8 a4, long long a5)
{
int i; // [rsp+4h] [rbp-2Ch]
for ( i = *(*a1)++; i; --i )
{
if ( (unsigned int)sp_add_point_to_mbr(a1, a2, a3, a4, a5) )
return (unsigned int)-1;
}
return 0;
}
| sp_get_linestring_mbr:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV AL,CL
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],EDX
MOV byte ptr [RBP + -0x1d],AL
MOV qword ptr [RBP + -0x28],R8
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV EAX,dword ptr [RAX]
MOV dword ptr [R... |
int4
sp_get_linestring_mbr
(long *param_1,int8 param_2,int4 param_3,int1 param_4,int8 param_5
)
{
int iVar1;
int local_34;
local_34 = *(int *)*param_1;
*param_1 = *param_1 + 4;
while( true ) {
if (local_34 == 0) {
return 0;
}
iVar1 = sp_add_point_to_mbr(param_1,param... | |
24,131 | psi_rwlock_rdlock | eloqsql/mysys/my_thr_init.c | ATTRIBUTE_COLD
int psi_rwlock_rdlock(mysql_rwlock_t *that, const char *file, uint line)
{
PSI_rwlock_locker_state state;
PSI_rwlock_locker *locker= PSI_RWLOCK_CALL(start_rwlock_rdwait)
(&state, that->m_psi, PSI_RWLOCK_READLOCK, file, line);
int result= rw_rdlock(&that->m_rwlock);
if (locker)
PSI_RWLOCK_... | O3 | c | psi_rwlock_rdlock:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movl %edx, %r8d
movq %rsi, %rcx
movq %rdi, %r14
leaq 0x3573a3(%rip), %r15 # 0x386010
movq (%r15), %rax
movq 0x90(%rdi), %rsi
leaq -0x48(%rbp), %rdi
xorl %edx, %edx
callq *0x1a0(%rax)
movq %rax, %rbx
movq %r14, %rdi
callq ... | psi_rwlock_rdlock:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
sub rsp, 38h
mov r8d, edx
mov rcx, rsi
mov r14, rdi
lea r15, PSI_server
mov rax, [r15]
mov rsi, [rdi+90h]
lea rdi, [rbp+var_48]
xor edx, edx
call qword ptr [rax+1A0h]
mov rbx, rax
mov rdi, ... | long long psi_rwlock_rdlock(long long a1, long long a2, unsigned int a3)
{
long long v3; // rbx
unsigned int v4; // r14d
_BYTE v6[72]; // [rsp+8h] [rbp-48h] BYREF
v3 = ((long long ( *)(_BYTE *, _QWORD, _QWORD, long long, _QWORD))PSI_server[52])(
v6,
*(_QWORD *)(a1 + 144),
0LL,
... | psi_rwlock_rdlock:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x38
MOV R8D,EDX
MOV RCX,RSI
MOV R14,RDI
LEA R15,[0x486010]
MOV RAX,qword ptr [R15]
MOV RSI,qword ptr [RDI + 0x90]
LEA RDI,[RBP + -0x48]
XOR EDX,EDX
CALL qword ptr [RAX + 0x1a0]
MOV RBX,RAX
MOV RDI,R14
CALL 0x001a429c
MOV R14D,EAX
TEST RBX,RBX
J... |
int4 psi_rwlock_rdlock(long param_1,int8 param_2,int4 param_3)
{
int4 uVar1;
long lVar2;
int1 local_50 [48];
lVar2 = (**(code **)(PSI_server + 0x1a0))
(local_50,*(int8 *)(param_1 + 0x90),0,param_2,param_3);
uVar1 = my_rw_rdlock(param_1);
if (lVar2 != 0) {
(**(code **)(PSI_server... | |
24,132 | js_os_close | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_os_close(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
int fd, ret;
if (JS_ToInt32(ctx, &fd, argv[0]))
return JS_EXCEPTION;
ret = js_get_errno(close(fd));
return JS_NewInt32(ctx, ret);
} | O0 | c | js_os_close:
subq $0x68, %rsp
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rdi, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movq %r8, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rax
movq (%rax), %rdx
movq 0x8(%rax), %rcx
leaq 0xc(%rsp), %rsi
callq 0x38f20
cmpl $0x0, %eax
je 0x17c9f
movl $0x0, 0x38(%rsp)
movq $0x6, 0x4... | js_os_close:
sub rsp, 68h
mov [rsp+68h+var_40], rsi
mov [rsp+68h+var_38], rdx
mov [rsp+68h+var_48], rdi
mov [rsp+68h+var_4C], ecx
mov [rsp+68h+var_58], r8
mov rdi, [rsp+68h+var_48]
mov rax, [rsp+68h+var_58]
mov rdx, [rax]
mov rcx, [rax+8]
lea rsi, [rsp+68h+var_5C]
call JS_... | long long js_os_close(long long a1, long long a2, long long a3, int a4, _QWORD *a5)
{
int v5; // eax
int errno; // [rsp+8h] [rbp-60h]
unsigned int v8; // [rsp+Ch] [rbp-5Ch] BYREF
_QWORD *v9; // [rsp+10h] [rbp-58h]
int v10; // [rsp+1Ch] [rbp-4Ch]
long long v11; // [rsp+20h] [rbp-48h]
long long v12; // [rs... | js_os_close:
SUB RSP,0x68
MOV qword ptr [RSP + 0x28],RSI
MOV qword ptr [RSP + 0x30],RDX
MOV qword ptr [RSP + 0x20],RDI
MOV dword ptr [RSP + 0x1c],ECX
MOV qword ptr [RSP + 0x10],R8
MOV RDI,qword ptr [RSP + 0x20]
MOV RAX,qword ptr [RSP + 0x10]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RAX + 0x8]
LEA RSI,[RSP + 0xc]
CALL... |
int1 [16]
js_os_close(int8 param_1,int8 param_2,int8 param_3,int4 param_4,
int8 *param_5)
{
int1 auVar1 [16];
int iVar2;
int local_5c;
int8 *local_58;
int4 local_4c;
int8 local_48;
int8 local_40;
int8 local_38;
int4 local_30;
int4 uStack_2c;
int8 local_28;
int4 uStack_c;
local... | |
24,133 | build_repetition(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | monkey531[P]llama/common/json-schema-to-grammar.cpp | static std::string build_repetition(const std::string & item_rule, int min_items, int max_items, const std::string & separator_rule = "") {
auto has_max = max_items != std::numeric_limits<int>::max();
if (min_items == 0 && max_items == 1) {
return item_rule + "?";
}
if (separator_rule.empty())... | O2 | cpp | build_repetition(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movl %ecx, %ea... | _ZL16build_repetitionRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiS6_:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 0F0h
mov r15, rsi
mov rbx, rdi
mov eax, ecx
xor eax, 1
or eax, edx
jnz short loc_8B444
lea rdx, asc_B8820+3; "?"
loc_8B434:
mov rdi,... | long long build_repetition(long long a1, long long a2, int a3, int a4, long long a5)
{
char *v6; // rdx
int v10; // r9d
int v11; // ebp
int v12; // edx
_QWORD *v13; // rdi
_QWORD v15[4]; // [rsp+10h] [rbp-108h] BYREF
_QWORD v16[4]; // [rsp+30h] [rbp-E8h] BYREF
_QWORD v17[4]; // [rsp+50h] [rbp-C8h] BYRE... | build_repetition:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0xf0
MOV R15,RSI
MOV RBX,RDI
MOV EAX,ECX
XOR EAX,0x1
OR EAX,EDX
JNZ 0x0018b444
LEA RDX,[0x1b8823]
LAB_0018b434:
MOV RDI,RBX
MOV RSI,R15
CALL 0x001384fb
JMP 0x0018b6ed
LAB_0018b444:
MOV R12,R8
MOV EBP,ECX
MOV R14D,EDX
CMP qword ptr [R8 + 0x8],0x0
JZ ... |
/* build_repetition(std::__cxx11::string const&, int, int, std::__cxx11::string const&) */
string * build_repetition(string *param_1,int param_2,int param_3,string *param_4)
{
uint uVar1;
int iVar2;
int4 in_register_00000034;
char *pcVar3;
string *this;
long in_R8;
allocator local_109;
string local_1... | |
24,134 | my_hash_sort_latin1_de | eloqsql/strings/ctype-latin1.c | void my_hash_sort_latin1_de(CHARSET_INFO *cs __attribute__((unused)),
const uchar *key, size_t len,
ulong *nr1, ulong *nr2)
{
const uchar *end;
register ulong m1= *nr1, m2= *nr2;
/*
Remove end space. We have to do this to be able to compare
'AE' and 'Ä' as identical
*/
end= skip_tra... | O3 | c | my_hash_sort_latin1_de:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
leaq (%rsi,%rdx), %r9
cmpq $0x15, %rdx
jb 0xb3a7b
movq %r9, %rdx
andq $-0x4, %rdx
cmpq %rsi, %rdx
jbe 0xb3a7b
leaq 0x3(%rsi), %rax
andq $-0x4, %rax
movq %r9, %rdi
movb -0x1(%r9), %r10b
cmpq %rdx, %r9
jbe 0xb3b24
leaq -0x1(%rdi), %r9
cmp... | my_hash_sort_latin1_de:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
lea r9, [rsi+rdx]
cmp rdx, 15h
jb short loc_B3A7B
mov rdx, r9
and rdx, 0FFFFFFFFFFFFFFFCh
cmp rdx, rsi
jbe short loc_B3A7B
lea rax, [rsi+3]
and rax, 0FFFFFFFFFFFFFFFCh
loc_B3A5F:
mov rdi, r9... | long long my_hash_sort_latin1_de(
long long a1,
unsigned __int8 *a2,
unsigned long long a3,
long long *a4,
long long *a5)
{
unsigned long long v5; // r9
unsigned long long v6; // rdx
unsigned long long v7; // rax
unsigned long long v8; // rdi
char v9; // r10
long lon... | my_hash_sort_latin1_de:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
LEA R9,[RSI + RDX*0x1]
CMP RDX,0x15
JC 0x001b3a7b
MOV RDX,R9
AND RDX,-0x4
CMP RDX,RSI
JBE 0x001b3a7b
LEA RAX,[RSI + 0x3]
AND RAX,-0x4
LAB_001b3a5f:
MOV RDI,R9
MOV R10B,byte ptr [R9 + -0x1]
CMP R9,RDX
JBE 0x001b3b24
LEA R9,[RDI + -0x1]
CMP R10B,0x20... |
void my_hash_sort_latin1_de
(int8 param_1,byte *param_2,ulong param_3,ulong *param_4,long *param_5)
{
byte *pbVar1;
long lVar2;
long lVar3;
byte *pbVar4;
byte *pbVar5;
ulong uVar6;
pbVar5 = param_2 + param_3;
if ((0x14 < param_3) && (pbVar4 = (byte *)((ulong)pbVar5 & 0xffffffffffffff... | |
24,135 | ma_update_block_record | eloqsql/storage/maria/ma_blockrec.c | my_bool _ma_update_block_record(MARIA_HA *info, MARIA_RECORD_POS record_pos,
const uchar *orig_rec, const uchar *new_rec)
{
return _ma_update_block_record2(info, record_pos, orig_rec, new_rec,
LSN_ERROR);
} | O3 | c | ma_update_block_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, %r8
movq %rdx, -0x58(%rbp)
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x140(%rdi), %rdx
movq (%rdi), %r15
movl 0x7bc(%r15), %r14d
movl 0xb0(%rdi), %eax
movl 0x170(%rdi), %ecx
movq %rcx, -0x68(... | _ma_update_block_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0B8h
mov r8, rcx
mov [rbp+var_58], rdx
mov r13, rsi
mov rbx, rdi
lea rdx, [rdi+140h]
mov r15, [rdi]
mov r14d, [r15+7BCh]
mov eax, [rdi+0B0h]
mov ecx, [rdi+17... | char ma_update_block_record(long long *a1, unsigned long long a2, long long a3, long long a4)
{
unsigned __int8 v4; // r13
long long v6; // r15
long long v7; // r14
int v8; // eax
long long v9; // rdi
int v10; // r9d
long long v11; // r12
long long v12; // rsi
long long v13; // r14
unsigned __int16... | _ma_update_block_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xb8
MOV R8,RCX
MOV qword ptr [RBP + -0x58],RDX
MOV R13,RSI
MOV RBX,RDI
LEA RDX,[RDI + 0x140]
MOV R15,qword ptr [RDI]
MOV R14D,dword ptr [R15 + 0x7bc]
MOV EAX,dword ptr [RDI + 0xb0]
MOV ECX,dword ptr [RDI + 0x170]
MOV qwo... |
int8
_ma_update_block_record(long *param_1,ulong param_2,int8 param_3,int8 param_4)
{
ushort *puVar1;
long *plVar2;
ushort uVar3;
uint uVar4;
int iVar5;
char cVar6;
long lVar7;
int4 *puVar8;
int8 uVar9;
int iVar10;
long lVar11;
int1 local_e0 [8];
int4 local_d8;
int1 local_d0;
ulong local... | |
24,136 | void nlohmann::json_abi_v3_11_3::detail::dtoa_impl::grisu2<double>(char*, int&, int&, double) | monkey531[P]llama/common/json.hpp | JSON_HEDLEY_NON_NULL(1)
void grisu2(char* buf, int& len, int& decimal_exponent, FloatType value)
{
static_assert(diyfp::kPrecision >= std::numeric_limits<FloatType>::digits + 3,
"internal error: not enough precision");
JSON_ASSERT(std::isfinite(value));
JSON_ASSERT(value > 0);
// If ... | O2 | cpp | void nlohmann::json_abi_v3_11_3::detail::dtoa_impl::grisu2<double>(char*, int&, int&, double):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %xmm0, %rax
btrq $0x3f, %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
cmpq %rcx, %rax
jge 0x93639
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
j... | _ZN8nlohmann16json_abi_v3_11_36detail9dtoa_impl6grisu2IdEEvPcRiS5_T_:
push r15
push r14
push r12
push rbx
sub rsp, 58h
movq rax, xmm0
btr rax, 3Fh ; '?'
mov rcx, 7FF0000000000000h
cmp rax, rcx
jge short loc_93639
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jbe short loc_93655
mov rb... | long long nlohmann::json_abi_v3_11_3::detail::dtoa_impl::grisu2<double>(
long long a1,
long long a2,
long long a3,
double a4)
{
long long v5; // r9
char *v7; // rsi
int v8; // edx
int v9; // ecx
int v10; // r8d
int v11; // r9d
_QWORD v12[3]; // [rsp+28h] [rbp-50h] BYREF
... | grisu2<double>:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x58
MOVQ RAX,XMM0
BTR RAX,0x3f
MOV RCX,0x7ff0000000000000
CMP RAX,RCX
JGE 0x00193639
XORPD XMM1,XMM1
UCOMISD XMM0,XMM1
JBE 0x00193655
MOV RBX,RDX
MOV R14,RSI
MOV R15,RDI
LEA R12,[RSP + 0x28]
MOV RDI,R12
CALL 0x0019380f
MOV RCX,qword ptr [R12 + 0x10]
MOV R8D,d... |
/* void nlohmann::json_abi_v3_11_3::detail::dtoa_impl::grisu2<double>(char*, int&, int&, double) */
void nlohmann::json_abi_v3_11_3::detail::dtoa_impl::grisu2<double>
(char *param_1,int *param_2,int *param_3,double param_4)
{
char *pcVar1;
int8 uVar2;
int8 in_R9;
int4 local_50 [2];
int4 uSta... | |
24,137 | resize_partitioned_key_cache | eloqsql/mysys/mf_keycache.c | static
int resize_partitioned_key_cache(PARTITIONED_KEY_CACHE_CB *keycache,
uint key_cache_block_size,
size_t use_mem, uint division_limit,
uint age_threshold,
uint changed_blocks_hash_size)
{
uint i;
uint parti... | O0 | c | resize_partitioned_key_cache:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movl %r8d, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %eax
movl %eax, -0x34(%rbp)
cmpq $0x0, -0x20(%rbp)
sete %al
andb $0x... | resize_partitioned_key_cache:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_20], rdx
mov [rbp+var_24], ecx
mov [rbp+var_28], r8d
mov [rbp+var_2C], r9d
mov rax, [rbp+var_10]
mov eax, [rax+1Ch]
mov [rbp+var_34], eax
cmp [rbp+... | long long resize_partitioned_key_cache(
long long a1,
unsigned int a2,
unsigned long long a3,
unsigned int a4,
unsigned int a5,
unsigned int a6)
{
int v7; // [rsp+0h] [rbp-40h]
int inited; // [rsp+4h] [rbp-3Ch]
unsigned int v9; // [rsp+Ch] [rbp-34h]
unsigned int ... | resize_partitioned_key_cache:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV qword ptr [RBP + -0x20],RDX
MOV dword ptr [RBP + -0x24],ECX
MOV dword ptr [RBP + -0x28],R8D
MOV dword ptr [RBP + -0x2c],R9D
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x1c]
M... |
int resize_partitioned_key_cache
(long param_1,int4 param_2,long param_3,int4 param_4,int4 param_5,
int4 param_6)
{
uint uVar1;
uint uVar2;
uint local_48;
int local_44;
uint local_38;
int local_c;
uVar1 = *(uint *)(param_1 + 0x1c);
local_44 = -1;
local_48 = 0;
if (pa... | |
24,138 | my_getcputime | eloqsql/mysys/my_getsystime.c | ulonglong my_getcputime()
{
#ifdef CLOCK_THREAD_CPUTIME_ID
struct timespec tp;
if (clock_gettime(CLOCK_THREAD_CPUTIME_ID, &tp))
return 0;
return (ulonglong)tp.tv_sec*10000000+(ulonglong)tp.tv_nsec/100;
#elif defined(__NR_clock_gettime)
struct timespec tp;
if (syscall(__NR_clock_gettime, CLOCK_THREAD_CPUTI... | O0 | c | my_getcputime:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x3, %edi
leaq -0x18(%rbp), %rsi
callq 0x292d0
cmpl $0x0, %eax
je 0x42905
movq $0x0, -0x8(%rbp)
jmp 0x4292d
imulq $0x989680, -0x18(%rbp), %rax # imm = 0x989680
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movl $0x64, %ecx
xorl %edx, %edx
divq %rcx
movq %... | my_getcputime:
push rbp
mov rbp, rsp
sub rsp, 20h
mov edi, 3
lea rsi, [rbp+var_18]
call _clock_gettime
cmp eax, 0
jz short loc_42905
mov [rbp+var_8], 0
jmp short loc_4292D
loc_42905:
imul rax, [rbp+var_18], 989680h
mov [rbp+var_20], rax
mov rax, [rbp+var_10]
mov ecx... | unsigned long long my_getcputime()
{
long long v1; // [rsp+8h] [rbp-18h] BYREF
unsigned long long v2; // [rsp+10h] [rbp-10h]
if ( (unsigned int)clock_gettime(3LL, &v1) )
return 0LL;
else
return v2 / 0x64 + 10000000 * v1;
}
| my_getcputime:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV EDI,0x3
LEA RSI,[RBP + -0x18]
CALL 0x001292d0
CMP EAX,0x0
JZ 0x00142905
MOV qword ptr [RBP + -0x8],0x0
JMP 0x0014292d
LAB_00142905:
IMUL RAX,qword ptr [RBP + -0x18],0x989680
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV ECX,0x64
XOR EDX,EDX
DIV ... |
long my_getcputime(void)
{
int iVar1;
timespec local_20;
long local_10;
iVar1 = clock_gettime(3,&local_20);
if (iVar1 == 0) {
local_10 = local_20.tv_sec * 10000000 + (ulong)local_20.tv_nsec / 100;
}
else {
local_10 = 0;
}
return local_10;
}
| |
24,139 | is_stat_table(st_mysql_const_lex_string const*, st_mysql_const_lex_string*) | eloqsql/sql/sql_statistics.cc | bool is_stat_table(const LEX_CSTRING *db, LEX_CSTRING *table)
{
DBUG_ASSERT(db->str && table->str);
if (!my_strcasecmp(table_alias_charset, db->str, MYSQL_SCHEMA_NAME.str))
{
for (uint i= 0; i < STATISTICS_TABLES; i ++)
{
if (!my_strcasecmp(table_alias_charset, table->str, stat_table_name[i].str))
... | O0 | cpp | is_stat_table(st_mysql_const_lex_string const*, st_mysql_const_lex_string*):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
jmp 0x66ba02
leaq 0xf54187(%rip), %rax # 0x15bfb90
movq (%rax), %rax
movq 0xc0(%rax), %rax
movq 0x40(%rax), %rax
leaq 0xf54172(%rip), %rcx # 0x15bf... | _Z13is_stat_tablePK25st_mysql_const_lex_stringPS_:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
jmp short $+2
loc_66BA02:
lea rax, table_alias_charset
mov rax, [rax]
mov rax, [rax+0C0h]
mov rax, [rax+40h]
lea rcx, table_alias_charset
mov r... | char is_stat_table(_QWORD *a1, _QWORD *a2)
{
unsigned int i; // [rsp+4h] [rbp-1Ch]
if ( !(*(unsigned int ( **)(long long, _QWORD, void *))(*(_QWORD *)(table_alias_charset + 192) + 64LL))(
table_alias_charset,
*a1,
MYSQL_SCHEMA_NAME) )
{
for ( i = 0; i < 3; ++i )
{
if ... | free_memory:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
TEST byte ptr [RAX + 0x81],0x1
JZ 0x0066ba1a
MOV RDI,qword ptr [RBP + -0x10]
XOR EAX,EAX
MOV ESI,EAX
CALL 0x00d0ff60
LAB_0066ba1a:
ADD RSP,0x10
POP RBP
RET
|
/* Warning_info::free_memory() */
void __thiscall Warning_info::free_memory(Warning_info *this)
{
if (((byte)this[0x81] & 1) != 0) {
free_root(this,0);
}
return;
}
| |
24,140 | is_stat_table(st_mysql_const_lex_string const*, st_mysql_const_lex_string*) | eloqsql/sql/sql_statistics.cc | bool is_stat_table(const LEX_CSTRING *db, LEX_CSTRING *table)
{
DBUG_ASSERT(db->str && table->str);
if (!my_strcasecmp(table_alias_charset, db->str, MYSQL_SCHEMA_NAME.str))
{
for (uint i= 0; i < STATISTICS_TABLES; i ++)
{
if (!my_strcasecmp(table_alias_charset, table->str, stat_table_name[i].str))
... | O3 | cpp | is_stat_table(st_mysql_const_lex_string const*, st_mysql_const_lex_string*):
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
leaq 0xb739bb(%rip), %r14 # 0x10e4b10
movq (%r14), %rax
movq 0xc0(%rax), %rcx
movq (%rdi), %rsi
leaq 0xadc477(%rip), %rdx # 0x104d5e0
movq (%rdx), %rd... | _Z13is_stat_tablePK25st_mysql_const_lex_stringPS_:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
mov rbx, rsi
lea r14, table_alias_charset
mov rax, [r14]
mov rcx, [rax+0C0h]
mov rsi, [rdi]
lea rdx, MYSQL_SCHEMA_NAME
mov rdx, [rdx]
mov rdi, rax
call qword... | bool is_stat_table(_QWORD *a1, _QWORD *a2)
{
bool result; // al
long long v3; // r15
bool v4; // zf
if ( (*(unsigned int ( **)(long long, _QWORD, void *))(*(_QWORD *)(table_alias_charset + 192) + 64LL))(
table_alias_charset,
*a1,
MYSQL_SCHEMA_NAME) )
{
return 0;
}
v3 = 0LL... | |||
24,141 | write_keys_varlen | eloqsql/storage/maria/ma_sort.c | static int write_keys_varlen(MARIA_SORT_PARAM *info,
register uchar **sort_keys,
ha_keys count, BUFFPEK *buffpek,
IO_CACHE *tempfile)
{
uchar **end;
int err;
DBUG_ENTER("write_keys_varlen");
if (!buffpek)
DBUG_RETURN(1);... | O3 | c | write_keys_varlen:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl $0x1, %r13d
testq %rcx, %rcx
je 0x7241d
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %r12
movq 0x668(%rdi), %rcx
movl $0x8, %edx
movq %rsi, -0x38(%rbp)
movq %rsi, %rdi
movq %r14, %rsi
... | write_keys_varlen:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r13d, 1
test rcx, rcx
jz loc_7241D
mov rbx, r8
mov r15, rcx
mov r14, rdx
mov r12, rdi
mov rcx, [rdi+668h]
mov edx, 8
mov [rbp+var_38], rsi
mov rdi,... | long long write_keys_varlen(long long *a1, long long a2, long long a3, _QWORD *a4, long long a5)
{
unsigned int v5; // r13d
_QWORD *v9; // rax
long long i; // r12
unsigned __int8 *v11; // r15
unsigned __int16 v12; // ax
_WORD *v13; // rcx
unsigned int v14; // eax
long long v15; // rdi
long long v16; ... | write_keys_varlen:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R13D,0x1
TEST RCX,RCX
JZ 0x0017241d
MOV RBX,R8
MOV R15,RCX
MOV R14,RDX
MOV R12,RDI
MOV RCX,qword ptr [RDI + 0x668]
MOV EDX,0x8
MOV qword ptr [RBP + -0x38],RSI
MOV RDI,RSI
MOV RSI,R14
MOV R8,R12
CALL 0x001bcd28
CMP qwor... |
int write_keys_varlen(long param_1,long param_2,long param_3,long *param_4,long *param_5)
{
void *__src;
char cVar1;
int iVar2;
long *plVar3;
int8 uVar4;
void *__dest;
long lVar5;
ulong __n;
ushort local_32;
iVar2 = 1;
if (param_4 != (long *)0x0) {
my_qsort2(param_2,param_3,8,*(int8 *)(pa... | |
24,142 | mysql_read_query_result_start_internal | eloqsql/libmariadb/libmariadb/mariadb_async.c | static void
mysql_read_query_result_start_internal(void *d)
{
MK_ASYNC_INTERNAL_BODY(
mysql_read_query_result,
(parms->mysql),
parms->mysql,
my_bool,
r_my_bool)
} | O3 | c | mysql_read_query_result_start_internal:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq (%rdi), %rdi
movq 0x480(%rdi), %rax
movq 0x28(%rax), %rbx
callq 0x5f4c4
movb %al, 0x8(%rbx)
movl $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
| mysql_read_query_result_start_internal:
push rbp
mov rbp, rsp
push rbx
push rax
mov rdi, [rdi]
mov rax, [rdi+480h]
mov rbx, [rax+28h]
call mysql_read_query_result
mov [rbx+8], al
mov dword ptr [rbx], 0
add rsp, 8
pop rbx
pop rbp
retn
| bool mysql_read_query_result_start_internal(long long *a1)
{
long long v1; // rdi
long long v2; // rbx
bool result; // al
v1 = *a1;
v2 = *(_QWORD *)(*(_QWORD *)(v1 + 1152) + 40LL);
result = mysql_read_query_result(v1);
*(_BYTE *)(v2 + 8) = result;
*(_DWORD *)v2 = 0;
return result;
}
| mysql_read_query_result_start_internal:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RDI,qword ptr [RDI]
MOV RAX,qword ptr [RDI + 0x480]
MOV RBX,qword ptr [RAX + 0x28]
CALL 0x0015f4c4
MOV byte ptr [RBX + 0x8],AL
MOV dword ptr [RBX],0x0
ADD RSP,0x8
POP RBX
POP RBP
RET
|
void mysql_read_query_result_start_internal(long *param_1)
{
int4 *puVar1;
int1 uVar2;
puVar1 = *(int4 **)(*(long *)(*param_1 + 0x480) + 0x28);
uVar2 = mysql_read_query_result();
*(int1 *)(puVar1 + 2) = uVar2;
*puVar1 = 0;
return;
}
| |
24,143 | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) | hkr04[P]cpp-mcp/common/json.hpp | static diyfp mul(const diyfp& x, const diyfp& y) noexcept
{
static_assert(kPrecision == 64, "internal error");
// Computes:
// f = round((x.f * y.f) / 2^q)
// e = x.e + y.e + q
// Emulate the 64-bit * 64-bit multiplication:
//
// p = u * v
// = (... | O1 | cpp | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&):
movq (%rdi), %rax
movl %eax, %ecx
shrq $0x20, %rax
movq (%rsi), %r8
movl %r8d, %edx
shrq $0x20, %r8
movq %rdx, %r9
imulq %rcx, %r9
imulq %r... | _ZN8nlohmann16json_abi_v3_11_36detail9dtoa_impl5diyfp3mulERKS3_S5_:
mov rax, [rdi]
mov ecx, eax
shr rax, 20h
mov r8, [rsi]
mov edx, r8d
shr r8, 20h
mov r9, rdx
imul r9, rcx
imul rcx, r8
imul rdx, rax
imul r8, rax
shr r9, 20h
mov r10d, ecx
add r10, r9
shr rcx, 20h
... | unsigned long long nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(_QWORD *a1, _QWORD *a2)
{
long long v2; // rcx
v2 = (unsigned int)*a1;
return ((unsigned long long)(HIDWORD(*a2) * v2) >> 32)
+ HIDWORD(*a1) * HIDWORD(*a2)
+ ((HIDWORD(*a1) * (unsigned long long)(unsigned int)*a2) >> 32)
... | mul:
MOV RAX,qword ptr [RDI]
MOV ECX,EAX
SHR RAX,0x20
MOV R8,qword ptr [RSI]
MOV EDX,R8D
SHR R8,0x20
MOV R9,RDX
IMUL R9,RCX
IMUL RCX,R8
IMUL RDX,RAX
IMUL R8,RAX
SHR R9,0x20
MOV R10D,ECX
ADD R10,R9
SHR RCX,0x20
MOV EAX,EDX
ADD RAX,R10
SHR RDX,0x20
ADD RDX,R8
ADD RDX,RCX
SUB RAX,-0x80000000
SHR RAX,0x20
ADD RAX,RDX
MOV E... |
/* nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp
const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) */
int1 [16]
nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(diyfp *param_1,diyfp *param_2)
{
ulong uVar1;
ulong uVa... | |
24,144 | js_std_file_eof | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_std_file_eof(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
FILE *f = js_std_file_get(ctx, this_val);
if (!f)
return JS_EXCEPTION;
return JS_NewBool(ctx, feof(f));
} | O0 | c | js_std_file_eof:
subq $0x68, %rsp
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rdi, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movq %r8, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq 0x13a80
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x12ff0
movl $0x0, 0x38(%rsp)
movq $0x6, 0x40(%rsp)... | js_std_file_eof:
sub rsp, 68h
mov [rsp+68h+var_40], rsi
mov [rsp+68h+var_38], rdx
mov [rsp+68h+var_48], rdi
mov [rsp+68h+var_4C], ecx
mov [rsp+68h+var_58], r8
mov rdi, [rsp+68h+var_48]
mov rsi, [rsp+68h+var_40]
mov rdx, [rsp+68h+var_38]
call js_std_file_get
mov [rsp+68h+var_60... | long long js_std_file_eof(long long a1, long long a2, long long a3)
{
long long v4; // [rsp+8h] [rbp-60h]
long long v5; // [rsp+38h] [rbp-30h]
long long v6; // [rsp+58h] [rbp-10h]
v4 = js_std_file_get(a1, a2, a3);
if ( v4 )
{
LODWORD(v6) = feof(v4) != 0;
return v6;
}
else
{
LODWORD(v5) =... | js_std_file_eof:
SUB RSP,0x68
MOV qword ptr [RSP + 0x28],RSI
MOV qword ptr [RSP + 0x30],RDX
MOV qword ptr [RSP + 0x20],RDI
MOV dword ptr [RSP + 0x1c],ECX
MOV qword ptr [RSP + 0x10],R8
MOV RDI,qword ptr [RSP + 0x20]
MOV RSI,qword ptr [RSP + 0x28]
MOV RDX,qword ptr [RSP + 0x30]
CALL 0x00113a80
MOV qword ptr [RSP + 0x8],R... |
int1 [16] js_std_file_eof(int8 param_1,int8 param_2,int8 param_3)
{
int1 auVar1 [16];
int iVar2;
FILE *__stream;
int4 local_30;
int4 uStack_2c;
int8 local_28;
int4 uStack_c;
__stream = (FILE *)js_std_file_get(param_1,param_2,param_3);
if (__stream == (FILE *)0x0) {
local_30 = 0;
local_28... | |
24,145 | ggml::cpu::aarch64::extra_buffer_type::~extra_buffer_type() | llama.cpp/ggml/src/ggml-cpu/ggml-cpu-aarch64.cpp | bool supports_op(ggml_backend_dev_t, const struct ggml_tensor * op) override {
if ( op->op == GGML_OP_MUL_MAT &&
op->src[0]->buffer &&
(ggml_n_dims(op->src[0]) == 2) &&
op->src[0]->buffer->buft == ggml_backend_cpu_aarch64_buffer_type() &&
ggml_a... | O3 | cpp | ggml::cpu::aarch64::extra_buffer_type::~extra_buffer_type():
pushq %rbx
movq %rdi, %rbx
callq 0xa6f0
movl $0x8, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xa910
nop
| _ZN4ggml3cpu7aarch6417extra_buffer_typeD0Ev:
push rbx
mov rbx, rdi
call __ZN4ggml3cpu17extra_buffer_typeD2Ev; ggml::cpu::extra_buffer_type::~extra_buffer_type()
mov esi, 8; unsigned __int64
mov rdi, rbx; void *
pop rbx
jmp __ZdlPvm; operator delete(void *,ulong)
| void ggml::cpu::aarch64::extra_buffer_type::~extra_buffer_type(ggml::cpu::aarch64::extra_buffer_type *this)
{
ggml::cpu::extra_buffer_type::~extra_buffer_type(this);
operator delete(this, 8uLL);
}
| ~extra_buffer_type:
PUSH RBX
MOV RBX,RDI
CALL 0x0010a6f0
MOV ESI,0x8
MOV RDI,RBX
POP RBX
JMP 0x0010a910
|
/* ggml::cpu::aarch64::extra_buffer_type::~extra_buffer_type() */
void __thiscall ggml::cpu::aarch64::extra_buffer_type::~extra_buffer_type(extra_buffer_type *this)
{
cpu::extra_buffer_type::~extra_buffer_type((extra_buffer_type *)this);
operator_delete(this,8);
return;
}
| |
24,146 | minja::ArgumentsValue::has_named(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | monkey531[P]llama/common/./minja.hpp | bool has_named(const std::string & name) {
for (const auto & p : kwargs) {
if (p.first == name) return true;
}
return false;
} | O2 | cpp | minja::ArgumentsValue::has_named(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq 0x18(%rdi), %rcx
movq 0x20(%rdi), %r15
movq %rcx, %r14
cmpq %r15, %rcx
je 0x4528d
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2a7d4
leaq 0x70(%r14), ... | _ZN5minja14ArgumentsValue9has_namedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push r15
push r14
push rbx
mov rbx, rsi
mov rcx, [rdi+18h]
mov r15, [rdi+20h]
loc_45272:
mov r14, rcx
cmp rcx, r15
jz short loc_4528D
mov rdi, r14
mov rsi, rbx
call _ZSteqIcEN9__gnu_c... | bool minja::ArgumentsValue::has_named(long long a1, long long *a2)
{
long long *v2; // rcx
long long *v3; // r15
long long *v4; // r14
bool v5; // al
v2 = *(long long **)(a1 + 24);
v3 = *(long long **)(a1 + 32);
do
{
v4 = v2;
if ( v2 == v3 )
break;
v5 = std::operator==<char>(v2, a2);... | has_named:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV RCX,qword ptr [RDI + 0x18]
MOV R15,qword ptr [RDI + 0x20]
LAB_00145272:
MOV R14,RCX
CMP RCX,R15
JZ 0x0014528d
MOV RDI,R14
MOV RSI,RBX
CALL 0x0012a7d4
LEA RCX,[R14 + 0x70]
TEST AL,AL
JZ 0x00145272
LAB_0014528d:
CMP R14,R15
SETNZ AL
POP RBX
POP R14
POP R15
RET
|
/* minja::ArgumentsValue::has_named(std::__cxx11::string const&) */
bool __thiscall minja::ArgumentsValue::has_named(ArgumentsValue *this,string *param_1)
{
string *psVar1;
string *psVar2;
char cVar3;
string *psVar4;
psVar1 = *(string **)(this + 0x20);
psVar2 = *(string **)(this + 0x18);
do {
ps... | |
24,147 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::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_3::adl_serializer, std::vector<unsigned char, std::allocator... | 11AgReS1SoR11[P]Graph/Common/FiguresStorage/src/json.hpp | void reset() noexcept
{
token_buffer.clear();
token_string.clear();
decimal_point_position = std::string::npos;
token_string.push_back(char_traits<char_type>::to_char_type(current));
} | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::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_3::adl_serializer, std::vector<unsigned char, std::allocator... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE5resetEv:
push rax
mov rax, rdi
and qword ptr [rdi+58h], 0
mov rc... | long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input_adapter<__gnu_cxx::__n... | reset:
PUSH RAX
MOV RAX,RDI
AND qword ptr [RDI + 0x58],0x0
MOV RCX,qword ptr [RDI + 0x50]
MOV byte ptr [RCX],0x0
ADD RDI,0x38
MOV RCX,qword ptr [RAX + 0x38]
CMP qword ptr [RAX + 0x40],RCX
JZ 0x00123e00
MOV qword ptr [RAX + 0x40],RCX
LAB_00123e00:
OR qword ptr [RAX + 0x98],-0x1
MOV AL,byte ptr [RAX + 0x14]
LEA RSI,[RSP ... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>,
nlohmann::json_a... | |
24,148 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::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_3::adl_serializer, std::vector<unsigned char, std::allocator... | 11AgReS1SoR11[P]Graph/Common/FiguresStorage/src/json.hpp | void reset() noexcept
{
token_buffer.clear();
token_string.clear();
decimal_point_position = std::string::npos;
token_string.push_back(char_traits<char_type>::to_char_type(current));
} | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::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_3::adl_serializer, std::vector<unsigned char, std::allocator... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE5resetEv:
push rax
mov rax, rdi
mov qword ptr [rdi+58h], 0
mov rc... | long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input_adapter<__gnu_cxx::__n... | reset:
PUSH RAX
MOV RAX,RDI
MOV qword ptr [RDI + 0x58],0x0
MOV RCX,qword ptr [RDI + 0x50]
MOV byte ptr [RCX],0x0
ADD RDI,0x38
MOV RCX,qword ptr [RAX + 0x38]
CMP qword ptr [RAX + 0x40],RCX
JZ 0x00118cdb
MOV qword ptr [RAX + 0x40],RCX
LAB_00118cdb:
MOV qword ptr [RAX + 0x98],-0x1
MOV AL,byte ptr [RAX + 0x14]
LEA RSI,[RSP... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>,
nlohmann::json_a... | |
24,149 | SchemaConverter::_add_primitive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, BuiltinRule const&) | monkey531[P]llama/common/json-schema-to-grammar.cpp | std::string _add_primitive(const std::string & name, const BuiltinRule & rule) {
auto n = _add_rule(name, rule.content);
for (const auto & dep : rule.deps) {
BuiltinRule dep_rule;
auto it = PRIMITIVE_RULES.find(dep);
if (it == PRIMITIVE_RULES.end()) {
... | O3 | cpp | SchemaConverter::_add_primitive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, BuiltinRule const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rcx, %rbx
movq %rdi, 0x8(%rsp)
movq %rsi, 0x10(%rsp)
callq 0xab600
movq 0x20(%rbx), %r15
mo... | _ZN15SchemaConverter14_add_primitiveERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK11BuiltinRule:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0C8h
mov rbx, rcx
mov [rsp+0F8h+var_F0], rdi; int
mov [rsp+0F8h+var_E8], rsi; void *
call _ZN15SchemaConverter9_... | void * SchemaConverter::_add_primitive(long long a1, long long a2, long long *a3, _QWORD *a4)
{
_QWORD *v5; // r15
_QWORD *v6; // r14
long long v7; // rax
int v8; // ebp
long long v9; // rax
long long v10; // rax
int v11; // r8d
int v12; // r9d
void *v13; // rdi
long long v14; // rsi
long long v15... | _add_primitive:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xc8
MOV RBX,RCX
MOV qword ptr [RSP + 0x8],RDI
MOV qword ptr [RSP + 0x10],RSI
CALL 0x001ab600
MOV R15,qword ptr [RBX + 0x20]
MOV R14,qword ptr [RBX + 0x28]
CMP R15,R14
JZ 0x001b0a04
LEA RBX,[RSP + 0x80]
LEA R12,[RSP + 0x90]
MOV RAX,qword ptr ... |
/* SchemaConverter::_add_primitive(std::__cxx11::string const&, BuiltinRule const&) */
string * SchemaConverter::_add_primitive(string *param_1,BuiltinRule *param_2)
{
string *psVar1;
long lVar2;
BuiltinRule *pBVar3;
long *plVar4;
long in_RCX;
long *plVar5;
string *psVar6;
long *local_e0;
long loca... | |
24,150 | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl... | monkey531[P]llama/common/json.hpp | bool end_array()
{
bool keep = true;
if (ref_stack.back())
{
keep = callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::array_end, *ref_stack.back());
if (keep)
{
ref_stack.back()->set_parents();
}
else
... | O0 | cpp | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE9end_arrayEv:
sub rsp, 38h
mov [rsp+38h+var_8], rdi
mov rdi, [rsp+38h+var_8]
mov [rsp+38h+var_28],... | char nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::end_array(
lon... | end_array:
SUB RSP,0x38
MOV qword ptr [RSP + 0x30],RDI
MOV RDI,qword ptr [RSP + 0x30]
MOV qword ptr [RSP + 0x10],RDI
MOV byte ptr [RSP + 0x2f],0x1
ADD RDI,0x8
CALL 0x001b9370
CMP qword ptr [RAX],0x0
JZ 0x001b8632
MOV RDI,qword ptr [RSP + 0x10]
MOV RAX,RDI
ADD RAX,0x80
MOV qword ptr [RSP],RAX
ADD RDI,0x8
CALL 0x001b8d80... |
/* nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all... | |
24,151 | skip | eloqsql/unittest/mytap/tap.c | void
skip(int how_many, char const * const fmt, ...)
{
char reason[80];
if (fmt && *fmt)
{
va_list ap;
va_start(ap, fmt);
vsnprintf(reason, sizeof(reason), fmt, ap);
va_end(ap);
}
else
reason[0] = '\0';
while (how_many-- > 0)
{
va_list ap;
memset((char*) &ap, 0, sizeof(ap)); ... | O0 | c | skip:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp # imm = 0x160
testb %al, %al
je 0x268e7
movaps %xmm0, -0x130(%rbp)
movaps %xmm1, -0x120(%rbp)
movaps %xmm2, -0x110(%rbp)
movaps %xmm3, -0x100(%rbp)
movaps %xmm4, -0xf0(%rbp)
movaps %xmm5, -0xe0(%rbp)
movaps %xmm6, -0xd0(%rbp)
movaps %xmm7, -0xc0(%rbp)
movq %... | skip:
push rbp
mov rbp, rsp
sub rsp, 160h
test al, al
jz short loc_268E7
movaps [rbp+var_130], xmm0
movaps [rbp+var_120], xmm1
movaps [rbp+var_110], xmm2
movaps [rbp+var_100], xmm3
movaps [rbp+var_F0], xmm4
movaps [rbp+var_E0], xmm5
movaps [rbp+var_D0], xmm6
movaps [rbp+var_C0], xmm7
loc_268E... | unsigned long long skip(int a1, _BYTE *a2, ...)
{
int v2; // eax
_BYTE v4[32]; // [rsp+B0h] [rbp-B0h] BYREF
va_list va; // [rsp+D0h] [rbp-90h] BYREF
_BYTE *v6; // [rsp+F0h] [rbp-70h]
int v7; // [rsp+FCh] [rbp-64h]
char v8[88]; // [rsp+100h] [rbp-60h] BYREF
unsigned long long v9; // [rsp+158h] [rbp-8h]
... | skip:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x160
TEST AL,AL
JZ 0x001268e7
MOVAPS xmmword ptr [RBP + -0x130],XMM0
MOVAPS xmmword ptr [RBP + -0x120],XMM1
MOVAPS xmmword ptr [RBP + -0x110],XMM2
MOVAPS xmmword ptr [RBP + -0x100],XMM3
MOVAPS xmmword ptr [RBP + -0xf0],XMM4
MOVAPS xmmword ptr [RBP + -0xe0],XMM5
MOVAPS xmmword ptr [RB... |
void skip(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,int param_9,
char *param_10,int8 param_11,int8 param_12,int8 param_13,
int8 param_14)
{
char in_AL;
long in_FS_OFFSET;
int1 local_168 [16];
int8 local_158;
int8 local... | |
24,152 | get_collation_number_internal | eloqsql/mysys/charset.c | static uint
get_collation_number_internal(const char *name)
{
CHARSET_INFO **cs;
for (cs= all_charsets;
cs < all_charsets + array_elements(all_charsets);
cs++)
{
if (cs[0] && cs[0]->coll_name.str &&
!my_strcasecmp(&my_charset_latin1, cs[0]->coll_name.str, name))
return cs[0]->numb... | O0 | c | get_collation_number_internal:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
leaq 0x35e97d(%rip), %rax # 0x391e10
movq %rax, -0x18(%rbp)
leaq 0x35e972(%rip), %rax # 0x391e10
addq $0x4000, %rax # imm = 0x4000
cmpq %rax, -0x18(%rbp)
jae 0x3350f
movq -0x18(%rbp), %rax
cmpq $0x0, (%rax)... | get_collation_number_internal:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
lea rax, all_charsets
mov [rbp+var_18], rax
loc_33497:
lea rax, all_charsets
add rax, 4000h
cmp [rbp+var_18], rax
jnb short loc_3350F
mov rax, [rbp+var_18]
cmp qword ptr [rax], 0
jz ... | long long get_collation_number_internal(long long a1)
{
unsigned int **i; // [rsp+8h] [rbp-18h]
for ( i = (unsigned int **)all_charsets; i < &all_charsets[2048]; ++i )
{
if ( *i
&& *((_QWORD *)*i + 4)
&& !(*(unsigned int ( **)(void *, _QWORD, long long))(*((_QWORD *)&my_charset_latin1 + 24) + 64... | get_collation_number_internal:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
LEA RAX,[0x491e10]
MOV qword ptr [RBP + -0x18],RAX
LAB_00133497:
LEA RAX,[0x491e10]
ADD RAX,0x4000
CMP qword ptr [RBP + -0x18],RAX
JNC 0x0013350f
MOV RAX,qword ptr [RBP + -0x18]
CMP qword ptr [RAX],0x0
JZ 0x001334ff
MOV RAX... |
int4 get_collation_number_internal(int8 param_1)
{
int iVar1;
long *local_20;
local_20 = &all_charsets;
while( true ) {
if ((long *)0x495e0f < local_20) {
return 0;
}
if (((*local_20 != 0) && (*(long *)(*local_20 + 0x20) != 0)) &&
(iVar1 = (**(code **)(PTR_my_collation_8bit_simple_... | |
24,153 | ma_once_end_block_record | eloqsql/storage/maria/ma_blockrec.c | my_bool _ma_once_end_block_record(MARIA_SHARE *share)
{
int res= _ma_bitmap_end(share);
if (share->bitmap.file.file >= 0)
{
if (flush_pagecache_blocks(share->pagecache, &share->bitmap.file,
share->deleting ? FLUSH_IGNORE_CHANGED : FLUSH_RELEASE))
res= 1;
/*
File must be ... | O0 | c | ma_once_end_block_record:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x64370
movsbl %al, %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x0, 0xa60(%rax)
jl 0x56700
movq -0x8(%rbp), %rax
movq 0x600(%rax), %rdi
movq -0x8(%rbp), %rsi
addq $0xa10, %rsi #... | _ma_once_end_block_record:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]
call _ma_bitmap_end
movsx eax, al
mov [rbp+var_C], eax
mov rax, [rbp+var_8]
cmp dword ptr [rax+0A60h], 0
jl loc_56700
mov rax, [rbp+var_8]
mov rdi, [rax+600h]
mov ... | long long ma_once_end_block_record(long long a1)
{
unsigned int v1; // edx
unsigned int v3; // [rsp+4h] [rbp-Ch]
v3 = (char)ma_bitmap_end(a1);
if ( *(int *)(a1 + 2656) >= 0 )
{
v1 = 1;
if ( *(_BYTE *)(a1 + 2026) )
v1 = 2;
if ( (unsigned int)flush_pagecache_blocks_with_filter(*(_QWORD *)(a1... | _ma_once_end_block_record:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00164370
MOVSX EAX,AL
MOV dword ptr [RBP + -0xc],EAX
MOV RAX,qword ptr [RBP + -0x8]
CMP dword ptr [RAX + 0xa60],0x0
JL 0x00156700
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,qword ptr [RAX + 0x60... |
int _ma_once_end_block_record(long param_1)
{
char cVar1;
int iVar2;
int8 uVar3;
int local_14;
cVar1 = _ma_bitmap_end(param_1);
local_14 = (int)cVar1;
if (-1 < *(int *)(param_1 + 0xa60)) {
uVar3 = 1;
if (*(char *)(param_1 + 0x7ea) != '\0') {
uVar3 = 2;
}
iVar2 = flush_pagecache_... | |
24,154 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | reference at(size_type idx)
{
// at only works for arrays
if (JSON_HEDLEY_LIKELY(is_array()))
{
JSON_TRY
{
return set_parent(m_data.m_value.array->at(idx));
}
JSON_CATCH (std::out_of_range&)
{
// crea... | O2 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atEm:
push rbp; char
push r15; int
push r14; int
push r12; int
push rbx; char
sub rsp, 40h
mov rbx, rdi
cmp byte ptr [rdi], 2
jnz ... | long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::at(
long long a1)
{
nlohmann::json_abi_v3_11_3::detail::type_error *excep... | at:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x40
MOV RBX,RDI
CMP byte ptr [RDI],0x2
JNZ 0x0017da7b
MOV R12,RSI
MOV RDI,qword ptr [RBX + 0x8]
LAB_0017da69:
CALL 0x0017dd44
LAB_0017da6e:
ADD RSP,0x40
POP RBX
POP R12
POP R14
POP R15
POP RBP
RET
LAB_0017da7b:
PUSH 0x20
POP RDI
CALL 0x00124460
MOV R14,RAX
MOV R... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>::at(unsigned long) */
void __t... | |
24,155 | translog_get_file_size | eloqsql/storage/maria/ma_loghandler.c | uint32 translog_get_file_size()
{
uint32 res;
translog_lock();
res= log_descriptor.log_file_max_size;
translog_unlock();
return (res);
} | O3 | c | translog_get_file_size:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
callq 0x442bb
movl 0x3b3ecb(%rip), %ebx # 0x3fd170
movq 0xbb4b2c(%rip), %r14 # 0xbfddd8
movq 0x1000d0(%r14), %rdi
testq %rdi, %rdi
jne 0x492ce
addq $0x100090, %r14 # imm = 0x100090
movq %r14, %rdi
callq 0x291e0
movl %ebx, %eax
popq %... | translog_get_file_size:
push rbp
mov rbp, rsp
push r14
push rbx
call translog_lock
mov ebx, cs:dword_3FD170
mov r14, qword ptr cs:xmmword_BFDDD0+8
mov rdi, ds:qword_1000D0[r14]
test rdi, rdi
jnz short loc_492CE
loc_492B8:
add r14, 100090h
mov rdi, r14
call _pthread_mutex_un... | long long translog_get_file_size()
{
unsigned int v0; // ebx
long long v1; // r14
translog_lock();
v0 = dword_3FD170;
v1 = *((_QWORD *)&xmmword_BFDDD0 + 1);
if ( *(long long *)((char *)&qword_1000D0 + *((_QWORD *)&xmmword_BFDDD0 + 1)) )
PSI_server[44]();
pthread_mutex_unlock(v1 + 1048720);
return v... | translog_get_file_size:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
CALL 0x001442bb
MOV EBX,dword ptr [0x004fd170]
MOV R14,qword ptr [0x00cfddd8]
MOV RDI,qword ptr [R14 + 0x1000d0]
TEST RDI,RDI
JNZ 0x001492ce
LAB_001492b8:
ADD R14,0x100090
MOV RDI,R14
CALL 0x001291e0
MOV EAX,EBX
POP RBX
POP R14
POP RBP
RET
LAB_001492ce:
LEA... |
int4 translog_get_file_size(void)
{
int4 uVar1;
long lVar2;
translog_lock();
lVar2 = DAT_00cfddd8;
uVar1 = DAT_004fd170;
if (*(long *)((long)&Elf64_Phdr_ARRAY_00100040[2].p_filesz + DAT_00cfddd8) != 0) {
(**(code **)(PSI_server + 0x160))();
}
pthread_mutex_unlock((pthread_mutex_t *)((long)&Elf6... | |
24,156 | set_default_charset_by_name | eloqsql/libmariadb/libmariadb/mariadb_charset.c | my_bool set_default_charset_by_name(const char *cs_name, myf flags __attribute__((unused)))
{
MARIADB_CHARSET_INFO *new_charset;
new_charset = mysql_get_charset_by_name(cs_name);
if (!new_charset)
{
return(TRUE); /* error */
}
ma_default_charset_info = new_charset;
return(FALSE);
} | O0 | c | set_default_charset_by_name:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq -0x10(%rbp), %rdi
callq 0x61590
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x61669
movb $0x1, -0x1(%rbp)
jmp 0x6167b
movq -0x20(%rbp), %rcx
leaq 0x216e4(%rip), %rax # 0x82d58
movq %rcx,... | set_default_charset_by_name:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov rdi, [rbp+var_10]
call mysql_get_charset_by_name
mov [rbp+var_20], rax
cmp [rbp+var_20], 0
jnz short loc_61669
mov [rbp+var_1], 1
jmp short loc_6167B
loc_61669:
m... | char set_default_charset_by_name(long long a1)
{
char *charset_by_name; // [rsp+0h] [rbp-20h]
charset_by_name = mysql_get_charset_by_name(a1);
if ( !charset_by_name )
return 1;
ma_default_charset_info = charset_by_name;
return 0;
}
| set_default_charset_by_name:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x00161590
MOV qword ptr [RBP + -0x20],RAX
CMP qword ptr [RBP + -0x20],0x0
JNZ 0x00161669
MOV byte ptr [RBP + -0x1],0x1
JMP 0x0016167b
LAB_00161669:
MOV RCX... |
int8 set_default_charset_by_name(int8 param_1)
{
long lVar1;
int8 *puVar2;
bool local_9;
lVar1 = mysql_get_charset_by_name(param_1);
if (lVar1 != 0) {
puVar2 = &ma_default_charset_info;
ma_default_charset_info = lVar1;
}
else {
puVar2 = (int8 *)0x0;
}
local_9 = lVar1 == 0;
return CO... | |
24,157 | blst_miller_loop_n | corpus-core[P]colibri-stateless/build_O0/_deps/blst-src/src/pairing.c | void blst_miller_loop_n(vec384fp12 out, const POINTonE2_affine *const Qs[],
const POINTonE1_affine *const Ps[],
size_t n)
{ /* ~10KB of stack storage */
POINTonE2 T[MILLER_LOOP_N_MAX];
POINTonE2_affine Q[MILLER_LOOP_N_MAX];
PO... | O0 | c | blst_miller_loop_n:
pushq %rbp
movq %rsp, %rbp
subq $0x26a0, %rsp # imm = 0x26A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq $0x0, -0x2428(%rbp)
movq $0x0, -0x2430(%rbp)
movq $0x0, -0x2438(%rbp)
movq $0x0, -0x2440(%rbp)
movq -0x2440(%rbp), %rax
cmpq -0x20(%r... | blst_miller_loop_n:
push rbp
mov rbp, rsp
sub rsp, 26A0h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_2428], 0
mov [rbp+var_2430], 0
mov [rbp+var_2438], 0
mov [rbp+var_2440], 0
loc_2A5C7:
mov rax, [rbp+var_2440]
cmp ... | unsigned long long blst_miller_loop_n(long long a1, long long *a2, long long *a3, unsigned long long a4)
{
unsigned long long result; // rax
long long *v5; // rax
long long *v6; // rax
char *v7; // [rsp+0h] [rbp-26A0h]
long long v8; // [rsp+8h] [rbp-2698h]
long long v9; // [rsp+10h] [rbp-2690h]
char v10;... | blst_miller_loop_n:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x26a0
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x2428],0x0
MOV qword ptr [RBP + -0x2430],0x0
MOV qword ptr [RBP + -0x2438],0x0
MOV qword ptr [RBP + -0x2440],0x0
L... |
void blst_miller_loop_n(int1 *param_1,long *param_2,long *param_3,ulong param_4)
{
int1 *local_26a8;
long local_26a0;
long local_2698;
int1 local_2688 [576];
ulong local_2448;
long local_2440;
long local_2438;
long local_2430;
int1 local_2428 [48];
int1 auStack_23f8 [1488];
int1 local_1e28 [3072... | |
24,158 | get_MARIA_HA_from_REDO_record | eloqsql/storage/maria/ma_recovery.c | static MARIA_HA *get_MARIA_HA_from_REDO_record(const
TRANSLOG_HEADER_BUFFER *rec)
{
uint16 sid;
pgcache_page_no_t UNINIT_VAR(page);
MARIA_HA *info;
MARIA_SHARE *share;
char llbuf[22];
my_bool index_page_redo_entry= FALSE, page_redo_entry= FALSE;
print_redo_p... | O0 | c | get_MARIA_HA_from_REDO_record:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x30(%rbp)
movb $0x0, -0x51(%rbp)
movb $0x0, -0x52(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0xc1ac0
movq -0x30(%rbp), %rax
movw 0x18(%rax), %ax
movw %ax, -0x32(%rbp)
movq -0x30(%r... | get_MARIA_HA_from_REDO_record:
push rbp
mov rbp, rsp
sub rsp, 60h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_30], rdi
mov [rbp+var_51], 0
mov [rbp+var_52], 0
mov rax, [rbp+var_30]
mov rdi, [rax]
call print_redo_phase_progress
mov rax, [rbp+var_30]
mov ax, [rax+18... | long long * get_MARIA_HA_from_REDO_record(_QWORD *a1)
{
int v1; // ecx
int v2; // r8d
int v3; // r9d
int v4; // edx
int v5; // r8d
int v6; // r9d
int v7; // edx
int v8; // ecx
int v9; // r8d
int v10; // r9d
int v11; // ecx
int v13; // [rsp+8h] [rbp-58h]
char v14; // [rsp+Eh] [rbp-52h]
char v... | get_MARIA_HA_from_REDO_record:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x30],RDI
MOV byte ptr [RBP + -0x51],0x0
MOV byte ptr [RBP + -0x52],0x0
MOV RAX,qword ptr [RBP + -0x30]
MOV RDI,qword ptr [RAX]
CALL 0x001c1ac0
MOV RAX,qword ptr [RBP + -0x30... |
long * get_MARIA_HA_from_REDO_record(long *param_1)
{
ushort uVar1;
int iVar2;
long lVar3;
bool bVar4;
char cVar5;
long in_FS_OFFSET;
int1 local_59;
int8 local_48;
long *local_30;
int1 local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_59 = 0;
bVar4 = false;
... | |
24,159 | get_MARIA_HA_from_REDO_record | eloqsql/storage/maria/ma_recovery.c | static MARIA_HA *get_MARIA_HA_from_REDO_record(const
TRANSLOG_HEADER_BUFFER *rec)
{
uint16 sid;
pgcache_page_no_t UNINIT_VAR(page);
MARIA_HA *info;
MARIA_SHARE *share;
char llbuf[22];
my_bool index_page_redo_entry= FALSE, page_redo_entry= FALSE;
print_redo_p... | O3 | c | get_MARIA_HA_from_REDO_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
leaq 0xbc5e53(%rip), %r13 # 0xc52dc8
movq (%r13), %rax
movq 0x328028(%rip), %rcx # 0x3b4fa8
cmpq (%rcx), %rax
je 0x8d0b4
movq... | get_MARIA_HA_from_REDO_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
lea r13, tracef
mov rax, [r13+0]
mov rcx, cs:stdout_ptr
cmp rax, [rcx]
jz loc_8D0B4
mov r14, [r... | long long * get_MARIA_HA_from_REDO_record(long long *a1, long long a2, long long a3, long long a4, int a5, int a6)
{
unsigned long long v6; // rcx
long long v7; // r14
unsigned long long v8; // rax
unsigned long long horizon; // rax
long long v10; // rcx
long long v11; // rax
unsigned long long v12; // ra... | get_MARIA_HA_from_REDO_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
LEA R13,[0xd52dc8]
MOV RAX,qword ptr [R13]
MOV RCX,qword ptr [0x004b4fa8]
CMP RAX,qword ptr [RCX]
JZ 0x0018d0b4
MOV R14,qword ptr [RBX]
CM... |
long * get_MARIA_HA_from_REDO_record(ulong *param_1)
{
ushort uVar1;
ulong uVar2;
bool bVar3;
int *puVar4;
char cVar5;
char cVar6;
int iVar7;
uint uVar8;
ulong uVar9;
long lVar10;
char *pcVar11;
long *plVar12;
long in_FS_OFFSET;
ulong local_68;
int1 local_58 [32];
long local_38;
l... | |
24,160 | my_fprintf | eloqsql/strings/my_vsnprintf.c | int my_fprintf(FILE *stream, const char* format, ...)
{
int result;
va_list args;
va_start(args, format);
result= my_vfprintf(stream, format, args);
va_end(args);
return result;
} | O0 | c | my_fprintf:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
testb %al, %al
je 0x7d278
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
movq %r9, -0xb8(%rbp)
movq %r8... | my_fprintf:
push rbp
mov rbp, rsp
sub rsp, 0E0h
test al, al
jz short loc_7D278
movaps [rbp+var_B0], xmm0
movaps [rbp+var_A0], xmm1
movaps [rbp+var_90], xmm2
movaps [rbp+var_80], xmm3
movaps [rbp+var_70], xmm4
movaps [rbp+var_60], xmm5
movaps [rbp+var_50], xmm6
movaps [rbp+var_40], xmm7
loc_7D... | long long my_fprintf(
long long a1,
char *a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14,
char... | my_fprintf:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xe0
TEST AL,AL
JZ 0x0017d278
MOVAPS xmmword ptr [RBP + -0xb0],XMM0
MOVAPS xmmword ptr [RBP + -0xa0],XMM1
MOVAPS xmmword ptr [RBP + -0x90],XMM2
MOVAPS xmmword ptr [RBP + -0x80],XMM3
MOVAPS xmmword ptr [RBP + -0x70],XMM4
MOVAPS xmmword ptr [RBP + -0x60],XMM5
MOVAPS xmmword ptr [R... |
int4
my_fprintf(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,
int8 param_9,int8 param_10,int8 param_11,int8 param_12,
int8 param_13,int8 param_14)
{
char in_AL;
int4 uVar1;
int1 local_e8 [16];
int8 local_d8;
int8 local... | |
24,161 | my_register_filename | eloqsql/mysys/my_open.c | File my_register_filename(File fd, const char *FileName, enum file_type
type_of_file, uint error_message_number, myf MyFlags)
{
DBUG_ENTER("my_register_filename");
if ((int) fd >= MY_FILE_MIN)
{
my_atomic_add32_explicit(&my_file_opened, 1, MY_MEMORY_ORDER_RELAXED);
if ((uint) fd >= my_file_limit || (... | O3 | c | my_register_filename:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rsi, %r15
testl %edi, %edi
js 0x34fa5
movl %edi, %ebx
leaq 0x33f2ad(%rip), %rax # 0x3741f4
lock
incl (%rax)
testl $0x2004, %r14d # imm = 0x2004
jne 0x34ff4
leaq 0x2c8402(%r... | my_register_filename:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, r8
mov r15, rsi
test edi, edi
js short loc_34FA5
mov ebx, edi
lea rax, my_file_opened
lock inc dword ptr [rax]
test r14d, 2004h
jnz loc_34FF4
lea rax, my... | long long my_register_filename(long long a1, long long a2, int a3, unsigned int a4, __int16 a5)
{
unsigned int v6; // ebx
long long v8; // rax
long long v9; // rsi
int v11; // ebx
unsigned int *v12; // rax
if ( (int)a1 < 0 )
{
v11 = *(_DWORD *)__errno_location(a1);
*(_DWORD *)my_thread_var() = v... | my_register_filename:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,R8
MOV R15,RSI
TEST EDI,EDI
JS 0x00134fa5
MOV EBX,EDI
LEA RAX,[0x4741f4]
INC.LOCK dword ptr [RAX]
TEST R14D,0x2004
JNZ 0x00134ff4
LEA RAX,[0x3fd360]
CMP dword ptr [RAX],EBX
JBE 0x00134ff4
MOV R13D,EDX
LEA RAX,[0x474... |
uint my_register_filename
(uint param_1,int8 param_2,int4 param_3,int4 param_4,ulong param_5)
{
int iVar1;
int8 uVar2;
int *piVar3;
int4 *puVar4;
if ((int)param_1 < 0) {
piVar3 = __errno_location();
iVar1 = *piVar3;
piVar3 = (int *)_my_thread_var();
*piVar3 = iVar1;
par... | |
24,162 | lshift | eloqsql/libmariadb/libmariadb/ma_dtoa.c | static Bigint *lshift(Bigint *b, int k, Stack_alloc *alloc)
{
int i, k1, n, n1;
Bigint *b1;
ULong *x, *x1, *xe, z;
n= k >> 5;
k1= b->k;
n1= n + b->wds + 1;
for (i= b->maxwds; n1 > i; i<<= 1)
k1++;
b1= Balloc(k1, alloc);
x1= b1->p.x;
for (i= 0; i < n; i++)
*x1++= 0;
x= b->p.x;
xe= x + b-... | O0 | c | lshift:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl -0xc(%rbp), %eax
sarl $0x5, %eax
movl %eax, -0x24(%rbp)
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x20(%rbp)
movl -0x24(%rbp), %eax
movq -0x8(%rbp), %rcx
addl 0x14(%rcx), %eax
addl $0... | lshift:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_18], rdx
mov eax, [rbp+var_C]
sar eax, 5
mov [rbp+var_24], eax
mov rax, [rbp+var_8]
mov eax, [rax+8]
mov [rbp+var_20], eax
mov eax, [rbp+var_24]
mov rcx, [rbp+var_8]
a... | long long lshift(unsigned long long a1, int a2, unsigned long long *a3)
{
int *v3; // rax
int *v4; // rax
int *v5; // rax
int *v6; // rax
int v7; // ecx
int *v8; // rax
int v10; // [rsp+4h] [rbp-4Ch]
unsigned long long v11; // [rsp+8h] [rbp-48h]
int *v12; // [rsp+10h] [rbp-40h]
int *v13; // [rsp+18... | lshift:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV EAX,dword ptr [RBP + -0xc]
SAR EAX,0x5
MOV dword ptr [RBP + -0x24],EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
MOV dword ptr [RBP + -0x20],EAX
MOV EAX,dword pt... |
int8 * lshift(int8 *param_1,uint param_2,int8 param_3)
{
sbyte sVar1;
int iVar2;
int8 *puVar3;
uint *puVar4;
uint *puVar5;
uint *puVar6;
uint local_54;
uint *local_48;
uint *local_40;
int local_30;
int local_28;
int local_24;
local_28 = *(int *)(param_1 + 1);
iVar2 = ((int)param_2 >> 5)... | |
24,163 | flush_log_for_bitmap | eloqsql/storage/maria/ma_bitmap.c | static my_bool
flush_log_for_bitmap(PAGECACHE_IO_HOOK_ARGS *args __attribute__ ((unused)))
{
#ifdef DBUG_ASSERT_EXISTS
const MARIA_SHARE *share= (MARIA_SHARE*)args->data;
#endif
DBUG_ENTER("flush_log_for_bitmap");
DBUG_ASSERT(share->now_transactional);
/*
WAL imposes that UNDOs reach disk before bitmap is f... | O0 | c | flush_log_for_bitmap:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
jmp 0x6671e
jmp 0x66720
movb $0x0, %al
callq 0x343e0
movq %rax, %rdi
callq 0x36020
movb %al, -0x9(%rbp)
movb -0x9(%rbp), %al
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| flush_log_for_bitmap:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
jmp short $+2
loc_6671E:
jmp short $+2
loc_66720:
mov al, 0
call translog_get_horizon
mov rdi, rax
call translog_flush
mov [rbp+var_9], al
mov al, [rbp+var_9]
add rsp, 10h
pop rbp
retn
| char flush_log_for_bitmap()
{
long long horizon; // rax
horizon = translog_get_horizon();
return translog_flush(horizon);
}
| flush_log_for_bitmap:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
JMP 0x0016671e
LAB_0016671e:
JMP 0x00166720
LAB_00166720:
MOV AL,0x0
CALL 0x001343e0
MOV RDI,RAX
CALL 0x00136020
MOV byte ptr [RBP + -0x9],AL
MOV AL,byte ptr [RBP + -0x9]
ADD RSP,0x10
POP RBP
RET
|
int1 flush_log_for_bitmap(void)
{
int8 uVar1;
int1 uVar2;
uVar1 = translog_get_horizon();
uVar2 = translog_flush(uVar1);
return uVar2;
}
| |
24,164 | mysql_list_processes_start_internal | eloqsql/libmariadb/libmariadb/mariadb_async.c | static void
mysql_list_processes_start_internal(void *d)
{
MK_ASYNC_INTERNAL_BODY(
mysql_list_processes,
(parms->mysql),
parms->mysql,
MYSQL_RES *,
r_ptr)
} | O0 | c | mysql_list_processes_start_internal:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x480(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x3abf0
movq %ra... | mysql_list_processes_start_internal:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax+480h]
mov rax, [rax+28h]
mov [rbp+var_20], rax
mov rax, [rbp+var_10]
mov rdi, [rax... | long long mysql_list_processes_start_internal(long long *a1)
{
long long result; // rax
long long v2; // [rsp+0h] [rbp-20h]
v2 = *(_QWORD *)(*(_QWORD *)(*a1 + 1152) + 40LL);
*(_QWORD *)(v2 + 8) = mysql_list_processes(*a1);
result = v2;
*(_DWORD *)v2 = 0;
return result;
}
| mysql_list_processes_start_internal:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x480]
MOV RAX,qword ptr [RAX + 0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV ... |
void mysql_list_processes_start_internal(long *param_1)
{
int4 *puVar1;
int8 uVar2;
puVar1 = *(int4 **)(*(long *)(*param_1 + 0x480) + 0x28);
uVar2 = mysql_list_processes(*param_1);
*(int8 *)(puVar1 + 2) = uVar2;
*puVar1 = 0;
return;
}
| |
24,165 | common_log::pause() | monkey531[P]llama/common/log.cpp | void pause() {
{
std::lock_guard<std::mutex> lock(mtx);
if (!running) {
return;
}
running = false;
// push an entry to signal the worker thread to stop
{
auto & entry = entries[tail];
entry... | O0 | cpp | common_log::pause():
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rsi
movq %rsi, 0x10(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x15f9f0
movq 0x10(%rsp), %rax
testb $0x1, 0x6a(%rax)
jne 0x15e042
movl $0x1, 0x24(%rsp)
jmp 0x15e0b4
movq 0x10(%rsp), %rax
movb $0x0, 0x6a(%rax)
movq %rax, %rdi
addq $0x78, %rdi
movq 0x98... | _ZN10common_log5pauseEv:
sub rsp, 38h
mov [rsp+38h+var_8], rdi
mov rsi, [rsp+38h+var_8]
mov [rsp+38h+var_28], rsi
lea rdi, [rsp+38h+var_10]
call _ZNSt10lock_guardISt5mutexEC2ERS0_; std::lock_guard<std::mutex>::lock_guard(std::mutex&)
mov rax, [rsp+38h+var_28]
test byte ptr [rax+6Ah], 1
jnz... | long long common_log::pause(common_log *this)
{
long long result; // rax
unsigned long long v2; // [rsp+8h] [rbp-30h]
unsigned int v3; // [rsp+24h] [rbp-14h]
_BYTE v4[8]; // [rsp+28h] [rbp-10h] BYREF
common_log *v5; // [rsp+30h] [rbp-8h]
v5 = this;
std::lock_guard<std::mutex>::lock_guard(v4);
if ( (*(... | |||
24,166 | common_log::pause() | monkey531[P]llama/common/log.cpp | void pause() {
{
std::lock_guard<std::mutex> lock(mtx);
if (!running) {
return;
}
running = false;
// push an entry to signal the worker thread to stop
{
auto & entry = entries[tail];
entry... | O3 | cpp | common_log::pause():
pushq %rbx
movq %rdi, %rbx
callq 0x18a30
testl %eax, %eax
jne 0x82889
cmpb $0x0, 0x6a(%rbx)
je 0x82880
movb $0x0, 0x6a(%rbx)
movq 0x78(%rbx), %rcx
movq 0x98(%rbx), %rax
leaq (%rax,%rax,2), %rdx
shlq $0x4, %rdx
movb $0x1, 0x28(%rcx,%rdx)
incq %rax
movq 0x80(%rbx), %rdx
subq %rcx, %rdx
sarq $0x4, %rd... | _ZN10common_log5pauseEv:
push rbx
mov rbx, rdi
call _pthread_mutex_lock
test eax, eax
jnz short loc_82889
cmp byte ptr [rbx+6Ah], 0
jz short loc_82880
mov byte ptr [rbx+6Ah], 0
mov rcx, [rbx+78h]
mov rax, [rbx+98h]
lea rdx, [rax+rax*2]
shl rdx, 4
mov byte ptr [rcx+rdx+2... | long long common_log::pause(common_log *this)
{
int v1; // eax
long long v2; // rcx
long long v3; // rax
v1 = pthread_mutex_lock();
if ( v1 )
std::__throw_system_error(v1);
if ( !*((_BYTE *)this + 106) )
return pthread_mutex_unlock(this);
*((_BYTE *)this + 106) = 0;
v2 = *((_QWORD *)this + 15)... | pause:
PUSH RBX
MOV RBX,RDI
CALL 0x00118a30
TEST EAX,EAX
JNZ 0x00182889
CMP byte ptr [RBX + 0x6a],0x0
JZ 0x00182880
MOV byte ptr [RBX + 0x6a],0x0
MOV RCX,qword ptr [RBX + 0x78]
MOV RAX,qword ptr [RBX + 0x98]
LEA RDX,[RAX + RAX*0x2]
SHL RDX,0x4
MOV byte ptr [RCX + RDX*0x1 + 0x28],0x1
INC RAX
MOV RDX,qword ptr [RBX + 0x8... |
/* common_log::pause() */
void __thiscall common_log::pause(common_log *this)
{
long lVar1;
long lVar2;
int iVar3;
iVar3 = pthread_mutex_lock((pthread_mutex_t *)this);
if (iVar3 != 0) {
/* WARNING: Subroutine does not return */
std::__throw_system_error(iVar3);
}
if (this[0x6... | |
24,167 | write_hook_for_undo_key_delete | eloqsql/storage/maria/ma_key_recover.c | my_bool write_hook_for_undo_key_delete(enum translog_record_type type,
TRN *trn, MARIA_HA *tbl_info,
LSN *lsn, void *hook_arg)
{
struct st_msg_to_write_hook_for_undo_key *msg=
(struct st_msg_to_write_hook_for_undo_key *) hook_arg;
MAR... | O3 | c | write_hook_for_undo_key_delete:
cmpq $0x0, 0x18(%r8)
je 0x3b0ae
pushq %rbp
movq %rsp, %rbp
movq (%rdx), %rax
movq 0x610(%rax), %r9
movq 0x3e8(%rdx), %r10
cmpq %r10, %r9
setne %r11b
cmpq $-0x1, %r10
sete %r10b
orb %r11b, %r10b
jne 0x3b18c
movq %r9, 0xd8(%rax)
popq %rbp
jmp 0x3b0ae
| write_hook_for_undo_key_delete:
cmp qword ptr [r8+18h], 0
jz write_hook_for_undo_key
push rbp
mov rbp, rsp
mov rax, [rdx]
mov r9, [rax+610h]
mov r10, [rdx+3E8h]
cmp r9, r10
setnz r11b
cmp r10, 0FFFFFFFFFFFFFFFFh
setz r10b
or r10b, r11b
jnz short loc_3B18C
mov [rax+0... | long long write_hook_for_undo_key_delete(unsigned int a1, long long a2, long long a3, long long a4, long long a5)
{
long long v6; // r9
if ( *(_QWORD *)(a5 + 24) )
{
v6 = *(_QWORD *)(*(_QWORD *)a3 + 1552LL);
if ( v6 == *(_QWORD *)(a3 + 1000) && *(_QWORD *)(a3 + 1000) != -1LL )
*(_QWORD *)(*(_QWORD... | write_hook_for_undo_key_delete:
CMP qword ptr [R8 + 0x18],0x0
JZ 0x0013b0ae
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RDX]
MOV R9,qword ptr [RAX + 0x610]
MOV R10,qword ptr [RDX + 0x3e8]
CMP R9,R10
SETNZ R11B
CMP R10,-0x1
SETZ R10B
OR R10B,R11B
JNZ 0x0013b18c
MOV qword ptr [RAX + 0xd8],R9
LAB_0013b18c:
POP RBP
JMP 0x0013b... |
void write_hook_for_undo_key_delete
(int4 param_1,int8 param_2,long *param_3,int8 param_4,
int8 *param_5)
{
long lVar1;
if (param_5[3] != 0) {
lVar1 = *(long *)(*param_3 + 0x610);
if (param_3[0x7d] != -1 && lVar1 == param_3[0x7d]) {
*(long *)(*param_3 + 0xd8) = lVar1... | |
24,168 | my_strnxfrm_tis620 | eloqsql/strings/ctype-tis620.c | static size_t
my_strnxfrm_tis620(CHARSET_INFO *cs,
uchar *dst, size_t dstlen, uint nweights,
const uchar *src, size_t srclen, uint flags)
{
size_t len, dstlen0= dstlen;
len= MY_MIN(dstlen, srclen);
memcpy(dst, src, len);
len= thai2sortable(dst, len);
set_if_smaller(dstlen... | O0 | c | my_strnxfrm_tis620:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x30(%rbp), %rax
jae 0x4... | my_strnxfrm_tis620:
push rbp
mov rbp, rsp
sub rsp, 60h
mov eax, [rbp+arg_0]
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_1C], ecx
mov [rbp+var_28], r8
mov [rbp+var_30], r9
mov rax, [rbp+var_18]
mov [rbp+var_40], rax
mov rax, [rbp+var_18... | unsigned long long my_strnxfrm_tis620(
long long a1,
long long a2,
unsigned long long a3,
unsigned int a4,
long long a5,
unsigned long long a6,
unsigned int a7)
{
unsigned long long v8; // [rsp+10h] [rbp-50h]
unsigned long long v10; // [rsp+28h] [rbp-38h]
u... | my_strnxfrm_tis620:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV EAX,dword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x1c],ECX
MOV qword ptr [RBP + -0x28],R8
MOV qword ptr [RBP + -0x30],R9
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr ... |
ulong my_strnxfrm_tis620(long param_1,void *param_2,ulong param_3,uint param_4,void *param_5,
ulong param_6,uint param_7)
{
size_t local_58;
ulong local_40;
ulong local_20;
local_58 = param_6;
if (param_3 < param_6) {
local_58 = param_3;
}
memcpy(param_2,param_5,local_58);... | |
24,169 | my_set_max_open_files | eloqsql/mysys/my_file.c | uint my_set_max_open_files(uint files)
{
struct st_my_file_info *tmp;
DBUG_ENTER("my_set_max_open_files");
DBUG_PRINT("enter",("files: %u my_file_limit: %u", files, my_file_limit));
files+= MY_FILE_MIN;
files= set_max_open_files(MY_MIN(files, OS_FILE_LIMIT));
if (files <= MY_NFILE)
DBUG_RETURN(files);... | O0 | c | my_set_max_open_files:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0x8(%rbp)
jmp 0xf448d
movl -0x8(%rbp), %eax
addl $0x0, %eax
movl %eax, -0x8(%rbp)
cmpl $-0x1, -0x8(%rbp)
jae 0xf44a4
movl -0x8(%rbp), %eax
movl %eax, -0x14(%rbp)
jmp 0xf44ae
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
movl %eax, -0x14(%r... | my_set_max_open_files:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], edi
jmp short $+2
loc_F448D:
mov eax, [rbp+var_8]
add eax, 0
mov [rbp+var_8], eax
cmp [rbp+var_8], 0FFFFFFFFh
jnb short loc_F44A4
mov eax, [rbp+var_8]
mov [rbp+var_14], eax
jmp short loc_F44AE
l... | long long my_set_max_open_files(unsigned int a1)
{
signed int v2; // [rsp+4h] [rbp-3Ch]
unsigned int v3; // [rsp+14h] [rbp-2Ch]
unsigned int v4; // [rsp+2Ch] [rbp-14h]
char *v5; // [rsp+30h] [rbp-10h]
unsigned int v6; // [rsp+38h] [rbp-8h]
if ( a1 == -1 )
v4 = -1;
else
v4 = a1;
v6 = set_max_op... | my_set_max_open_files:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV dword ptr [RBP + -0x8],EDI
JMP 0x001f448d
LAB_001f448d:
MOV EAX,dword ptr [RBP + -0x8]
ADD EAX,0x0
MOV dword ptr [RBP + -0x8],EAX
CMP dword ptr [RBP + -0x8],-0x1
JNC 0x001f44a4
MOV EAX,dword ptr [RBP + -0x8]
MOV dword ptr [RBP + -0x14],EAX
JMP 0x001f44ae
LAB_... |
uint my_set_max_open_files(int param_1)
{
int *__dest;
int local_44;
uint local_34;
int local_1c;
uint local_c;
local_1c = param_1;
if (param_1 == -1) {
local_1c = -1;
}
local_c = set_max_open_files(local_1c);
if (0x40 < local_c) {
__dest = (int *)my_malloc(key_memory_my_file_info,(ulon... | |
24,170 | flush_pagecache_blocks_with_filter | eloqsql/storage/maria/ma_pagecache.c | int flush_pagecache_blocks_with_filter(PAGECACHE *pagecache,
PAGECACHE_FILE *file,
enum flush_type type,
PAGECACHE_FLUSH_FILTER filter,
void *filter_arg)
{
int re... | O0 | c | flush_pagecache_blocks_with_filter:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
jmp 0x2f79d
movq -0x10(%rbp), %rax
cmpq $0x0, 0x40(%rax)
jg 0x2f7b3
jmp 0x2f7aa
movl $0x0, -0x4(%rbp)
jmp 0x2f812
movq -0x10(%... | flush_pagecache_blocks_with_filter:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_1C], edx
mov [rbp+var_28], rcx
mov [rbp+var_30], r8
jmp short $+2
loc_2F79D:
mov rax, [rbp+var_10]
cmp qword ptr [rax+40h], 0
jg short loc_2F7B3... | long long flush_pagecache_blocks_with_filter(long long a1, long long a2, unsigned int a3, long long a4, long long a5)
{
unsigned int v6; // [rsp+Ch] [rbp-34h]
if ( *(long long *)(a1 + 64) > 0 )
{
inline_mysql_mutex_lock(
a1 + 200,
(long long)"/workspace/llm4binary/github2025/eloqsql/storage/mari... | flush_pagecache_blocks_with_filter:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],R8
JMP 0x0012f79d
LAB_0012f79d:
MOV RAX,qword ptr [RBP + -0x10]
CMP qword ptr [RAX + 0x40],0x0... |
int4
flush_pagecache_blocks_with_filter
(long param_1,int8 param_2,int4 param_3,int8 param_4,int8 param_5)
{
int4 local_c;
if (*(long *)(param_1 + 0x40) < 1) {
local_c = 0;
}
else {
inline_mysql_mutex_lock
(param_1 + 200,"/workspace/llm4binary/github2025/eloqsql/storage/mari... | |
24,171 | rb_delete_fixup | eloqsql/mysys/tree.c | static void rb_delete_fixup(TREE *tree, TREE_ELEMENT ***parent)
{
TREE_ELEMENT *x,*w,*par;
x= **parent;
while (x != tree->root && x->colour == BLACK)
{
if (x == (par=parent[-1][0])->left)
{
w=par->right;
if (w->colour == RED)
{
w->colour=BLACK;
par->colour=RED;
left_rotate(parent[-... | O0 | c | rb_delete_fixup:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rdx
xorl %eax, %eax
cmpq (%rdx), %rcx
movb %al, -0x29(%rbp)
je 0xffc03
movq -0x18(%rbp), %r... | rb_delete_fixup:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax]
mov [rbp+var_18], rax
loc_FFBDE:
mov rcx, [rbp+var_18]
mov rdx, [rbp+var_8]
xor eax, eax
cmp rcx, [rdx]
mov [rbp+var_2... | long long * rb_delete_fixup(long long **a1, _QWORD **a2)
{
_QWORD *v2; // rax
_QWORD *v3; // rax
long long *result; // rax
bool v5; // [rsp+7h] [rbp-29h]
long long *v6; // [rsp+8h] [rbp-28h]
long long v7; // [rsp+10h] [rbp-20h]
long long v8; // [rsp+10h] [rbp-20h]
long long *v9; // [rsp+18h] [rbp-18h]
... | rb_delete_fixup:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
LAB_001ffbde:
MOV RCX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RBP + -0x8]
XOR EAX,EAX
CMP R... |
void rb_delete_fixup(long *param_1,long *param_2)
{
long *plVar1;
bool bVar2;
long *local_28;
long *local_20;
long *local_18;
local_20 = *(long **)*param_2;
local_18 = param_2;
do {
bVar2 = false;
if (local_20 != (long *)*param_1) {
bVar2 = (int)local_20[2] < 0;
}
if (!bVar2) ... | |
24,172 | PFS_table_io_stat::aggregate(PFS_table_io_stat const*) | eloqsql/storage/perfschema/pfs_stat.h | inline void aggregate(const PFS_table_io_stat *stat)
{
if (stat->m_has_data)
{
m_has_data= true;
m_fetch.aggregate(&stat->m_fetch);
m_insert.aggregate(&stat->m_insert);
m_update.aggregate(&stat->m_update);
m_delete.aggregate(&stat->m_delete);
}
} | O3 | c | PFS_table_io_stat::aggregate(PFS_table_io_stat const*):
pushq %rbp
movq %rsp, %rbp
cmpb $0x1, (%rsi)
jne 0x3aade
movb $0x1, (%rdi)
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0x3aa5d
addq %rax, 0x8(%rdi)
movq 0x10(%rsi), %rax
addq %rax, 0x10(%rdi)
movq 0x18(%rsi), %rax
cmpq %rax, 0x18(%rdi)
ja 0x3aae0
movq 0x20(%rsi), %ra... | _ZN17PFS_table_io_stat9aggregateEPKS_:
push rbp
mov rbp, rsp
cmp byte ptr [rsi], 1
jnz loc_3AADE
mov byte ptr [rdi], 1
mov rax, [rsi+8]
test rax, rax
jz short loc_3AA5D
add [rdi+8], rax
mov rax, [rsi+10h]
add [rdi+10h], rax
mov rax, [rsi+18h]
cmp [rdi+18h], rax
ja ... | void PFS_table_io_stat::aggregate(long long a1, long long a2)
{
long long v2; // rax
unsigned long long v3; // rax
unsigned long long v4; // rax
long long v5; // rax
unsigned long long v6; // rax
unsigned long long v7; // rax
long long v8; // rax
unsigned long long v9; // rax
unsigned long long v10; ... | aggregate:
PUSH RBP
MOV RBP,RSP
CMP byte ptr [RSI],0x1
JNZ 0x0013aade
MOV byte ptr [RDI],0x1
MOV RAX,qword ptr [RSI + 0x8]
TEST RAX,RAX
JZ 0x0013aa5d
ADD qword ptr [RDI + 0x8],RAX
MOV RAX,qword ptr [RSI + 0x10]
ADD qword ptr [RDI + 0x10],RAX
MOV RAX,qword ptr [RSI + 0x18]
CMP qword ptr [RDI + 0x18],RAX
JA 0x0013aae0
LA... |
/* PFS_table_io_stat::aggregate(PFS_table_io_stat const*) */
void __thiscall PFS_table_io_stat::aggregate(PFS_table_io_stat *this,PFS_table_io_stat *param_1)
{
if (*param_1 == (PFS_table_io_stat)0x1) {
*this = (PFS_table_io_stat)0x1;
if (*(long *)(param_1 + 8) != 0) {
*(long *)(this + 8) = *(long *)(... | |
24,173 | google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(google::protobuf::DescriptorProto_ReservedRange const&) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
DescriptorProto_ReservedRange* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_._has_bits_){from._impl_._has_bits_}
, /*decltype(_impl_._cac... | O0 | cpp | google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(google::protobuf::DescriptorProto_ReservedRange const&):
subq $0xa8, %rsp
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x1540b0
movq 0x28(%rsp), %rax
leaq 0x247864(%rip), %rcx # 0x4fe8c0
ad... | _ZN6google8protobuf29DescriptorProto_ReservedRangeC2ERKS1_:
sub rsp, 0A8h
mov [rsp+0A8h+var_50], rdi
mov [rsp+0A8h+var_58], rsi
mov rdi, [rsp+0A8h+var_50]; this
mov [rsp+0A8h+var_80], rdi
call _ZN6google8protobuf7MessageC2Ev; google::protobuf::Message::Message(void)
mov rax, [rsp+0A8h+var_80]... | long long google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(
google::protobuf::DescriptorProto_ReservedRange *this,
const google::protobuf::DescriptorProto_ReservedRange *a2)
{
unsigned long long v3; // [rsp+88h] [rbp-20h]
google::protobuf::Message::Message(this);
*(... | MutableRepeatedFieldInternal<bool>:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV qword ptr [RSP + 0x8],RSI
MOV qword ptr [RSP],RDX
MOV RDI,qword ptr [RSP + 0x10]
MOV RSI,qword ptr [RSP + 0x8]
MOV RDX,qword ptr [RSP]
MOV ECX,0x7
MOV R8D,0xffffffff
XOR EAX,EAX
MOV R9D,EAX
CALL 0x002b5f70
ADD RSP,0x18
RET
|
/* google::protobuf::RepeatedField<bool>*
google::protobuf::Reflection::MutableRepeatedFieldInternal<bool>(google::protobuf::Message*,
google::protobuf::FieldDescriptor const*) const */
RepeatedField * __thiscall
google::protobuf::Reflection::MutableRepeatedFieldInternal<bool>
(Reflection *this,Messag... | |
24,174 | google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(google::protobuf::DescriptorProto_ReservedRange const&) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
DescriptorProto_ReservedRange* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_._has_bits_){from._impl_._has_bits_}
, /*decltype(_impl_._cac... | O3 | cpp | google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(google::protobuf::DescriptorProto_ReservedRange const&):
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x120970(%rip), %rcx # 0x20c930
movq %rcx, (%rdi)
movl 0x10(%rsi), %ecx
mo... | _ZN6google8protobuf29DescriptorProto_ReservedRangeC2ERKS1_:
push r15
push r14
push rbx
mov r14, rsi
mov rbx, rdi
xor eax, eax
mov [rdi+8], rax
lea rcx, off_20C930
mov [rdi], rcx
mov ecx, [rsi+10h]
mov [rdi+10h], ecx
mov [rdi+14h], rax
mov dword ptr [rdi+1Ch], 0
mov r... | long long google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(
google::protobuf::DescriptorProto_ReservedRange *this,
const google::protobuf::DescriptorProto_ReservedRange *a2)
{
long long v3; // rsi
long long result; // rax
*((_QWORD *)this + 1) = 0LL;
*(_QWORD *)th... | DescriptorProto_ReservedRange:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
XOR EAX,EAX
MOV qword ptr [RDI + 0x8],RAX
LEA RCX,[0x30c930]
MOV qword ptr [RDI],RCX
MOV ECX,dword ptr [RSI + 0x10]
MOV dword ptr [RDI + 0x10],ECX
MOV qword ptr [RDI + 0x14],RAX
MOV dword ptr [RDI + 0x1c],0x0
MOV RSI,qword ptr [RSI + 0x8]... |
/* google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange(google::protobuf::DescriptorProto_ReservedRange
const&) */
void __thiscall
google::protobuf::DescriptorProto_ReservedRange::DescriptorProto_ReservedRange
(DescriptorProto_ReservedRange *this,DescriptorProto_ReservedRange *p... | |
24,175 | minja::VariableExpr::VariableExpr(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | monkey531[P]llama/common/minja.hpp | VariableExpr(const Location & location, const std::string& n)
: Expression(location), name(n) {} | O3 | cpp | minja::VariableExpr::VariableExpr(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbx
movq %rdi, %rbx
leaq 0x94771(%rip), %rax # 0x12cda0
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x20(%rdi), %rdi
leaq 0x30(%rbx), %rax
cmpq %rax, %rdi
je 0x9864e
m... | _ZN5minja12VariableExprD0Ev:
push rbx
mov rbx, rdi
lea rax, _ZTVN5minja12VariableExprE; `vtable for'minja::VariableExpr
add rax, 10h
mov [rdi], rax
mov rdi, [rdi+20h]; void *
lea rax, [rbx+30h]
cmp rdi, rax
jz short loc_9864E
mov rsi, [rax]
inc rsi; unsigned __int64
call _... | void minja::VariableExpr::~VariableExpr(minja::VariableExpr *this)
{
char *v2; // rdi
volatile signed __int32 *v3; // rdi
*(_QWORD *)this = &`vtable for'minja::VariableExpr + 2;
v2 = (char *)*((_QWORD *)this + 4);
if ( v2 != (char *)this + 48 )
operator delete(v2, *((_QWORD *)this + 6) + 1LL);
*(_QWOR... | ~VariableExpr:
PUSH RBX
MOV RBX,RDI
LEA RAX,[0x22cda0]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RDI,qword ptr [RDI + 0x20]
LEA RAX,[RBX + 0x30]
CMP RDI,RAX
JZ 0x0019864e
MOV RSI,qword ptr [RAX]
INC RSI
CALL 0x0011b8b0
LAB_0019864e:
LEA RAX,[0x22c398]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
MOV RDI,qword ptr [RBX + 0x10]
T... |
/* minja::VariableExpr::~VariableExpr() */
void __thiscall minja::VariableExpr::~VariableExpr(VariableExpr *this)
{
*(int ***)this = &PTR_do_evaluate_0022cdb0;
if (*(VariableExpr **)(this + 0x20) != this + 0x30) {
operator_delete(*(VariableExpr **)(this + 0x20),*(long *)(this + 0x30) + 1);
}
*(int ***)th... | |
24,176 | my_open_parent_dir_nosymlinks | eloqsql/mysys/my_symlink.c | const char *my_open_parent_dir_nosymlinks(const char *pathname, int *pdfd)
{
char buf[FN_REFLEN + 1];
char *s= buf, *e= buf+1, *end= strnmov(buf, pathname, sizeof(buf));
int fd, dfd= -1;
if (*end)
{
errno= ENAMETOOLONG;
return NULL;
}
if (*s != '/') /* not an absolute path */
{
errno= ENOE... | O3 | c | my_open_parent_dir_nosymlinks:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp # imm = 0x228
movq %rsi, %r14
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
leaq -0x240(%rbp), %r15
movl $0x201, %edx # imm = 0x201
movq %r15, %rdi
movq %... | my_open_parent_dir_nosymlinks:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 228h
mov r14, rsi
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
lea r15, [rbp+var_240]
mov edx, 201h
mov rdi, r15
mov rsi, rbx
call strnmov
cmp ... | long long my_open_parent_dir_nosymlinks(long long a1, unsigned int *a2)
{
char *v3; // r15
char *v4; // rdi
char *v5; // rax
char *v6; // r12
char v7; // al
int v8; // r13d
char *v9; // rcx
unsigned int v10; // r14d
char *v11; // rsi
long long v12; // rcx
int v13; // eax
unsigned int *v16; // [... | my_open_parent_dir_nosymlinks:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x228
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
LEA R15,[RBP + -0x240]
MOV EDX,0x201
MOV RDI,R15
MOV RSI,RBX
CALL 0x001dde2c
CMP byte ptr [RAX],0x0
JZ 0x001a756f
CALL 0x0012... |
long my_open_parent_dir_nosymlinks(long param_1,int *param_2)
{
short *psVar1;
int iVar2;
short *psVar3;
int *piVar4;
long lVar5;
int __fd;
short *psVar6;
short *__file;
long in_FS_OFFSET;
int1 local_248 [2];
int1 local_246 [526];
long local_38;
local_38 = *(long *)(in_FS_OFFSET + 0x28);
... | |
24,177 | spacingCB(LefDefParser::lefrCallbackType_e, LefDefParser::lefiSpacing*, void*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lefdiff/diffLefRW.cpp | int spacingCB(lefrCallbackType_e c, lefiSpacing* spacing, lefiUserData ud) {
checkType(c);
if (ud != userData) dataError();
lefSpacing(spacing, (char*)"SPACING");
return 0;
} | O3 | cpp | spacingCB(LefDefParser::lefrCallbackType_e, LefDefParser::lefiSpacing*, void*):
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
cmpl $0x39, %edi
jb 0xe910
movq 0x68af6(%rip), %rcx # 0x773f0
leaq 0x3c8f6(%rip), %rdi # 0x4b1f7
movl $0x27, %esi
movl $0x1, %edx
callq 0x23b0
cmpq %r14, 0x68ae9(%rip)... | _Z9spacingCBN12LefDefParser18lefrCallbackType_eEPNS_11lefiSpacingEPv:
push r14
push rbx
push rax
mov r14, rdx
mov rbx, rsi
cmp edi, 39h ; '9'
jb short loc_E910
mov rcx, cs:fout
lea rdi, aErrorCallbackT; "ERROR: callback type is out of bounds!"...
mov esi, 27h ; '''
mov edx, 1
c... | long long spacingCB(unsigned int a1, LefDefParser::lefiSpacing *a2, long long a3, double a4)
{
if ( a1 >= 0x39 )
fwrite("ERROR: callback type is out of bounds!\n", 39LL, 1LL, fout);
if ( userData != a3 )
fwrite("ERROR: returned user data is not correct!\n", 42LL, 1LL, fout);
lefSpacing(a2, "SPACING", a4)... | spacingCB:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RDX
MOV RBX,RSI
CMP EDI,0x39
JC 0x0010e910
MOV RCX,qword ptr [0x001773f0]
LEA RDI,[0x14b1f7]
MOV ESI,0x27
MOV EDX,0x1
CALL 0x001023b0
LAB_0010e910:
CMP qword ptr [0x00177400],R14
JZ 0x0010e936
MOV RCX,qword ptr [0x001773f0]
LEA RDI,[0x14b1cc]
MOV ESI,0x2a
MOV EDX,0x1
CALL 0... |
/* spacingCB(LefDefParser::lefrCallbackType_e, LefDefParser::lefiSpacing*, void*) */
int8 spacingCB(uint param_1,lefiSpacing *param_2,long param_3)
{
if (0x38 < param_1) {
fwrite("ERROR: callback type is out of bounds!\n",0x27,1,fout);
}
if (userData != param_3) {
fwrite("ERROR: returned user data is n... | |
24,178 | my_numcells_eucjpms | eloqsql/strings/ctype-eucjpms.c | static
size_t my_numcells_eucjpms(CHARSET_INFO *cs __attribute__((unused)),
const char *str, const char *str_end)
{
size_t clen;
const uchar *b= (const uchar *) str;
const uchar *e= (const uchar *) str_end;
for (clen= 0; b < e; )
{
if (*b == 0x8E)
{
clen++;
b+... | O0 | c | my_numcells_eucjpms:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x28(%rbp), %rax
cmpq -0x30(%rbp), %rax
jae 0x71ae2
movq -0x28(%rbp), %rax
movzbl (... | my_numcells_eucjpms:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_10]
mov [rbp+var_28], rax
mov rax, [rbp+var_18]
mov [rbp+var_30], rax
mov [rbp+var_20], 0
loc_71A38:
mov rax, [rbp+var_28]
cmp rax, [rbp+var_30]
jn... | long long my_numcells_eucjpms(long long a1, _BYTE *a2, unsigned long long a3)
{
long long v5; // [rsp+10h] [rbp-20h]
v5 = 0LL;
while ( (unsigned long long)a2 < a3 )
{
if ( (unsigned __int8)*a2 == 142 )
{
++v5;
a2 += 2;
}
else if ( (unsigned __int8)*a2 == 143 )
{
v5 += 2LL... | my_numcells_eucjpms:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x30],RAX
MOV qword ptr [RBP + -0x20],0x0
LAB_00171a38:
MOV RAX,q... |
long my_numcells_eucjpms(int8 param_1,byte *param_2,byte *param_3)
{
byte *local_30;
long local_28;
local_28 = 0;
local_30 = param_2;
while (local_30 < param_3) {
if (*local_30 == 0x8e) {
local_28 = local_28 + 1;
local_30 = local_30 + 2;
}
else if (*local_30 == 0x8f) {
local... | |
24,179 | bfdec_set_si | bluesky950520[P]quickjs/libbf.c | int bfdec_set_si(bfdec_t *r, int64_t v)
{
int ret;
if (v < 0) {
ret = bfdec_set_ui(r, -v);
r->sign = 1;
} else {
ret = bfdec_set_ui(r, v);
}
return ret;
} | O1 | c | bfdec_set_si:
pushq %rbx
movq %rdi, %rbx
testq %rsi, %rsi
js 0x8eddd
movq %rbx, %rdi
popq %rbx
jmp 0x8ecbf
negq %rsi
movq %rbx, %rdi
callq 0x8ecbf
movl $0x1, 0x8(%rbx)
popq %rbx
retq
| bfdec_set_si:
push rbx
mov rbx, rdi
test rsi, rsi
js short loc_8EDDD
mov rdi, rbx
pop rbx
jmp bfdec_set_ui
loc_8EDDD:
neg rsi
mov rdi, rbx
call bfdec_set_ui
mov dword ptr [rbx+8], 1
pop rbx
retn
| long long bfdec_set_si(long long a1, signed long long a2)
{
long long result; // rax
if ( a2 >= 0 )
return bfdec_set_ui((_QWORD **)a1, a2);
result = bfdec_set_ui((_QWORD **)a1, -a2);
*(_DWORD *)(a1 + 8) = 1;
return result;
}
| bfdec_set_si:
PUSH RBX
MOV RBX,RDI
TEST RSI,RSI
JS 0x0018eddd
MOV RDI,RBX
POP RBX
JMP 0x0018ecbf
LAB_0018eddd:
NEG RSI
MOV RDI,RBX
CALL 0x0018ecbf
MOV dword ptr [RBX + 0x8],0x1
POP RBX
RET
|
void bfdec_set_si(long param_1,long param_2)
{
if (-1 < param_2) {
bfdec_set_ui(param_1);
return;
}
bfdec_set_ui(param_1,-param_2);
*(int4 *)(param_1 + 8) = 1;
return;
}
| |
24,180 | dump_all_databases | eloqsql/client/mysqldump.c | static int dump_all_databases()
{
MYSQL_ROW row;
MYSQL_RES *tableres;
int result=0;
if (mysql_query_with_error_report(mysql, &tableres, "SHOW DATABASES"))
return 1;
while ((row= mysql_fetch_row(tableres)))
{
if (mysql_get_server_version(mysql) >= FIRST_INFORMATION_SCHEMA_VERSION &&
!my_strc... | O0 | c | dump_all_databases:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl $0x0, -0x1c(%rbp)
movq 0x3c2c82(%rip), %rdi # 0x4014c8
leaq -0x18(%rbp), %rsi
leaq 0x9d9fa(%rip), %rdx # 0xdc24b
callq 0x39350
cmpl $0x0, %eax
je 0x3e867
movl $0x1, -0x4(%rbp)
jmp 0x3eb3a
jmp 0x3e869
movq -0x18(%rbp), %rdi
callq 0x51800
movq %r... | dump_all_databases:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_1C], 0
mov rdi, cs:mysql
lea rsi, [rbp+var_18]
lea rdx, aShowDatabases; "SHOW DATABASES"
call mysql_query_with_error_report
cmp eax, 0
jz short loc_3E867
mov [rbp+var_4], 1
jmp loc_3EB3A
loc_3E867:
jmp ... | long long dump_all_databases(double a1)
{
const char *v1; // rax
long long v3; // [rsp+0h] [rbp-30h]
const char *v4; // [rsp+8h] [rbp-28h]
unsigned int v5; // [rsp+14h] [rbp-1Ch]
long long v6; // [rsp+18h] [rbp-18h] BYREF
_QWORD *row; // [rsp+20h] [rbp-10h]
v5 = 0;
if ( !(unsigned int)mysql_query_with... | dump_all_databases:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x1c],0x0
MOV RDI,qword ptr [0x005014c8]
LEA RSI,[RBP + -0x18]
LEA RDX,[0x1dc24b]
CALL 0x00139350
CMP EAX,0x0
JZ 0x0013e867
MOV dword ptr [RBP + -0x4],0x1
JMP 0x0013eb3a
LAB_0013e867:
JMP 0x0013e869
LAB_0013e869:
MOV RDI,qword ptr [RBP + -0x18]... |
int4 dump_all_databases(void)
{
FILE *__stream;
int8 uVar1;
char cVar2;
int iVar3;
ulong uVar4;
int8 uVar5;
int4 local_24;
long local_20;
int8 *local_18;
int4 local_c;
local_24 = 0;
iVar3 = mysql_query_with_error_report(mysql,&local_20,"SHOW DATABASES");
if (iVar3 == 0) {
while (local... | |
24,181 | dump_all_databases | eloqsql/client/mysqldump.c | static int dump_all_databases()
{
MYSQL_ROW row;
MYSQL_RES *tableres;
int result=0;
if (mysql_query_with_error_report(mysql, &tableres, "SHOW DATABASES"))
return 1;
while ((row= mysql_fetch_row(tableres)))
{
if (mysql_get_server_version(mysql) >= FIRST_INFORMATION_SCHEMA_VERSION &&
!my_strc... | O3 | c | dump_all_databases:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x387164(%rip), %rdi # 0x3c4498
leaq 0x63f3b(%rip), %rdx # 0xa1276
leaq -0x38(%rbp), %rsi
callq 0x390fd
testl %eax, %eax
jne 0x3d62f
movq -0x38(%rbp), %rdi
callq 0x4a40c
testq %rax, %rax
je... | dump_all_databases:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rdi, cs:mysql
lea rdx, aShowDatabases; "SHOW DATABASES"
lea rsi, [rbp+var_38]
call mysql_query_with_error_report
test eax, eax
jnz loc_3D62F
mov rdi, [rbp+var_38]
c... | long long dump_all_databases()
{
long long result; // rax
long long row; // rax
_QWORD *v2; // r13
long long v3; // r15
long long v4; // rax
bool v5; // zf
int v6; // eax
long long v7; // rbx
const char *v8; // r14
const char *v9; // rax
long long v10; // rax
long long v11; // rax
_QWORD *v12;... | dump_all_databases:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RDI,qword ptr [0x004c4498]
LEA RDX,[0x1a1276]
LEA RSI,[RBP + -0x38]
CALL 0x001390fd
TEST EAX,EAX
JNZ 0x0013d62f
MOV RDI,qword ptr [RBP + -0x38]
CALL 0x0014a40c
TEST RAX,RAX
JZ 0x0013d479
MOV R13,RAX
MOV dword ptr [RBP... |
void dump_all_databases(void)
{
int8 uVar1;
char *pcVar2;
int8 uVar3;
char cVar4;
int iVar5;
int8 *puVar6;
ulong uVar7;
int8 uVar8;
size_t sVar9;
long lVar10;
long local_40;
int4 local_34;
iVar5 = mysql_query_with_error_report(mysql,&local_40,"SHOW DATABASES");
if (iVar5 == 0) {
puV... | |
24,182 | ms3_assume_role | eloqsql/storage/maria/libmarias3/src/marias3.c | uint8_t ms3_assume_role(ms3_st *ms3)
{
uint8_t res = 0;
if (!ms3 || !ms3->iam_role)
{
return MS3_ERR_PARAMETER;
}
if (!strstr(ms3->iam_role_arn, ms3->iam_role))
{
ms3debug("Lookup IAM role ARN");
res = execute_assume_role_request(ms3, MS3_CMD_LIST_ROLE, NULL, 0, NULL);
... | O0 | c | ms3_assume_role:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x2c942
movq -0x10(%rbp), %rax
cmpq $0x0, 0x40(%rax)
jne 0x2c94b
movb $0x1, -0x1(%rbp)
jmp 0x2ca1a
movq -0x10(%rbp), %rax
movq 0x60(%rax), %rdi
movq -0x10(%rbp), %rax
movq 0x40(%rax), %rs... | ms3_assume_role:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov [rbp+var_11], 0
cmp [rbp+var_10], 0
jz short loc_2C942
mov rax, [rbp+var_10]
cmp qword ptr [rax+40h], 0
jnz short loc_2C94B
loc_2C942:
mov [rbp+var_1], 1
jmp loc_2CA1A
loc_2C94B:
mov rax, [r... | char ms3_assume_role(long long a1)
{
char v2; // [rsp+Fh] [rbp-11h]
if ( !a1 || !*(_QWORD *)(a1 + 64) )
return 1;
if ( strstr(*(_QWORD *)(a1 + 96), *(_QWORD *)(a1 + 64)) )
goto LABEL_9;
if ( (ms3debug_get() & 1) != 0 )
fprintf(
stderr,
"[libmarias3] %s:%d Lookup IAM role ARN\n",
... | ms3_assume_role:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV byte ptr [RBP + -0x11],0x0
CMP qword ptr [RBP + -0x10],0x0
JZ 0x0012c942
MOV RAX,qword ptr [RBP + -0x10]
CMP qword ptr [RAX + 0x40],0x0
JNZ 0x0012c94b
LAB_0012c942:
MOV byte ptr [RBP + -0x1],0x1
JMP 0x0012ca1a
LAB_0012c94b:
MOV RAX,q... |
char ms3_assume_role(long param_1)
{
char cVar1;
char *pcVar2;
ulong uVar3;
char local_9;
if ((param_1 == 0) || (*(long *)(param_1 + 0x40) == 0)) {
local_9 = '\x01';
}
else {
pcVar2 = strstr(*(char **)(param_1 + 0x60),*(char **)(param_1 + 0x40));
if (pcVar2 == (char *)0x0) {
uVar3 =... | |
24,183 | print_name | eloqsql/mysys/my_getopt.c | static uint print_name(const struct my_option *optp)
{
const char *s= optp->name;
for (;*s;s++)
putchar(*s == '_' ? '-' : *s);
return (uint)(s - optp->name);
} | O0 | c | print_name:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpb $0x0, (%rax)
je 0x864a6
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x5f, %eax
jne 0x86486
movl $0x2d, %eax
movl %eax, -0x14(%rbp)
jmp 0x86490
mov... | print_name:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov rax, [rax]
mov [rbp+var_10], rax
loc_86467:
mov rax, [rbp+var_10]
cmp byte ptr [rax], 0
jz short loc_864A6
mov rax, [rbp+var_10]
movsx eax, byte ptr [rax]
cmp eax, 5Fh ; '_'
jnz... | long long print_name(_BYTE **a1)
{
unsigned int v2; // [rsp+Ch] [rbp-14h]
_BYTE *i; // [rsp+10h] [rbp-10h]
for ( i = *a1; *i; ++i )
{
if ( *i == 95 )
v2 = 45;
else
v2 = (char)*i;
putchar(v2);
}
return i - *a1;
}
| print_name:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x10],RAX
LAB_00186467:
MOV RAX,qword ptr [RBP + -0x10]
CMP byte ptr [RAX],0x0
JZ 0x001864a6
MOV RAX,qword ptr [RBP + -0x10]
MOVSX EAX,byte ptr [RAX]
CMP EAX,0x5f
JNZ... |
long print_name(long *param_1)
{
int local_1c;
char *local_18;
for (local_18 = (char *)*param_1; *local_18 != '\0'; local_18 = local_18 + 1) {
if (*local_18 == '_') {
local_1c = 0x2d;
}
else {
local_1c = (int)*local_18;
}
putchar(local_1c);
}
return (long)local_18 - *param... | |
24,184 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vecto... | monkey531[P]llama/common/json.hpp | token_type scan_number() // lgtm [cpp/use-of-goto]
{
// reset token_buffer to store the number's bytes
reset();
// the type of the parsed number; initially set to unsigned; will be
// changed if minus sign, decimal point or exponent is read
token_type number_type = token_ty... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vecto... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE11scan_numberEv:
push rbp
push r15
push r14
push rbx
pus... | long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterat... | scan_number:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
CALL 0x00148b98
MOV EAX,dword ptr [RBX + 0x14]
LEA ECX,[RAX + -0x31]
CMP ECX,0x9
JNC 0x00148912
LEA R14,[RBX + 0x50]
MOV EBP,0x5
LAB_001487f5:
MOVSX ESI,AL
MOV RDI,R14
CALL 0x001185c0
LEA R14,[RBX + 0x50]
LAB_00148804:
MOV RDI,RBX
CALL 0x00119150
LEA... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char... | |
24,185 | wait_for_readers | eloqsql/storage/maria/ma_pagecache.c | static inline void wait_for_readers(PAGECACHE *pagecache
__attribute__((unused)),
PAGECACHE_BLOCK_LINK *block
__attribute__((unused)))
{
struct st_my_thread_var *thread= my_thread_var;
DBUG_ASSERT(block->cond... | O3 | c | wait_for_readers:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0xa1672
movq 0x20(%rbx), %rcx
cmpl $0x0, 0x68(%rcx)
je 0x34a9b
movq %rax, %rcx
addq $0x8, %rax
movq %rax, 0x28(%rbx)
addq $0xc8, %r14
cmpq $0x0, 0x38(%rcx)
jne 0x34aa0
movq %rax, %rdi
movq %r14, %rsi
callq 0x29430
m... | wait_for_readers:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rsi
mov r14, rdi
call _my_thread_var
mov rcx, [rbx+20h]
cmp dword ptr [rcx+68h], 0
jz short loc_34A9B
mov rcx, rax
add rax, 8
mov [rbx+28h], rax
add r14, 0C8h
cmp qword ptr [rcx+38h], 0
jnz sh... | long long wait_for_readers(long long a1, long long a2, long long a3, long long a4, long long a5)
{
long long result; // rax
long long v6; // rcx
long long v7; // rax
long long v8; // r14
result = my_thread_var(a1, a2, a3, a4, a5);
if ( *(_DWORD *)(*(_QWORD *)(a2 + 32) + 104LL) )
{
v6 = result;
v... | wait_for_readers:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
CALL 0x001a1672
MOV RCX,qword ptr [RBX + 0x20]
CMP dword ptr [RCX + 0x68],0x0
JZ 0x00134a9b
MOV RCX,RAX
ADD RAX,0x8
MOV qword ptr [RBX + 0x28],RAX
ADD R14,0xc8
CMP qword ptr [RCX + 0x38],0x0
JNZ 0x00134aa0
MOV RDI,RAX
MOV RSI,R14
CALL 0x00... |
void wait_for_readers(long param_1,long param_2)
{
long lVar1;
pthread_cond_t *__cond;
lVar1 = _my_thread_var();
if (*(int *)(*(long *)(param_2 + 0x20) + 0x68) != 0) {
__cond = (pthread_cond_t *)(lVar1 + 8);
*(pthread_cond_t **)(param_2 + 0x28) = __cond;
if (*(long *)(lVar1 + 0x38) == 0) {
... | |
24,186 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | void destroy(value_t t)
{
if (
(t == value_t::object && object == nullptr) ||
(t == value_t::array && array == nullptr) ||
(t == value_t::string && string == nullptr) ||
(t == value_t::binary && binary == nullptr)
)
... | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE10json_value7destroyENS0_6detail7value_tE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
cmp esi, 1
setz cl
... | void nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::json_value::destroy(
long long **a1,
int a2)
{
long long *v2; // rax
... | destroy:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
CMP ESI,0x1
SETZ CL
MOV RAX,qword ptr [RDI]
TEST RAX,RAX
SETZ DL
TEST CL,DL
JNZ 0x0015e2e8
MOV R14D,ESI
TEST RAX,RAX
SETZ CL
MOV EDX,R14D
AND DL,0xfe
CMP DL,0x2
SETZ DL
CMP R14B,0x8
SETZ SIL
OR SIL,DL
TEST SIL,CL
JNZ 0x0015e2e8
MOV RBX,RDI
LEA ... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>::json_value::destroy(nlohmann::... | |
24,187 | get_cpu_name | tsotchke[P]eshkol/src/core/utils/simd.c | static void get_cpu_name(char* name, size_t size) {
int regs[4];
int i;
// Check if CPU name is supported
int eax = 0x80000000;
int ebx = 0;
int ecx = 0;
int edx = 0;
cpuid(&eax, &ebx, &ecx, &edx);
if (eax < 0x80000004) {
strncpy(name, "Unknown", size);
retu... | O0 | c | get_cpu_name:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x80000000, -0x28(%rbp) # imm = 0x80000000
movl $0x0, -0x2c(%rbp)
movl $0x0, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x2c(%rbp), %rsi
leaq -0x30(%rbp), %rdx
leaq -0x34(%rbp), %rcx
callq 0... | get_cpu_name:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_28], 80000000h
mov [rbp+var_2C], 0
mov [rbp+var_30], 0
mov [rbp+var_34], 0
lea rdi, [rbp+var_28]
lea rsi, [rbp+var_2C]
lea rdx, [rbp+var_30]
lea rcx, [rbp+var_34]
c... | char get_cpu_name(_BYTE *a1, long long a2)
{
char result; // al
_BYTE *v3; // rax
long long v4; // rcx
long long v5; // rax
_BYTE *v6; // rax
bool v7; // [rsp+7h] [rbp-59h]
_BYTE *v8; // [rsp+8h] [rbp-58h]
_BYTE *v9; // [rsp+10h] [rbp-50h]
_BYTE *j; // [rsp+20h] [rbp-40h]
_BYTE *k; // [rsp+20h] [rb... | get_cpu_name:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x28],0x80000000
MOV dword ptr [RBP + -0x2c],0x0
MOV dword ptr [RBP + -0x30],0x0
MOV dword ptr [RBP + -0x34],0x0
LEA RDI,[RBP + -0x28]
LEA RSI,[RBP + -0x2c]
LEA RDX,[RBP + -0x30]
LEA RCX,... |
void get_cpu_name(char *param_1,size_t param_2)
{
char *__dest;
size_t sVar1;
bool bVar2;
char *local_48;
int4 local_3c;
int4 local_38;
int4 local_34;
uint local_30;
int local_2c;
uint local_28;
int4 uStack_24;
int4 local_20;
int4 uStack_1c;
size_t local_18;
char *local_10;
local_30... | |
24,188 | LefDefParser::defiFill::setLayer(char const*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defiFill.cpp | void defiFill::setLayer(const char* name) {
int len = strlen(name) + 1;
if (layerNameLength_ < len) {
if (layerName_) free(layerName_);
layerName_ = (char*)malloc(len);
layerNameLength_ = len;
}
strcpy(layerName_, defData->DEFCASE(name));
hasLayer_ = 1;
} | O0 | cpp | LefDefParser::defiFill::setLayer(char const*):
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rdi
callq 0x70e0
movq %rax, %rcx
movq 0x8(%rsp), %rax
addq $0x1, %rcx
movl %ecx, 0x14(%rsp)
movl 0x10(%rax), %eax
cmpl 0x14(%rsp), %eax
jge 0x42ee2
mov... | _ZN12LefDefParser8defiFill8setLayerEPKc:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov [rsp+28h+var_10], rsi
mov rax, [rsp+28h+var_8]
mov [rsp+28h+var_20], rax
mov rdi, [rsp+28h+var_10]
call _strlen
mov rcx, rax
mov rax, [rsp+28h+var_20]
add rcx, 1
mov [rsp+28h+var_14], ecx
mov ... | LefDefParser::defiFill * LefDefParser::defiFill::setLayer(LefDefParser::defiFill *this, const char *a2)
{
const char *v2; // rax
LefDefParser::defiFill *result; // rax
long long v4; // [rsp+0h] [rbp-28h]
int v5; // [rsp+14h] [rbp-14h]
v5 = strlen(a2) + 1;
if ( *((_DWORD *)this + 4) < v5 )
{
if ( *((_... | setLayer:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV qword ptr [RSP + 0x18],RSI
MOV RAX,qword ptr [RSP + 0x20]
MOV qword ptr [RSP + 0x8],RAX
MOV RDI,qword ptr [RSP + 0x18]
CALL 0x001070e0
MOV RCX,RAX
MOV RAX,qword ptr [RSP + 0x8]
ADD RCX,0x1
MOV dword ptr [RSP + 0x14],ECX
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,dwo... |
/* LefDefParser::defiFill::setLayer(char const*) */
void __thiscall LefDefParser::defiFill::setLayer(defiFill *this,char *param_1)
{
char *__dest;
size_t sVar1;
void *pvVar2;
char *__src;
int iVar3;
sVar1 = strlen(param_1);
iVar3 = (int)sVar1 + 1;
if (*(int *)(this + 0x10) < iVar3) {
if (*(lon... | |
24,189 | evmone::(anonymous namespace)::get_section_missing_error(unsigned char) | corpus-core[P]colibri-stateless/build_O0/_deps/evmone_external-src/lib/evmone/eof.cpp | EOFValidationError get_section_missing_error(uint8_t section_id) noexcept
{
switch (section_id)
{
case TERMINATOR:
return EOFValidationError::header_terminator_missing;
case TYPE_SECTION:
return EOFValidationError::type_section_missing;
case CODE_SECTION:
return EOFValidation... | O0 | cpp | evmone::(anonymous namespace)::get_section_missing_error(unsigned char):
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movb %dil, %al
movb %al, -0x5(%rbp)
movzbl -0x5(%rbp), %eax
movl %eax, -0xc(%rbp)
testl %eax, %eax
je 0x774eb
jmp 0x774cb
movl -0xc(%rbp), %eax
subl $0x1, %eax
je 0x774f4
jmp 0x774d5
movl -0xc(%rbp), %ea... | _ZN6evmone12_GLOBAL__N_125get_section_missing_errorEh:
push rbp
mov rbp, rsp
sub rsp, 10h
mov al, dil
mov [rbp+var_5], al
movzx eax, [rbp+var_5]
mov [rbp+var_C], eax
test eax, eax
jz short loc_774EB
jmp short $+2
loc_774CB:
mov eax, [rbp+var_C]
sub eax, 1
jz short loc_7... | long long evmone::`anonymous namespace'::get_section_missing_error(evmone::_anonymous_namespace_ *this)
{
unsigned int v2; // [rsp+Ch] [rbp-4h]
if ( (_BYTE)this )
{
switch ( (unsigned __int8)this )
{
case 1u:
return 6;
case 2u:
return 7;
case 0xFFu:
return 8;
... | get_section_missing_error:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV AL,DIL
MOV byte ptr [RBP + -0x5],AL
MOVZX EAX,byte ptr [RBP + -0x5]
MOV dword ptr [RBP + -0xc],EAX
TEST EAX,EAX
JZ 0x001774eb
JMP 0x001774cb
LAB_001774cb:
MOV EAX,dword ptr [RBP + -0xc]
SUB EAX,0x1
JZ 0x001774f4
JMP 0x001774d5
LAB_001774d5:
MOV EAX,dword ... |
/* evmone::(anonymous namespace)::get_section_missing_error(unsigned char) */
int4 evmone::(anonymous_namespace)::get_section_missing_error(uchar param_1)
{
int4 local_c;
if (param_1 == '\0') {
local_c = 5;
}
else if (param_1 == '\x01') {
local_c = 6;
}
else if (param_1 == '\x02') {
local_... | |
24,190 | my_uca_implicit_weight_put | eloqsql/strings/ctype-uca.c | static inline void
my_uca_implicit_weight_put(uint16 *to, my_wc_t code, uint level)
{
switch (level) {
case 1: to[0]= 0x0020; to[1]= 0; break; /* Secondary level */
case 2: to[0]= 0x0002; to[1]= 0; break; /* Tertiary level */
case 3: to[0]= 0x0001; to[1]= 0; break; /* Quaternary level */
default:
DBUG_ASS... | O0 | c | my_uca_implicit_weight_put:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq %rax, -0x20(%rbp)
subq $0x3, %rax
ja 0x5c003
movq -0x20(%rbp), %rax
leaq 0xf20b1(%rip), %rcx # 0x14e06c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
j... | my_uca_implicit_weight_put:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov eax, [rbp+var_14]
mov [rbp+var_20], rax
sub rax, 3; switch 4 cases
ja short def_5BFC2; jumptable 000000000005BFC2 default case
mov rax, [rbp+var... | _WORD * my_uca_implicit_weight_put(_WORD *a1, unsigned long long a2, int a3)
{
_WORD *result; // rax
switch ( a3 )
{
case 1:
*a1 = 32;
a1[1] = 0;
break;
case 2:
*a1 = 2;
a1[1] = 0;
break;
case 3:
*a1 = 1;
a1[1] = 0;
break;
default:
break... | my_uca_implicit_weight_put:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV EAX,dword ptr [RBP + -0x14]
MOV qword ptr [RBP + -0x20],RAX
SUB RAX,0x3
JA 0x0015c003
MOV RAX,qword ptr [RBP + -0x20]
LEA RCX,[0x24e06c]
MOVSXD RAX,dword ptr [... |
void my_uca_implicit_weight_put(short *param_1,ulong param_2,int4 param_3)
{
short sVar1;
switch(param_3) {
default:
break;
case 1:
*param_1 = 0x20;
param_1[1] = 0;
break;
case 2:
*param_1 = 2;
param_1[1] = 0;
break;
case 3:
*param_1 = 1;
param_1[1] = 0;
}
sVar1 ... | |
24,191 | my_mb_wc_utf8mb4_quick | eloqsql/strings/ctype-utf8.h | static inline int
my_mb_wc_utf8mb4_quick(my_wc_t *pwc, const uchar *s, const uchar *e)
{
uchar c;
if (s >= e)
return MY_CS_TOOSMALL;
c= s[0];
if (c < 0x80)
{
*pwc= c;
return 1;
}
else if (c < 0xc2)
return MY_CS_ILSEQ;
else if (c < 0xe0)
{
if (s + 2 > e) /* We need 2 characters */... | O3 | c | my_mb_wc_utf8mb4_quick:
pushq %rbp
movq %rsp, %rbp
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rdx, %rsi
jae 0x5a5b8
movzbl (%rsi), %ecx
testb %cl, %cl
js 0x5a5b1
movl $0x1, %eax
movq %rcx, (%rdi)
jmp 0x5a5b8
cmpb $-0x3e, %cl
jae 0x5a5ba
xorl %eax, %eax
popq %rbp
retq
cmpb $-0x21, %cl
ja 0x5a5f0
leaq 0x2(%rsi... | my_mb_wc_utf8mb4_quick_0:
push rbp
mov rbp, rsp
mov eax, 0FFFFFF9Bh
cmp rsi, rdx
jnb short loc_5A5B8
movzx ecx, byte ptr [rsi]
test cl, cl
js short loc_5A5B1
mov eax, 1
loc_5A5AC:
mov [rdi], rcx
jmp short loc_5A5B8
loc_5A5B1:
cmp cl, 0C2h
jnb short loc_5A5BA
loc_5A5B6:
x... | long long my_mb_wc_utf8mb4_quick_0(unsigned long long *a1, unsigned __int8 *a2, unsigned long long a3)
{
long long result; // rax
unsigned long long v4; // rcx
char v5; // dl
char v6; // si
unsigned long long v7; // rsi
char v8; // r8
char v9; // dl
char v10; // si
result = 4294967195LL;
if ( (uns... | my_mb_wc_utf8mb4_quick:
PUSH RBP
MOV RBP,RSP
MOV EAX,0xffffff9b
CMP RSI,RDX
JNC 0x0015a5b8
MOVZX ECX,byte ptr [RSI]
TEST CL,CL
JS 0x0015a5b1
MOV EAX,0x1
LAB_0015a5ac:
MOV qword ptr [RDI],RCX
JMP 0x0015a5b8
LAB_0015a5b1:
CMP CL,0xc2
JNC 0x0015a5ba
LAB_0015a5b6:
XOR EAX,EAX
LAB_0015a5b8:
POP RBP
RET
LAB_0015a5ba:
CMP CL,... |
int8 my_mb_wc_utf8mb4_quick(ulong *param_1,byte *param_2,byte *param_3)
{
byte bVar1;
byte bVar2;
int8 uVar3;
uint uVar4;
ulong uVar5;
if (param_3 <= param_2) {
return 0xffffff9b;
}
bVar1 = *param_2;
uVar5 = (ulong)bVar1;
if ((char)bVar1 < '\0') {
if (0xc1 < bVar1) {
uVar4 = (uint... | |
24,192 | httplib::detail::BufferStream::read(char*, unsigned long) | hkr04[P]cpp-mcp/common/httplib.h | inline ssize_t BufferStream::read(char *ptr, size_t size) {
#if defined(_MSC_VER) && _MSC_VER < 1910
auto len_read = buffer._Copy_s(ptr, size, size, position);
#else
auto len_read = buffer.copy(ptr, size, position);
#endif
position += static_cast<size_t>(len_read);
return static_cast<ssize_t>(len_read);
} | O0 | c | httplib::detail::BufferStream::read(char*, unsigned long):
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq %rax, %rdi
addq $0x8, %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x28(%rax), %rcx
callq 0xb0d0
movq %rax, %rcx
movq (%rsp)... | _ZN7httplib6detail12BufferStream4readEPcm:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov [rsp+28h+var_10], rsi
mov [rsp+28h+var_18], rdx
mov rax, [rsp+28h+var_8]
mov [rsp+28h+var_28], rax
mov rdi, rax
add rdi, 8
mov rsi, [rsp+28h+var_10]
mov rdx, [rsp+28h+var_18]
mov rcx, [rax+28... | long long httplib::detail::BufferStream::read(httplib::detail::BufferStream *this, char *a2, long long a3)
{
long long result; // rax
result = std::string::copy((char *)this + 8, a2, a3, *((_QWORD *)this + 5));
*((_QWORD *)this + 5) += result;
return result;
}
| read:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV qword ptr [RSP + 0x18],RSI
MOV qword ptr [RSP + 0x10],RDX
MOV RAX,qword ptr [RSP + 0x20]
MOV qword ptr [RSP],RAX
MOV RDI,RAX
ADD RDI,0x8
MOV RSI,qword ptr [RSP + 0x18]
MOV RDX,qword ptr [RSP + 0x10]
MOV RCX,qword ptr [RAX + 0x28]
CALL 0x0010b0d0
MOV RCX,RAX
MOV RAX,... |
/* httplib::detail::BufferStream::read(char*, unsigned long) */
long __thiscall httplib::detail::BufferStream::read(BufferStream *this,char *param_1,ulong param_2)
{
long lVar1;
lVar1 = std::__cxx11::string::copy((char *)(this + 8),(ulong)param_1,param_2);
*(long *)(this + 0x28) = lVar1 + *(long *)(this + 0... | |
24,193 | nglog::tools::ProgramInvocationShortName() | ng-log[P]ng-log/src/utilities.cc | const char* ProgramInvocationShortName() {
if (g_program_invocation_short_name != nullptr) {
return g_program_invocation_short_name;
}
#if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME)
return program_invocation_short_name;
#elif defined(HAVE_GETPROGNAME)
return getprogname();
#elif defined(HAVE___PROGNAME)
... | O1 | cpp | nglog::tools::ProgramInvocationShortName():
movq 0x1f982(%rip), %rax # 0x41aa0
testq %rax, %rax
jne 0x2212d
movq 0xee76(%rip), %rax # 0x30fa0
movq (%rax), %rax
retq
| _ZN5nglog5tools26ProgramInvocationShortNameEv:
mov rax, cs:_ZN5nglogL31g_program_invocation_short_nameE; nglog::g_program_invocation_short_name
test rax, rax
jnz short locret_2212D
mov rax, cs:program_invocation_short_name_ptr
mov rax, [rax]
locret_2212D:
retn
| long long nglog::tools::ProgramInvocationShortName(nglog::tools *this)
{
long long result; // rax
result = nglog::g_program_invocation_short_name;
if ( !nglog::g_program_invocation_short_name )
return program_invocation_short_name;
return result;
}
| ProgramInvocationShortName:
MOV RAX,qword ptr [0x00141aa0]
TEST RAX,RAX
JNZ 0x0012212d
MOV RAX,qword ptr [0x00130fa0]
MOV RAX,qword ptr [RAX]
LAB_0012212d:
RET
|
/* nglog::tools::ProgramInvocationShortName() */
long nglog::tools::ProgramInvocationShortName(void)
{
long lVar1;
lVar1 = g_program_invocation_short_name;
if (g_program_invocation_short_name == 0) {
lVar1 = *(long *)PTR_program_invocation_short_name_00130fa0;
}
return lVar1;
}
| |
24,194 | nglog::tools::ProgramInvocationShortName() | ng-log[P]ng-log/src/utilities.cc | const char* ProgramInvocationShortName() {
if (g_program_invocation_short_name != nullptr) {
return g_program_invocation_short_name;
}
#if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME)
return program_invocation_short_name;
#elif defined(HAVE_GETPROGNAME)
return getprogname();
#elif defined(HAVE___PROGNAME)
... | O2 | cpp | nglog::tools::ProgramInvocationShortName():
movq 0x215e8(%rip), %rax # 0x3eb00
testq %rax, %rax
jne 0x1d527
movq 0x10a74(%rip), %rax # 0x2df98
movq (%rax), %rax
retq
| _ZN5nglog5tools26ProgramInvocationShortNameEv:
mov rax, cs:_ZN5nglogL31g_program_invocation_short_nameE; nglog::g_program_invocation_short_name
test rax, rax
jnz short locret_1D527
mov rax, cs:program_invocation_short_name_ptr
mov rax, [rax]
locret_1D527:
retn
| long long nglog::tools::ProgramInvocationShortName(nglog::tools *this)
{
long long result; // rax
result = nglog::g_program_invocation_short_name;
if ( !nglog::g_program_invocation_short_name )
return program_invocation_short_name;
return result;
}
| ProgramInvocationShortName:
MOV RAX,qword ptr [0x0013eb00]
TEST RAX,RAX
JNZ 0x0011d527
MOV RAX,qword ptr [0x0012df98]
MOV RAX,qword ptr [RAX]
LAB_0011d527:
RET
|
/* nglog::tools::ProgramInvocationShortName() */
long nglog::tools::ProgramInvocationShortName(void)
{
long lVar1;
lVar1 = g_program_invocation_short_name;
if (g_program_invocation_short_name == 0) {
lVar1 = *(long *)PTR_program_invocation_short_name_0012df98;
}
return lVar1;
}
| |
24,195 | nglog::tools::ProgramInvocationShortName() | ng-log[P]ng-log/src/utilities.cc | const char* ProgramInvocationShortName() {
if (g_program_invocation_short_name != nullptr) {
return g_program_invocation_short_name;
}
#if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME)
return program_invocation_short_name;
#elif defined(HAVE_GETPROGNAME)
return getprogname();
#elif defined(HAVE___PROGNAME)
... | O3 | cpp | nglog::tools::ProgramInvocationShortName():
movq 0x1f03e(%rip), %rax # 0x40aa0
testq %rax, %rax
jne 0x21a71
movq 0xe532(%rip), %rax # 0x2ffa0
movq (%rax), %rax
retq
| _ZN5nglog5tools26ProgramInvocationShortNameEv:
mov rax, cs:_ZN5nglogL31g_program_invocation_short_nameE; nglog::g_program_invocation_short_name
test rax, rax
jnz short locret_21A71
mov rax, cs:program_invocation_short_name_ptr
mov rax, [rax]
locret_21A71:
retn
| long long nglog::tools::ProgramInvocationShortName(nglog::tools *this)
{
long long result; // rax
result = nglog::g_program_invocation_short_name;
if ( !nglog::g_program_invocation_short_name )
return program_invocation_short_name;
return result;
}
| ProgramInvocationShortName:
MOV RAX,qword ptr [0x00140aa0]
TEST RAX,RAX
JNZ 0x00121a71
MOV RAX,qword ptr [0x0012ffa0]
MOV RAX,qword ptr [RAX]
LAB_00121a71:
RET
|
/* nglog::tools::ProgramInvocationShortName() */
long nglog::tools::ProgramInvocationShortName(void)
{
long lVar1;
lVar1 = g_program_invocation_short_name;
if (g_program_invocation_short_name == 0) {
lVar1 = *(long *)PTR_program_invocation_short_name_0012ffa0;
}
return lVar1;
}
| |
24,196 | nlohmann::json_abi_v3_11_3::detail::json_ref<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::ve... | monkey531[P]llama/common/json.hpp | value_type moved_or_copied() const
{
if (value_ref == nullptr)
{
return std::move(owned_value);
}
return *value_ref;
} | O1 | cpp | nlohmann::json_abi_v3_11_3::detail::json_ref<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_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_3::adl_serializer, std::ve... | _ZNK8nlohmann16json_abi_v3_11_36detail8json_refINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE15moved_or_copiedEv:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
mov rsi, [rsi+10h]
test rsi, rsi
jz ... | char * nlohmann::json_abi_v3_11_3::detail::json_ref<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::moved_or_copied(
char *a1,
... | moved_or_copied:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
MOV RSI,qword ptr [RSI + 0x10]
TEST RSI,RSI
JZ 0x0016ac11
MOV RDI,RBX
CALL 0x001302d2
JMP 0x0016ac3b
LAB_0016ac11:
MOVUPS XMM0,xmmword ptr [R14]
MOVUPS xmmword ptr [RBX],XMM0
MOV RDI,R14
XOR ESI,ESI
CALL 0x0014326e
MOV byte ptr [R14],0x0
MOV qword ptr ... |
/* nlohmann::json_abi_v3_11_3::detail::json_ref<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
c... | |
24,197 | my_thread_global_init | eloqsql/mysys/my_thr_init.c | my_bool my_thread_global_init(void)
{
int pth_ret;
/* Normally this should never be called twice */
DBUG_ASSERT(my_thread_global_init_done == 0);
if (my_thread_global_init_done)
return 0;
my_thread_global_init_done= 1;
/*
THR_KEY_mysys is deleted in my_end() as DBUG libraries are using it even
... | O3 | c | my_thread_global_init:
cmpb $0x0, 0xb66df9(%rip) # 0xc089f0
je 0xa1bfc
xorl %eax, %eax
retq
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movb $0x1, 0xb66de7(%rip) # 0xc089f0
leaq 0xb66b1c(%rip), %rbx # 0xc0872c
cmpb $0x0, (%rbx)
je 0xa1c33
movb $0x1, (%rbx)
callq 0xa1a4b
callq 0xa1c6d
movl %eax, %ecx
movb ... | my_thread_global_init:
cmp cs:my_thread_global_init_done, 0
jz short loc_A1BFC
xor eax, eax
retn
loc_A1BFC:
push rbp
mov rbp, rsp
push rbx
push rax
mov cs:my_thread_global_init_done, 1
lea rbx, my_thr_key_mysys_exists
cmp byte ptr [rbx], 0
jz short loc_A1C33
loc_A1C15:
mov ... | char my_thread_global_init(void *a1)
{
char result; // al
char v2; // cl
int v3; // eax
if ( my_thread_global_init_done )
return 0;
my_thread_global_init_done = 1;
if ( my_thr_key_mysys_exists || (a1 = &THR_KEY_mysys, (v3 = pthread_key_create(&THR_KEY_mysys, 0LL)) == 0) )
{
my_thr_key_mysys_exis... | my_thread_global_init:
CMP byte ptr [0x00d089f0],0x0
JZ 0x001a1bfc
XOR EAX,EAX
RET
LAB_001a1bfc:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV byte ptr [0x00d089f0],0x1
LEA RBX,[0xd0872c]
CMP byte ptr [RBX],0x0
JZ 0x001a1c33
LAB_001a1c15:
MOV byte ptr [RBX],0x1
CALL 0x001a1a4b
CALL 0x001a1c6d
MOV ECX,EAX
MOV AL,0x1
TEST C... |
bool my_thread_global_init(void)
{
char cVar1;
int iVar2;
if (my_thread_global_init_done != '\0') {
return false;
}
my_thread_global_init_done = 1;
if ((my_thr_key_mysys_exists == '\0') &&
(iVar2 = pthread_key_create(&THR_KEY_mysys,(__destr_function *)0x0), iVar2 != 0)) {
__fprintf_chk(*(i... | |
24,198 | my_strnncoll_tis620 | eloqsql/strings/ctype-tis620.c | static
int my_strnncoll_tis620(CHARSET_INFO *cs __attribute__((unused)),
const uchar *s1, size_t len1,
const uchar *s2, size_t len2,
my_bool s2_is_prefix)
{
uchar buf[80] ;
uchar *tc1, *tc2;
int i;
if (s2_is_prefix && len1 > len2)
len... | O0 | c | my_strnncoll_tis620:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movb %r9b, %al
movq %fs:0x28, %r9
movq %r9, -0x8(%rbp)
movq %rdi, -0x68(%rbp)
movq %rsi, -0x70(%rbp)
movq %rdx, -0x78(%rbp)
movq %rcx, -0x80(%rbp)
movq %r8, -0x88(%rbp)
movb %al, -0x89(%rbp)
movsbl -0x89(%rbp), %eax
cmpl $0x0, %eax
je 0x4796c
movq -0x78(%... | my_strnncoll_tis620:
push rbp
mov rbp, rsp
sub rsp, 0B0h
mov al, r9b
mov r9, fs:28h
mov [rbp+var_8], r9
mov [rbp+var_68], rdi
mov [rbp+var_70], rsi
mov [rbp+var_78], rdx
mov [rbp+var_80], rcx
mov [rbp+var_88], r8
mov [rbp+var_89], al
movsx eax, [rbp+var_89]
cmp eax, ... | long long my_strnncoll_tis620(
long long a1,
long long a2,
unsigned long long a3,
long long a4,
unsigned long long a5,
char a6)
{
unsigned int v7; // [rsp+Ch] [rbp-A4h]
long long v8; // [rsp+10h] [rbp-A0h]
_BYTE *v9; // [rsp+18h] [rbp-98h]
unsigned long long v12;... | my_strnncoll_tis620:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xb0
MOV AL,R9B
MOV R9,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],R9
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV qword ptr [RBP + -0x78],RDX
MOV qword ptr [RBP + -0x80],RCX
MOV qword ptr [RBP + -0x88],R8
MOV byte ptr [RBP + -0x89],AL
MOVSX EA... |
int my_strnncoll_tis620(int8 param_1,void *param_2,ulong param_3,void *param_4,ulong param_5,
char param_6)
{
int iVar1;
char *__s2;
long in_FS_OFFSET;
char *local_a0;
size_t local_80;
char local_68 [88];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_80 = ... | |
24,199 | void nglog::internal::MakeCheckOpValueString<unsigned char>(std::ostream*, unsigned char const&) | ng-log[P]ng-log/src/logging.cc | void MakeCheckOpValueString(std::ostream* os, const unsigned char& v) {
if (v >= 32 && v <= 126) {
(*os) << "'" << v << "'";
} else {
(*os) << "unsigned char value " << static_cast<unsigned short>(v);
}
} | O3 | cpp | void nglog::internal::MakeCheckOpValueString<unsigned char>(std::ostream*, unsigned char const&):
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movb (%rsi), %al
addb $-0x20, %al
cmpb $0x5e, %al
ja 0xf118
leaq 0x148c7(%rip), %r15 # 0x2399e
movl $0x1, %edx
movq %rbx, %rdi
movq %r15... | _ZN5nglog8internal22MakeCheckOpValueStringIhEEvPSoRKT_:
push r15
push r14
push rbx
sub rsp, 10h
mov r14, rsi
mov rbx, rdi
mov al, [rsi]
add al, 0E0h
cmp al, 5Eh ; '^'
ja short loc_F118
lea r15, aDataNumCharsTo+59h; "'"
mov edx, 1
mov rdi, rbx
mov rsi, r15
call __... | long long nglog::internal::MakeCheckOpValueString<unsigned char>(long long a1, _BYTE *a2)
{
long long v2; // rax
_BYTE v4[25]; // [rsp+Fh] [rbp-19h] BYREF
if ( (unsigned __int8)(*a2 - 32) > 0x5Eu )
{
std::__ostream_insert<char,std::char_traits<char>>(a1, "unsigned char value ", 20LL);
return std::ostr... | MakeCheckOpValueString<unsigned_char>:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV R14,RSI
MOV RBX,RDI
MOV AL,byte ptr [RSI]
ADD AL,0xe0
CMP AL,0x5e
JA 0x0010f118
LEA R15,[0x12399e]
MOV EDX,0x1
MOV RDI,RBX
MOV RSI,R15
CALL 0x00107600
MOV AL,byte ptr [R14]
LEA RSI,[RSP + 0xf]
MOV byte ptr [RSI],AL
MOV EDX,0x1
MOV RDI,RB... |
/* void nglog::internal::MakeCheckOpValueString<unsigned char>(std::ostream*, unsigned char const&)
*/
void nglog::internal::MakeCheckOpValueString<unsigned_char>(ostream *param_1,uchar *param_2)
{
ostream *poVar1;
uchar local_19;
if ((byte)(*param_2 - 0x20) < 0x5f) {
std::__ostream_insert<char,std:... |
Subsets and Splits
C++ Functions With Standard Library Dependencies
Identifies C++ functions that depend on standard library components, revealing patterns in how developers utilize STL libraries and potentially highlighting common coding practices or dependencies in the dataset.
C++ Standard Library Function Analysis
Filters C++ code examples that use standard library containers and types, providing useful insights into common programming patterns and data structures in the dataset.
Random Training Function Samples
Performs basic filtering and random sampling of assembly code data without revealing meaningful patterns or relationships.
Random Training Function Samples
Retrieves a random sample of 1000 records from the training dataset, providing basic data exploration but offering limited analytical value beyond seeing raw entries.