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
32,400
my_hrtime
eloqsql/mysys/my_getsystime.c
my_hrtime_t my_hrtime() { my_hrtime_t hrtime; #if defined(_WIN32) ulonglong newtime; GetSystemTimePreciseAsFileTime((FILETIME*)&newtime); hrtime.val= (newtime - OFFSET_TO_EPOC)/10; #elif defined(HAVE_CLOCK_GETTIME) struct timespec tp; clock_gettime(CLOCK_REALTIME, &tp); hrtime.val= tp.tv_sec*1000000ULL+tp...
O0
c
my_hrtime: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp xorl %edi, %edi leaq -0x18(%rbp), %rsi callq 0x603c0 imulq $0xf4240, -0x18(%rbp), %rax # imm = 0xF4240 movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rax movl $0x3e8, %ecx # imm = 0x3E8 xorl %edx, %edx divq %rcx movq %rax, %rcx movq -0x20(%rbp), %rax addq %rc...
my_hrtime: push rbp mov rbp, rsp sub rsp, 20h xor edi, edi lea rsi, [rbp+var_18] call _clock_gettime imul rax, [rbp+var_18], 0F4240h mov [rbp+var_20], rax mov rax, [rbp+var_10] mov ecx, 3E8h xor edx, edx div rcx mov rcx, rax mov rax, [rbp+var_20] add rax, rcx mov...
unsigned long long my_hrtime() { long long v1; // [rsp+8h] [rbp-18h] BYREF unsigned long long v2; // [rsp+10h] [rbp-10h] clock_gettime(0LL, &v1); return v2 / 0x3E8 + 1000000 * v1; }
my_hrtime: PUSH RBP MOV RBP,RSP SUB RSP,0x20 XOR EDI,EDI LEA RSI,[RBP + -0x18] CALL 0x001603c0 IMUL RAX,qword ptr [RBP + -0x18],0xf4240 MOV qword ptr [RBP + -0x20],RAX MOV RAX,qword ptr [RBP + -0x10] MOV ECX,0x3e8 XOR EDX,EDX DIV RCX MOV RCX,RAX MOV RAX,qword ptr [RBP + -0x20] ADD RAX,RCX MOV qword ptr [RBP + -0x8],RAX...
long my_hrtime(void) { timespec local_20; clock_gettime(0,&local_20); return local_20.tv_sec * 1000000 + (ulong)local_20.tv_nsec / 1000; }
32,401
mbedtls_ecp_fix_negative
msxemulator/build_O3/_deps/pico_sdk-src/lib/mbedtls/library/ecp_curves.c
MBEDTLS_STATIC_TESTABLE void mbedtls_ecp_fix_negative(mbedtls_mpi *N, signed char c, size_t bits) { size_t i; /* Set N := 2^bits - 1 - N. We know that 0 <= N < 2^bits, so * set the absolute value to 0xfff...fff - N. There is no carry * since we're subtracting from all-bits-one. */ for (i = 0; i ...
O3
c
mbedtls_ecp_fix_negative: movq %rdx, %rax shrq $0x6, %rax movq 0x10(%rdi), %rcx leaq 0x1(%rax), %r8 xorl %r9d, %r9d notq (%rcx,%r9,8) incq %r9 cmpq %r9, %r8 jne 0x88c30 xorl %r8d, %r8d movq (%rcx,%r8,8), %r9 incq %r9 movq %r9, (%rcx,%r8,8) cmpq %rax, %r8 jae 0x88c57 incq %r8 testq %r9, %r9 je 0x88c3f movsbq %sil, %rsi ...
mbedtls_ecp_fix_negative: mov rax, rdx shr rax, 6 mov rcx, [rdi+10h] lea r8, [rax+1] xor r9d, r9d loc_88C30: not qword ptr [rcx+r9*8] inc r9 cmp r8, r9 jnz short loc_88C30 xor r8d, r8d loc_88C3F: mov r9, [rcx+r8*8] inc r9 mov [rcx+r8*8], r9 cmp r8, rax jnb sho...
unsigned long long mbedtls_ecp_fix_negative(long long a1, char a2, unsigned long long a3) { unsigned long long result; // rax long long v4; // rcx long long v5; // r9 unsigned long long v6; // r8 long long v7; // r9 long long v8; // rsi long long v9; // r8 result = a3 >> 6; v4 = *(_QWORD *)(a1 + 16)...
mbedtls_ecp_fix_negative: MOV RAX,RDX SHR RAX,0x6 MOV RCX,qword ptr [RDI + 0x10] LEA R8,[RAX + 0x1] XOR R9D,R9D LAB_00188c30: NOT qword ptr [RCX + R9*0x8] INC R9 CMP R8,R9 JNZ 0x00188c30 XOR R8D,R8D LAB_00188c3f: MOV R9,qword ptr [RCX + R8*0x8] INC R9 MOV qword ptr [RCX + R8*0x8],R9 CMP R8,RAX JNC 0x00188c57 INC R8 TES...
void mbedtls_ecp_fix_negative(int4 *param_1,char param_2,ulong param_3) { ulong *puVar1; long *plVar2; long lVar3; ulong uVar4; ulong uVar5; long lVar6; uVar4 = param_3 >> 6; lVar3 = *(long *)(param_1 + 4); lVar6 = 0; do { puVar1 = (ulong *)(lVar3 + lVar6 * 8); *puVar1 = ~*puVar1; l...
32,402
my_rw_trywrlock
eloqsql/mysys/thr_rwlock.c
int my_rw_trywrlock(my_rw_lock_t *rwp) { int res; pthread_mutex_lock(&rwp->lock); if (rwp->state) res= EBUSY; /* Can't get lock */ else { res=0; rwp->state = -1; #ifdef SAFE_MUTEX rwp->write_thread= pthread_self(); #endif } pthread_mutex_unlock(&rwp->lock); return(res); }
O0
c
my_rw_trywrlock: pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x2a220 movq -0x8(%rbp), %rax cmpl $0x0, 0x88(%rax) je 0xfa11b movl $0x10, -0xc(%rbp) jmp 0xfa130 movl $0x0, -0xc(%rbp) movq -0x8(%rbp), %rax movl $0xffffffff, 0x88(%rax) # imm = 0xFFFFFFFF movq -0x8(%rbp), %r...
my_rw_trywrlock: push rbp mov rbp, rsp sub rsp, 10h mov [rbp+var_8], rdi mov rdi, [rbp+var_8] call _pthread_mutex_lock mov rax, [rbp+var_8] cmp dword ptr [rax+88h], 0 jz short loc_FA11B mov [rbp+var_C], 10h jmp short loc_FA130 loc_FA11B: mov [rbp+var_C], 0 mov rax, [rb...
long long my_rw_trywrlock(long long a1) { unsigned int v2; // [rsp+4h] [rbp-Ch] pthread_mutex_lock(a1); if ( *(_DWORD *)(a1 + 136) ) { v2 = 16; } else { v2 = 0; *(_DWORD *)(a1 + 136) = -1; } pthread_mutex_unlock(a1); return v2; }
my_rw_trywrlock: PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV RDI,qword ptr [RBP + -0x8] CALL 0x0012a220 MOV RAX,qword ptr [RBP + -0x8] CMP dword ptr [RAX + 0x88],0x0 JZ 0x001fa11b MOV dword ptr [RBP + -0xc],0x10 JMP 0x001fa130 LAB_001fa11b: MOV dword ptr [RBP + -0xc],0x0 MOV RAX,qword ptr [RBP ...
int4 my_rw_trywrlock(pthread_mutex_t *param_1) { int4 local_14; pthread_mutex_lock(param_1); if (*(int *)((long)param_1 + 0x88) == 0) { local_14 = 0; *(int4 *)((long)param_1 + 0x88) = 0xffffffff; } else { local_14 = 0x10; } pthread_mutex_unlock(param_1); return local_14; }
32,403
mysql_fetch_row_cont
eloqsql/libmariadb/libmariadb/mariadb_async.c
int STDCALL mysql_fetch_row_cont(MYSQL_ROW *ret, MYSQL_RES *result, int ready_status) { MK_ASYNC_CONT_BODY( result->handle, NULL, r_ptr) }
O3
c
mysql_fetch_row_cont: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x78(%rsi), %rax movq 0x480(%rax), %rcx movq 0x28(%rcx), %r15 cmpb $0x0, 0x15(%r15) je 0x29774 movb $0x1, 0x14(%r15) movl %edx, 0x4(%r15) leaq 0x38(%r15), %rdi callq 0x2df73 movb $0x0, 0x14(...
mysql_fetch_row_cont: push rbp mov rbp, rsp push r15 push r14 push rbx push rax mov r14, rsi mov rbx, rdi mov rax, [rsi+78h] mov rcx, [rax+480h] mov r15, [rcx+28h] cmp byte ptr [r15+15h], 0 jz short loc_29774 mov byte ptr [r15+14h], 1 mov [r15+4], edx lea rdi,...
long long mysql_fetch_row_cont(_QWORD *a1, long long a2, unsigned int a3) { long long v3; // rax unsigned int *v4; // r15 int v5; // eax unsigned int v6; // r15d long long v7; // r15 v3 = *(_QWORD *)(a2 + 120); v4 = *(unsigned int **)(*(_QWORD *)(v3 + 1152) + 40LL); if ( *((_BYTE *)v4 + 21) ) { ...
mysql_fetch_row_cont: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH RBX PUSH RAX MOV R14,RSI MOV RBX,RDI MOV RAX,qword ptr [RSI + 0x78] MOV RCX,qword ptr [RAX + 0x480] MOV R15,qword ptr [RCX + 0x28] CMP byte ptr [R15 + 0x15],0x0 JZ 0x00129774 MOV byte ptr [R15 + 0x14],0x1 MOV dword ptr [R15 + 0x4],EDX LEA RDI,[R15 + 0x38...
int4 mysql_fetch_row_cont(int8 *param_1,long param_2,int4 param_3) { int4 *puVar1; int iVar2; int4 uVar3; int8 uVar4; puVar1 = *(int4 **)(*(long *)(*(long *)(param_2 + 0x78) + 0x480) + 0x28); if (*(char *)((long)puVar1 + 0x15) == '\0') { *(int4 *)(*(long *)(param_2 + 0x78) + 0x90) = 0x7de; strn...
32,404
init_alloc_root
eloqsql/mysys/my_alloc.c
void init_alloc_root(PSI_memory_key key, MEM_ROOT *mem_root, size_t block_size, size_t pre_alloc_size __attribute__((unused)), myf my_flags) { DBUG_ENTER("init_alloc_root"); DBUG_PRINT("enter",("root: %p prealloc: %zu", mem_root, pre_alloc_size)); mem_root->free= mem_root->used= mem_...
O0
c
init_alloc_root: pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) jmp 0x4271d movq -0x10(%rbp), %rax movq $0x0, 0x10(%rax) movq -0x10(%rbp), %rax movq $0x0, 0x8(%rax) movq -0x10(%rbp), %rax movq $0x0, (%rax) movq...
init_alloc_root: push rbp mov rbp, rsp sub rsp, 30h mov [rbp+var_4], edi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov [rbp+var_20], rcx mov [rbp+var_28], r8 jmp short $+2 loc_4271D: mov rax, [rbp+var_10] mov qword ptr [rax+10h], 0 mov rax, [rbp+var_10] mov qword ptr...
long long init_alloc_root(unsigned int a1, long long *a2, long long a3, long long a4, int a5) { long long result; // rax a2[2] = 0LL; a2[1] = 0LL; *a2 = 0LL; a2[3] = 32LL; a2[4] = (a3 - 40) & 0xFFFFFFFFFFFFFFFELL; if ( (a5 & 0x10000) != 0 ) a2[4] |= 1uLL; a2[6] = 0LL; *((_DWORD *)a2 + 10) = 4; ...
init_alloc_root: PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV dword ptr [RBP + -0x4],EDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV qword ptr [RBP + -0x28],R8 JMP 0x0014271d LAB_0014271d: MOV RAX,qword ptr [RBP + -0x10] MOV qword ptr [RAX + 0x10],0x0 MOV RAX,qword ptr [...
void init_alloc_root(int4 param_1,long *param_2,long param_3,long param_4,ulong param_5) { long lVar1; param_2[2] = 0; param_2[1] = 0; *param_2 = 0; param_2[3] = 0x20; param_2[4] = param_3 - 0x28U & 0xfffffffffffffffe; if ((param_5 & 0x10000) != 0) { param_2[4] = param_2[4] | 1; } param_2[6] ...
32,405
init_alloc_root
eloqsql/mysys/my_alloc.c
void init_alloc_root(PSI_memory_key key, MEM_ROOT *mem_root, size_t block_size, size_t pre_alloc_size __attribute__((unused)), myf my_flags) { DBUG_ENTER("init_alloc_root"); DBUG_PRINT("enter",("root: %p prealloc: %zu", mem_root, pre_alloc_size)); mem_root->free= mem_root->used= mem_...
O3
c
init_alloc_root: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rcx, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rsi) xorl %eax, %eax movq %rax, 0x10(%rsi) movq $0x20, 0x18(%rsi) andq $-0x2, %rdx movl %r8d, %ecx shrl $0x10, %ecx andl $0x1, %ecx addq %rdx, %rcx addq $-0x28, %rcx movq %rcx, 0x20...
init_alloc_root: push rbp mov rbp, rsp push r15 push r14 push rbx push rax mov rbx, rcx xorps xmm0, xmm0 movups xmmword ptr [rsi], xmm0 xor eax, eax mov [rsi+10h], rax mov qword ptr [rsi+18h], 20h ; ' ' and rdx, 0FFFFFFFFFFFFFFFEh mov ecx, r8d shr ecx, 10h and ecx, ...
long long init_alloc_root(unsigned int a1, long long *a2, long long a3, long long a4, unsigned int a5) { long long result; // rax *(_OWORD *)a2 = 0LL; result = 0LL; a2[2] = 0LL; a2[3] = 32LL; a2[4] = (a3 & 0xFFFFFFFFFFFFFFFELL) + (HIWORD(a5) & 1) - 40; a2[6] = 0LL; a2[5] = 4LL; *((_DWORD *)a2 + 14) ...
init_alloc_root: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH RBX PUSH RAX MOV RBX,RCX XORPS XMM0,XMM0 MOVUPS xmmword ptr [RSI],XMM0 XOR EAX,EAX MOV qword ptr [RSI + 0x10],RAX MOV qword ptr [RSI + 0x18],0x20 AND RDX,-0x2 MOV ECX,R8D SHR ECX,0x10 AND ECX,0x1 ADD RCX,RDX ADD RCX,-0x28 MOV qword ptr [RSI + 0x20],RCX MOV qw...
void init_alloc_root(int4 param_1,long *param_2,ulong param_3,long param_4,int8 param_5) { long lVar1; *param_2 = 0; param_2[1] = 0; param_2[2] = 0; param_2[3] = 0x20; param_2[4] = (ulong)((uint)param_5 >> 0x10 & 1) + (param_3 & 0xfffffffffffffffe) + -0x28; param_2[6] = 0; param_2[5] = 4; *(int4 ...
32,406
MergeSegment
seiftnesse[P]memoryallocator/src/custom_alloc_util.c
segment_t *MergeSegment(segment_t *first_segment, segment_t *second_segment) { if (!first_segment || !second_segment) { HEAP_LOG("Merge failed: invalid segments (first=%p, second=%p)\n", first_segment, second_segment); return first_segment; } check_memory_corruption(first_s...
O1
c
MergeSegment: pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x3bb1 movq %rsi, %r14 movq %rbx, %rdi callq 0x4258 movq %r14, %rdi callq 0x4258 leaq 0x45b7(%rip), %rax # 0x8128 cmpq %r14, (%rax) jne 0x3b79 movq %rbx, (%rax) movl 0x4(%r14), %eax a...
MergeSegment: push r14 push rbx push rax mov rbx, rdi test rdi, rdi setz al test rsi, rsi setz cl or cl, al jnz short loc_3BB1 mov r14, rsi mov rdi, rbx call check_memory_corruption mov rdi, r14 call check_memory_corruption lea rax, last_free_segment cmp [rax]...
long long MergeSegment(long long a1, long long a2) { long long v2; // rax if ( a1 != 0 && a2 != 0 ) { check_memory_corruption(a1); check_memory_corruption(a2); if ( last_free_segment == a2 ) last_free_segment = a1; *(_DWORD *)(a1 + 4) += *(_DWORD *)(a2 + 4); *(_QWORD *)(a1 + 8) = *(_QW...
MergeSegment: PUSH R14 PUSH RBX PUSH RAX MOV RBX,RDI TEST RDI,RDI SETZ AL TEST RSI,RSI SETZ CL OR CL,AL JNZ 0x00103bb1 MOV R14,RSI MOV RDI,RBX CALL 0x00104258 MOV RDI,R14 CALL 0x00104258 LEA RAX,[0x108128] CMP qword ptr [RAX],R14 JNZ 0x00103b79 MOV qword ptr [RAX],RBX LAB_00103b79: MOV EAX,dword ptr [R14 + 0x4] ADD dwo...
long MergeSegment(long param_1,long param_2) { if (param_2 != 0 && param_1 != 0) { check_memory_corruption(param_1); check_memory_corruption(param_2); if (last_free_segment == param_2) { last_free_segment = param_1; } *(int *)(param_1 + 4) = *(int *)(param_1 + 4) + *(int *)(param_2 + 4); ...
32,407
MergeSegment
seiftnesse[P]memoryallocator/src/custom_alloc_util.c
segment_t *MergeSegment(segment_t *first_segment, segment_t *second_segment) { if (!first_segment || !second_segment) { HEAP_LOG("Merge failed: invalid segments (first=%p, second=%p)\n", first_segment, second_segment); return first_segment; } check_memory_corruption(first_s...
O3
c
MergeSegment: pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x3ba1 movq %rsi, %r14 movq %rbx, %rdi callq 0x4268 movq %r14, %rdi callq 0x4268 leaq 0x45c3(%rip), %rax # 0x8128 cmpq %r14, (%rax) jne 0x3b6d movq %rbx, (%rax) movl 0x4(%r14), %eax a...
MergeSegment: push r14 push rbx push rax mov rbx, rdi test rdi, rdi setz al test rsi, rsi setz cl or cl, al jnz short loc_3BA1 mov r14, rsi mov rdi, rbx call check_memory_corruption mov rdi, r14 call check_memory_corruption lea rax, last_free_segment cmp [rax]...
long long MergeSegment(long long a1, long long a2) { long long v2; // rax if ( a1 != 0 && a2 != 0 ) { check_memory_corruption(a1); check_memory_corruption(a2); if ( last_free_segment == a2 ) last_free_segment = a1; *(_DWORD *)(a1 + 4) += *(_DWORD *)(a2 + 4); v2 = *(_QWORD *)(a2 + 8); ...
MergeSegment: PUSH R14 PUSH RBX PUSH RAX MOV RBX,RDI TEST RDI,RDI SETZ AL TEST RSI,RSI SETZ CL OR CL,AL JNZ 0x00103ba1 MOV R14,RSI MOV RDI,RBX CALL 0x00104268 MOV RDI,R14 CALL 0x00104268 LEA RAX,[0x108128] CMP qword ptr [RAX],R14 JNZ 0x00103b6d MOV qword ptr [RAX],RBX LAB_00103b6d: MOV EAX,dword ptr [R14 + 0x4] ADD dwo...
long MergeSegment(long param_1,long param_2) { long lVar1; if (param_2 != 0 && param_1 != 0) { check_memory_corruption(param_1); check_memory_corruption(param_2); if (last_free_segment == param_2) { last_free_segment = param_1; } *(int *)(param_1 + 4) = *(int *)(param_1 + 4) + *(int *...
32,408
evmone::instr::core::byte(evmone::StackTop)
corpus-core[P]colibri-stateless/build_O0/_deps/evmone_external-src/lib/evmone/instructions.hpp
inline void byte(StackTop stack) noexcept { const auto& n = stack.pop(); auto& x = stack.top(); const bool n_valid = n < 32; const uint64_t byte_mask = (n_valid ? 0xff : 0); const auto index = 31 - static_cast<unsigned>(n[0] % 32); const auto word = x[index / 8]; const auto byte_index = in...
O0
cpp
evmone::instr::core::byte(evmone::StackTop): pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) leaq -0x8(%rbp), %rdi callq 0x611b0 movq %rax, -0x10(%rbp) leaq -0x8(%rbp), %rdi callq 0x611d0 movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi movl $0x20, -0x20(%rbp) leaq -0x20(%rbp), %rsi callq 0x67660 andb $0...
_ZN6evmone5instr4core4byteENS_8StackTopE: push rbp mov rbp, rsp sub rsp, 70h mov [rbp+var_8], rdi lea rdi, [rbp+var_8]; this call _ZN6evmone8StackTop3popEv; evmone::StackTop::pop(void) mov [rbp+var_10], rax lea rdi, [rbp+var_8]; this call _ZN6evmone8StackTop3topEv; evmone::StackTop::top...
_QWORD * evmone::instr::core::byte(long long a1) { int v1; // eax _QWORD *result; // rax _QWORD v3[4]; // [rsp+8h] [rbp-68h] BYREF unsigned long long v4; // [rsp+28h] [rbp-48h] int v5; // [rsp+34h] [rbp-3Ch] unsigned long long v6; // [rsp+38h] [rbp-38h] unsigned int v7; // [rsp+44h] [rbp-2Ch] long long ...
byte: PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x8],RDI LEA RDI,[RBP + -0x8] CALL 0x001611b0 MOV qword ptr [RBP + -0x10],RAX LEA RDI,[RBP + -0x8] CALL 0x001611d0 MOV qword ptr [RBP + -0x18],RAX MOV RDI,qword ptr [RBP + -0x10] MOV dword ptr [RBP + -0x20],0x20 LEA RSI,[RBP + -0x20] CALL 0x00167660 AND AL,0...
/* evmone::instr::core::byte(evmone::StackTop) */ void evmone::instr::core::byte(int8 param_1) { int iVar1; int8 *puVar2; ulong *puVar3; int8 local_70; int8 local_68; int8 local_60; int8 local_58; ulong local_50; uint local_44; ulong local_40; uint local_34; ulong local_30; int local_28; ...
32,409
my_mb_wc_utf8mb4_no_range
eloqsql/strings/ctype-utf8.c
static int my_mb_wc_utf8mb4_no_range(CHARSET_INFO *cs __attribute__((unused)), my_wc_t *pwc, const uchar *s) { uchar c; c= s[0]; if (c < 0x80) { *pwc = c; return 1; } if (c < 0xc2) return MY_CS_ILSEQ; if (c < 0xe0) { if (!IS_CONTINUATION_BYTE(s[1])) ret...
O0
c
my_mb_wc_utf8mb4_no_range: pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x20(%rbp), %rax movb (%rax), %al movb %al, -0x21(%rbp) movzbl -0x21(%rbp), %eax cmpl $0x80, %eax jge 0x6fe3d movzbl -0x21(%rbp), %eax movl %eax, %ecx movq -0x18(%rbp), %rax movq %rcx, (%rax)...
my_mb_wc_utf8mb4_no_range: push rbp mov rbp, rsp mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_20], rdx mov rax, [rbp+var_20] mov al, [rax] mov [rbp+var_21], al movzx eax, [rbp+var_21] cmp eax, 80h jge short loc_6FE3D movzx eax, [rbp+var_21] mov ecx, eax mov ...
long long my_mb_wc_utf8mb4_no_range(long long a1, unsigned long long *a2, unsigned __int8 *a3) { unsigned __int8 v4; // [rsp+1h] [rbp-21h] v4 = *a3; if ( *a3 >= 0x80u ) { if ( v4 >= 0xC2u ) { if ( v4 >= 0xE0u ) { if ( v4 >= 0xF0u ) { if ( v4 >= 0xF5u ) {...
my_mb_wc_utf8mb4_no_range: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x20],RDX MOV RAX,qword ptr [RBP + -0x20] MOV AL,byte ptr [RAX] MOV byte ptr [RBP + -0x21],AL MOVZX EAX,byte ptr [RBP + -0x21] CMP EAX,0x80 JGE 0x0016fe3d MOVZX EAX,byte ptr [RBP + -0x21...
int4 my_mb_wc_utf8mb4_no_range(int8 param_1,ulong *param_2,byte *param_3) { byte bVar1; int4 local_c; bVar1 = *param_3; if (bVar1 < 0x80) { *param_2 = (ulong)bVar1; local_c = 1; } else if (bVar1 < 0xc2) { local_c = 0; } else if (bVar1 < 0xe0) { if ((param_3[1] ^ 0x80) < 0x40) { ...
32,410
checker_check_rule
alca/libalca/checker.c
int checker_check_rule(ac_checker *checker, ac_statement *stmt, int is_seq_rule) { int ret = TRUE; int line = stmt->u.rule.name->line; checker->current_rule = stmt; if (!is_seq_rule) { // check if rule is already defined if (hashmap_get(checker->env, &(ac_context_env_item){.name = st...
O0
c
checker_check_rule: pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl $0x1, -0x18(%rbp) movq -0x10(%rbp), %rax movq 0x10(%rax), %rax movl 0x10(%rax), %eax movl %eax, -0x1c(%rbp) movq -0x10(%rbp), %rcx movq -0x8(%rbp), %rax movq %rcx, 0x10(%rax) cmpl $0x...
checker_check_rule: push rbp mov rbp, rsp sub rsp, 70h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_14], edx mov [rbp+var_18], 1 mov rax, [rbp+var_10] mov rax, [rax+10h] mov eax, [rax+10h] mov [rbp+var_1C], eax mov rcx, [rbp+var_10] mov rax, [rbp+var_8] mov ...
long long checker_check_rule(long long a1, long long a2, int a3) { _QWORD *v4; // [rsp+0h] [rbp-70h] long long v5; // [rsp+8h] [rbp-68h] BYREF long long v6; // [rsp+10h] [rbp-60h] BYREF int v7; // [rsp+18h] [rbp-58h] int v8; // [rsp+1Ch] [rbp-54h] long long v9; // [rsp+20h] [rbp-50h] long long v10; // [r...
checker_check_rule: PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV dword ptr [RBP + -0x14],EDX MOV dword ptr [RBP + -0x18],0x1 MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX + 0x10] MOV EAX,dword ptr [RAX + 0x10] MOV dword ptr [RBP + -0x1c],EAX MOV RCX,qword...
int4 checker_check_rule(int8 *param_1,long param_2,int param_3) { int iVar1; long lVar2; int8 uVar3; int8 local_70; int8 local_68; int4 local_60; int4 local_5c; int8 local_58; int8 local_50; int8 local_48 [4]; int4 local_24; int4 local_20; int local_1c; long local_18; int8 *local_10; ...
32,411
mi_read_dynamic_record
eloqsql/storage/myisam/mi_dynrec.c
int _mi_read_dynamic_record(MI_INFO *info, my_off_t filepos, uchar *buf) { int block_of_record; uint b_type,UNINIT_VAR(left_length); uchar *UNINIT_VAR(to); MI_BLOCK_INFO block_info; File file; DBUG_ENTER("mi_read_dynamic_record"); if (filepos != HA_OFFSET_ERROR) { file=info->dfile; block_of_rec...
O3
c
mi_read_dynamic_record: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, %r13 movq %fs:0x28, %rax movq %rax, -0x30(%rbp) cmpq $-0x1, %rsi je 0x7934d movq %rsi, %r14 movq %rdx, -0xb8(%rbp) movl 0x1c0(%r13), %r15d leaq -0x88(%rbp), %rax movl $0x0, 0x50(%rax) le...
_mi_read_dynamic_record: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 98h mov r13, rdi mov rax, fs:28h mov [rbp+var_30], rax cmp rsi, 0FFFFFFFFFFFFFFFFh jz loc_7934D mov r14, rsi mov [rbp+var_B8], rdx mov r15d, [r13+1C0h] lea ...
long long mi_read_dynamic_record(_DWORD *a1, unsigned long long a2, const char *a3) { unsigned int v3; // r12d long long v4; // r13 long long v5; // r14 unsigned int v6; // r15d int v7; // ebx unsigned int block_info; // eax bool v9; // cf int v10; // ebx unsigned long long v11; // rdx unsigned int...
_mi_read_dynamic_record: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x98 MOV R13,RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x30],RAX CMP RSI,-0x1 JZ 0x0017934d MOV R14,RSI MOV qword ptr [RBP + -0xb8],RDX MOV R15D,dword ptr [R13 + 0x1c0] LEA RAX,[RBP + -0x88] MOV dword ptr [RAX...
int _mi_read_dynamic_record(long *param_1,long param_2,int8 param_3) { ulong *puVar1; int iVar2; uint uVar3; uint uVar4; long lVar5; long lVar6; int4 *puVar7; uint uVar8; int iVar9; uint uVar10; ulong unaff_R12; ulong __n; long in_FS_OFFSET; bool bVar11; int4 local_9c; void *local_98; ...
32,412
mi_split_page
eloqsql/storage/myisam/mi_write.c
int _mi_split_page(register MI_INFO *info, register MI_KEYDEF *keyinfo, uchar *key, uchar *buff, uchar *key_buff, my_bool insert_last_key) { uint length,a_length,key_ref_length,t_length,nod_flag,key_length; uchar *key_pos,*pos, *UNINIT_VAR(after_key); my_off_t new_pos; MI_KEY_PARAM s_temp; DBUG_ENTE...
O0
c
mi_split_page: pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movb %r9b, %al movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movb %al, -0x31(%rbp) movq -0x68(%rbp), %rax movq %rax, -0x68(%rbp) jmp 0xcc8bf movq -0x10(%rbp), %rax movq (%rax), %rax movq 0x218(...
_mi_split_page: push rbp mov rbp, rsp sub rsp, 0E0h mov al, r9b mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_20], rdx mov [rbp+var_28], rcx mov [rbp+var_30], r8 mov [rbp+var_31], al mov rax, [rbp+var_68] mov [rbp+var_68], rax jmp short $+2 loc_CC8BF: mov ...
long long mi_split_page(_QWORD *a1, long long a2, long long a3, long long a4, unsigned __int8 *a5, char a6) { __int16 v6; // ax _BYTE *v7; // rax __int16 v8; // ax _QWORD *v10; // [rsp+10h] [rbp-D0h] unsigned int v11; // [rsp+1Ch] [rbp-C4h] __int16 v12; // [rsp+26h] [rbp-BAh] __int16 v13; // [rsp+28h] [r...
_mi_split_page: PUSH RBP MOV RBP,RSP SUB RSP,0xe0 MOV AL,R9B MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x20],RDX MOV qword ptr [RBP + -0x28],RCX MOV qword ptr [RBP + -0x30],R8 MOV byte ptr [RBP + -0x31],AL MOV RAX,qword ptr [RBP + -0x68] MOV qword ptr [RBP + -0x68],RAX JMP 0x...
int4 _mi_split_page(long *param_1,long param_2,int8 param_3,byte *param_4,int8 param_5, char param_6) { long *plVar1; short sVar2; int iVar3; int8 uVar4; uint local_cc; int1 local_b8 [64]; long local_78; void *local_70; void *local_68; void *local_60; int1 local_54 [4]; uint loca...
32,413
gguf_get_val_f64
ngxson[P]ggml-easy/ggml/src/gguf.cpp
double gguf_get_val_f64(const struct gguf_context * ctx, int64_t key_id) { GGML_ASSERT(key_id >= 0 && key_id < gguf_get_n_kv(ctx)); GGML_ASSERT(ctx->kv[key_id].get_ne() == 1); return ctx->kv[key_id].get_val<double>(); }
O1
cpp
gguf_get_val_f64: pushq %r14 pushq %rbx pushq %rax testq %rsi, %rsi js 0x3dd63 movq %rdi, %rbx movq 0x8(%rdi), %rdi movq 0x10(%rbx), %rax subq %rdi, %rax sarq $0x3, %rax movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3 imulq %rax, %rcx cmpq %rsi, %rcx jle 0x3dd63 imulq $0x58, %rsi, %r14 addq %r14, %rdi call...
gguf_get_val_f64: push r14 push rbx push rax test rsi, rsi js short loc_3DD63 mov rbx, rdi mov rdi, [rdi+8] mov rax, [rbx+10h] sub rax, rdi sar rax, 3 mov rcx, 2E8BA2E8BA2E8BA3h imul rcx, rax cmp rcx, rsi jle short loc_3DD63 imul r14, rsi, 58h ; 'X' add rdi, r1...
double gguf_get_val_f64(long long a1, long long a2, long long a3, long long a4, int a5, int a6) { long long v7; // rdi const char *v9; // rcx int v10; // esi if ( a2 < 0 || (v7 = *(_QWORD *)(a1 + 8), 0x2E8BA2E8BA2E8BA3LL * ((*(_QWORD *)(a1 + 16) - v7) >> 3) <= a2) ) { v9 = "key_id >= 0 && key_id < gguf_...
gguf_get_val_f64: PUSH R14 PUSH RBX PUSH RAX TEST RSI,RSI JS 0x0013dd63 MOV RBX,RDI MOV RDI,qword ptr [RDI + 0x8] MOV RAX,qword ptr [RBX + 0x10] SUB RAX,RDI SAR RAX,0x3 MOV RCX,0x2e8ba2e8ba2e8ba3 IMUL RCX,RAX CMP RCX,RSI JLE 0x0013dd63 IMUL R14,RSI,0x58 ADD RDI,R14 CALL 0x00116620 CMP RAX,0x1 JNZ 0x0013dd7f ADD R14,qwo...
double gguf_get_val_f64(long param_1,long param_2) { double *pdVar1; long lVar2; char *pcVar3; int8 uVar4; if ((param_2 < 0) || (lVar2 = (*(long *)(param_1 + 0x10) - *(long *)(param_1 + 8) >> 3) * 0x2e8ba2e8ba2e8ba3, lVar2 - param_2 == 0 || lVar2 < param_2)) { pcVar3 = "key_id >= 0 && key_i...
32,414
gguf_get_val_f64
ngxson[P]ggml-easy/ggml/src/gguf.cpp
double gguf_get_val_f64(const struct gguf_context * ctx, int64_t key_id) { GGML_ASSERT(key_id >= 0 && key_id < gguf_get_n_kv(ctx)); GGML_ASSERT(ctx->kv[key_id].get_ne() == 1); return ctx->kv[key_id].get_val<double>(); }
O2
cpp
gguf_get_val_f64: pushq %r14 pushq %rbx pushq %rax testq %rsi, %rsi js 0x3f9a7 movq %rdi, %rbx movq 0x8(%rdi), %rdi movq 0x10(%rbx), %rax subq %rdi, %rax pushq $0x58 popq %rcx cqto idivq %rcx cmpq %rsi, %rax jle 0x3f9a7 imulq $0x58, %rsi, %r14 addq %r14, %rdi callq 0x1c880 cmpq $0x1, %rax jne 0x3f9c3 addq 0x8(%rbx), %r...
gguf_get_val_f64: push r14 push rbx push rax test rsi, rsi js short loc_3F9A7 mov rbx, rdi mov rdi, [rdi+8] mov rax, [rbx+10h] sub rax, rdi push 58h ; 'X' pop rcx cqo idiv rcx cmp rax, rsi jle short loc_3F9A7 imul r14, rsi, 58h ; 'X' add rdi, r14; this call _...
double gguf_get_val_f64( long long a1, long long a2, __m128 a3, __m128 a4, __m128 a5, __m128 a6, __m128 a7, __m128 a8, __m128 a9, __m128 a10, long long a11, long long a12, long long a13, long long a14) { c...
gguf_get_val_f64: PUSH R14 PUSH RBX PUSH RAX TEST RSI,RSI JS 0x0013f9a7 MOV RBX,RDI MOV RDI,qword ptr [RDI + 0x8] MOV RAX,qword ptr [RBX + 0x10] SUB RAX,RDI PUSH 0x58 POP RCX CQO IDIV RCX CMP RAX,RSI JLE 0x0013f9a7 IMUL R14,RSI,0x58 ADD RDI,R14 CALL 0x0011c880 CMP RAX,0x1 JNZ 0x0013f9c3 ADD R14,qword ptr [RBX + 0x8] MO...
double gguf_get_val_f64(long param_1,long param_2) { long lVar1; double *pdVar2; char *pcVar3; int8 uVar4; if (-1 < param_2) { if (param_2 < (*(long *)(param_1 + 0x10) - *(long *)(param_1 + 8)) / 0x58) { lVar1 = gguf_kv::get_ne((gguf_kv *)(*(long *)(param_1 + 8) + param_2 * 0x58)); if (lV...
32,415
nlohmann::json_abi_v3_11_3::detail::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_serializer, std::vect...
monkey531[P]llama/common/./json.hpp
explicit parser(InputAdapterType&& adapter, const parser_callback_t<BasicJsonType> cb = nullptr, const bool allow_exceptions_ = true, const bool skip_comments = false) : callback(cb) , m_lexer(std::move(adapter), skip_comments) , allow_...
O3
cpp
nlohmann::json_abi_v3_11_3::detail::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_serializer, std::vect...
_ZN8nlohmann16json_abi_v3_11_36detail6parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEEC2EOSM_St8functionIFbiNS1_13parse_event_tERSF_EEbb: push rbp pus...
long long nlohmann::json_abi_v3_11_3::detail::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>,nlohmann::json_abi_v3_11_3::detail::itera...
parser: PUSH RBP PUSH R15 PUSH R14 PUSH R12 PUSH RBX MOV R15D,R8D MOV EBP,ECX MOV R12,RSI MOV RBX,RDI MOV RSI,RDX CALL 0x00130b08 MOV dword ptr [RBX + 0x20],0x0 LEA R14,[RBX + 0x28] MOVUPS XMM0,xmmword ptr [R12] MOVUPS xmmword ptr [RBX + 0x28],XMM0 MOV byte ptr [RBX + 0x38],R15B MOV dword ptr [RBX + 0x3c],0xffffffff XO...
/* nlohmann::json_abi_v3_11_3::detail::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::allocator<unsigned cha...
32,416
stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int)
7CodeWizard[P]stablediffusion/thirdparty/stb_image.h
static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate two samples vertically for every one in input int i; STBI_NOTUSED(hs); for (i=0; i < w; ++i) out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2); return out; }
O0
c
stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int): movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq %rdx, -0x18(%rsp) movl %ecx, -0x1c(%rsp) movl %r8d, -0x20(%rsp) movl $0x0, -0x24(%rsp) movl -0x24(%rsp), %eax cmpl -0x1c(%rsp), %eax jge 0x284dd movq -0x10(%rsp), %rax movslq -0x24(%rsp), ...
_ZL22stbi__resample_row_v_2PhS_S_ii: mov [rsp+var_8], rdi mov [rsp+var_10], rsi mov [rsp+var_18], rdx mov [rsp+var_1C], ecx mov [rsp+var_20], r8d mov [rsp+var_24], 0 loc_28490: mov eax, [rsp+var_24] cmp eax, [rsp+var_1C] jge short loc_284DD mov rax, [rsp+var_10] movsxd rcx, [rsp...
unsigned __int8 * stbi__resample_row_v_2( unsigned __int8 *a1, unsigned __int8 *a2, unsigned __int8 *a3, int a4) { int i; // [rsp+0h] [rbp-24h] for ( i = 0; i < a4; ++i ) a1[i] = (a3[i] + 3 * a2[i] + 2) >> 2; return a1; }
stbi__resample_row_v_2: MOV qword ptr [RSP + -0x8],RDI MOV qword ptr [RSP + -0x10],RSI MOV qword ptr [RSP + -0x18],RDX MOV dword ptr [RSP + -0x1c],ECX MOV dword ptr [RSP + -0x20],R8D MOV dword ptr [RSP + -0x24],0x0 LAB_00128490: MOV EAX,dword ptr [RSP + -0x24] CMP EAX,dword ptr [RSP + -0x1c] JGE 0x001284dd MOV RAX,qwor...
/* stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int) */ uchar * stbi__resample_row_v_2(uchar *param_1,uchar *param_2,uchar *param_3,int param_4,int param_5) { int local_24; for (local_24 = 0; local_24 < param_4; local_24 = local_24 + 1) { param_1[local_24] = (uchar)...
32,417
stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int)
7CodeWizard[P]stablediffusion/thirdparty/stb_image.h
static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs) { // need to generate two samples vertically for every one in input int i; STBI_NOTUSED(hs); for (i=0; i < w; ++i) out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2); return out; }
O3
c
stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int): movq %rdi, %rax testl %ecx, %ecx jle 0x2b892 movl %ecx, %ecx xorl %edi, %edi movzbl (%rsi,%rdi), %r8d leal (%r8,%r8,2), %r8d movzbl (%rdx,%rdi), %r9d addl %r9d, %r8d addl $0x2, %r8d shrl $0x2, %r8d movb %r8b, (%rax,%rdi) incq %rdi cmpq %r...
_ZL22stbi__resample_row_v_2PhS_S_ii: mov rax, rdi test ecx, ecx jle short locret_2B892 mov ecx, ecx xor edi, edi loc_2B86D: movzx r8d, byte ptr [rsi+rdi] lea r8d, [r8+r8*2] movzx r9d, byte ptr [rdx+rdi] add r8d, r9d add r8d, 2 shr r8d, 2 mov [rax+rdi], r8b inc rdi cmp ...
unsigned __int8 * stbi__resample_row_v_2( unsigned __int8 *a1, unsigned __int8 *a2, unsigned __int8 *a3, int a4) { unsigned __int8 *result; // rax long long i; // rdi result = a1; if ( a4 > 0 ) { for ( i = 0LL; i != a4; ++i ) result[i] = (a3[i] + 3 * (unsigned int)a2...
32,418
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 0x8479d movq %r14, %rdi movq %rbx, %rsi callq 0x3a920 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_84782: mov r14, rcx cmp rcx, r15 jz short loc_8479D mov rdi, r14 mov rsi, rbx call _ZSteqIcEN9__gnu_c...
bool minja::ArgumentsValue::has_named(long long a1, _QWORD *a2) { _QWORD *v2; // rcx _QWORD *v3; // r15 _QWORD *v4; // r14 bool v5; // al v2 = *(_QWORD **)(a1 + 24); v3 = *(_QWORD **)(a1 + 32); do { v4 = v2; if ( v2 == v3 ) break; v5 = std::operator==<char>(v2, a2); v2 = v4 + 14;...
has_named: PUSH R15 PUSH R14 PUSH RBX MOV RBX,RSI MOV RCX,qword ptr [RDI + 0x18] MOV R15,qword ptr [RDI + 0x20] LAB_00184782: MOV R14,RCX CMP RCX,R15 JZ 0x0018479d MOV RDI,R14 MOV RSI,RBX CALL 0x0013a920 LEA RCX,[R14 + 0x70] TEST AL,AL JZ 0x00184782 LAB_0018479d: 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...
32,419
js_operator_instanceof
bluesky950520[P]quickjs/quickjs.c
static __exception int js_operator_instanceof(JSContext *ctx, JSValue *sp) { JSValue op1, op2; BOOL ret; op1 = sp[-2]; op2 = sp[-1]; ret = JS_IsInstanceOf(ctx, op1, op2); if (ret < 0) return ret; JS_FreeValue(ctx, op1); JS_FreeValue(ctx, op2); sp[-2] = js_bool(ret); retu...
O0
c
js_operator_instanceof: subq $0x58, %rsp movq %rdi, 0x48(%rsp) movq %rsi, 0x40(%rsp) movq 0x40(%rsp), %rax movq -0x20(%rax), %rcx movq %rcx, 0x30(%rsp) movq -0x18(%rax), %rax movq %rax, 0x38(%rsp) movq 0x40(%rsp), %rax movq -0x10(%rax), %rcx movq %rcx, 0x20(%rsp) movq -0x8(%rax), %rax movq %rax, 0x28(%rsp) movq 0x48(%r...
js_operator_instanceof: sub rsp, 58h mov [rsp+58h+var_10], rdi mov [rsp+58h+var_18], rsi mov rax, [rsp+58h+var_18] mov rcx, [rax-20h] mov [rsp+58h+var_28], rcx mov rax, [rax-18h] mov [rsp+58h+var_20], rax mov rax, [rsp+58h+var_18] mov rcx, [rax-10h] mov [rsp+58h+var_38], rcx ...
long long js_operator_instanceof( long long a1, long long a2, __m128 a3, __m128 a4, __m128 a5, __m128 a6, double a7, double a8, __m128 a9, __m128 a10) { long long v10; // rdx int IsInstanceOf; // [rsp+1Ch] [rbp-3Ch] long long v13; //...
js_method_set_properties: SUB RSP,0x78 LEA RAX,[RSP + 0x80] MOV qword ptr [RSP + 0x8],RAX MOV qword ptr [RSP + 0x60],RSI MOV qword ptr [RSP + 0x68],RDX MOV qword ptr [RSP + 0x58],RDI MOV dword ptr [RSP + 0x54],ECX MOV dword ptr [RSP + 0x50],R8D MOV RDI,qword ptr [RSP + 0x58] MOV ESI,dword ptr [RSP + 0x54] CALL 0x001739...
int4 js_method_set_properties (int8 param_1,int8 param_2,int8 param_3,int4 param_4,uint param_5, int8 param_6,int8 param_7,int8 param_8) { int iVar1; int1 auVar2 [16]; int8 local_38; int8 local_30; int4 local_4; auVar2 = js_get_function_name(param_1,param_4); if ((param_5 & 0x800)...
32,420
mysys_namespace::crc32c::crc32c_sse42(unsigned int, char const*, unsigned long)
eloqsql/mysys/crc32/crc32c.cc
USE_SSE42 static uint32_t crc32c_sse42(uint32_t crc, const char* buf, size_t size) { const uint8_t *p = reinterpret_cast<const uint8_t *>(buf); const uint8_t *e = p + size; uint64_t l = crc ^ 0xffffffffu; // Point x at first 16-byte aligned byte in string. This might be // just past the end of the string. ...
O0
cpp
mysys_namespace::crc32c::crc32c_sse42(unsigned int, char const*, unsigned long): pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax addq -0x18(%rbp), %rax movq %rax, -0x28(%rbp) movl -0x4(%r...
_ZN15mysys_namespace6crc32cL12crc32c_sse42EjPKcm: push rbp mov rbp, rsp sub rsp, 50h mov [rbp+var_4], edi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov rax, [rbp+var_10] mov [rbp+var_20], rax mov rax, [rbp+var_20] add rax, [rbp+var_18] mov [rbp+var_28], rax mov eax, [rbp...
unsigned long long mysys_namespace::crc32c::crc32c_sse42( mysys_namespace::crc32c *this, unsigned long long a2, const unsigned __int8 **a3) { unsigned __int8 *v3; // rcx const unsigned __int8 **v4; // rdx unsigned __int8 *v5; // rcx unsigned long long v7; // [rsp+20h] [rbp-30h] BYREF ...
crc32c_sse42: PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV dword ptr [RBP + -0x4],EDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV RAX,qword ptr [RBP + -0x10] MOV qword ptr [RBP + -0x20],RAX MOV RAX,qword ptr [RBP + -0x20] ADD RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x28],RAX MOV EAX,dword ptr...
/* mysys_namespace::crc32c::crc32c_sse42(unsigned int, char const*, unsigned long) */ ulong __thiscall mysys_namespace::crc32c::crc32c_sse42(crc32c *this,uint param_1,char *param_2,ulong param_3) { int4 in_register_00000034; ulong local_38; byte *local_30; byte *local_28; char *local_20; byte *local_18; ...
32,421
js_is_standard_regexp
bluesky950520[P]quickjs/quickjs.c
static int js_is_standard_regexp(JSContext *ctx, JSValue rx) { JSValue val; int res; val = JS_GetProperty(ctx, rx, JS_ATOM_constructor); if (JS_IsException(val)) return -1; // rx.constructor === RegExp res = js_same_value(ctx, val, ctx->regexp_ctor); JS_FreeValue(ctx, val); if (...
O3
c
js_is_standard_regexp: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 movl $0x3d, %ecx movq %rsi, %r8 movq %rdx, %r9 pushq $0x0 pushq $0x0 callq 0x22c0f addq $0x10, %rsp movq %rdx, %rbp movl $0xffffffff, %ebx # imm = 0xFFFFFFFF cmpl $0x...
js_is_standard_regexp: push rbp push r15 push r14 push r13 push r12 push rbx push rax mov r15, rdx mov r12, rsi mov r14, rdi mov ecx, 3Dh ; '=' mov r8, rsi mov r9, rdx push 0 push 0 call JS_GetPropertyInternal2 add rsp, 10h mov rbp, rdx mov ebx, 0FFFFFFF...
long long js_is_standard_regexp(long long a1, long long a2, long long a3) { _DWORD *PropertyInternal2; // rax long long v6; // rdx long long v7; // rbp unsigned int v8; // ebx _QWORD *v9; // r13 int v10; // ebx long long v11; // r8 long long v12; // r9 long long v13; // rdi int v14; // eax long l...
js_is_standard_regexp: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV R15,RDX MOV R12,RSI MOV R14,RDI MOV ECX,0x3d MOV R8,RSI MOV R9,RDX PUSH 0x0 PUSH 0x0 CALL 0x00122c0f ADD RSP,0x10 MOV RBP,RDX MOV EBX,0xffffffff CMP EBP,0x6 JZ 0x0014ce0a MOV R13,RAX MOV RCX,qword ptr [R14 + 0x78] MOV R8,qword ptr...
ulong js_is_standard_regexp(long param_1,int8 param_2,int8 param_3) { int iVar1; int8 uVar2; int iVar3; int *piVar4; ulong uVar5; int1 auVar6 [16]; auVar6 = JS_GetPropertyInternal2(); piVar4 = auVar6._0_8_; uVar5 = 0xffffffff; if (auVar6._8_4_ != 6) { iVar3 = js_same_value(param_1,piVar4,au...
32,422
nlohmann::json_abi_v3_11_3::detail::iteration_proxy<nlohmann::json_abi_v3_11_3::detail::iter_impl<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...
monkey531[P]llama/common/./json.hpp
iteration_proxy_value<IteratorType> end() const noexcept { return iteration_proxy_value<IteratorType>(container->end()); }
O1
cpp
nlohmann::json_abi_v3_11_3::detail::iteration_proxy<nlohmann::json_abi_v3_11_3::detail::iter_impl<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...
_ZNK8nlohmann16json_abi_v3_11_36detail15iteration_proxyINS1_9iter_implINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEEEEE3endEv: push rbx sub rsp, 20h mov rbx, rdi mov rdx, 8000000000000000h mov rax, [rsi] mov ...
long long nlohmann::json_abi_v3_11_3::detail::iteration_proxy<nlohmann::json_abi_v3_11_3::detail::iter_impl<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<unsigne...
end: PUSH RBX SUB RSP,0x20 MOV RBX,RDI MOV RDX,-0x8000000000000000 MOV RAX,qword ptr [RSI] MOV qword ptr [RSP],RAX XORPS XMM0,XMM0 MOVUPS xmmword ptr [RSP + 0x8],XMM0 MOV qword ptr [RSP + 0x18],RDX MOVZX ECX,byte ptr [RAX] CMP ECX,0x2 JZ 0x001e70ac CMP ECX,0x1 JNZ 0x001e70b7 MOV qword ptr [RSP + 0x8],0x0 JMP 0x001e70bc...
/* nlohmann::json_abi_v3_11_3::detail::iteration_proxy<nlohmann::json_abi_v3_11_3::detail::iter_impl<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, st...
32,423
escape_quotes_for_mysql
eloqsql/mysys/charset.c
size_t escape_quotes_for_mysql(CHARSET_INFO *charset_info, char *to, size_t to_length, const char *from, size_t length, my_bool *overflow) { const char *to_start= to; const char *end, *to_end=to_start + (to_length ? to_leng...
O0
c
escape_quotes_for_mysql: pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x38(%rbp) movq -0x38(%rbp), %rax movq %rax, -0x58(%rbp) cmpq $0x0, -0x18(%rbp) j...
escape_quotes_for_mysql: push rbp mov rbp, rsp sub rsp, 60h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov [rbp+var_20], rcx mov [rbp+var_28], r8 mov [rbp+var_30], r9 mov rax, [rbp+var_10] mov [rbp+var_38], rax mov rax, [rbp+var_38] mov [rbp+var_5...
_BYTE * escape_quotes_for_mysql(long long a1, char *a2, long long a3, char *a4, long long a5, _BYTE *a6) { char *v7; // rax char v8; // cl char *v9; // rax _BYTE *v10; // rax char *v11; // rax long long v13; // [rsp+0h] [rbp-60h] int v14; // [rsp+10h] [rbp-50h] char v15; // [rsp+17h] [rbp-49h] unsigne...
escape_quotes_for_mysql: PUSH RBP MOV RBP,RSP SUB RSP,0x60 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 + -0x28],R8 MOV qword ptr [RBP + -0x30],R9 MOV RAX,qword ptr [RBP + -0x10] MOV qword ptr [RBP + -0x38],RAX MOV RAX,...
long escape_quotes_for_mysql (int8 param_1,char *param_2,long param_3,char *param_4,long param_5, int1 *param_6) { char cVar1; char *pcVar2; long local_68; int local_58; char *local_28; char *local_18; if (param_3 == 0) { local_68 = param_5 << 1; } else { loc...
32,424
stbi__compute_transparency16(stbi__png*, unsigned short*, int)
monkey531[P]llama/examples/llava/../../common/stb_image.h
static int stbi__compute_transparency16(stbi__png *z, stbi__uint16 tc[3], int out_n) { stbi__context *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi__uint16 *p = (stbi__uint16*) z->out; // compute color-based transparency, assuming we've // already got 65535 as the alpha value in the ...
O3
c
stbi__compute_transparency16(stbi__png*, unsigned short*, int): imull %esi, %edi cmpl $0x2, %r8d jne 0x3d372 testl %edi, %edi je 0x3d3a7 movl %edi, %eax xorl %esi, %esi movzwl (%rdx,%rsi,4), %edi xorl %r8d, %r8d cmpw (%rcx), %di setne %r8b negl %r8d movw %r8w, 0x2(%rdx,%rsi,4) incq %rsi cmpl %esi, %eax jne 0x3d352 jmp ...
_ZL28stbi__compute_transparency16P9stbi__pngPti: imul edi, esi cmp r8d, 2 jnz short loc_3D372 test edi, edi jz short locret_3D3A7 mov eax, edi xor esi, esi loc_3D352: movzx edi, word ptr [rdx+rsi*4] xor r8d, r8d cmp di, [rcx] setnz r8b neg r8d mov [rdx+rsi*4+2], r8w inc ...
void stbi__compute_transparency16(int a1, int a2, long long a3, _WORD *a4, int a5) { int v5; // edi long long v6; // rsi long long v7; // rsi v5 = a2 * a1; if ( a5 == 2 ) { if ( v5 ) { v6 = 0LL; do { *(_WORD *)(a3 + 4 * v6 + 2) = -(*(_WORD *)(a3 + 4 * v6) != *a4); ...
stbi__compute_transparency16: IMUL EDI,ESI CMP R8D,0x2 JNZ 0x0013d372 TEST EDI,EDI JZ 0x0013d3a7 MOV EAX,EDI XOR ESI,ESI LAB_0013d352: MOVZX EDI,word ptr [RDX + RSI*0x4] XOR R8D,R8D CMP DI,word ptr [RCX] SETNZ R8B NEG R8D MOV word ptr [RDX + RSI*0x4 + 0x2],R8W INC RSI CMP EAX,ESI JNZ 0x0013d352 JMP 0x0013d3a7 LAB_0013d...
/* stbi__compute_transparency16(stbi__png*, unsigned short*, int) */ void stbi__compute_transparency16(stbi__png *param_1,ushort *param_2,int param_3) { short *in_RCX; int4 in_register_00000014; long lVar1; int iVar2; int in_R8D; iVar2 = (int)param_1 * (int)param_2; if (in_R8D == 2) { if (iVar2 ...
32,425
my_xml_scan
eloqsql/strings/xml.c
static int my_xml_scan(MY_XML_PARSER *p,MY_XML_ATTR *a) { int lex; for (; ( p->cur < p->end) && my_xml_is_space(p->cur[0]) ; p->cur++); if (p->cur >= p->end) { a->beg=p->end; a->end=p->end; lex=MY_XML_EOF; goto ret; } a->beg=p->cur; a->end=p->cur; if (!my_xml_parser_prefix_c...
O0
c
my_xml_scan: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq 0x130(%rax), %rcx movq -0x8(%rbp), %rdx xorl %eax, %eax cmpq 0x138(%rdx), %rcx movb %al, -0x15(%rbp) jae 0x77e24 movq -0x8(%rbp), %rax movq 0x130(%rax), %rax movzbl (%rax), %eax movl %eax, %e...
my_xml_scan: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_8], rdi mov [rbp+var_10], rsi loc_77DE0: mov rax, [rbp+var_8] mov rcx, [rax+130h] mov rdx, [rbp+var_8] xor eax, eax cmp rcx, [rdx+138h] mov [rbp+var_15], al jnb short loc_77E24 mov rax, [rbp+var_8] mov ra...
long long my_xml_scan(long long a1, char **a2) { bool v3; // [rsp+9h] [rbp-17h] bool v4; // [rsp+Ah] [rbp-16h] bool v5; // [rsp+Bh] [rbp-15h] while ( 1 ) { v5 = 0; if ( *(_QWORD *)(a1 + 304) < *(_QWORD *)(a1 + 312) ) v5 = (my_xml_ctype[**(unsigned __int8 **)(a1 + 304)] & 8) != 0; if ( !v5 ...
my_xml_scan: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI LAB_00177de0: MOV RAX,qword ptr [RBP + -0x8] MOV RCX,qword ptr [RAX + 0x130] MOV RDX,qword ptr [RBP + -0x8] XOR EAX,EAX CMP RCX,qword ptr [RDX + 0x138] MOV byte ptr [RBP + -0x15],AL JNC 0x00177e24 MOV RAX,qword...
int my_xml_scan(uint *param_1,long *param_2) { char cVar1; char *pcVar2; bool bVar3; int local_1c; while( true ) { bVar3 = false; if (*(ulong *)(param_1 + 0x4c) < *(ulong *)(param_1 + 0x4e)) { bVar3 = (my_xml_ctype[**(byte **)(param_1 + 0x4c)] & 8) != 0; } if (!bVar3) break; *(l...
32,426
unlink_block
eloqsql/storage/maria/ma_pagecache.c
static void unlink_block(PAGECACHE *pagecache, PAGECACHE_BLOCK_LINK *block) { DBUG_ENTER("unlink_block"); DBUG_PRINT("pagecache", ("unlink %p", block)); DBUG_ASSERT(block->next_used != NULL); if (block->next_used == block) { /* The list contains only one member */ pagecache->used_last= pagecache->used...
O0
c
unlink_block: pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) jmp 0x30ede jmp 0x30ee0 jmp 0x30ee2 movq -0x10(%rbp), %rax movq (%rax), %rax cmpq -0x10(%rbp), %rax jne 0x30f0f movq -0x8(%rbp), %rax movq $0x0, 0xc0(%rax) movq -0x8(%rbp), %rax movq $0x0, 0xb8(%rax) jmp 0x30f7e movq -0x10(%rbp), %rax...
unlink_block: push rbp mov rbp, rsp mov [rbp+var_8], rdi mov [rbp+var_10], rsi jmp short $+2 loc_30EDE: jmp short $+2 loc_30EE0: jmp short $+2 loc_30EE2: mov rax, [rbp+var_10] mov rax, [rax] cmp rax, [rbp+var_10] jnz short loc_30F0F mov rax, [rbp+var_8] mov qword ptr [...
_QWORD * unlink_block(long long a1, _QWORD *a2) { _QWORD *result; // rax if ( (_QWORD *)*a2 == a2 ) { *(_QWORD *)(a1 + 192) = 0LL; *(_QWORD *)(a1 + 184) = 0LL; } else { *(_QWORD *)(*a2 + 8LL) = a2[1]; *(_QWORD *)a2[1] = *a2; if ( *(_QWORD **)(a1 + 184) == a2 ) *(_QWORD *)(a1 + 184...
unlink_block: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI JMP 0x00130ede LAB_00130ede: JMP 0x00130ee0 LAB_00130ee0: JMP 0x00130ee2 LAB_00130ee2: MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX] CMP RAX,qword ptr [RBP + -0x10] JNZ 0x00130f0f MOV RAX,qword ptr [RBP + -0x8] M...
void unlink_block(long param_1,long *param_2) { if ((long *)*param_2 == param_2) { *(int8 *)(param_1 + 0xc0) = 0; *(int8 *)(param_1 + 0xb8) = 0; } else { *(long *)(*param_2 + 8) = param_2[1]; *(long *)param_2[1] = *param_2; if (*(long **)(param_1 + 0xb8) == param_2) { *(long *)(param_1...
32,427
unlink_block
eloqsql/storage/maria/ma_pagecache.c
static void unlink_block(PAGECACHE *pagecache, PAGECACHE_BLOCK_LINK *block) { DBUG_ENTER("unlink_block"); DBUG_PRINT("pagecache", ("unlink %p", block)); DBUG_ASSERT(block->next_used != NULL); if (block->next_used == block) { /* The list contains only one member */ pagecache->used_last= pagecache->used...
O3
c
unlink_block: movq (%rsi), %rax cmpq %rsi, %rax je 0x34fae pushq %rbp movq %rsp, %rbp movq 0x8(%rsi), %rcx movq %rcx, 0x8(%rax) movq (%rsi), %rax movq %rax, (%rcx) cmpq %rsi, 0xb8(%rdi) jne 0x34f97 movq 0x8(%rsi), %rax movq %rax, 0xb8(%rdi) cmpq %rsi, 0xc0(%rdi) jne 0x34fab movq 0x8(%rsi), %rax movq %rax, 0xc0(%rdi) po...
unlink_block: mov rax, [rsi] cmp rax, rsi jz short loc_34FAE push rbp mov rbp, rsp mov rcx, [rsi+8] mov [rax+8], rcx mov rax, [rsi] mov [rcx], rax cmp [rdi+0B8h], rsi jnz short loc_34F97 mov rax, [rsi+8] mov [rdi+0B8h], rax loc_34F97: cmp [rdi+0C0h], rsi jnz s...
_QWORD * unlink_block(long long a1, _QWORD *a2) { _QWORD *result; // rax _QWORD *v3; // rcx result = (_QWORD *)*a2; if ( (_QWORD *)*a2 == a2 ) { *(_OWORD *)(a1 + 184) = 0LL; } else { v3 = (_QWORD *)a2[1]; result[1] = v3; result = (_QWORD *)*a2; *v3 = *a2; if ( *(_QWORD **)(a1 + ...
unlink_block: MOV RAX,qword ptr [RSI] CMP RAX,RSI JZ 0x00134fae PUSH RBP MOV RBP,RSP MOV RCX,qword ptr [RSI + 0x8] MOV qword ptr [RAX + 0x8],RCX MOV RAX,qword ptr [RSI] MOV qword ptr [RCX],RAX CMP qword ptr [RDI + 0xb8],RSI JNZ 0x00134f97 MOV RAX,qword ptr [RSI + 0x8] MOV qword ptr [RDI + 0xb8],RAX LAB_00134f97: CMP qw...
void unlink_block(long param_1,int8 *param_2) { int8 *puVar1; if ((int8 *)*param_2 == param_2) { *(int8 *)(param_1 + 0xb8) = 0; *(int8 *)(param_1 + 0xc0) = 0; } else { puVar1 = (int8 *)param_2[1]; ((int8 *)*param_2)[1] = puVar1; *puVar1 = *param_2; if (*(int8 **)(param_1 + 0xb8) == ...
32,428
my_hash_sort_8bit_bin
eloqsql/strings/ctype-bin.c
void my_hash_sort_8bit_bin(CHARSET_INFO *cs __attribute__((unused)), const uchar *key, size_t len, ulong *nr1, ulong *nr2) { /* Remove trailing spaces. We have to do this to be able to compare 'A ' and 'A' as identical */ const uchar *end= skip_traili...
O3
c
my_hash_sort_8bit_bin: pushq %rbp movq %rsp, %rbp leaq (%rsi,%rdx), %r9 cmpq $0x15, %rdx jb 0xb30e4 movq %r9, %rdi andq $-0x4, %rdi cmpq %rsi, %rdi jbe 0xb30e4 leaq 0x3(%rsi), %rdx andq $-0x4, %rdx movq %r9, %rax movb -0x1(%r9), %r10b cmpq %rdi, %r9 jbe 0xb3144 leaq -0x1(%rax), %r9 cmpb $0x20, %r10b je 0xb30cc jmp 0xb3...
my_hash_sort_8bit_bin: push rbp mov rbp, rsp lea r9, [rsi+rdx] cmp rdx, 15h jb short loc_B30E4 mov rdi, r9 and rdi, 0FFFFFFFFFFFFFFFCh cmp rdi, rsi jbe short loc_B30E4 lea rdx, [rsi+3] and rdx, 0FFFFFFFFFFFFFFFCh loc_B30CC: mov rax, r9 mov r10b, [r9-1] cmp r9, rdi...
long long my_hash_sort_8bit_bin( 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; // rdi unsigned long long v7; // rdx unsigned __int8 *v8; // rax char v9; // r10 long long v...
my_hash_sort_8bit_bin: PUSH RBP MOV RBP,RSP LEA R9,[RSI + RDX*0x1] CMP RDX,0x15 JC 0x001b30e4 MOV RDI,R9 AND RDI,-0x4 CMP RDI,RSI JBE 0x001b30e4 LEA RDX,[RSI + 0x3] AND RDX,-0x4 LAB_001b30cc: MOV RAX,R9 MOV R10B,byte ptr [R9 + -0x1] CMP R9,RDI JBE 0x001b3144 LEA R9,[RAX + -0x1] CMP R10B,0x20 JZ 0x001b30cc JMP 0x001b30e...
void my_hash_sort_8bit_bin (int8 param_1,byte *param_2,ulong param_3,ulong *param_4,long *param_5) { byte *pbVar1; byte *pbVar2; ulong uVar3; byte *pbVar4; long lVar5; long lVar6; pbVar2 = param_2 + param_3; if ((0x14 < param_3) && (pbVar4 = (byte *)((ulong)pbVar2 & 0xfffffffffffffff...
32,429
google::protobuf::MapValueConstRef::GetUInt64Value() const
aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/map_field.h
uint64_t GetUInt64Value() const { TYPE_CHECK(FieldDescriptor::CPPTYPE_UINT64, "MapValueConstRef::GetUInt64Value"); return *reinterpret_cast<uint64_t*>(data_); }
O3
c
google::protobuf::MapValueConstRef::GetUInt64Value() const: pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdi, %rbx callq 0x6ef02 cmpl $0x4, %eax je 0x74afd leaq 0x45ba6(%rip), %rdx # 0xba5ef leaq 0x8(%rsp), %r14 movq %r14, %rdi movl $0x3, %esi movl $0x2cb, %ecx # imm = 0x2CB callq 0x169ca leaq...
_ZNK6google8protobuf16MapValueConstRef14GetUInt64ValueEv: push r15 push r14 push rbx sub rsp, 40h mov rbx, rdi call _ZNK6google8protobuf16MapValueConstRef4typeEv; google::protobuf::MapValueConstRef::type(void) cmp eax, 4 jz loc_74AFD lea rdx, aWorkspaceLlm4b_10; "/workspace/llm4binary/g...
long long google::protobuf::MapValueConstRef::GetUInt64Value(google::protobuf::MapValueConstRef *this) { long long v1; // rax long long v2; // rax long long v3; // rax long long v4; // rax long long v5; // rax long long v6; // rax long long v7; // r14 int v8; // eax google::protobuf::internal::LogMes...
GetUInt64Value: PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x40 MOV RBX,RDI CALL 0x0016ef02 CMP EAX,0x4 JZ 0x00174afd LEA RDX,[0x1ba5ef] LEA R14,[RSP + 0x8] MOV RDI,R14 MOV ESI,0x3 MOV ECX,0x2cb CALL 0x001169ca LAB_00174a60: LEA RSI,[0x1ba654] MOV RDI,R14 CALL 0x001164c8 LEA RSI,[0x1bb169] MOV RDI,RAX CALL 0x001164c8 LEA RSI,[...
/* google::protobuf::MapValueConstRef::GetUInt64Value() const */ int8 __thiscall google::protobuf::MapValueConstRef::GetUInt64Value(MapValueConstRef *this) { int iVar1; uint uVar2; LogMessage *pLVar3; LogFinisher local_51; LogMessage local_50 [56]; iVar1 = type(this); if (iVar1 != 4) { internal:...
32,430
LefDefParser::lefwMacroPinAntennaGateArea(double, char const*)
Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefwWriter.cpp
int lefwMacroPinAntennaGateArea(double value, const char *layerName) { lefw54Num = LEFW_ANTENNAGATEAREA; if (!lefwFile) return LEFW_UNINITIALIZED; if (!lefwDidInit) return LEFW_BAD_ORDER; if (!lefwIsMacroPin) return LEFW_BAD_ORDER; if (versio...
O0
cpp
LefDefParser::lefwMacroPinAntennaGateArea(double, char const*): subq $0x18, %rsp movsd %xmm0, 0x8(%rsp) movq %rdi, (%rsp) movl $0x75, 0xfcc4(%rip) # 0x32d4c leaq 0xfd71(%rip), %rax # 0x32e00 cmpq $0x0, (%rax) jne 0x230a2 movl $0x1, 0x14(%rsp) jmp 0x231fa leaq 0xffab(%rip), %rax # 0x33054 cmpl $0x0, (%rax)...
_ZN12LefDefParser27lefwMacroPinAntennaGateAreaEdPKc: sub rsp, 18h movsd [rsp+18h+var_10], xmm0 mov [rsp+18h+var_18], rdi mov cs:_ZN12LefDefParserL9lefw54NumE, 75h ; 'u'; LefDefParser::lefw54Num lea rax, _ZN12LefDefParser8lefwFileE; LefDefParser::lefwFile cmp qword ptr [rax], 0 jnz short loc_23...
long long LefDefParser::lefwMacroPinAntennaGateArea( LefDefParser *this, double a2, const char *a3, int a4, int a5, int a6, int a7) { int v7; // edx int v8; // ecx int v9; // r8d int v10; // r9d LefDefParser::lefw54Num = 117; if ( *(_QWORD *)&LefDefP...
lefwMacroPinAntennaGateArea: SUB RSP,0x18 MOVSD qword ptr [RSP + 0x8],XMM0 MOV qword ptr [RSP],RDI MOV dword ptr [0x00132d4c],0x75 LEA RAX,[0x132e00] CMP qword ptr [RAX],0x0 JNZ 0x001230a2 MOV dword ptr [RSP + 0x14],0x1 JMP 0x001231fa LAB_001230a2: LEA RAX,[0x133054] CMP dword ptr [RAX],0x0 JNZ 0x001230bb MOV dword ptr...
/* LefDefParser::lefwMacroPinAntennaGateArea(double, char const*) */ int4 LefDefParser::lefwMacroPinAntennaGateArea(double param_1,char *param_2) { int4 local_4; lefw54Num = 0x75; if (lefwFile == (_IO_FILE *)0x0) { local_4 = 1; } else if (lefwDidInit == 0) { local_4 = 2; } else if (lefwIsMac...
32,431
minja::ArrayExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const
monkey531[P]llama/common/minja.hpp
Value do_evaluate(const std::shared_ptr<Context> & context) const override { auto result = Value::array(); for (const auto& e : elements) { if (!e) throw std::runtime_error("Array element is null"); result.push_back(e->evaluate(context)); } return result; }
O2
cpp
minja::ArrayExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const: pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx xorps %xmm0, %xmm0 movq %rsp, %rsi movaps %xmm0, (%rsi) andq $0x0, 0x10(%rsi) callq 0x69c54 movq %rsp, %rdi callq 0x69466 m...
_ZNK5minja9ArrayExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE: push r15 push r14 push r13 push r12 push rbx sub rsp, 70h mov r14, rdx mov r15, rsi mov rbx, rdi xorps xmm0, xmm0 mov rsi, rsp movaps xmmword ptr [rsi], xmm0 and qword ptr [rsi+10h], 0 call _ZN5minja5Value5arr...
minja::Value * minja::ArrayExpr::do_evaluate(minja::Value *this, long long a2, int a3, int a4, int a5, int a6) { void (****v6)(void); // r12 void (****v7)(void); // r13 std::runtime_error *exception; // r15 _BYTE v10[32]; // [rsp+0h] [rbp-98h] BYREF _BYTE v11[120]; // [rsp+20h] [rbp-78h] BYREF minja::Value...
do_evaluate: PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x70 MOV R14,RDX MOV R15,RSI MOV RBX,RDI XORPS XMM0,XMM0 MOV RSI,RSP MOVAPS xmmword ptr [RSI],XMM0 AND qword ptr [RSI + 0x10],0x0 LAB_00169b4e: CALL 0x00169c54 MOV RDI,RSP CALL 0x00169466 MOV R12,qword ptr [R15 + 0x20] MOV R13,qword ptr [R15 + 0x28] LEA ...
/* minja::ArrayExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */ ArrayExpr * __thiscall minja::ArrayExpr::do_evaluate(ArrayExpr *this,shared_ptr *param_1) { int8 *puVar1; runtime_error *this_00; int8 *puVar2; int8 local_98; int8 uStack_90; int8 local_88; Expression local_78 [80]; ...
32,432
fmt::v10::appender fmt::v10::detail::fill<fmt::v10::appender, char>(fmt::v10::appender, unsigned long, fmt::v10::detail::fill_t<char> const&)
AlayaLite/build_O0/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h
FMT_NOINLINE FMT_CONSTEXPR auto fill(OutputIt it, size_t n, const fill_t<Char>& fill) -> OutputIt { auto fill_size = fill.size(); if (fill_size == 1) return detail::fill_n(it, n, fill[0]); auto data = fill.data(); for (size_t i = 0; i < n; ++i) it = copy_str<Char>(data, ...
O0
c
fmt::v10::appender fmt::v10::detail::fill<fmt::v10::appender, char>(fmt::v10::appender, unsigned long, fmt::v10::detail::fill_t<char> const&): subq $0x58, %rsp movq %rdi, 0x48(%rsp) movq %rsi, 0x40(%rsp) movq %rdx, 0x38(%rsp) movq 0x38(%rsp), %rdi callq 0x988a0 movq %rax, 0x30(%rsp) cmpq $0x1, 0x30(%rsp) jne 0x98913 mo...
_ZN3fmt3v106detail4fillINS0_8appenderEcEET_S4_mRKNS1_6fill_tIT0_EE: sub rsp, 58h mov [rsp+58h+var_10], rdi mov [rsp+58h+var_18], rsi mov [rsp+58h+var_20], rdx mov rdi, [rsp+58h+var_20] call _ZNK3fmt3v106detail6fill_tIcE4sizeEv; fmt::v10::detail::fill_t<char>::size(void) mov [rsp+58h+var_28], ...
long long fmt::v10::detail::fill<fmt::v10::appender,char>(long long a1, unsigned long long a2, long long a3) { long long v3; // rax unsigned long long i; // [rsp+18h] [rbp-40h] long long v6; // [rsp+20h] [rbp-38h] long long v7; // [rsp+30h] [rbp-28h] long long v9; // [rsp+48h] [rbp-10h] v9 = a1; v7 = fm...
fill<fmt::v10::appender,char>: SUB RSP,0x58 MOV qword ptr [RSP + 0x48],RDI MOV qword ptr [RSP + 0x40],RSI MOV qword ptr [RSP + 0x38],RDX MOV RDI,qword ptr [RSP + 0x38] CALL 0x001988a0 MOV qword ptr [RSP + 0x30],RAX CMP qword ptr [RSP + 0x30],0x1 JNZ 0x00198913 MOV RAX,qword ptr [RSP + 0x48] MOV qword ptr [RSP + 0x28],R...
/* fmt::v10::appender fmt::v10::detail::fill<fmt::v10::appender, char>(fmt::v10::appender, unsigned long, fmt::v10::detail::fill_t<char> const&) */ int8 fmt::v10::detail::fill<fmt::v10::appender,char> (int8 param_1,ulong param_2,fill_t<char> *param_3) { long lVar1; int8 uVar2; long lVar3; int8 l...
32,433
alloc_root
eloqsql/mysys/my_alloc.c
void *alloc_root(MEM_ROOT *mem_root, size_t length) { #if defined(HAVE_valgrind) && defined(EXTRA_DEBUG) reg1 USED_MEM *next; DBUG_ENTER("alloc_root"); DBUG_PRINT("enter",("root: %p", mem_root)); DBUG_ASSERT(alloc_root_inited(mem_root)); DBUG_EXECUTE_IF("simulate_out_of_memory", { ...
O0
c
alloc_root: pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq $0x0, -0x38(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x48(%rbp) jmp 0x339f2 jmp 0x339f4 jmp 0x339f6 jmp 0x339f8 jmp 0x339fa movq -0x18(%rbp), %rax addq $0x8, %rax subq $0x1, %rax andq $-0x8, %rax addq $0x0, %rax m...
alloc_root: push rbp mov rbp, rsp sub rsp, 60h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_38], 0 mov rax, [rbp+var_18] mov [rbp+var_48], rax jmp short $+2 loc_339F2: jmp short $+2 loc_339F4: jmp short $+2 loc_339F6: jmp short $+2 loc_339F8: jmp short $+2 ...
char * alloc_root(_QWORD **a1, long long a2) { unsigned int v2; // eax unsigned int v3; // edi unsigned int v4; // eax unsigned long long v5; // rax unsigned long long v7; // [rsp+8h] [rbp-58h] bool v8; // [rsp+17h] [rbp-49h] _QWORD *v9; // [rsp+20h] [rbp-40h] _QWORD *i; // [rsp+28h] [rbp-38h] _QWORD ...
alloc_root: PUSH RBP MOV RBP,RSP SUB RSP,0x60 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x38],0x0 MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x48],RAX JMP 0x001339f2 LAB_001339f2: JMP 0x001339f4 LAB_001339f4: JMP 0x001339f6 LAB_001339f6: JMP 0x001339f8 LAB_001339f8...
long alloc_root(long *param_1,long param_2) { long *plVar1; long lVar2; long lVar3; long lVar4; uint uVar5; ulong uVar6; bool bVar7; ulong local_60; long *local_48; long *local_40; local_40 = (long *)0x0; uVar6 = param_2 + 7U & 0xfffffffffffffff8; local_48 = param_1; if (*param_1 != 0) ...
32,434
translog_read_record
eloqsql/storage/maria/ma_loghandler.c
translog_size_t translog_read_record(LSN lsn, translog_size_t offset, translog_size_t length, uchar *buffer, TRANSLOG_READER_DATA *data) { translog_size_t requested_lengt...
O0
c
translog_read_record: pushq %rbp movq %rsp, %rbp subq $0x24d0, %rsp # imm = 0x24D0 movq %fs:0x28, %rax movq %rax, -0x8(%rbp) movq %rdi, -0x2498(%rbp) movl %esi, -0x249c(%rbp) movl %edx, -0x24a0(%rbp) movq %rcx, -0x24a8(%rbp) movq %r8, -0x24b0(%rbp) movl -0x24a0(%rbp), %eax movl %eax, -0x24b4(%rbp) movl -0x249...
translog_read_record: push rbp mov rbp, rsp sub rsp, 24D0h mov rax, fs:28h mov [rbp+var_8], rax mov [rbp+var_2498], rdi mov [rbp+var_249C], esi mov [rbp+var_24A0], edx mov [rbp+var_24A8], rcx mov [rbp+var_24B0], r8 mov eax, [rbp+var_24A0] mov [rbp+var_24B4], eax mov ea...
long long translog_read_record(long long a1, unsigned int a2, unsigned int a3, long long a4, char *a5) { __int16 v6; // [rsp+8h] [rbp-24C8h] unsigned int v7; // [rsp+Ch] [rbp-24C4h] unsigned int v8; // [rsp+10h] [rbp-24C0h] unsigned __int16 v9; // [rsp+16h] [rbp-24BAh] unsigned int v10; // [rsp+18h] [rbp-24B...
translog_read_record: PUSH RBP MOV RBP,RSP SUB RSP,0x24d0 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX MOV qword ptr [RBP + -0x2498],RDI MOV dword ptr [RBP + -0x249c],ESI MOV dword ptr [RBP + -0x24a0],EDX MOV qword ptr [RBP + -0x24a8],RCX MOV qword ptr [RBP + -0x24b0],R8 MOV EAX,dword ptr [RBP + -0x24a0] ...
uint translog_read_record(long param_1,uint param_2,uint param_3,void *param_4,int1 *param_5) { char cVar1; ushort uVar2; long in_FS_OFFSET; uint local_24d0; uint local_24cc; int1 *local_24b8; void *local_24b0; uint local_24a8; uint local_24a4; uint local_2494; int1 local_2490 [9344]; long loc...
32,435
parse_digits
bluesky950520[P]quickjs/libregexp.c
static int parse_digits(const uint8_t **pp, BOOL allow_overflow) { const uint8_t *p; uint64_t v; int c; p = *pp; v = 0; for(;;) { c = *p; if (c < '0' || c > '9') break; v = v * 10 + c - '0'; if (v >= INT32_MAX) { if (allow_overflow) ...
O2
c
parse_digits: movq (%rdi), %rcx xorl %edx, %edx pushq $-0x1 popq %rax movl $0x7fffffff, %r8d # imm = 0x7FFFFFFF movzbl (%rcx), %r9d leal -0x3a(%r9), %r10d cmpb $-0xa, %r10b jb 0x7e2e5 testl %esi, %esi sete %r10b imulq $0xa, %rdx, %rdx addq %r9, %rdx addq $-0x30, %rdx cmpq $0x7fffffff, %rdx # imm = 0x7FFFFFF...
parse_digits: mov rcx, [rdi] xor edx, edx push 0FFFFFFFFFFFFFFFFh pop rax mov r8d, 7FFFFFFFh loc_7E2AA: movzx r9d, byte ptr [rcx] lea r10d, [r9-3Ah] cmp r10b, 0F6h jb short loc_7E2E5 test esi, esi setz r10b imul rdx, 0Ah add rdx, r9 add rdx, 0FFFFFFFFFFFFFFD0h cmp ...
long long parse_digits(unsigned __int8 **a1, int a2) { unsigned __int8 *v2; // rcx unsigned long long v3; // rdx long long result; // rax long long v5; // r9 v2 = *a1; v3 = 0LL; result = -1LL; while ( 1 ) { v5 = *v2; if ( (unsigned __int8)(v5 - 58) < 0xF6u ) break; v3 = v5 + 10 * v...
parse_digits: MOV RCX,qword ptr [RDI] XOR EDX,EDX PUSH -0x1 POP RAX MOV R8D,0x7fffffff LAB_0017e2aa: MOVZX R9D,byte ptr [RCX] LEA R10D,[R9 + -0x3a] CMP R10B,0xf6 JC 0x0017e2e5 TEST ESI,ESI SETZ R10B IMUL RDX,RDX,0xa ADD RDX,R9 ADD RDX,-0x30 CMP RDX,0x7fffffff SETNC R9B TEST R9B,R10B JNZ 0x0017e2ea CMP RDX,R8 CMOVNC RDX...
ulong parse_digits(int8 *param_1,int param_2) { byte *pbVar1; ulong uVar2; pbVar1 = (byte *)*param_1; uVar2 = 0; while( true ) { if ((byte)(*pbVar1 - 0x3a) < 0xf6) { *param_1 = pbVar1; return uVar2 & 0xffffffff; } uVar2 = (uVar2 * 10 + (ulong)*pbVar1) - 0x30; if (0x7ffffffe < ...
32,436
my_dir
eloqsql/mysys/my_lib.c
MY_DIR *my_dir(const char *path, myf MyFlags) { MY_DIR_HANDLE *dirh; FILEINFO finfo; DIR *dirp; struct dirent *dp; char tmp_path[FN_REFLEN + 2], *tmp_file; char dirent_tmp[sizeof(struct dirent)+_POSIX_PATH_MAX+1]; DBUG_ENTER("my_dir"); DBUG_PRINT("my",("path: '%s' MyFlags: %lu",path,MyFlags)); ...
O3
c
my_dir: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x2e8, %rsp # imm = 0x2E8 movq %rdi, %r14 movq %fs:0x28, %rax movq %rax, -0x30(%rbp) cmpb $0x0, (%rdi) movq %rsi, %r15 leaq 0x3cf6e(%rip), %rsi # 0xdd690 cmovneq %rdi, %rsi leaq -0x240(%rbp), %rdi movl $0x201,...
my_dir: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 2E8h mov r14, rdi mov rax, fs:28h mov [rbp+var_30], rax cmp byte ptr [rdi], 0 mov r15, rsi lea rsi, asc_DD68F+1; "." cmovnz rsi, rdi lea rdi, [rbp+var_240] mov edx, 201h call ...
long long my_dir(const char *a1, long long a2) { const char *v2; // r14 const char *v4; // rsi char *v5; // rax char *v6; // r12 _BYTE *v7; // rdi long long v8; // rax _BYTE *v9; // r13 long long v10; // rax long long v11; // r15 long long v12; // rbx int v13; // ebx unsigned int *v14; // rax ...
my_dir: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x2e8 MOV R14,RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x30],RAX CMP byte ptr [RDI],0x0 MOV R15,RSI LEA RSI,[0x1dd690] CMOVNZ RSI,RDI LEA RDI,[RBP + -0x240] MOV EDX,0x201 CALL 0x001d8134 MOV R12,RAX CMP byte ptr [RAX + -0x1],...
int8 * my_dir(char *param_1,ulong param_2) { int iVar1; ulong uVar2; char cVar3; char *pcVar4; DIR *__dirp; int8 *puVar5; int *piVar6; int4 *puVar7; dirent64 *pdVar8; long lVar9; int1 *__s; long in_FS_OFFSET; int1 local_310 [25]; byte local_2f7; long local_280; long local_278; char *...
32,437
my_xml_scan
eloqsql/strings/xml.c
static int my_xml_scan(MY_XML_PARSER *p,MY_XML_ATTR *a) { int lex; for (; ( p->cur < p->end) && my_xml_is_space(p->cur[0]) ; p->cur++); if (p->cur >= p->end) { a->beg=p->end; a->end=p->end; lex=MY_XML_EOF; goto ret; } a->beg=p->cur; a->end=p->cur; if (!my_xml_parser_prefix_c...
O0
c
my_xml_scan: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq 0x130(%rax), %rcx movq -0x8(%rbp), %rdx xorl %eax, %eax cmpq 0x138(%rdx), %rcx movb %al, -0x15(%rbp) jae 0x79644 movq -0x8(%rbp), %rax movq 0x130(%rax), %rax movzbl (%rax), %eax movl %eax, %e...
my_xml_scan: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_8], rdi mov [rbp+var_10], rsi loc_79600: mov rax, [rbp+var_8] mov rcx, [rax+130h] mov rdx, [rbp+var_8] xor eax, eax cmp rcx, [rdx+138h] mov [rbp+var_15], al jnb short loc_79644 mov rax, [rbp+var_8] mov ra...
long long my_xml_scan(long long a1, char **a2) { bool v3; // [rsp+9h] [rbp-17h] bool v4; // [rsp+Ah] [rbp-16h] bool v5; // [rsp+Bh] [rbp-15h] while ( 1 ) { v5 = 0; if ( *(_QWORD *)(a1 + 304) < *(_QWORD *)(a1 + 312) ) v5 = (my_xml_ctype[**(unsigned __int8 **)(a1 + 304)] & 8) != 0; if ( !v5 ...
my_xml_scan: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI LAB_00179600: MOV RAX,qword ptr [RBP + -0x8] MOV RCX,qword ptr [RAX + 0x130] MOV RDX,qword ptr [RBP + -0x8] XOR EAX,EAX CMP RCX,qword ptr [RDX + 0x138] MOV byte ptr [RBP + -0x15],AL JNC 0x00179644 MOV RAX,qword...
int my_xml_scan(uint *param_1,long *param_2) { char cVar1; char *pcVar2; bool bVar3; int local_1c; while( true ) { bVar3 = false; if (*(ulong *)(param_1 + 0x4c) < *(ulong *)(param_1 + 0x4e)) { bVar3 = (my_xml_ctype[**(byte **)(param_1 + 0x4c)] & 8) != 0; } if (!bVar3) break; *(l...
32,438
translog_put_sector_protection
eloqsql/storage/maria/ma_loghandler.c
static void translog_put_sector_protection(uchar *page, struct st_buffer_cursor *cursor) { uchar *table= page + log_descriptor.page_overhead - TRANSLOG_PAGE_SIZE / DISK_DRIVE_SECTOR_SIZE; uint i, offset; uint16 last_protected_sector= ((cursor->previous_offset - 1) / ...
O0
c
translog_put_sector_protection: pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movzwl 0x44a7cd(%rip), %ecx # 0x483f74 movslq %ecx, %rcx addq %rcx, %rax addq $-0x10, %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rax movzwl 0x34(%rax), %eax subl $0x1, %eax shrl $0x9, %ea...
translog_put_sector_protection: push rbp mov rbp, rsp mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov rax, [rbp+var_8] movzx ecx, cs:word_483F74 movsxd rcx, ecx add rax, rcx add rax, 0FFFFFFFFFFFFFFF0h mov [rbp+var_18], rax mov rax, [rbp+var_10] movzx eax, word ptr [rax+34h] sub ...
long long translog_put_sector_protection(long long a1, long long a2) { long long result; // rax char v3; // [rsp+1h] [rbp-25h] unsigned __int16 v4; // [rsp+2h] [rbp-24h] unsigned __int16 v5; // [rsp+4h] [rbp-22h] unsigned int v6; // [rsp+6h] [rbp-20h] unsigned int v7; // [rsp+Ah] [rbp-1Ch] _BYTE *v8; // ...
translog_put_sector_protection: PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x8] MOVZX ECX,word ptr [0x00583f74] MOVSXD RCX,ECX ADD RAX,RCX ADD RAX,-0x10 MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x10] MOVZX EAX,word ptr [RAX + 0x34] SUB ...
void translog_put_sector_protection(long param_1,long param_2) { char cVar1; int2 uVar2; uint uVar3; uint uVar4; char *pcVar5; ushort local_2c; uint local_28; uint local_24; pcVar5 = (char *)(param_1 + (int)(uint)DAT_00583f74 + -0x10); uVar3 = *(ushort *)(param_2 + 0x34) - 1 >> 9; local_2c = ...
32,439
inline_mysql_file_close
eloqsql/include/mysql/psi/mysql_file.h
static inline int inline_mysql_file_close( #ifdef HAVE_PSI_FILE_INTERFACE const char *src_file, uint src_line, #endif File file, myf flags) { int result; #ifdef HAVE_PSI_FILE_INTERFACE struct PSI_file_locker *locker; PSI_file_locker_state state; locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&stat...
O3
c
inline_mysql_file_close: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x58, %rsp movl %esi, %ebx movl %edi, %r14d leaq 0x32d71a(%rip), %rax # 0x38f258 movq (%rax), %rax leaq -0x68(%rbp), %rdi movl $0x4, %edx callq *0x158(%rax) testq %rax, %rax jne 0x61b69 movl %ebx, %edi xorl %esi, %esi callq 0x...
inline_mysql_file_close_0: push rbp mov rbp, rsp push r15 push r14 push rbx sub rsp, 58h mov ebx, esi mov r14d, edi lea rax, PSI_server mov rax, [rax] lea rdi, [rbp+var_68] mov edx, 4 call qword ptr [rax+158h] test rax, rax jnz short loc_61B69 mov edi, ebx xor ...
long long inline_mysql_file_close_0(unsigned int a1, long long a2) { long long v2; // rax _BYTE v4[76]; // [rsp+8h] [rbp-68h] BYREF unsigned int v5[7]; // [rsp+54h] [rbp-1Ch] BYREF v2 = ((long long ( *)(_BYTE *, long long, long long))PSI_server[43])(v4, a2, 4LL); if ( !v2 ) return my_close((unsigned int...
inline_mysql_file_close: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x58 MOV EBX,ESI MOV R14D,EDI LEA RAX,[0x48f258] MOV RAX,qword ptr [RAX] LEA RDI,[RBP + -0x68] MOV EDX,0x4 CALL qword ptr [RAX + 0x158] TEST RAX,RAX JNZ 0x00161b69 MOV EDI,EBX XOR ESI,ESI CALL 0x001a6bb9 LAB_00161b5e: ADD RSP,0x58 POP RBX ...
ulong inline_mysql_file_close(int4 param_1,ulong param_2) { long lVar1; ulong uVar2; int1 local_70 [76]; uint local_24; lVar1 = (**(code **)(PSI_server + 0x158))(local_70,param_2,4); if (lVar1 == 0) { uVar2 = my_close(param_2 & 0xffffffff,0); } else { inline_mysql_file_close_cold_1(lVar1,pa...
32,440
init_alloc_root
eloqsql/mysys/my_alloc.c
void init_alloc_root(PSI_memory_key key, MEM_ROOT *mem_root, size_t block_size, size_t pre_alloc_size __attribute__((unused)), myf my_flags) { DBUG_ENTER("init_alloc_root"); DBUG_PRINT("enter",("root: %p prealloc: %zu", mem_root, pre_alloc_size)); mem_root->free= mem_root->used= mem_...
O3
c
init_alloc_root: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rcx, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rsi) xorl %eax, %eax movq %rax, 0x10(%rsi) movq $0x20, 0x18(%rsi) andq $-0x2, %rdx movl %r8d, %ecx shrl $0x10, %ecx andl $0x1, %ecx addq %rdx, %rcx addq $-0x28, %rcx movq %rcx, 0x20...
init_alloc_root: push rbp mov rbp, rsp push r15 push r14 push rbx push rax mov rbx, rcx xorps xmm0, xmm0 movups xmmword ptr [rsi], xmm0 xor eax, eax mov [rsi+10h], rax mov qword ptr [rsi+18h], 20h ; ' ' and rdx, 0FFFFFFFFFFFFFFFEh mov ecx, r8d shr ecx, 10h and ecx, ...
long long init_alloc_root(unsigned int a1, long long *a2, long long a3, long long a4, unsigned int a5) { long long result; // rax *(_OWORD *)a2 = 0LL; result = 0LL; a2[2] = 0LL; a2[3] = 32LL; a2[4] = (a3 & 0xFFFFFFFFFFFFFFFELL) + (HIWORD(a5) & 1) - 40; a2[6] = 0LL; a2[5] = 4LL; *((_DWORD *)a2 + 14) ...
init_alloc_root: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH RBX PUSH RAX MOV RBX,RCX XORPS XMM0,XMM0 MOVUPS xmmword ptr [RSI],XMM0 XOR EAX,EAX MOV qword ptr [RSI + 0x10],RAX MOV qword ptr [RSI + 0x18],0x20 AND RDX,-0x2 MOV ECX,R8D SHR ECX,0x10 AND ECX,0x1 ADD RCX,RDX ADD RCX,-0x28 MOV qword ptr [RSI + 0x20],RCX MOV qw...
void init_alloc_root(int4 param_1,long *param_2,ulong param_3,long param_4,int8 param_5) { long lVar1; *param_2 = 0; param_2[1] = 0; param_2[2] = 0; param_2[3] = 0x20; param_2[4] = (ulong)((uint)param_5 >> 0x10 & 1) + (param_3 & 0xfffffffffffffffe) + -0x28; param_2[6] = 0; param_2[5] = 4; *(int4 ...
32,441
ggml_compute_forward_map_binary
Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-cpu/ggml-cpu.c
static void ggml_compute_forward_map_binary( const struct ggml_compute_params * params, struct ggml_tensor * dst, const ggml_binary_op_f32_t fun) { const struct ggml_tensor * src0 = dst->src[0]; switch (src0->type) { case GGML_TYPE_F32: { ggml_comput...
O0
c
ggml_compute_forward_map_binary: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq 0x98(%rax), %rax movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax movl (%rax), %eax testl %eax, %eax jne 0x19542 jmp 0x1952f movq -0x8(%rbp), %rdi mov...
ggml_compute_forward_map_binary: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov rax, [rbp+var_10] mov rax, [rax+98h] mov [rbp+var_20], rax mov rax, [rbp+var_20] mov eax, [rax] test eax, eax jnz short loc_19542 jmp...
double ggml_compute_forward_map_binary(long long a1, long long a2, long long a3) { double result; // xmm0_8 if ( **(_DWORD **)(a2 + 152) ) return ggml_abort( "/workspace/llm4binary/github/2025_star3/Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-cpu/ggml-cpu.c", 12284LL, "fatal...
ggml_compute_forward_map_binary: PUSH RBP MOV RBP,RSP SUB RSP,0x20 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 RAX,qword ptr [RAX + 0x98] MOV qword ptr [RBP + -0x20],RAX MOV RAX,qword ptr [RBP + -0x20] MOV EAX,dword ptr [RAX] TEST EA...
void ggml_compute_forward_map_binary(int8 param_1,long param_2,int8 param_3) { if (**(int **)(param_2 + 0x98) == 0) { ggml_compute_forward_map_binary_f32(param_1,param_2,param_3); } else { ggml_abort("/workspace/llm4binary/github/2025_star3/Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-cpu/ggml-cpu.c" ...
32,442
my_symlink
eloqsql/mysys/my_symlink.c
int my_symlink(const char *content, const char *linkname, myf MyFlags) { #ifndef HAVE_READLINK return 0; #else int result; DBUG_ENTER("my_symlink"); DBUG_PRINT("enter",("content: %s linkname: %s", content, linkname)); result= 0; if (symlink(content, linkname)) { result= -1; my_errno=errno; i...
O0
c
my_symlink: pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) jmp 0xf4916 movl $0x0, -0x1c(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x2a060 cmpl $0x0, %eax je 0xf498a movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF callq 0x2a760 movl (%rax),...
my_symlink: push rbp mov rbp, rsp sub rsp, 40h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx jmp short $+2 loc_F4916: mov [rbp+var_1C], 0 mov rdi, [rbp+var_8] mov rsi, [rbp+var_10] call _symlink cmp eax, 0 jz short loc_F498A mov [rbp+var_1C], 0FF...
long long my_symlink(long long a1, const char *a2, long long a3) { unsigned int *v3; // rax int v5; // [rsp+20h] [rbp-20h] unsigned int v6; // [rsp+24h] [rbp-1Ch] v6 = 0; if ( (unsigned int)symlink(a1, a2) ) { v6 = -1; v5 = *(_DWORD *)__errno_location(); *(_DWORD *)my_thread_var(a1, a2) = v5; ...
my_symlink: 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 JMP 0x001f4916 LAB_001f4916: MOV dword ptr [RBP + -0x1c],0x0 MOV RDI,qword ptr [RBP + -0x8] MOV RSI,qword ptr [RBP + -0x10] CALL 0x0012a060 CMP EAX,0x0 JZ 0x001f498a MOV dword ptr...
int4 my_symlink(char *param_1,char *param_2,ulong param_3) { int iVar1; int *piVar2; int4 local_24; local_24 = 0; iVar1 = symlink(param_1,param_2); if (iVar1 == 0) { if (((param_3 & 0x8000) != 0) && (iVar1 = my_sync_dir_by_file(param_2,param_3), iVar1 != 0)) { local_24 = 0xffffffff; } }...
32,443
plan
eloqsql/unittest/mytap/tap.c
void plan(int count) { char *config= getenv("MYTAP_CONFIG"); size_t i; start_time= start_timer(); if (config) skip_big_tests= strcmp(config, "big"); setvbuf(tapout, 0, _IONBF, 0); /* provide output at once */ /* Install signal handler */ for (i= 0; i < sizeof(install_signal)/sizeof(*install...
O0
c
plan: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x4(%rbp) leaq 0x7a0c4(%rip), %rdi # 0x153db6 callq 0x2a5e0 movq %rax, -0x10(%rbp) callq 0xd9de0 movq %rax, 0xba0999(%rip) # 0xc7a6a0 cmpq $0x0, -0x10(%rbp) je 0xd9d24 movq -0x10(%rbp), %rdi leaq 0x7e99f(%rip), %rsi # 0x1586b8 callq 0x2a660 movl %...
plan: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_4], edi lea rdi, aMytapConfig; "MYTAP_CONFIG" call _getenv mov [rbp+var_10], rax call start_timer mov cs:start_time, rax cmp [rbp+var_10], 0 jz short loc_D9D24 mov rdi, [rbp+var_10] lea rsi, aUndoRecordTooB+10h; "big...
long long plan(int a1) { long long result; // rax unsigned long long i; // [rsp+8h] [rbp-18h] long long v3; // [rsp+10h] [rbp-10h] v3 = getenv("MYTAP_CONFIG"); start_time = start_timer(); if ( v3 ) skip_big_tests = strcmp(v3, "big"); setvbuf(stdout, 0LL, 2LL); for ( i = 0LL; i < 0xB; ++i ) sig...
plan: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV dword ptr [RBP + -0x4],EDI LEA RDI,[0x253db6] CALL 0x0012a5e0 MOV qword ptr [RBP + -0x10],RAX CALL 0x001d9de0 MOV qword ptr [0x00d7a6a0],RAX CMP qword ptr [RBP + -0x10],0x0 JZ 0x001d9d24 MOV RDI,qword ptr [RBP + -0x10] LEA RSI,[0x2586b8] CALL 0x0012a660 MOV dword ptr [0x003bf...
void plan(uint param_1) { char *__s1; ulong local_20; __s1 = getenv("MYTAP_CONFIG"); start_time = start_timer(); if (__s1 != (char *)0x0) { skip_big_tests = strcmp(__s1,"big"); } setvbuf(*(FILE **)PTR_stdout_003bcfd0,(char *)0x0,2,0); for (local_20 = 0; local_20 < 0xb; local_20 = local_20 + 1) ...
32,444
js_parse_template
bluesky950520[P]quickjs/quickjs.c
static __exception int js_parse_template(JSParseState *s, int call, int *argc) { JSContext *ctx = s->ctx; JSValue raw_array, template_object; JSToken cooked; int depth, ret; raw_array = JS_UNDEFINED; /* avoid warning */ template_object = JS_UNDEFINED; /* avoid warning */ if (call) { ...
O2
c
js_parse_template: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %rbp movq %rdi, %rbx movq (%rdi), %rax movq %rax, 0x10(%rsp) pushq $0x3 popq %rax xorl %r14d, %r14d movl %esi, 0x1c(%rsp) testl %esi, %esi je 0x5c563 movq 0x10(%rsp), %rdi callq 0x1ee6b movq %rdx, %r15 cmpl ...
js_parse_template: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 88h mov rbp, rdx mov rbx, rdi mov rax, [rdi] mov [rsp+0B8h+var_A8], rax push 3 pop rax xor r14d, r14d mov [rsp+0B8h+var_9C], esi test esi, esi jz loc_5C563 mov rdi, [rsp+0B8...
long long js_parse_template( long long a1, int 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) { int...
js_parse_template: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x88 MOV RBP,RDX MOV RBX,RDI MOV RAX,qword ptr [RDI] MOV qword ptr [RSP + 0x10],RAX PUSH 0x3 POP RAX XOR R14D,R14D MOV dword ptr [RSP + 0x1c],ESI TEST ESI,ESI JZ 0x0015c563 MOV RDI,qword ptr [RSP + 0x10] CALL 0x0011ee6b MOV R15,RDX CMP R15...
int8 js_parse_template(int8 *param_1,int param_2,int *param_3) { int *piVar1; long lVar2; int *piVar3; int iVar4; int8 uVar5; int8 uVar6; int8 uVar7; int iVar8; int1 auVar9 [16]; int1 auVar10 [16]; int8 local_98; int8 local_90; int1 local_70 [8]; int local_68; int4 uStack_64; int4 uSta...
32,445
my_xml_scan
eloqsql/strings/xml.c
static int my_xml_scan(MY_XML_PARSER *p,MY_XML_ATTR *a) { int lex; for (; ( p->cur < p->end) && my_xml_is_space(p->cur[0]) ; p->cur++); if (p->cur >= p->end) { a->beg=p->end; a->end=p->end; lex=MY_XML_EOF; goto ret; } a->beg=p->cur; a->end=p->cur; if (!my_xml_parser_prefix_c...
O0
c
my_xml_scan: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq 0x130(%rax), %rcx movq -0x8(%rbp), %rdx xorl %eax, %eax cmpq 0x138(%rdx), %rcx movb %al, -0x15(%rbp) jae 0xd61b4 movq -0x8(%rbp), %rax movq 0x130(%rax), %rax movzbl (%rax), %eax movl %eax, %e...
my_xml_scan: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_8], rdi mov [rbp+var_10], rsi loc_D6170: mov rax, [rbp+var_8] mov rcx, [rax+130h] mov rdx, [rbp+var_8] xor eax, eax cmp rcx, [rdx+138h] mov [rbp+var_15], al jnb short loc_D61B4 mov rax, [rbp+var_8] mov ra...
long long my_xml_scan(long long a1, char **a2) { bool v3; // [rsp+9h] [rbp-17h] bool v4; // [rsp+Ah] [rbp-16h] bool v5; // [rsp+Bh] [rbp-15h] while ( 1 ) { v5 = 0; if ( *(_QWORD *)(a1 + 304) < *(_QWORD *)(a1 + 312) ) v5 = (my_xml_ctype[**(unsigned __int8 **)(a1 + 304)] & 8) != 0; if ( !v5 ...
my_xml_scan: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI LAB_001d6170: MOV RAX,qword ptr [RBP + -0x8] MOV RCX,qword ptr [RAX + 0x130] MOV RDX,qword ptr [RBP + -0x8] XOR EAX,EAX CMP RCX,qword ptr [RDX + 0x138] MOV byte ptr [RBP + -0x15],AL JNC 0x001d61b4 MOV RAX,qword...
int my_xml_scan(uint *param_1,long *param_2) { char cVar1; char *pcVar2; bool bVar3; int local_1c; while( true ) { bVar3 = false; if (*(ulong *)(param_1 + 0x4c) < *(ulong *)(param_1 + 0x4e)) { bVar3 = (my_xml_ctype[**(byte **)(param_1 + 0x4c)] & 8) != 0; } if (!bVar3) break; *(l...
32,446
gguf_find_key
Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp
int64_t gguf_find_key(const struct gguf_context * ctx, const char * key) { // return -1 if key not found int64_t keyfound = -1; const int64_t n_kv = gguf_get_n_kv(ctx); for (int64_t i = 0; i < n_kv; ++i) { if (strcmp(key, gguf_get_key(ctx, i)) == 0) { keyfound = i; brea...
O1
cpp
gguf_find_key: pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq 0x10(%rdi), %rax subq 0x8(%rdi), %rax movq $-0x1, %rbx testq %rax, %rax jle 0x3e624 movq %rsi, %r14 movq %rdi, %r15 movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3 mulq %rcx shrq $0x4, %rdx cmpq $0x2, %rdx movl $0x1, %r13d cmovgeq %...
gguf_find_key: push r15 push r14 push r13 push r12 push rbx mov rax, [rdi+10h] sub rax, [rdi+8] mov rbx, 0FFFFFFFFFFFFFFFFh test rax, rax jle short loc_3E624 mov r14, rsi mov r15, rdi mov rcx, 2E8BA2E8BA2E8BA3h mul rcx shr rdx, 4 cmp rdx, 2 mov r13d, 1 cmovg...
long long gguf_find_key(long long a1, long long a2) { long long v2; // rax long long v3; // rbx unsigned long long v4; // r13 long long v5; // r12 long long key; // rax v2 = *(_QWORD *)(a1 + 16) - *(_QWORD *)(a1 + 8); v3 = -1LL; if ( v2 > 0 ) { v4 = 1LL; if ( (long long)(v2 / 0x58uLL) >= 2 )...
gguf_find_key: PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX MOV RAX,qword ptr [RDI + 0x10] SUB RAX,qword ptr [RDI + 0x8] MOV RBX,-0x1 TEST RAX,RAX JLE 0x0013e624 MOV R14,RSI MOV R15,RDI MOV RCX,0x2e8ba2e8ba2e8ba3 MUL RCX SHR RDX,0x4 CMP RDX,0x2 MOV R13D,0x1 CMOVGE R13,RDX XOR R12D,R12D LAB_0013e5fd: MOV RDI,R15 MOV RSI...
ulong gguf_find_key(long param_1,char *param_2) { int iVar1; ulong uVar2; char *__s2; ulong uVar3; uVar2 = *(long *)(param_1 + 0x10) - *(long *)(param_1 + 8); if (0 < (long)uVar2) { uVar2 = uVar2 / 0x58; uVar3 = 1; if (1 < uVar2) { uVar3 = uVar2; } uVar2 = 0; do { __...
32,447
gguf_find_key
Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp
int64_t gguf_find_key(const struct gguf_context * ctx, const char * key) { // return -1 if key not found int64_t keyfound = -1; const int64_t n_kv = gguf_get_n_kv(ctx); for (int64_t i = 0; i < n_kv; ++i) { if (strcmp(key, gguf_get_key(ctx, i)) == 0) { keyfound = i; brea...
O3
cpp
gguf_find_key: pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq 0x10(%rdi), %rax subq 0x8(%rdi), %rax movq $-0x1, %rbx testq %rax, %rax jle 0x3deff movq %rsi, %r14 movq %rdi, %r15 movabsq $0x2e8ba2e8ba2e8ba3, %rcx # imm = 0x2E8BA2E8BA2E8BA3 mulq %rcx movq %rdx, %r12 shrq $0x4, %r12 cmpq $0x1, %r12 adcq $0x0,...
gguf_find_key: push r15 push r14 push r13 push r12 push rbx mov rax, [rdi+10h] sub rax, [rdi+8] mov rbx, 0FFFFFFFFFFFFFFFFh test rax, rax jle short loc_3DEFF mov r14, rsi mov r15, rdi mov rcx, 2E8BA2E8BA2E8BA3h mul rcx mov r12, rdx shr r12, 4 cmp r12, 1 adc ...
long long gguf_find_key(long long a1, long long a2) { unsigned long long v2; // rax long long v3; // rbx unsigned long long v4; // r12 long long v5; // r13 long long key; // rax v3 = -1LL; if ( (long long)(*(_QWORD *)(a1 + 16) - *(_QWORD *)(a1 + 8)) > 0 ) { v2 = *(_QWORD *)(a1 + 16) - *(_QWORD *)(...
gguf_find_key: PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX MOV RAX,qword ptr [RDI + 0x10] SUB RAX,qword ptr [RDI + 0x8] MOV RBX,-0x1 TEST RAX,RAX JLE 0x0013deff MOV R14,RSI MOV R15,RDI MOV RCX,0x2e8ba2e8ba2e8ba3 MUL RCX MOV R12,RDX SHR R12,0x4 CMP R12,0x1 ADC R12,0x0 XOR R13D,R13D LAB_0013ded8: MOV RDI,R15 MOV RSI,R13...
long gguf_find_key(long param_1,char *param_2) { int iVar1; ulong uVar2; char *__s2; long lVar3; uVar2 = *(long *)(param_1 + 0x10) - *(long *)(param_1 + 8); if (0 < (long)uVar2) { uVar2 = uVar2 / 0x58; lVar3 = 0; do { __s2 = (char *)gguf_get_key(param_1,lVar3); iVar1 = strcmp(pa...
32,448
ftxui::ScreenInteractive::HandleTask(std::shared_ptr<ftxui::ComponentBase>, std::variant<ftxui::Event, std::function<void ()>, ftxui::AnimationTask>&)
Andrewchistyakov[P]flashcards_lyc/build_O3/_deps/ftxui-src/src/ftxui/component/screen_interactive.cpp
void ScreenInteractive::HandleTask(Component component, Task& task) { // clang-format off std::visit([&](auto&& arg) { using T = std::decay_t<decltype(arg)>; // Handle Event. if constexpr (std::is_same_v<T, Event>) { if (arg.is_cursor_reporting()) { cursor_x_ = arg.cursor_x(); cur...
O3
cpp
ftxui::ScreenInteractive::HandleTask(std::shared_ptr<ftxui::ComponentBase>, std::variant<ftxui::Event, std::function<void ()>, ftxui::AnimationTask>&): subq $0x18, %rsp movq %rdi, 0x8(%rsp) movq %rsi, 0x10(%rsp) movsbq 0x40(%rdx), %rax cmpq $-0x1, %rax je 0x2e7c2 leaq 0x29c6e(%rip), %rcx # 0x58420 leaq 0x8(%rsp), %...
_ZN5ftxui17ScreenInteractive10HandleTaskESt10shared_ptrINS_13ComponentBaseEERSt7variantIJNS_5EventESt8functionIFvvEENS_13AnimationTaskEEE: sub rsp, 18h mov qword ptr [rsp+18h+var_10], rdi; int mov qword ptr [rsp+18h+var_8], rsi; int movsx rax, byte ptr [rdx+40h] cmp rax, 0FFFFFFFFFFFFFFFFh jz sho...
HandleTask: SUB RSP,0x18 MOV qword ptr [RSP + 0x8],RDI MOV qword ptr [RSP + 0x10],RSI MOVSX RAX,byte ptr [RDX + 0x40] CMP RAX,-0x1 JZ 0x0012e7c2 LEA RCX,[0x158420] LEA RDI,[RSP + 0x8] MOV RSI,RDX CALL qword ptr [RCX + RAX*0x8] ADD RSP,0x18 RET LAB_0012e7c2: MOV EDI,0x10 CALL 0x0010b1b0 LEA RCX,[0x158130] MOV qword ptr ...
/* ftxui::ScreenInteractive::HandleTask(std::shared_ptr<ftxui::ComponentBase>, std::variant<ftxui::Event, std::function<void ()>, ftxui::AnimationTask>&) */ void __thiscall ftxui::ScreenInteractive::HandleTask(ScreenInteractive *this,int8 param_2,long param_3) { int8 *puVar1; ScreenInteractive *local_10; in...
32,449
my_uca_charcmp
eloqsql/strings/ctype-uca.c
static int my_uca_charcmp(CHARSET_INFO *cs, my_wc_t wc1, my_wc_t wc2) { uint num_level= cs->levels_for_order; int ret; uint i; for (i= 0; i != num_level; i++) { ret= my_uca_charcmp_onelevel(cs, wc1, wc2, i); if (ret) { return ret; } } return 0; }
O0
c
my_uca_charcmp: pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rax movzbl 0xb2(%rax), %eax movl %eax, -0x24(%rbp) movl $0x0, -0x2c(%rbp) movl -0x2c(%rbp), %eax cmpl -0x24(%rbp), %eax je 0x4f8a3 movq -0x10(%rbp), %rdi movq -0x18(%rbp), ...
my_uca_charcmp: push rbp mov rbp, rsp sub rsp, 30h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_20], rdx mov rax, [rbp+var_10] movzx eax, byte ptr [rax+0B2h] mov [rbp+var_24], eax mov [rbp+var_2C], 0 loc_4F869: mov eax, [rbp+var_2C] cmp eax, [rbp+var_24] jz ...
long long my_uca_charcmp(long long a1, long long a2, long long a3) { unsigned int i; // [rsp+4h] [rbp-2Ch] unsigned int v5; // [rsp+8h] [rbp-28h] int v6; // [rsp+Ch] [rbp-24h] v6 = *(unsigned __int8 *)(a1 + 178); for ( i = 0; i != v6; ++i ) { v5 = my_uca_charcmp_onelevel(a1, a2, a3, i); if ( v5 ) ...
my_uca_charcmp: PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x20],RDX MOV RAX,qword ptr [RBP + -0x10] MOVZX EAX,byte ptr [RAX + 0xb2] MOV dword ptr [RBP + -0x24],EAX MOV dword ptr [RBP + -0x2c],0x0 LAB_0014f869: MOV EAX,dword ptr [RBP + -0x2c] ...
int my_uca_charcmp(long param_1,int8 param_2,int8 param_3) { byte bVar1; int iVar2; uint local_34; bVar1 = *(byte *)(param_1 + 0xb2); local_34 = 0; while( true ) { if (local_34 == bVar1) { return 0; } iVar2 = my_uca_charcmp_onelevel(param_1,param_2,param_3,local_34); if (iVar2 != ...
32,450
LefDefParser::defiPath::addVirtualPoint(int, int)
Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defiPath.cpp
void defiPath::addVirtualPoint(int x, int y) { if (numUsed_ == numAllocated_) bumpSize(numAllocated_ * 2); keys_[numUsed_] = 'U'; data_[numUsed_] = malloc(sizeof(struct defiPnt)); ((struct defiPnt*)(data_[numUsed_])) -> x = x; ((struct defiPnt*)(data_[numUsed_])) -> y = y; (numUsed_)++; ...
O3
cpp
LefDefParser::defiPath::addVirtualPoint(int, int): pushq %rbp pushq %r14 pushq %rbx movl %edx, %ebp movl %esi, %r14d movq %rdi, %rbx movl 0x10(%rdi), %esi cmpl 0x14(%rdi), %esi jne 0x11f05 addl %esi, %esi movq %rbx, %rdi callq 0x1160a movl 0x10(%rbx), %esi movq (%rbx), %rax movslq %esi, %rcx movl $0x55, (%rax,%rcx,4) m...
_ZN12LefDefParser8defiPath15addVirtualPointEii: push rbp push r14 push rbx mov ebp, edx mov r14d, esi mov rbx, rdi mov esi, [rdi+10h] cmp esi, [rdi+14h] jnz short loc_11F05 add esi, esi; int mov rdi, rbx; this call _ZN12LefDefParser8defiPath8bumpSizeEi; LefDefParser::defiPath...
long long LefDefParser::defiPath::addVirtualPoint(LefDefParser::defiPath *this, int a2, int a3) { int v5; // esi long long v6; // rax long long v7; // rdx _DWORD *v8; // rax long long result; // rax v5 = *((_DWORD *)this + 4); if ( v5 == *((_DWORD *)this + 5) ) { LefDefParser::defiPath::bumpSize(t...
addVirtualPoint: PUSH RBP PUSH R14 PUSH RBX MOV EBP,EDX MOV R14D,ESI MOV RBX,RDI MOV ESI,dword ptr [RDI + 0x10] CMP ESI,dword ptr [RDI + 0x14] JNZ 0x00111f05 ADD ESI,ESI MOV RDI,RBX CALL 0x0011160a MOV ESI,dword ptr [RBX + 0x10] LAB_00111f05: MOV RAX,qword ptr [RBX] MOVSXD RCX,ESI MOV dword ptr [RAX + RCX*0x4],0x55 MOV...
/* LefDefParser::defiPath::addVirtualPoint(int, int) */ void __thiscall LefDefParser::defiPath::addVirtualPoint(defiPath *this,int param_1,int param_2) { int *piVar1; void *pvVar2; int iVar3; iVar3 = *(int *)(this + 0x10); if (iVar3 == *(int *)(this + 0x14)) { bumpSize(this,iVar3 * 2); iVar3 = *...
32,451
testing::internal::edit_distance::(anonymous namespace)::Hunk::Hunk(unsigned long, unsigned long)
giladroyz[P]FindPeaks/build_O0/_deps/googletest-src/googletest/src/gtest.cc
Hunk(size_t left_start, size_t right_start) : left_start_(left_start), right_start_(right_start), adds_(), removes_(), common_() {}
O0
cpp
testing::internal::edit_distance::(anonymous namespace)::Hunk::Hunk(unsigned long, unsigned long): pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, (%rdi) movq -0x18(%rbp), %rax ...
_ZN7testing8internal13edit_distance12_GLOBAL__N_14HunkC2Emm: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov rdi, [rbp+var_8] mov [rbp+var_20], rdi mov rax, [rbp+var_10] mov [rdi], rax mov rax, [rbp+var_18] mov [rdi+8...
long long testing::internal::edit_distance::`anonymous namespace'::Hunk::Hunk( testing::internal::edit_distance::_anonymous_namespace_::Hunk *this, long long a2, long long a3) { *(_QWORD *)this = a2; *((_QWORD *)this + 1) = a3; *((_QWORD *)this + 2) = 0LL; *((_QWORD *)this + 3) = 0LL; ...
Hunk: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV RDI,qword ptr [RBP + -0x8] MOV qword ptr [RBP + -0x20],RDI MOV RAX,qword ptr [RBP + -0x10] MOV qword ptr [RDI],RAX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RDI + 0x8],RAX MOV ...
/* testing::internal::edit_distance::(anonymous namespace)::Hunk::Hunk(unsigned long, unsigned long) */ void __thiscall testing::internal::edit_distance::(anonymous_namespace)::Hunk::Hunk (Hunk *this,ulong param_1,ulong param_2) { *(ulong *)this = param_1; *(ulong *)(this + 8) = param_2; *(int8 *...
32,452
bf_get_exp_min
bluesky950520[P]quickjs/libbf.c
slimb_t bf_get_exp_min(const bf_t *a) { slimb_t i; limb_t v; int k; for(i = 0; i < a->len; i++) { v = a->tab[i]; if (v != 0) { k = ctz(v); return a->expn - (a->len - i) * LIMB_BITS + k; } } return 0; }
O0
c
bf_get_exp_min: subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq $0x0, 0x10(%rsp) movq 0x10(%rsp), %rax movq 0x18(%rsp), %rcx cmpq 0x18(%rcx), %rax jae 0xe8c4e movq 0x18(%rsp), %rax movq 0x20(%rax), %rax movq 0x10(%rsp), %rcx movq (%rax,%rcx,8), %rax movq %rax, 0x8(%rsp) cmpq $0x0, 0x8(%rsp) je 0xe8c3c movq 0x8(%rsp), %rdi ...
bf_get_exp_min: sub rsp, 28h mov [rsp+28h+var_10], rdi mov [rsp+28h+var_18], 0 loc_E8BD2: mov rax, [rsp+28h+var_18] mov rcx, [rsp+28h+var_10] cmp rax, [rcx+18h] jnb short loc_E8C4E mov rax, [rsp+28h+var_10] mov rax, [rax+20h] mov rcx, [rsp+28h+var_18] mov rax, [rax+rcx*8] mov...
long long bf_get_exp_min(_QWORD *a1) { long long v2; // [rsp+8h] [rbp-20h] unsigned long long i; // [rsp+10h] [rbp-18h] for ( i = 0LL; i < a1[3]; ++i ) { v2 = *(_QWORD *)(a1[4] + 8 * i); if ( v2 ) return (int)ctz(v2) + a1[2] - ((a1[3] - i) << 6); } return 0LL; }
bf_get_exp_min: SUB RSP,0x28 MOV qword ptr [RSP + 0x18],RDI MOV qword ptr [RSP + 0x10],0x0 LAB_001e8bd2: MOV RAX,qword ptr [RSP + 0x10] MOV RCX,qword ptr [RSP + 0x18] CMP RAX,qword ptr [RCX + 0x18] JNC 0x001e8c4e MOV RAX,qword ptr [RSP + 0x18] MOV RAX,qword ptr [RAX + 0x20] MOV RCX,qword ptr [RSP + 0x10] MOV RAX,qword ...
long bf_get_exp_min(long param_1) { long lVar1; int iVar2; ulong local_18; local_18 = 0; while( true ) { if (*(ulong *)(param_1 + 0x18) <= local_18) { return 0; } lVar1 = *(long *)(*(long *)(param_1 + 0x20) + local_18 * 8); if (lVar1 != 0) break; local_18 = local_18 + 1; } i...
32,453
thai2sortable
eloqsql/strings/ctype-tis620.c
static size_t thai2sortable(uchar *tstr, size_t len) { uchar *p; size_t tlen; uchar l2bias; tlen= len; l2bias= 256 - 8; for (p= tstr; tlen > 0; p++, tlen--) { uchar c= *p; if (isthai(c)) { const int *t_ctype0= t_ctype[c]; if (isconsnt(c)) l2bias -= 8; if (isldvowel...
O3
c
thai2sortable: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, -0x38(%rbp) movq %rsi, -0x30(%rbp) testq %rsi, %rsi je 0x4dde4 movb $-0x8, %r13b leaq 0x1c2e19(%rip), %r12 # 0x210b40 leaq 0x2ffee2(%rip), %r8 # 0x34dc10 movq -0x38(%rbp), %r15 movq -0x30(...
thai2sortable: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 18h mov [rbp+var_38], rdi mov [rbp+var_30], rsi test rsi, rsi jz loc_4DDE4 mov r13b, 0F8h lea r12, t_ctype lea r8, to_lower_tis620 mov r15, [rbp+var_38] mov rbx, [rbp+...
long long thai2sortable(unsigned __int8 *a1, long long a2) { char v2; // r13 unsigned __int8 *v3; // r15 long long v4; // rbx unsigned __int8 v5; // al long long v6; // rcx long long v7; // rcx int v8; // edx char v9; // di long long v10; // rdx int v11; // r14d if ( a2 ) { v2 = -8; v3...
thai2sortable: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x18 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x30],RSI TEST RSI,RSI JZ 0x0014dde4 MOV R13B,0xf8 LEA R12,[0x310b40] LEA R8,[0x44dc10] MOV R15,qword ptr [RBP + -0x38] MOV RBX,qword ptr [RBP + -0x30] LAB_0014dd36: MOV AL...
long thai2sortable(byte *param_1,long param_2) { byte bVar1; int iVar2; char cVar3; ulong uVar4; long lVar5; char cVar6; byte *__dest; if (param_2 != 0) { cVar6 = -8; lVar5 = param_2; __dest = param_1; do { bVar1 = *__dest; uVar4 = (ulong)bVar1; if ((char)bVar1 < '...
32,454
my_caseup_utf8mb4
eloqsql/strings/ctype-utf8.c
static size_t my_caseup_utf8mb4(CHARSET_INFO *cs, const char *src, size_t srclen, char *dst, size_t dstlen) { my_wc_t wc; int srcres, dstres; const char *srcend= src + srclen; char *dstend= dst + dstlen, *dst0= dst; MY_UNICASE_INFO *uni_plane= cs->caseinfo; DBUG_ASSERT(src != dst || cs->ca...
O3
c
my_caseup_utf8mb4: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r8, -0x38(%rbp) movq %rcx, %r13 movq %rcx, -0x30(%rbp) testq %rdx, %rdx jle 0x4f171 movq %rdx, %r15 movq %rsi, %r12 addq %rsi, %r15 movq -0x30(%rbp), %r13 addq %r13, -0x38(%rbp) movq 0x78(%rdi), %...
my_caseup_utf8mb4: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 18h mov [rbp+var_38], r8 mov r13, rcx mov [rbp+var_30], rcx test rdx, rdx jle short loc_4F171 mov r15, rdx mov r12, rsi add r15, rsi mov r13, [rbp+var_30] add [...
_BYTE * my_caseup_utf8mb4(long long a1, unsigned long long a2, long long a3, _BYTE *a4, unsigned long long a5) { _BYTE *v5; // r13 unsigned long long v6; // r12 unsigned long long v7; // r15 unsigned long long *v8; // r14 int v9; // eax unsigned int v10; // ebx unsigned long long v11; // rsi long long v...
my_caseup_utf8mb4: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x18 MOV qword ptr [RBP + -0x38],R8 MOV R13,RCX MOV qword ptr [RBP + -0x30],RCX TEST RDX,RDX JLE 0x0014f171 MOV R15,RDX MOV R12,RSI ADD R15,RSI MOV R13,qword ptr [RBP + -0x30] ADD qword ptr [RBP + -0x38],R13 MOV R14,qword ptr [...
long my_caseup_utf8mb4(long param_1,ulong param_2,long param_3,long param_4,long param_5) { ulong *puVar1; long lVar2; uint uVar3; uint uVar4; ulong uVar5; ulong local_48; long local_40; long local_38; local_38 = param_4; if (0 < param_3) { uVar5 = param_3 + param_2; local_40 = param_5 ...
32,455
my_strxfrm_flag_normalize
eloqsql/strings/ctype-simple.c
uint my_strxfrm_flag_normalize(uint flags, uint maximum) { DBUG_ASSERT(maximum >= 1 && maximum <= MY_STRXFRM_NLEVELS); /* If levels are omitted, then 1-maximum is assumed*/ if (!(flags & MY_STRXFRM_LEVEL_ALL)) { static uint def_level_flags[]= {0, 0x01, 0x03, 0x07, 0x0F, 0x1F, 0x3F }; uint flag_pad= f...
O3
c
my_strxfrm_flag_normalize: movl %edi, %eax movl %edi, %edx andl $0x3f, %edx je 0x3fb70 pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx decl %esi movl %eax, %r8d andl $0x3f00, %r8d # imm = 0x3F00 movl %eax, %r9d andl $0x3f0000, %r9d # imm = 0x3F0000 xorl %edi, %edi xorl %r10d, %r10d btl %r10d, %edx ja...
my_strxfrm_flag_normalize: mov eax, edi mov edx, edi and edx, 3Fh jz short loc_3FB70 push rbp mov rbp, rsp push r14 push rbx dec esi mov r8d, eax and r8d, 3F00h mov r9d, eax and r9d, 3F0000h xor edi, edi xor r10d, r10d loc_3FB24: bt edx, r10d jnb short ...
long long my_strxfrm_flag_normalize(int a1, int a2) { int v3; // edx unsigned int v4; // esi int v5; // r8d int v6; // edi unsigned int i; // r10d char v8; // cl v3 = a1 & 0x3F; if ( (a1 & 0x3F) == 0 ) return my_strxfrm_flag_normalize_def_level_flags[a2] | a1 & 0xC0u; v4 = a2 - 1; v5 = a1 & 0x...
my_strxfrm_flag_normalize: MOV EAX,EDI MOV EDX,EDI AND EDX,0x3f JZ 0x0013fb70 PUSH RBP MOV RBP,RSP PUSH R14 PUSH RBX DEC ESI MOV R8D,EAX AND R8D,0x3f00 MOV R9D,EAX AND R9D,0x3f0000 XOR EDI,EDI XOR R10D,R10D LAB_0013fb24: BT EDX,R10D JNC 0x0013fb5b CMP R10D,ESI MOV ECX,ESI CMOVC ECX,R10D MOV R11D,0x1 SHL R11D,CL MOV EBX...
uint my_strxfrm_flag_normalize(uint param_1,uint param_2) { uint uVar1; byte bVar2; uint uVar3; uint uVar4; if ((param_1 & 0x3f) != 0) { uVar3 = 0; uVar4 = 0; do { if (((param_1 & 0x3f) >> (uVar4 & 0x1f) & 1) != 0) { uVar1 = param_2 - 1; if (uVar4 < param_2 - 1) { ...
32,456
test_bug13524
eloqsql/libmariadb/unittest/libmariadb/cursor.c
static int test_bug13524(MYSQL *mysql) { MYSQL_STMT *stmt; int rc; unsigned int warning_count; const ulong type= CURSOR_TYPE_READ_ONLY; const char *query= "select * from t1"; rc= mysql_query(mysql, "drop table if exists t1, t2"); check_mysql_rc(rc, mysql); rc= mysql_query(mysql, "create table t1 (a in...
O0
c
test_bug13524: pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x10(%rbp) movq $0x1, -0x28(%rbp) leaq 0x3af93(%rip), %rax # 0x55491 movq %rax, -0x30(%rbp) movq -0x10(%rbp), %rdi leaq 0x399e6(%rip), %rsi # 0x53ef3 callq 0x26160 movl %eax, -0x1c(%rbp) cmpl $0x0, -0x1c(%rbp) je 0x1a567 movl -0x1c(%rbp), %e...
test_bug13524: push rbp mov rbp, rsp sub rsp, 90h mov [rbp+var_10], rdi mov [rbp+var_28], 1 lea rax, aSelectFromT1_0; "select * from t1" mov [rbp+var_30], rax mov rdi, [rbp+var_10] lea rsi, aDropTableIfExi_0; "drop table if exists t1, t2" call mysql_query mov [rbp+var_1C], eax ...
long long test_bug13524(long long a1) { int v1; // eax int v2; // eax int v3; // eax char v4; // al int v5; // eax int v6; // r8d int v7; // r9d long long v8; // rax int v9; // eax int v10; // r8d int v11; // r9d int v12; // eax int v13; // r8d int v14; // r9d int v15; // eax int v16; /...
test_bug13524: PUSH RBP MOV RBP,RSP SUB RSP,0x90 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x28],0x1 LEA RAX,[0x155491] MOV qword ptr [RBP + -0x30],RAX MOV RDI,qword ptr [RBP + -0x10] LEA RSI,[0x153ef3] CALL 0x00126160 MOV dword ptr [RBP + -0x1c],EAX CMP dword ptr [RBP + -0x1c],0x0 JZ 0x0011a567 MOV EAX,dwo...
int4 test_bug13524(int8 param_1) { char cVar1; int iVar2; int4 uVar3; int8 uVar4; size_t sVar5; int8 local_30; int local_28; int local_24; int8 local_20; int8 local_18; int4 local_c; local_30 = 1; local_18 = param_1; iVar2 = mysql_query(param_1,"drop table if exists t1, t2"); local_24...
32,457
lex2str
eloqsql/strings/xml.c
static const char *lex2str(int lex) { switch(lex) { case MY_XML_EOF: return "END-OF-INPUT"; case MY_XML_STRING: return "STRING"; case MY_XML_IDENT: return "IDENT"; case MY_XML_CDATA: return "CDATA"; case MY_XML_EQ: return "'='"; case MY_XML_LT: return "'<'"; case...
O0
c
lex2str: pushq %rbp movq %rsp, %rbp movl %edi, -0xc(%rbp) movl -0xc(%rbp), %eax addl $-0x21, %eax movl %eax, %ecx movq %rcx, -0x18(%rbp) subl $0x33, %eax ja 0x81575 movq -0x18(%rbp), %rax leaq 0x13f7d1(%rip), %rcx # 0x1c0c98 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x6d0b(%rip), %rax # 0x881e2...
lex2str: push rbp mov rbp, rsp mov [rbp+var_C], edi mov eax, [rbp+var_C] add eax, 0FFFFFFDFh; switch 52 cases mov ecx, eax mov [rbp+var_18], rcx sub eax, 33h ja def_814CE; jumptable 00000000000814CE default case, cases 34-46,48-59,64-66,70-72,74-82 mov rax, [rbp+var_18] lea r...
char * lex2str(int a1) { char *v2; // [rsp+10h] [rbp-8h] switch ( a1 ) { case '!': v2 = "'!'"; break; case '/': v2 = "'/'"; break; case '<': v2 = "'<'"; break; case '=': v2 = "'='"; break; case '>': v2 = "'>'"; break; case '?': ...
lex2str: PUSH RBP MOV RBP,RSP MOV dword ptr [RBP + -0xc],EDI MOV EAX,dword ptr [RBP + -0xc] ADD EAX,-0x21 MOV ECX,EAX MOV qword ptr [RBP + -0x18],RCX SUB EAX,0x33 JA 0x00181575 MOV RAX,qword ptr [RBP + -0x18] LEA RCX,[0x2c0c98] MOVSXD RAX,dword ptr [RCX + RAX*0x4] ADD RAX,RCX switchD: JMP RAX caseD_45: LEA RAX,[0x1881e...
char * lex2str(int4 param_1) { char *local_10; switch(param_1) { case 0x21: local_10 = "\'!\'"; break; default: local_10 = "unknown token"; break; case 0x2f: local_10 = "\'/\'"; break; case 0x3c: local_10 = "\'<\'"; break; case 0x3d: local_10 = "\'=\'"; break; ...
32,458
string_table_contains
tsotchke[P]eshkol/src/core/utils/string_table.c
bool string_table_contains(StringTable* table, const char* string) { assert(table != NULL); assert(string != NULL); // Compute hash size_t length = strlen(string); uint32_t hash = hash_string(string, length); // Compute bucket index size_t bucket = hash & (table->bucket_count - 1);...
O0
c
string_table_contains: pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) cmpq $0x0, -0x10(%rbp) je 0x4609 jmp 0x4628 leaq 0xbd5c(%rip), %rdi # 0x1036c leaq 0xbccb(%rip), %rsi # 0x102e2 movl $0xb8, %edx leaq 0xbdea(%rip), %rcx # 0x1040d callq 0x10a0 cmpq $0x0, -0x18...
string_table_contains: push rbp mov rbp, rsp sub rsp, 40h mov [rbp+var_10], rdi mov [rbp+var_18], rsi cmp [rbp+var_10], 0 jz short loc_4609 jmp short loc_4628 loc_4609: lea rdi, aTableNull; "table != NULL" lea rsi, aWorkspaceLlm4b_1; "/workspace/llm4binary/github/2025_star3"... m...
char string_table_contains(long long a1, long long a2) { long long i; // [rsp+8h] [rbp-38h] unsigned int v4; // [rsp+1Ch] [rbp-24h] unsigned long long v5; // [rsp+20h] [rbp-20h] if ( !a1 ) __assert_fail( "table != NULL", "/workspace/llm4binary/github/2025_star3/tsotchke[P]eshkol/src/core/utils...
string_table_contains: PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI CMP qword ptr [RBP + -0x10],0x0 JZ 0x00104609 JMP 0x00104628 LAB_00104609: LEA RDI,[0x11036c] LEA RSI,[0x1102e2] MOV EDX,0xb8 LEA RCX,[0x11040d] CALL 0x001010a0 LAB_00104628: CMP qword ptr [RBP + -0x...
int8 string_table_contains(long param_1,char *param_2) { uint uVar1; int iVar2; size_t __n; int8 *puVar3; int4 extraout_var; int1 local_9; int8 uVar4; if (param_1 == 0) { /* WARNING: Subroutine does not return */ __assert_fail("table != NULL", "/workspace/l...
32,459
inline_mysql_file_close
eloqsql/include/mysql/psi/mysql_file.h
static inline int inline_mysql_file_close( #ifdef HAVE_PSI_FILE_INTERFACE const char *src_file, uint src_line, #endif File file, myf flags) { int result; #ifdef HAVE_PSI_FILE_INTERFACE struct PSI_file_locker *locker; PSI_file_locker_state state; locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&stat...
O3
c
inline_mysql_file_close: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x58, %rsp movl %esi, %ebx movl %edi, %r14d leaq 0x308044(%rip), %rax # 0x3368c8 movq (%rax), %rax leaq -0x68(%rbp), %rdi movl $0x4, %edx callq *0x158(%rax) testq %rax, %rax jne 0x2e8af movl %ebx, %edi xorl %esi, %esi callq 0x...
inline_mysql_file_close: push rbp mov rbp, rsp push r15 push r14 push rbx sub rsp, 58h mov ebx, esi mov r14d, edi lea rax, PSI_server mov rax, [rax] lea rdi, [rbp+var_68] mov edx, 4 call qword ptr [rax+158h] test rax, rax jnz short loc_2E8AF mov edi, ebx xor ...
long long inline_mysql_file_close(unsigned int a1, long long a2) { long long v2; // rax _BYTE v4[76]; // [rsp+8h] [rbp-68h] BYREF unsigned int v5[7]; // [rsp+54h] [rbp-1Ch] BYREF v2 = (*((long long ( **)(_BYTE *, long long, long long))PSI_server + 43))(v4, a2, 4LL); if ( !v2 ) return my_close((unsigned ...
inline_mysql_file_close: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x58 MOV EBX,ESI MOV R14D,EDI LEA RAX,[0x4368c8] MOV RAX,qword ptr [RAX] LEA RDI,[RBP + -0x68] MOV EDX,0x4 CALL qword ptr [RAX + 0x158] TEST RAX,RAX JNZ 0x0012e8af MOV EDI,EBX XOR ESI,ESI CALL 0x0015d805 LAB_0012e8a4: ADD RSP,0x58 POP RBX ...
ulong inline_mysql_file_close(int4 param_1,ulong param_2) { long lVar1; ulong uVar2; int1 local_70 [76]; uint local_24; lVar1 = (**(code **)(PSI_server + 0x158))(local_70,param_2,4); if (lVar1 == 0) { uVar2 = my_close(param_2 & 0xffffffff,0); } else { inline_mysql_file_close_cold_1(lVar1,pa...
32,460
OpenSubdiv::v3_6_0::Bfr::VertexDescriptor::SetManifoldEdgeSharpness(int, float)
NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/../bfr/vertexDescriptor.h
inline void VertexDescriptor::SetManifoldEdgeSharpness(int edgeIndex, float sharpness) { if (!_hasEdgeSharpness) initEdgeSharpness(); // Assign the leading edge of the face after the edge (even index): if (edgeIndex < _numFaces) { _faceEdgeSharpness[2*edgeIndex] = sharpness; } // Assign...
O2
c
OpenSubdiv::v3_6_0::Bfr::VertexDescriptor::SetManifoldEdgeSharpness(int, float): pushq %r14 pushq %rbx pushq %rax movl %esi, %ebx movq %rdi, %r14 testb $0x40, (%rdi) jne 0xa299a movq %r14, %rdi movss %xmm0, 0x4(%rsp) callq 0x4f6c0 movss 0x4(%rsp), %xmm0 movswl 0x2(%r14), %eax cmpl %ebx, %eax jle 0xa29b2 movq 0x8(%r14),...
_ZN10OpenSubdiv6v3_6_03Bfr16VertexDescriptor24SetManifoldEdgeSharpnessEif: push r14 push rbx push rax mov ebx, esi mov r14, rdi test byte ptr [rdi], 40h jnz short loc_A299A mov rdi, r14; this movss [rsp+18h+var_14], xmm0 call __ZN10OpenSubdiv6v3_6_03Bfr16VertexDescriptor17initEdgeSharpn...
long long OpenSubdiv::v3_6_0::Bfr::VertexDescriptor::SetManifoldEdgeSharpness( OpenSubdiv::v3_6_0::Bfr::VertexDescriptor *this, int a2, float a3) { long long result; // rax long long v4; // rbx if ( (*(_BYTE *)this & 0x40) == 0 ) OpenSubdiv::v3_6_0::Bfr::VertexDescriptor::initEdgeSha...
SetManifoldEdgeSharpness: PUSH R14 PUSH RBX PUSH RAX MOV EBX,ESI MOV R14,RDI TEST byte ptr [RDI],0x40 JNZ 0x001a299a MOV RDI,R14 MOVSS dword ptr [RSP + 0x4],XMM0 CALL 0x0014f6c0 MOVSS XMM0,dword ptr [RSP + 0x4] LAB_001a299a: MOVSX EAX,word ptr [R14 + 0x2] CMP EAX,EBX JLE 0x001a29b2 MOV RCX,qword ptr [R14 + 0x8] LEA EDX...
/* OpenSubdiv::v3_6_0::Bfr::VertexDescriptor::SetManifoldEdgeSharpness(int, float) */ void __thiscall OpenSubdiv::v3_6_0::Bfr::VertexDescriptor::SetManifoldEdgeSharpness (VertexDescriptor *this,int param_1,float param_2) { short sVar1; long lVar2; if (((byte)*this & 0x40) == 0) { initEdgeSharp...
32,461
LefDefParser::lefiNoiseEdge::addResistance()
Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiCrossTalk.cpp
void lefiNoiseEdge::addResistance() { lefiNoiseResistance *r; if (numResistances_ == resistancesAllocated_) { int max; lefiNoiseResistance **ne; int i; if (resistancesAllocated_ == 0) { max = resistancesAllocated_ = 2; numR...
O0
cpp
LefDefParser::lefiNoiseEdge::addResistance(): subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rcx movq %rcx, 0x8(%rsp) movl 0x8(%rcx), %eax cmpl 0xc(%rcx), %eax jne 0x197c6 movq 0x8(%rsp), %rax cmpl $0x0, 0xc(%rax) jne 0x19737 movq 0x8(%rsp), %rax movl $0x2, 0xc(%rax) movl $0x2, 0x24(%rsp) movl $0x0, 0x8(%rax)...
_ZN12LefDefParser13lefiNoiseEdge13addResistanceEv: sub rsp, 38h mov [rsp+38h+var_8], rdi mov rcx, [rsp+38h+var_8] mov [rsp+38h+var_30], rcx mov eax, [rcx+8] cmp eax, [rcx+0Ch] jnz loc_197C6 mov rax, [rsp+38h+var_30] cmp dword ptr [rax+0Ch], 0 jnz short loc_19737 mov rax, [rsp...
LefDefParser::lefiNoiseEdge * LefDefParser::lefiNoiseEdge::addResistance( LefDefParser::lefiNoiseEdge *this, void *a2) { int v2; // eax LefDefParser::lefiNoiseEdge *result; // rax int i; // [rsp+14h] [rbp-24h] long long v5; // [rsp+18h] [rbp-20h] int v6; // [rsp+24h] [rbp-14h] int v7; // [rs...
addResistance: SUB RSP,0x38 MOV qword ptr [RSP + 0x30],RDI MOV RCX,qword ptr [RSP + 0x30] MOV qword ptr [RSP + 0x8],RCX MOV EAX,dword ptr [RCX + 0x8] CMP EAX,dword ptr [RCX + 0xc] JNZ 0x001197c6 MOV RAX,qword ptr [RSP + 0x8] CMP dword ptr [RAX + 0xc],0x0 JNZ 0x00119737 MOV RAX,qword ptr [RSP + 0x8] MOV dword ptr [RAX +...
/* LefDefParser::lefiNoiseEdge::addResistance() */ void __thiscall LefDefParser::lefiNoiseEdge::addResistance(lefiNoiseEdge *this) { long lVar1; lefiNoiseResistance *this_00; int local_24; int local_14; if (*(int *)(this + 8) == *(int *)(this + 0xc)) { if (*(int *)(this + 0xc) == 0) { *(int4 *...
32,462
LefDefParser::lefiNoiseEdge::addResistance()
Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiCrossTalk.cpp
void lefiNoiseEdge::addResistance() { lefiNoiseResistance *r; if (numResistances_ == resistancesAllocated_) { int max; lefiNoiseResistance **ne; int i; if (resistancesAllocated_ == 0) { max = resistancesAllocated_ = 2; numR...
O3
cpp
LefDefParser::lefiNoiseEdge::addResistance(): pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movl 0x8(%rdi), %eax cmpl 0xc(%rdi), %eax jne 0x157b7 leal (%rax,%rax), %ecx testl %eax, %eax movl $0x2, %eax cmovnel %ecx, %eax movl %eax, 0xc(%rbx) movslq %eax, %r15 leaq (,%r15,8), %rdi callq 0x24985 movq %rax, %r14 sarl %...
_ZN12LefDefParser13lefiNoiseEdge13addResistanceEv: push r15 push r14 push rbx mov rbx, rdi mov eax, [rdi+8] cmp eax, [rdi+0Ch] jnz short loc_157B7 lea ecx, [rax+rax] test eax, eax mov eax, 2 cmovnz eax, ecx mov [rbx+0Ch], eax movsxd r15, eax lea rdi, ds:0[r15*8]; this call ...
long long LefDefParser::lefiNoiseEdge::addResistance(LefDefParser::lefiNoiseEdge *this, void *a2) { int v2; // eax int v3; // ecx bool v4; // zf int v5; // eax int v6; // r15d long long v7; // r14 int v8; // r15d long long i; // rcx _QWORD *v10; // r14 long long v11; // rcx long long result; // r...
addResistance: PUSH R15 PUSH R14 PUSH RBX MOV RBX,RDI MOV EAX,dword ptr [RDI + 0x8] CMP EAX,dword ptr [RDI + 0xc] JNZ 0x001157b7 LEA ECX,[RAX + RAX*0x1] TEST EAX,EAX MOV EAX,0x2 CMOVNZ EAX,ECX MOV dword ptr [RBX + 0xc],EAX MOVSXD R15,EAX LEA RDI,[R15*0x8] CALL 0x00124985 MOV R14,RAX SAR R15D,0x1 TEST R15D,R15D JLE 0x00...
/* LefDefParser::lefiNoiseEdge::addResistance() */ void LefDefParser::lefiNoiseEdge::addResistance(void) { int iVar1; int iVar2; long lVar3; int8 *puVar4; int8 uVar5; ulong uVar6; ulong in_RSI; long in_RDI; iVar1 = *(int *)(in_RDI + 8); if (iVar1 == *(int *)(in_RDI + 0xc)) { iVar2 = 2; ...
32,463
my_timer_microseconds
eloqsql/mysys/my_rdtsc.c
ulonglong my_timer_microseconds(void) { #if defined(HAVE_GETTIMEOFDAY) { static ulonglong last_value= 0; struct timeval tv; if (gettimeofday(&tv, NULL) == 0) last_value= (ulonglong) tv.tv_sec * 1000000 + (ulonglong) tv.tv_usec; else { /* There are reports that gettimeofday(2) c...
O3
c
my_timer_microseconds: pushq %rbp movq %rsp, %rbp subq $0x10, %rsp leaq -0x10(%rbp), %rdi xorl %esi, %esi callq 0x265b0 testl %eax, %eax je 0x47500 movq 0x38a5fd(%rip), %rax # 0x3d1af8 incq %rax jmp 0x4750c imulq $0xf4240, -0x10(%rbp), %rax # imm = 0xF4240 addq -0x8(%rbp), %rax movq %rax, 0x38a5e5(%rip) # 0x3d1af...
my_timer_microseconds: push rbp mov rbp, rsp sub rsp, 10h lea rdi, [rbp+var_10] xor esi, esi call _gettimeofday test eax, eax jz short loc_47500 mov rax, cs:my_timer_microseconds_last_value inc rax jmp short loc_4750C loc_47500: imul rax, [rbp+var_10], 0F4240h add rax, [...
long long my_timer_microseconds() { long long result; // rax _QWORD v1[2]; // [rsp+0h] [rbp-10h] BYREF if ( (unsigned int)gettimeofday(v1, 0LL) ) result = my_timer_microseconds_last_value + 1; else result = v1[1] + 1000000LL * v1[0]; my_timer_microseconds_last_value = result; return result; }
my_timer_microseconds: PUSH RBP MOV RBP,RSP SUB RSP,0x10 LEA RDI,[RBP + -0x10] XOR ESI,ESI CALL 0x001265b0 TEST EAX,EAX JZ 0x00147500 MOV RAX,qword ptr [0x004d1af8] INC RAX JMP 0x0014750c LAB_00147500: IMUL RAX,qword ptr [RBP + -0x10],0xf4240 ADD RAX,qword ptr [RBP + -0x8] LAB_0014750c: MOV qword ptr [0x004d1af8],RAX A...
void my_timer_microseconds(void) { int iVar1; timeval local_18; iVar1 = gettimeofday(&local_18,(__timezone_ptr_t)0x0); if (iVar1 == 0) { my_timer_microseconds_last_value = local_18.tv_sec * 1000000 + local_18.tv_usec; } else { my_timer_microseconds_last_value = my_timer_microseconds_last_value ...
32,464
my_strnxfrm_win1250ch
eloqsql/strings/ctype-win1250ch.c
static size_t my_strnxfrm_win1250ch(CHARSET_INFO *cs __attribute__((unused)), uchar *dest, size_t len, uint nweights_arg __attribute__((unused)), const uchar *src, size_t srclen, uint flags) { int value; const uchar *p; int pass = 0; size_t totl...
O0
c
my_strnxfrm_win1250ch: pushq %rbp movq %rsp, %rbp subq $0x80, %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) movl $0x0, -0x44(%rbp) movq $0x0, -0x50(%rbp) movq -0x28(%rbp), %rax movq %rax, -0x40(%rbp) movl...
my_strnxfrm_win1250ch: push rbp mov rbp, rsp sub rsp, 80h 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 [rbp+var_44], 0 mov [rbp+var_50], 0 mov rax, [rbp+var_28]...
unsigned long long my_strnxfrm_win1250ch( long long a1, long long a2, unsigned long long a3, long long a4, unsigned __int8 *a5, int a6, int a7) { long long v7; // rcx int v9; // [rsp+Ch] [rbp-74h] bool v10; // [rsp+13h] [rbp-6Dh] int v11; // [rsp+14h] [rb...
my_strnxfrm_win1250ch: PUSH RBP MOV RBP,RSP SUB RSP,0x80 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 dword ptr [RBP + -0x44],0x0 MOV qword p...
ulong my_strnxfrm_win1250ch (int8 param_1,long param_2,ulong param_3,int8 param_4,byte *param_5, int param_6,uint param_7) { char cVar1; bool bVar2; bool bVar3; byte *local_70; byte *local_68; int local_5c; ulong local_58; byte *local_48; bVar2 = false; local_58 ...
32,465
my_thread_init
eloqsql/mysys/my_thr_init.c
my_bool my_thread_init(void) { struct st_my_thread_var *tmp; my_bool error=0; if (!my_thread_global_init_done) return 1; /* cannot proceed with uninitialized library */ #ifdef EXTRA_DEBUG_THREADS fprintf(stderr,"my_thread_init(): pthread_self: %p\n", pthread_self()); #endif if (my_thread_var) { #if...
O0
c
my_thread_init: pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movb $0x0, -0x11(%rbp) cmpb $0x0, 0x380c9d(%rip) # 0x40d820 jne 0x8cb8e movb $0x1, -0x1(%rbp) jmp 0x8cc77 callq 0x8ca30 cmpq $0x0, %rax je 0x8cb9e jmp 0x8cc71 movl $0x1, %edi movl $0xf0, %esi callq 0x388c0 movq %rax, -0x10(%rbp) cmpq $0x0, %rax jne 0x8cbc0 ...
my_thread_init: push rbp mov rbp, rsp sub rsp, 20h mov [rbp+var_11], 0 cmp cs:my_thread_global_init_done, 0 jnz short loc_8CB8E mov [rbp+var_1], 1 jmp loc_8CC77 loc_8CB8E: call _my_thread_var cmp rax, 0 jz short loc_8CB9E jmp loc_8CC71 loc_8CB9E: mov edi, 1 mov esi...
char my_thread_init() { long long v0; // rcx char v2; // [rsp+Fh] [rbp-11h] long long v3; // [rsp+10h] [rbp-10h] BYREF v2 = 0; if ( !my_thread_global_init_done ) return 1; if ( !my_thread_var() ) { v3 = calloc(1LL, 240LL); if ( v3 ) { set_mysys_var(v3); *(_QWORD *)(v3 + 200) =...
my_thread_init: PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV byte ptr [RBP + -0x11],0x0 CMP byte ptr [0x0050d820],0x0 JNZ 0x0018cb8e MOV byte ptr [RBP + -0x1],0x1 JMP 0x0018cc77 LAB_0018cb8e: CALL 0x0018ca30 CMP RAX,0x0 JZ 0x0018cb9e JMP 0x0018cc71 LAB_0018cb9e: MOV EDI,0x1 MOV ESI,0xf0 CALL 0x001388c0 MOV qword ptr [RBP + -0...
int1 my_thread_init(void) { long lVar1; pthread_t pVar2; int1 local_19; void *local_18; int1 local_9; local_19 = 0; if (my_thread_global_init_done == '\0') { local_9 = 1; } else { lVar1 = _my_thread_var(); if (lVar1 == 0) { local_18 = calloc(1,0xf0); if (local_18 == (void ...
32,466
ma_alloc_root
eloqsql/libmariadb/libmariadb/ma_alloc.c
void * ma_alloc_root(MA_MEM_ROOT *mem_root, size_t Size) { #if defined(HAVE_purify) && defined(EXTRA_DEBUG) reg1 MA_USED_MEM *next; Size+=ALIGN_SIZE(sizeof(MA_USED_MEM)); if (!(next = (MA_USED_MEM*) malloc(Size))) { if (mem_root->error_handler) (*mem_root->error_handler)(); return((void *) 0); ...
O0
c
ma_alloc_root: pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq $0x0, -0x30(%rbp) movq -0x18(%rbp), %rax addq $0x8, %rax subq $0x1, %rax andq $-0x8, %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x38(%rbp) cmpq $0x0, (%rax) je 0x3f2bc movq -0x38(%rbp), %rax...
ma_alloc_root: push rbp mov rbp, rsp sub rsp, 50h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_30], 0 mov rax, [rbp+var_18] add rax, 8 sub rax, 1 and rax, 0FFFFFFFFFFFFFFF8h mov [rbp+var_18], rax mov rax, [rbp+var_10] mov [rbp+var_38], rax cmp qword ptr...
char * ma_alloc_root(_QWORD **a1, long long a2) { unsigned int v2; // eax unsigned long long v3; // rax unsigned long long v5; // [rsp+8h] [rbp-48h] bool v6; // [rsp+17h] [rbp-39h] _QWORD *v7; // [rsp+18h] [rbp-38h] _QWORD *i; // [rsp+20h] [rbp-30h] _QWORD *v9; // [rsp+20h] [rbp-30h] char *v10; // [rsp+...
ma_alloc_root: PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x30],0x0 MOV RAX,qword ptr [RBP + -0x18] ADD RAX,0x8 SUB RAX,0x1 AND RAX,-0x8 MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x10] MOV qword ptr [RBP + -0x38],RAX CMP qword ...
long ma_alloc_root(long *param_1,long param_2) { uint uVar1; long *plVar2; long lVar3; long lVar4; long lVar5; ulong uVar6; bool bVar7; size_t local_50; long *local_40; long *local_38; local_38 = (long *)0x0; uVar6 = param_2 + 7U & 0xfffffffffffffff8; local_40 = param_1; if (*param_1 !=...
32,467
ma_alloc_root
eloqsql/libmariadb/libmariadb/ma_alloc.c
void * ma_alloc_root(MA_MEM_ROOT *mem_root, size_t Size) { #if defined(HAVE_purify) && defined(EXTRA_DEBUG) reg1 MA_USED_MEM *next; Size+=ALIGN_SIZE(sizeof(MA_USED_MEM)); if (!(next = (MA_USED_MEM*) malloc(Size))) { if (mem_root->error_handler) (*mem_root->error_handler)(); return((void *) 0); ...
O3
c
ma_alloc_root: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx addq $0x7, %r14 andq $-0x8, %r14 movq (%rdi), %rax movq %rdi, %r12 testq %rax, %rax je 0x2f499 cmpq %r14, 0x8(%rax) jae 0x2f480 movl 0x2c(%rbx), %ecx leal 0x1(%rcx), %edx movl %edx...
ma_alloc_root: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx push rax mov r14, rsi mov rbx, rdi add r14, 7 and r14, 0FFFFFFFFFFFFFFF8h mov rax, [rdi] mov r12, rdi test rax, rax jz short loc_2F499 cmp [rax+8], r14 jnb short loc_2F480 m...
char * ma_alloc_root(long long a1, long long a2) { unsigned long long v2; // r14 _QWORD *v3; // rax _QWORD *v4; // r12 unsigned int v5; // ecx _QWORD *v6; // rax unsigned long long v7; // rdx unsigned int v8; // r13d unsigned long long v9; // r15 char *v10; // rcx unsigned long long v11; // rdx vo...
ma_alloc_root: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV R14,RSI MOV RBX,RDI ADD R14,0x7 AND R14,-0x8 MOV RAX,qword ptr [RDI] MOV R12,RDI TEST RAX,RAX JZ 0x0012f499 CMP qword ptr [RAX + 0x8],R14 JNC 0x0012f480 MOV ECX,dword ptr [RBX + 0x2c] LEA EDX,[RCX + 0x1] MOV dword ptr [RBX + 0...
long ma_alloc_root(long *param_1,long param_2) { uint uVar1; long *plVar2; long lVar3; long *plVar4; long *plVar5; ulong uVar6; ulong uVar7; uVar6 = param_2 + 7U & 0xfffffffffffffff8; plVar2 = (long *)*param_1; plVar5 = param_1; if (plVar2 == (long *)0x0) { LAB_0012f499: uVar1 = *(uint *)...
32,468
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 0x8479d movq %r14, %rdi movq %rbx, %rsi callq 0x3a920 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_84782: mov r14, rcx cmp rcx, r15 jz short loc_8479D mov rdi, r14 mov rsi, rbx call _ZSteqIcEN9__gnu_c...
bool minja::ArgumentsValue::has_named(long long a1, _QWORD *a2) { _QWORD *v2; // rcx _QWORD *v3; // r15 _QWORD *v4; // r14 bool v5; // al v2 = *(_QWORD **)(a1 + 24); v3 = *(_QWORD **)(a1 + 32); do { v4 = v2; if ( v2 == v3 ) break; v5 = std::operator==<char>(v2, a2); v2 = v4 + 14;...
has_named: PUSH R15 PUSH R14 PUSH RBX MOV RBX,RSI MOV RCX,qword ptr [RDI + 0x18] MOV R15,qword ptr [RDI + 0x20] LAB_00184782: MOV R14,RCX CMP RCX,R15 JZ 0x0018479d MOV RDI,R14 MOV RSI,RBX CALL 0x0013a920 LEA RCX,[R14 + 0x70] TEST AL,AL JZ 0x00184782 LAB_0018479d: 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...
32,469
mariadb_compress
eloqsql/libmariadb/libmariadb/ma_compress.c
my_bool _mariadb_compress(NET *net, unsigned char *packet, size_t *len, size_t *complen) { if (*len < MIN_COMPRESS_LENGTH || !compression_plugin(net)) *complen=0; else { unsigned char *compbuf=_mariadb_compress_alloc(net,packet,len,complen); if (!compbuf) return *complen ? 0 : 1; memcp...
O0
c
mariadb_compress: pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq -0x20(%rbp), %rax cmpq $0x96, (%rax) jb 0x2d037 movq -0x10(%rbp), %rax movq 0x2a0(%rax), %rax cmpq $0x0, 0x10(%rax) jne 0x2d044 movq -0x28(%rbp), %rax movq $0x0,...
_mariadb_compress: push rbp mov rbp, rsp sub rsp, 30h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_20], rdx mov [rbp+var_28], rcx mov rax, [rbp+var_20] cmp qword ptr [rax], 96h jb short loc_2D037 mov rax, [rbp+var_10] mov rax, [rax+2A0h] cmp qword ptr [rax...
bool mariadb_compress(long long a1, long long a2, _QWORD *a3, _QWORD *a4) { long long v5; // [rsp+0h] [rbp-30h] if ( *a3 < 0x96uLL || !*(_QWORD *)(*(_QWORD *)(a1 + 672) + 16LL) ) { *a4 = 0LL; return 0; } v5 = mariadb_compress_alloc(a1, a2, a3, a4); if ( v5 ) { memcpy(a2, v5, *a3); free(v...
_mariadb_compress: PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x20],RDX MOV qword ptr [RBP + -0x28],RCX MOV RAX,qword ptr [RBP + -0x20] CMP qword ptr [RAX],0x96 JC 0x0012d037 MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX + 0x2a0] CMP ...
bool _mariadb_compress(long param_1,void *param_2,size_t *param_3,long *param_4) { void *__src; if ((*param_3 < 0x96) || (*(long *)(*(long *)(param_1 + 0x2a0) + 0x10) == 0)) { *param_4 = 0; } else { __src = (void *)_mariadb_compress_alloc(param_1,param_2,param_3); if (__src == (void *)0x0) { ...
32,470
ftxui::ReceiverImpl<std::variant<ftxui::Event, std::function<void ()>, ftxui::AnimationTask>>::MakeSender()
Andrewchistyakov[P]flashcards_lyc/build_O0/_deps/ftxui-src/include/ftxui/component/receiver.hpp
Sender<T> MakeSender() { std::unique_lock<std::mutex> lock(mutex_); senders_++; return std::unique_ptr<SenderImpl<T>>(new SenderImpl<T>(this)); }
O0
cpp
ftxui::ReceiverImpl<std::variant<ftxui::Event, std::function<void ()>, ftxui::AnimationTask>>::MakeSender(): pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x50(%rbp) movq %rdi, %rax movq %rax, -0x48(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rsi movq %rsi, -0x40(%rbp) leaq -0x20(%rb...
_ZN5ftxui12ReceiverImplISt7variantIJNS_5EventESt8functionIFvvEENS_13AnimationTaskEEEE10MakeSenderEv: push rbp mov rbp, rsp sub rsp, 50h mov [rbp+var_50], rdi mov rax, rdi mov [rbp+var_48], rax mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov rsi, [rbp+var_10] mov [rbp+var_40], rsi l...
long long ftxui::ReceiverImpl<std::variant<ftxui::Event,std::function<void ()(void)>,ftxui::AnimationTask>>::MakeSender( long long a1, long long a2) { void *v3; // [rsp+18h] [rbp-38h] _BYTE v4[16]; // [rsp+30h] [rbp-20h] BYREF long long v5; // [rsp+40h] [rbp-10h] long long v6; // [rsp+48h] [rbp...
MakeSender: PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x50],RDI MOV RAX,RDI MOV qword ptr [RBP + -0x48],RAX MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RSI,qword ptr [RBP + -0x10] MOV qword ptr [RBP + -0x40],RSI LEA RDI,[RBP + -0x20] CALL 0x0016d9e0 MOV RDI,qword ptr [RBP + -0x40] A...
/* ftxui::ReceiverImpl<std::variant<ftxui::Event, std::function<void ()>, ftxui::AnimationTask> >::MakeSender() */ unique_ptr<ftxui::SenderImpl<std::variant<ftxui::Event,std::function<void()>,ftxui::AnimationTask>>,std::default_delete<ftxui::SenderImpl<std::variant<ftxui::Event,std::function<void()>,ftxui::Animati...
32,471
Locked_tables_list::Locked_tables_list()
eloqsql/sql/sql_class.h
Locked_tables_list() :m_locked_tables(NULL), m_locked_tables_last(&m_locked_tables), m_reopen_array(NULL), m_locked_tables_count(0), some_table_marked_for_reopen(0) { init_sql_alloc(key_memory_locked_table_list, &m_locked_tables_root, MEM_ROOT_BLOCK_SIZE, 0, MYF(MY_THREAD_SP...
O0
c
Locked_tables_list::Locked_tables_list(): pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rsi movq $0x0, 0x40(%rsi) movq %rsi, %rax addq $0x40, %rax movq %rax, 0x48(%rsi) movq $0x0, 0x50(%rsi) movl $0x0, 0x58(%rsi) movb $0x0, 0x5c(%rsi) leaq 0x10721cf(%rip), %rax # 0x15c367c movl (...
_ZN18Locked_tables_listC2Ev: push rbp mov rbp, rsp sub rsp, 10h mov [rbp+var_8], rdi mov rsi, [rbp+var_8] mov qword ptr [rsi+40h], 0 mov rax, rsi add rax, 40h ; '@' mov [rsi+48h], rax mov qword ptr [rsi+50h], 0 mov dword ptr [rsi+58h], 0 mov byte ptr [rsi+5Ch], 0 lea r...
void Locked_tables_list::Locked_tables_list(Locked_tables_list *this) { *((_QWORD *)this + 8) = 0LL; *((_QWORD *)this + 9) = (char *)this + 64; *((_QWORD *)this + 10) = 0LL; *((_DWORD *)this + 22) = 0; *((_BYTE *)this + 92) = 0; init_sql_alloc(key_memory_locked_table_list, this, 0x2000LL, 0LL, 0x10000LL); ...
__cxx_global_var_init.4: PUSH RBP MOV RBP,RSP LEA RDI,[0x16d3490] MOV ESI,0x10 CALL 0x0058cc10 POP RBP RET
void __cxx_global_var_init_4(void) { date_conv_mode_t::date_conv_mode_t((date_conv_mode_t *)&TIME_INTERVAL_DAY,0x10); return; }
32,472
glfwGetVideoModes
untodesu[P]riteg/build_O3/_deps/glfw-src/src/monitor.c
GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* handle, int* count) { _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); assert(count != NULL); *count = 0; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (!refreshVideoModes(monitor)) return NULL; *count = m...
O3
c
glfwGetVideoModes: pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x1c1b5 movq %rsi, %r14 testq %rsi, %rsi je 0x1c1d4 movl $0x0, (%r14) leaq 0x8c4bf(%rip), %rax # 0xa8638 cmpl $0x0, (%rax) je 0x1c196 movq %rdi, %rbx callq 0x1bd54 testl %eax, %eax je 0x1c1a8 movl 0x28(%rbx), %eax movl %eax, (%r14) movq 0x20(%r...
glfwGetVideoModes: push r14 push rbx push rax test rdi, rdi jz short loc_1C1B5 mov r14, rsi test rsi, rsi jz short loc_1C1D4 mov dword ptr [r14], 0 lea rax, _glfw cmp dword ptr [rax], 0 jz short loc_1C196 mov rbx, rdi call refreshVideoModes test eax, eax jz s...
long long glfwGetVideoModes(long long a1, _DWORD *a2) { long long v2; // rbx if ( !a1 ) __assert_fail( "monitor != NULL", "/workspace/llm4binary/github/2025_star3/untodesu[P]riteg/build_O3/_deps/glfw-src/src/monitor.c", 424LL, "const GLFWvidmode *glfwGetVideoModes(GLFWmonitor *, int *)...
glfwGetVideoModes: PUSH R14 PUSH RBX PUSH RAX TEST RDI,RDI JZ 0x0011c1b5 MOV R14,RSI TEST RSI,RSI JZ 0x0011c1d4 MOV dword ptr [R14],0x0 LEA RAX,[0x1a8638] CMP dword ptr [RAX],0x0 JZ 0x0011c196 MOV RBX,RDI CALL 0x0011bd54 TEST EAX,EAX JZ 0x0011c1a8 MOV EAX,dword ptr [RBX + 0x28] MOV dword ptr [R14],EAX MOV RBX,qword ptr...
int8 glfwGetVideoModes(long param_1,int4 *param_2) { int iVar1; int8 uVar2; if (param_1 == 0) { /* WARNING: Subroutine does not return */ __assert_fail("monitor != NULL", "/workspace/llm4binary/github/2025_star3/untodesu[P]riteg/build_O3/_deps/glfw-src/src/monitor.c"...
32,473
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/minja.hpp
inline json Value::get<json>() const { if (is_primitive()) return primitive_; if (is_null()) return json(); if (array_) { std::vector<json> res; for (const auto& item : *array_) { res.push_back(item.get<json>()); } return res; } if (object_) { json res = json::object(); for (cons...
O1
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...
_ZNK5minja5Value3getIN8nlohmann16json_abi_v3_11_310basic_jsonINS3_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS3_14adl_serializerES6_IhSaIhEEvEEEET_v: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 0B8h mov r14, rsi mov rbx, rdi mov ...
long long minja::Value::get<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>>( long long a1, long long a2) { unsigned long lo...
get<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>>: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH ...
/* 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> minja::Value::get<nlohmann::...
32,474
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/minja.hpp
inline json Value::get<json>() const { if (is_primitive()) return primitive_; if (is_null()) return json(); if (array_) { std::vector<json> res; for (const auto& item : *array_) { res.push_back(item.get<json>()); } return res; } if (object_) { json res = json::object(); for (cons...
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...
_ZNK5minja5Value3getIN8nlohmann16json_abi_v3_11_310basic_jsonINS3_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS3_14adl_serializerES6_IhSaIhEEvEEEET_v: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 0C8h mov r14, rsi mov r13, rdi mov ...
unsigned __int8 * minja::Value::get<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>>( unsigned __int8 *a1, long long a2) { lo...
get<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>>: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH ...
/* 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> minja::Value::get<nlohmann::...
32,475
common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool)
monkey531[P]llama/common/common.cpp
void common_batch_add( struct llama_batch & batch, llama_token id, llama_pos pos, const std::vector<llama_seq_id> & seq_ids, bool logits) { GGML_ASSERT(batch.seq_id[batch.n_tokens] && "llama_batch size exceed...
O0
cpp
common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool): subq $0x38, %rsp movb %r8b, %al movq %rdi, 0x30(%rsp) movl %esi, 0x2c(%rsp) movl %edx, 0x28(%rsp) movq %rcx, 0x20(%rsp) andb $0x1, %al movb %al, 0x1f(%rsp) movq 0x30(%rsp), %rax movq 0x28(%rax), %rax movq 0x30(%rsp), %rcx movs...
_Z16common_batch_addR11llama_batchiiRKSt6vectorIiSaIiEEb: sub rsp, 38h mov al, r8b mov [rsp+38h+var_8], rdi mov [rsp+38h+var_C], esi mov [rsp+38h+var_10], edx mov [rsp+38h+var_18], rcx and al, 1 mov [rsp+38h+var_19], al mov rax, [rsp+38h+var_8] mov rax, [rax+28h] mov rcx, [rs...
int * common_batch_add(int *a1, int a2, int a3, _QWORD *a4, char a5) { int *result; // rax unsigned long long i; // [rsp+10h] [rbp-28h] char v7; // [rsp+1Fh] [rbp-19h] v7 = a5 & 1; if ( !*(_QWORD *)(*((_QWORD *)a1 + 5) + 8LL * *a1) ) ggml_abort( "/workspace/llm4binary/github/2025_star3/monkey531[P]...
common_batch_add: SUB RSP,0x38 MOV AL,R8B MOV qword ptr [RSP + 0x30],RDI MOV dword ptr [RSP + 0x2c],ESI MOV dword ptr [RSP + 0x28],EDX MOV qword ptr [RSP + 0x20],RCX AND AL,0x1 MOV byte ptr [RSP + 0x1f],AL MOV RAX,qword ptr [RSP + 0x30] MOV RAX,qword ptr [RAX + 0x28] MOV RCX,qword ptr [RSP + 0x30] MOVSXD RCX,dword ptr ...
/* common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int> > const&, bool) */ void common_batch_add(llama_batch *param_1,int param_2,int param_3,vector *param_4,bool param_5) { int4 uVar1; ulong uVar2; int4 *puVar3; ulong local_28; if (*(long *)(*(long *)(param_1 + 0x28) + (long)*(...
32,476
common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool)
monkey531[P]llama/common/common.cpp
void common_batch_add( struct llama_batch & batch, llama_token id, llama_pos pos, const std::vector<llama_seq_id> & seq_ids, bool logits) { GGML_ASSERT(batch.seq_id[batch.n_tokens] && "llama_batch size exceed...
O3
cpp
common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool): pushq %rax movq 0x28(%rdi), %rax movslq (%rdi), %r9 cmpq $0x0, (%rax,%r9,8) je 0x754b3 movq 0x8(%rdi), %r10 movl %esi, (%r10,%r9,4) movq 0x18(%rdi), %rsi movslq (%rdi), %r9 movl %edx, (%rsi,%r9,4) movq (%rcx), %rdx movq 0x8(%r...
_Z16common_batch_addR11llama_batchiiRKSt6vectorIiSaIiEEb: push rax mov rax, [rdi+28h] movsxd r9, dword ptr [rdi] cmp qword ptr [rax+r9*8], 0 jz short loc_754B3 mov r10, [rdi+8] mov [r10+r9*4], esi mov rsi, [rdi+18h] movsxd r9, dword ptr [rdi] mov [rsi+r9*4], edx mov rdx, [rcx] mov ...
long long common_batch_add(int *a1, int a2, int a3, long long *a4, char a5) { long long v5; // rax long long v6; // rax long long v7; // r9 long long v8; // rdx long long v9; // rsi long long v10; // rcx long long v11; // rcx long long v12; // rsi long long v14; // [rsp-8h] [rbp-8h] v14 = v5; v6...
common_batch_add: PUSH RAX MOV RAX,qword ptr [RDI + 0x28] MOVSXD R9,dword ptr [RDI] CMP qword ptr [RAX + R9*0x8],0x0 JZ 0x001754b3 MOV R10,qword ptr [RDI + 0x8] MOV dword ptr [R10 + R9*0x4],ESI MOV RSI,qword ptr [RDI + 0x18] MOVSXD R9,dword ptr [RDI] MOV dword ptr [RSI + R9*0x4],EDX MOV RDX,qword ptr [RCX] MOV RSI,qwor...
/* common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int> > const&, bool) */ int8 common_batch_add(llama_batch *param_1,int param_2,int param_3,vector *param_4,bool param_5) { long lVar1; long lVar2; int8 in_RAX; long lVar3; long lVar4; lVar1 = *(long *)(param_1 + 0x28); if (*...
32,477
minja::IfNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const
monkey531[P]llama/common/minja.hpp
void do_render(std::ostringstream & out, const std::shared_ptr<Context> & context) const override { for (const auto& branch : cascade) { auto enter_branch = true; if (branch.first) { enter_branch = branch.first->evaluate(context).to_bool(); } if (enter_branch) {...
O3
cpp
minja::IfNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rsi, (%rsp) movq 0x20(%rdi), %r13 movq 0x28(%rdi), %r14 cmpq %r14, %r13...
_ZNK5minja6IfNode9do_renderERNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_7ContextEE: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 58h mov [rsp+88h+var_88], rsi mov r13, [rdi+20h] mov r14, [rdi+28h] cmp r13, r14 jz loc_99E10 ...
do_render: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x58 MOV qword ptr [RSP],RSI MOV R13,qword ptr [RDI + 0x20] MOV R14,qword ptr [RDI + 0x28] CMP R13,R14 JZ 0x00199e10 MOV RBX,RDX LEA R15,[RSP + 0x48] LEA R12,[RSP + 0x8] LAB_00199d50: MOV RSI,qword ptr [R13] TEST RSI,RSI JZ 0x00199dfb MOV RDI,R12 ...
/* minja::IfNode::do_render(std::__cxx11::ostringstream&, std::shared_ptr<minja::Context> const&) const */ void minja::IfNode::do_render(ostringstream *param_1,shared_ptr *param_2) { int *piVar1; int8 *puVar2; char cVar3; int iVar4; runtime_error *this; int8 *puVar5; Expression local_80 [8]; long ...
32,478
ggml_quantize_init
Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c
void ggml_quantize_init(enum ggml_type type) { ggml_critical_section_start(); switch (type) { case GGML_TYPE_IQ2_XXS: case GGML_TYPE_IQ2_XS: case GGML_TYPE_IQ2_S: case GGML_TYPE_IQ1_S: case GGML_TYPE_IQ1_M: iq2xs_init_impl(type); break; case GGML_TYPE_IQ3_XXS: ...
O0
c
ggml_quantize_init: pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x4(%rbp) callq 0x48ea0 movl -0x4(%rbp), %eax movl %eax, -0x8(%rbp) addl $-0x10, %eax subl $0x2, %eax jb 0x59902 jmp 0x598d0 movl -0x8(%rbp), %eax subl $0x12, %eax je 0x5990c jmp 0x598da movl -0x8(%rbp), %eax subl $0x13, %eax je 0x59902 jmp 0x5...
ggml_quantize_init: push rbp mov rbp, rsp sub rsp, 10h mov [rbp+var_4], edi call _ggml_critical_section_start mov eax, [rbp+var_4] mov [rbp+var_8], eax add eax, 0FFFFFFF0h sub eax, 2 jb short loc_59902 jmp short $+2 loc_598D0: mov eax, [rbp+var_8] sub eax, 12h jz ...
long long ggml_quantize_init(unsigned int a1) { ggml_critical_section_start(); if ( a1 - 16 < 2 ) goto LABEL_7; switch ( a1 ) { case 0x12u: iq3xs_init_impl(256LL); return ggml_critical_section_end(); case 0x13u: goto LABEL_7; case 0x15u: iq3xs_init_impl(512LL); ret...
ggml_quantize_init: PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV dword ptr [RBP + -0x4],EDI CALL 0x00148ea0 MOV EAX,dword ptr [RBP + -0x4] MOV dword ptr [RBP + -0x8],EAX ADD EAX,-0x10 SUB EAX,0x2 JC 0x00159902 JMP 0x001598d0 LAB_001598d0: MOV EAX,dword ptr [RBP + -0x8] SUB EAX,0x12 JZ 0x0015990c JMP 0x001598da LAB_001598da: M...
void ggml_quantize_init(int param_1) { ggml_critical_section_start(); if (1 < param_1 - 0x10U) { if (param_1 == 0x12) { iq3xs_init_impl(0x100); goto LAB_00159926; } if (param_1 != 0x13) { if (param_1 == 0x15) { iq3xs_init_impl(0x200); goto LAB_00159926; } ...
32,479
ggml_quantize_init
Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c
void ggml_quantize_init(enum ggml_type type) { ggml_critical_section_start(); switch (type) { case GGML_TYPE_IQ2_XXS: case GGML_TYPE_IQ2_XS: case GGML_TYPE_IQ2_S: case GGML_TYPE_IQ1_S: case GGML_TYPE_IQ1_M: iq2xs_init_impl(type); break; case GGML_TYPE_IQ3_XXS: ...
O1
c
ggml_quantize_init: pushq %rbx movl %edi, %ebx callq 0x18e20 cmpl $0x1d, %ebx ja 0x2467d movl $0x204b0000, %eax # imm = 0x204B0000 btl %ebx, %eax jae 0x24662 movl %ebx, %edi callq 0x18f50 jmp 0x2467d cmpl $0x12, %ebx je 0x24673 cmpl $0x15, %ebx jne 0x2467d movl $0x200, %edi # imm = 0x200 jmp 0x24678 mo...
ggml_quantize_init: push rbx mov ebx, edi call _ggml_critical_section_start cmp ebx, 1Dh ja short loc_2467D mov eax, 204B0000h bt eax, ebx jnb short loc_24662 mov edi, ebx call _iq2xs_init_impl jmp short loc_2467D loc_24662: cmp ebx, 12h jz short loc_24673 cmp ebx...
long long ggml_quantize_init(long long a1) { int v1; // eax long long v2; // rdi ggml_critical_section_start(a1); if ( (unsigned int)a1 <= 0x1D ) { v1 = 541786112; if ( !_bittest(&v1, a1) ) { if ( (_DWORD)a1 == 18 ) { v2 = 256LL; } else { if ( (_DWOR...
ggml_quantize_init: PUSH RBX MOV EBX,EDI CALL 0x00118e20 CMP EBX,0x1d JA 0x0012467d MOV EAX,0x204b0000 BT EAX,EBX JNC 0x00124662 MOV EDI,EBX CALL 0x00118f50 JMP 0x0012467d LAB_00124662: CMP EBX,0x12 JZ 0x00124673 CMP EBX,0x15 JNZ 0x0012467d MOV EDI,0x200 JMP 0x00124678 LAB_00124673: MOV EDI,0x100 LAB_00124678: CALL 0x0...
void ggml_quantize_init(uint param_1) { int8 uVar1; ggml_critical_section_start(); if (param_1 < 0x1e) { if ((0x204b0000U >> (param_1 & 0x1f) & 1) == 0) { if (param_1 == 0x12) { uVar1 = 0x100; } else { if (param_1 != 0x15) goto LAB_0012467d; uVar1 = 0x200; ...
32,480
ggml_quantize_init
Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c
void ggml_quantize_init(enum ggml_type type) { ggml_critical_section_start(); switch (type) { case GGML_TYPE_IQ2_XXS: case GGML_TYPE_IQ2_XS: case GGML_TYPE_IQ2_S: case GGML_TYPE_IQ1_S: case GGML_TYPE_IQ1_M: iq2xs_init_impl(type); break; case GGML_TYPE_IQ3_XXS: ...
O3
c
ggml_quantize_init: pushq %rbx movl %edi, %ebx callq 0x17e10 cmpl $0x1d, %ebx ja 0x2332d movl $0x204b0000, %eax # imm = 0x204B0000 btl %ebx, %eax jae 0x23312 movl %ebx, %edi callq 0x17f40 jmp 0x2332d cmpl $0x12, %ebx je 0x23323 cmpl $0x15, %ebx jne 0x2332d movl $0x200, %edi # imm = 0x200 jmp 0x23328 mo...
ggml_quantize_init: push rbx mov ebx, edi call _ggml_critical_section_start cmp ebx, 1Dh ja short loc_2332D mov eax, 204B0000h bt eax, ebx jnb short loc_23312 mov edi, ebx call _iq2xs_init_impl jmp short loc_2332D loc_23312: cmp ebx, 12h jz short loc_23323 cmp ebx...
long long ggml_quantize_init(long long a1) { int v1; // eax long long v2; // rdi ggml_critical_section_start(a1); if ( (unsigned int)a1 <= 0x1D ) { v1 = 541786112; if ( !_bittest(&v1, a1) ) { if ( (_DWORD)a1 == 18 ) { v2 = 256LL; } else { if ( (_DWOR...
ggml_quantize_init: PUSH RBX MOV EBX,EDI CALL 0x00117e10 CMP EBX,0x1d JA 0x0012332d MOV EAX,0x204b0000 BT EAX,EBX JNC 0x00123312 MOV EDI,EBX CALL 0x00117f40 JMP 0x0012332d LAB_00123312: CMP EBX,0x12 JZ 0x00123323 CMP EBX,0x15 JNZ 0x0012332d MOV EDI,0x200 JMP 0x00123328 LAB_00123323: MOV EDI,0x100 LAB_00123328: CALL 0x0...
void ggml_quantize_init(uint param_1) { int8 uVar1; ggml_critical_section_start(); if (param_1 < 0x1e) { if ((0x204b0000U >> (param_1 & 0x1f) & 1) == 0) { if (param_1 == 0x12) { uVar1 = 0x100; } else { if (param_1 != 0x15) goto LAB_0012332d; uVar1 = 0x200; ...
32,481
void nglog::internal::MakeCheckOpValueString<char>(std::ostream*, char const&)
ng-log[P]ng-log/src/logging.cc
void MakeCheckOpValueString(std::ostream* os, const char& v) { if (v >= 32 && v <= 126) { (*os) << "'" << v << "'"; } else { (*os) << "char value " << static_cast<short>(v); } }
O1
cpp
void nglog::internal::MakeCheckOpValueString<char>(std::ostream*, char const&): pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movb (%rsi), %al addb $-0x7f, %al cmpb $-0x5f, %al jae 0xdfc6 leaq 0x148f1(%rip), %rsi # 0x22895 movl $0xb, %edx movq %rbx, %rdi callq 0x7610 movsbl (%r14...
_ZN5nglog8internal22MakeCheckOpValueStringIcEEvPSoRKT_: push r15 push r14 push rbx sub rsp, 10h mov r14, rsi mov rbx, rdi mov al, [rsi] add al, 81h cmp al, 0A1h jnb short loc_DFC6 lea rsi, aUnsignedCharVa+9; "char value " mov edx, 0Bh mov rdi, rbx call __ZSt16__ostrea...
long long nglog::internal::MakeCheckOpValueString<char>(long long a1, char *a2) { long long v3; // rax _BYTE v4[25]; // [rsp+Fh] [rbp-19h] BYREF if ( (unsigned __int8)(*a2 - 127) >= 0xA1u ) { std::__ostream_insert<char,std::char_traits<char>>(a1, "'", 1LL); v4[0] = *a2; v3 = std::__ostream_insert<...
MakeCheckOpValueString<char>: PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x10 MOV R14,RSI MOV RBX,RDI MOV AL,byte ptr [RSI] ADD AL,0x81 CMP AL,0xa1 JNC 0x0010dfc6 LEA RSI,[0x122895] MOV EDX,0xb MOV RDI,RBX CALL 0x00107610 MOVSX ESI,byte ptr [R14] MOV RDI,RBX ADD RSP,0x10 POP RBX POP R14 POP R15 JMP 0x00107490 LAB_0010dfc6: LEA...
/* void nglog::internal::MakeCheckOpValueString<char>(std::ostream*, char const&) */ void nglog::internal::MakeCheckOpValueString<char>(ostream *param_1,char *param_2) { ostream *poVar1; char local_19; if ((byte)(*param_2 + 0x81U) < 0xa1) { std::__ostream_insert<char,std::char_traits<char>>(param_1,"cha...
32,482
void nglog::internal::MakeCheckOpValueString<char>(std::ostream*, char const&)
ng-log[P]ng-log/src/logging.cc
void MakeCheckOpValueString(std::ostream* os, const char& v) { if (v >= 32 && v <= 126) { (*os) << "'" << v << "'"; } else { (*os) << "char value " << static_cast<short>(v); } }
O3
cpp
void nglog::internal::MakeCheckOpValueString<char>(std::ostream*, char const&): pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movb (%rsi), %al addb $-0x7f, %al cmpb $-0x5f, %al jae 0xde21 leaq 0x14a7e(%rip), %rsi # 0x2287d movl $0xb, %edx movq %rbx, %rdi callq 0x7610 movsbl (%r14...
_ZN5nglog8internal22MakeCheckOpValueStringIcEEvPSoRKT_: push r15 push r14 push rbx sub rsp, 10h mov r14, rsi mov rbx, rdi mov al, [rsi] add al, 81h cmp al, 0A1h jnb short loc_DE21 lea rsi, aUnsignedCharVa+9; "char value " mov edx, 0Bh mov rdi, rbx call __ZSt16__ostrea...
long long nglog::internal::MakeCheckOpValueString<char>(long long a1, char *a2) { long long v3; // rax _BYTE v4[25]; // [rsp+Fh] [rbp-19h] BYREF if ( (unsigned __int8)(*a2 - 127) >= 0xA1u ) { std::__ostream_insert<char,std::char_traits<char>>(a1, "'", 1LL); v4[0] = *a2; v3 = std::__ostream_insert<...
MakeCheckOpValueString<char>: PUSH R15 PUSH R14 PUSH RBX SUB RSP,0x10 MOV R14,RSI MOV RBX,RDI MOV AL,byte ptr [RSI] ADD AL,0x81 CMP AL,0xa1 JNC 0x0010de21 LEA RSI,[0x12287d] MOV EDX,0xb MOV RDI,RBX CALL 0x00107610 MOVSX ESI,byte ptr [R14] MOV RDI,RBX ADD RSP,0x10 POP RBX POP R14 POP R15 JMP 0x00107490 LAB_0010de21: LEA...
/* void nglog::internal::MakeCheckOpValueString<char>(std::ostream*, char const&) */ void nglog::internal::MakeCheckOpValueString<char>(ostream *param_1,char *param_2) { ostream *poVar1; char local_19; if ((byte)(*param_2 + 0x81U) < 0xa1) { std::__ostream_insert<char,std::char_traits<char>>(param_1,"cha...
32,483
mysql_free_result
eloqsql/libmariadb/libmariadb/mariadb_lib.c
void STDCALL mysql_free_result(MYSQL_RES *result) { if (result) { if (result->handle && result->handle->status == MYSQL_STATUS_USE_RESULT) { result->handle->methods->db_skip_result(result->handle); result->handle->status=MYSQL_STATUS_READY; } free_rows(result->data); if (result->fiel...
O3
c
mysql_free_result: testq %rdi, %rdi je 0x73861 pushq %rbp movq %rsp, %rbp pushq %rbx pushq %rax movq %rdi, %rbx movq 0x78(%rdi), %rdi testq %rdi, %rdi je 0x7382a cmpl $0x2, 0x488(%rdi) jne 0x7382a movq 0x4d0(%rdi), %rax callq *0x18(%rax) movq 0x78(%rbx), %rax movl $0x0, 0x488(%rax) movq 0x18(%rbx), %rdi callq 0x72f8a c...
mysql_free_result: test rdi, rdi jz short locret_73861 push rbp mov rbp, rsp push rbx push rax mov rbx, rdi mov rdi, [rdi+78h] test rdi, rdi jz short loc_7382A cmp dword ptr [rdi+488h], 2 jnz short loc_7382A mov rax, [rdi+4D0h] call qword ptr [rax+18h] mov rax, [r...
long long mysql_free_result(_QWORD *a1) { long long v2; // rdi long long v3; // rdi long long result; // rax if ( a1 ) { v2 = a1[15]; if ( v2 && *(_DWORD *)(v2 + 1160) == 2 ) { (*(void ( **)(long long))(*(_QWORD *)(v2 + 1232) + 24LL))(v2); *(_DWORD *)(a1[15] + 1160LL) = 0; } ...
mysql_free_result: TEST RDI,RDI JZ 0x00173861 PUSH RBP MOV RBP,RSP PUSH RBX PUSH RAX MOV RBX,RDI MOV RDI,qword ptr [RDI + 0x78] TEST RDI,RDI JZ 0x0017382a CMP dword ptr [RDI + 0x488],0x2 JNZ 0x0017382a MOV RAX,qword ptr [RDI + 0x4d0] CALL qword ptr [RAX + 0x18] MOV RAX,qword ptr [RBX + 0x78] MOV dword ptr [RAX + 0x488]...
void mysql_free_result(void *param_1) { long lVar1; if (param_1 != (void *)0x0) { lVar1 = *(long *)((long)param_1 + 0x78); if ((lVar1 != 0) && (*(int *)(lVar1 + 0x488) == 2)) { (**(code **)(*(long *)(lVar1 + 0x4d0) + 0x18))(); *(int4 *)(*(long *)((long)param_1 + 0x78) + 0x488) = 0; } ...
32,484
ftb_climb_the_tree
eloqsql/storage/myisam/ft_boolean_search.c
static int _ftb_climb_the_tree(FTB *ftb, FTB_WORD *ftbw, FT_SEG_ITERATOR *ftsi_orig) { FT_SEG_ITERATOR ftsi; FTB_EXPR *ftbe; float weight=ftbw->weight; int yn_flag= ftbw->flags, ythresh, mode=(ftsi_orig != 0); my_off_t curdoc=ftbw->docid[mode]; struct st_mysql_ftparser *parser= ftb->keynr == NO_SUCH_KEY ? ...
O0
c
ftb_climb_the_tree: pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x18(%rbp), %rax movss 0x40(%rax), %xmm0 movss %xmm0, -0x4c(%rbp) movq -0x18(%rbp), %rax movl 0x8(%rax), %eax movl %eax, -0x50(%rbp) cmpq $0x0, -0x20(%rbp) setne %al andb $0x1, %al ...
_ftb_climb_the_tree: push rbp mov rbp, rsp sub rsp, 90h mov [rbp+var_10], rdi mov [rbp+var_18], rsi mov [rbp+var_20], rdx mov rax, [rbp+var_18] movss xmm0, dword ptr [rax+40h] movss [rbp+var_4C], xmm0 mov rax, [rbp+var_18] mov eax, [rax+8] mov [rbp+var_50], eax cmp [rbp+va...
long long ftb_climb_the_tree(long long a1, long long a2, _QWORD *a3) { int v3; // eax int v4; // eax int v6; // [rsp+8h] [rbp-88h] char v7; // [rsp+Fh] [rbp-81h] int v8; // [rsp+10h] [rbp-80h] void *v9; // [rsp+18h] [rbp-78h] int v10; // [rsp+24h] [rbp-6Ch] long long v11; // [rsp+30h] [rbp-60h] BOOL ...
_ftb_climb_the_tree: PUSH RBP MOV RBP,RSP SUB RSP,0x90 MOV qword ptr [RBP + -0x10],RDI MOV qword ptr [RBP + -0x18],RSI MOV qword ptr [RBP + -0x20],RDX MOV RAX,qword ptr [RBP + -0x18] MOVSS XMM0,dword ptr [RAX + 0x40] MOVSS dword ptr [RBP + -0x4c],XMM0 MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x8] MOV dw...
int4 _ftb_climb_the_tree(long param_1,int8 *param_2,int8 *param_3) { long lVar1; uint uVar2; int iVar3; uint local_90; int local_88; int1 *local_80; int local_74; uint local_58; float local_54; int8 *local_50; int8 local_48; int8 local_40; int8 local_38; long local_30; int8 *local_28; ...
32,485
translog_buffer_lock
eloqsql/storage/maria/ma_loghandler.c
static void translog_buffer_lock(struct st_translog_buffer *buffer) { DBUG_ENTER("translog_buffer_lock"); DBUG_PRINT("enter", ("Lock buffer #%u: %p", buffer->buffer_no, buffer)); mysql_mutex_lock(&buffer->mutex); DBUG_VOID_RETURN; }
O0
c
translog_buffer_lock: pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) jmp 0x5530e movq -0x8(%rbp), %rdi addq $0x100090, %rdi # imm = 0x100090 leaq 0xc9f0f(%rip), %rsi # 0x11f22f movl $0x6cb, %edx # imm = 0x6CB callq 0x54eb0 jmp 0x5532c addq $0x10, %rsp popq %rbp retq nopw %cs:(%...
translog_buffer_lock: push rbp mov rbp, rsp sub rsp, 10h mov [rbp+var_8], rdi jmp short $+2 loc_5530E: mov rdi, [rbp+var_8] add rdi, 100090h lea rsi, aWorkspaceLlm4b_14; "/workspace/llm4binary/github2025/eloqsq"... mov edx, 6CBh call inline_mysql_mutex_lock_7 jmp short $+2 loc_...
long long translog_buffer_lock(long long a1) { return inline_mysql_mutex_lock_7( a1 + 1048720, (long long)"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghandler.c", 0x6CBu); }
translog_buffer_lock: PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI JMP 0x0015530e LAB_0015530e: MOV RDI,qword ptr [RBP + -0x8] ADD RDI,0x100090 LEA RSI,[0x21f22f] MOV EDX,0x6cb CALL 0x00154eb0 JMP 0x0015532c LAB_0015532c: ADD RSP,0x10 POP RBP RET
void translog_buffer_lock(long param_1) { inline_mysql_mutex_lock (param_1 + 0x100090, "/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghandler.c",0x6cb); return; }
32,486
l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long, CURSOR*, LF_PINS*, char (*)(void*, void*))
eloqsql/mysys/lf_hash.cc
static int l_find(LF_SLIST **head, CHARSET_INFO *cs, uint32 hashnr, const uchar *key, size_t keylen, CURSOR *cursor, LF_PINS *pins, my_hash_walk_action callback) { uint32 cur_hashnr; const uchar *cur_key; size_t cur_keylen; intptr link; DBUG_ASSERT(!cs || ...
O0
cpp
l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long, CURSOR*, LF_PINS*, char (*)(void*, void*)): pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movq %rcx, -0x28(%rbp) mo...
_ZL6l_findPP8LF_SLISTPK15charset_info_stjPKhmP6CURSORP7LF_PINSPFcPvSB_E: push rbp mov rbp, rsp sub rsp, 0D0h mov rax, [rbp+arg_8] mov rax, [rbp+arg_0] 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 mov [rbp+var_38],...
_BOOL8 l_find( volatile signed long long *a1, long long a2, unsigned int a3, long long a4, long long a5, volatile signed long long **a6, volatile long long *a7, unsigned __int8 ( *a8)(volatile signed long long *, long long)) { signed long long v8; // rt...
32,487
l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long, CURSOR*, LF_PINS*, char (*)(void*, void*))
eloqsql/mysys/lf_hash.cc
static int l_find(LF_SLIST **head, CHARSET_INFO *cs, uint32 hashnr, const uchar *key, size_t keylen, CURSOR *cursor, LF_PINS *pins, my_hash_walk_action callback) { uint32 cur_hashnr; const uchar *cur_key; size_t cur_keylen; intptr link; DBUG_ASSERT(!cs || ...
O3
cpp
l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long, CURSOR*, LF_PINS*, char (*)(void*, void*)): pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r9, %rbx movq %r8, -0x48(%rbp) movq %rcx, -0x38(%rbp) movl %edx, -0x2c(%rbp) ...
_ZL6l_findPP8LF_SLISTPK15charset_info_stjPKhmP6CURSORP7LF_PINSPFcPvSB_E: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 28h mov rbx, r9 mov [rbp+var_48], r8 mov [rbp+var_38], rcx mov [rbp+var_2C], edx mov [rbp+var_40], rsi mov r14, rdi mov ...
long long l_find( long long *a1, long long a2, unsigned int a3, long long a4, long long a5, long long a6, volatile long long *a7, unsigned __int8 ( *a8)(long long, long long)) { long long i; // rax long long v11; // rax int j; // eax int m; // eax...
l_find: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x28 MOV RBX,R9 MOV qword ptr [RBP + -0x48],R8 MOV qword ptr [RBP + -0x38],RCX MOV dword ptr [RBP + -0x2c],EDX MOV qword ptr [RBP + -0x40],RSI MOV R14,RDI MOV R15,qword ptr [RBP + 0x10] LEA R13,[0x4aea20] LAB_00132266: MOV qword ptr [RBX]...
/* l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long, CURSOR*, LF_PINS*, char (*)(void*, void*)) */ bool l_find(LF_SLIST **param_1,charset_info_st *param_2,uint param_3,uchar *param_4,ulong param_5, CURSOR *param_6,LF_PINS *param_7,_func_char_void_ptr_void_ptr ...
32,488
findPeaks::_peak_heights(std::vector<double, std::allocator<double>> const&, std::vector<findPeaks::lmr_peak_index_t, std::allocator<findPeaks::lmr_peak_index_t>> const&)
giladroyz[P]FindPeaks/src/cpp/find_peaks.cpp
std::vector<double> _peak_heights(const std::vector<double> &x, const std::vector<lmr_peak_index_t> &peaks) { std::vector<double> heights; for (size_t p = 0; p < peaks.size(); p++) heights.push_back(x[peaks[p].mid_point]); return heights; }
O1
cpp
findPeaks::_peak_heights(std::vector<double, std::allocator<double>> const&, std::vector<findPeaks::lmr_peak_index_t, std::allocator<findPeaks::lmr_peak_index_t>> const&): pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10...
_ZN9findPeaks13_peak_heightsERKSt6vectorIdSaIdEERKS0_INS_16lmr_peak_index_tESaIS5_EE: push rbp push r15 push r14 push r13 push r12 push rbx push rax mov rbx, rdi xorps xmm0, xmm0 movups xmmword ptr [rdi], xmm0 mov qword ptr [rdi+10h], 0 mov rax, [rdx] cmp [rdx+8], rax jz sho...
long long findPeaks::_peak_heights(long long a1, _QWORD *a2, long long *a3) { long long v3; // rax long long v6; // r12 unsigned long long v7; // r13 _QWORD *v8; // rdx _QWORD *v9; // rsi *(_OWORD *)a1 = 0LL; *(_QWORD *)(a1 + 16) = 0LL; v3 = *a3; if ( a3[1] != *a3 ) { v6 = 8LL; v7 = 0LL; ...
_peak_heights: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV RBX,RDI XORPS XMM0,XMM0 MOVUPS xmmword ptr [RDI],XMM0 MOV qword ptr [RDI + 0x10],0x0 MOV RAX,qword ptr [RDX] CMP qword ptr [RDX + 0x8],RAX JZ 0x0013d56f MOV R14,RDX MOV R15,RSI MOV R12D,0x8 XOR R13D,R13D MOV RBP,-0x5555555555555555 LAB_00...
/* findPeaks::_peak_heights(std::vector<double, std::allocator<double> > const&, std::vector<findPeaks::lmr_peak_index_t, std::allocator<findPeaks::lmr_peak_index_t> > const&) */ findPeaks * __thiscall findPeaks::_peak_heights(findPeaks *this,vector *param_1,vector *param_2) { int8 *puVar1; long lVar2; long...
32,489
unlock_io_cache
eloqsql/mysys/mf_iocache.c
static void unlock_io_cache(IO_CACHE *cache) { IO_CACHE_SHARE *cshare= cache->share; DBUG_ENTER("unlock_io_cache"); DBUG_PRINT("io_cache_share", ("%s: %p pos: %lu running: %u", (cache == cshare->source_cache) ? "writer" : "reader", ...
O3
c
unlock_io_cache: pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx movq %rdi, %rbx movl 0xdc(%rdi), %eax movl %eax, 0xd8(%rdi) leaq 0x48(%rdi), %r14 movq 0x78(%rdi), %rdi testq %rdi, %rdi jne 0x981b7 movq %r14, %rdi callq 0x296f0 movq 0x40(%rbx), %rdi testq %rdi, %rdi jne 0x981c9 movq %rbx, %rdi popq %rbx popq %r14 popq...
unlock_io_cache: push rbp mov rbp, rsp push r14 push rbx mov rbx, rdi mov eax, [rdi+0DCh] mov [rdi+0D8h], eax lea r14, [rdi+48h] mov rdi, [rdi+78h] test rdi, rdi jnz short loc_981B7 loc_9819A: mov rdi, r14 call _pthread_cond_broadcast mov rdi, [rbx+40h] test rdi, rd...
long long unlock_io_cache(long long a1) { *(_DWORD *)(a1 + 216) = *(_DWORD *)(a1 + 220); if ( *(_QWORD *)(a1 + 120) ) PSI_server[47](); pthread_cond_broadcast(a1 + 72); if ( *(_QWORD *)(a1 + 64) ) PSI_server[44](); return pthread_mutex_unlock(a1); }
unlock_io_cache: PUSH RBP MOV RBP,RSP PUSH R14 PUSH RBX MOV RBX,RDI MOV EAX,dword ptr [RDI + 0xdc] MOV dword ptr [RDI + 0xd8],EAX LEA R14,[RDI + 0x48] MOV RDI,qword ptr [RDI + 0x78] TEST RDI,RDI JNZ 0x001981b7 LAB_0019819a: MOV RDI,R14 CALL 0x001296f0 MOV RDI,qword ptr [RBX + 0x40] TEST RDI,RDI JNZ 0x001981c9 LAB_00198...
void unlock_io_cache(pthread_mutex_t *param_1) { *(int4 *)((long)param_1 + 0xd8) = *(int4 *)((long)param_1 + 0xdc); if (param_1[3].__align != 0) { (**(code **)(PSI_server + 0x178))(); } pthread_cond_broadcast((pthread_cond_t *)((long)param_1 + 0x48)); if (*(long *)((long)param_1 + 0x40) != 0) { (**(...
32,490
ma_write_static_record
eloqsql/storage/maria/ma_statrec.c
my_bool _ma_write_static_record(MARIA_HA *info, const uchar *record) { uchar temp[8]; /* max pointer length */ if (info->s->state.dellink != HA_OFFSET_ERROR && !info->append_insert_at_end) { my_off_t filepos=info->s->state.dellink; info->rec_cache.seek_not_done=1; /*...
O3
c
ma_write_static_record: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %fs:0x28, %rax movq %rax, -0x30(%rbp) movq (%rdi), %rax movq 0xc8(%rax), %r15 cmpq $-0x1, %r15 je 0x5aef9 cmpb $0x0, 0x681(%rbx) je 0x5afcc movq 0x20(%rbx), %rc...
_ma_write_static_record: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 18h mov r14, rsi mov rbx, rdi mov rax, fs:28h mov [rbp+var_30], rax mov rax, [rdi] mov r15, [rax+0C8h] cmp r15, 0FFFFFFFFFFFFFFFFh jz short loc_5AEF9 cmp by...
long long ma_write_static_record(_DWORD *a1, const char *a2) { long long v2; // r14 long long v4; // rax long long v5; // r15 long long v6; // rcx long long v7; // r13 long long v8; // rax long long v9; // r15 long long v10; // r15 long long v11; // rdx long long v12; // r12 long long v13; // rdi...
_ma_write_static_record: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x18 MOV R14,RSI MOV RBX,RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x30],RAX MOV RAX,qword ptr [RDI] MOV R15,qword ptr [RAX + 0xc8] CMP R15,-0x1 JZ 0x0015aef9 CMP byte ptr [RBX + 0x681],0x0 JZ 0x0015afcc LAB_0...
ulong _ma_write_static_record(long *param_1,void *param_2) { long lVar1; size_t __n; int4 *puVar2; long lVar3; int8 uVar4; uint uVar5; int7 uVar7; ulong uVar6; int iVar8; long in_FS_OFFSET; int1 local_40 [8]; long local_38; local_38 = *(long *)(in_FS_OFFSET + 0x28); lVar3 = *param_1; ...
32,491
chess::uci::resolveAmbiguity(chess::Board const&, chess::Move const&, chess::PieceType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
Razamindset[P]pawnstar-chess-engine/src/engine/../chess-library/include/chess.hpp
static void resolveAmbiguity(const Board &board, const Move &move, PieceType pieceType, std::string &str) { Movelist moves; movegen::legalmoves(moves, board, 1 << pieceType); bool needFile = false; bool needRank = false; bool hasAmbiguousMove = false; fo...
O1
cpp
chess::uci::resolveAmbiguity(chess::Board const&, chess::Move const&, chess::PieceType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&): pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x438, %rsp # imm = 0x438 movq %rcx, %rbx movl %edx, %ecx movq %rsi...
_ZN5chess3uci16resolveAmbiguityERKNS_5BoardERKNS_4MoveENS_9PieceTypeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 438h mov rbx, rcx mov ecx, edx mov r14, rsi mov edx, 1 shl edx, cl mov rsi, rdi mov ...
void chess::uci::resolveAmbiguity(long long a1, _WORD *a2, char a3, long long a4) { int v5; // edx int v6; // edx int v7; // ecx int v8; // r8d int v9; // r9d long long v10; // rbx unsigned long long v11; // r12 char v12; // bp char v13; // r13 char v14; // al bool v15; // zf char v16; // r13 ...
resolveAmbiguity: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x438 MOV RBX,RCX MOV ECX,EDX MOV R14,RSI MOV EDX,0x1 SHL EDX,CL MOV RSI,RDI MOV dword ptr [RSP + 0x434],0x0 CMP byte ptr [RDI + 0xae],0x0 JZ 0x0010a6c1 LEA RDI,[RSP + 0x34] CALL 0x00108b88 JMP 0x0010a6cb LAB_0010a6c1: LEA RDI,[RSP + 0x34] ...
/* chess::uci::resolveAmbiguity(chess::Board const&, chess::Move const&, chess::PieceType, std::__cxx11::string&) */ void chess::uci::resolveAmbiguity(Board *param_1,ushort *param_2,byte param_3,char *param_4) { bool bVar1; bool bVar2; byte bVar3; long lVar4; int iVar5; long lVar6; bool bVar7; lon...
32,492
chess::uci::resolveAmbiguity(chess::Board const&, chess::Move const&, chess::PieceType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
Razamindset[P]pawnstar-chess-engine/src/engine/../chess-library/include/chess.hpp
static void resolveAmbiguity(const Board &board, const Move &move, PieceType pieceType, std::string &str) { Movelist moves; movegen::legalmoves(moves, board, 1 << pieceType); bool needFile = false; bool needRank = false; bool hasAmbiguousMove = false; fo...
O2
cpp
chess::uci::resolveAmbiguity(chess::Board const&, chess::Move const&, chess::PieceType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&): pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x438, %rsp # imm = 0x438 movq %rcx, (%rsp) movl %edx, %ecx movq %r...
_ZN5chess3uci16resolveAmbiguityERKNS_5BoardERKNS_4MoveENS_9PieceTypeERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 438h mov [rsp+468h+var_468], rcx mov ecx, edx mov r14, rsi mov rsi, rdi lea r15, [rsp+468h+...
long long chess::uci::resolveAmbiguity(long long a1, chess::Move *a2, long long a3, long long a4) { long long result; // rax long long v5; // r12 long long v6; // r13 char v7; // bl int v8; // ebp long long v9; // rdx long long v10; // rcx long long v11; // r8 long long v12; // r9 int v13; // eax ...
resolveAmbiguity: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x438 MOV qword ptr [RSP],RCX MOV ECX,EDX MOV R14,RSI MOV RSI,RDI LEA R15,[RSP + 0x34] AND dword ptr [R15 + 0x400],0x0 PUSH 0x1 POP RDX SHL EDX,CL MOV RDI,R15 CALL 0x00107352 MOVSXD R12,dword ptr [R15 + 0x400] SHL R12,0x2 XOR R13D,R13D XOR ...
/* chess::uci::resolveAmbiguity(chess::Board const&, chess::Move const&, chess::PieceType, std::__cxx11::string&) */ void chess::uci::resolveAmbiguity(Board *param_1,Move *param_2,byte param_3,string *param_4) { byte bVar1; bool bVar2; bool bVar3; int iVar4; int iVar5; int4 uVar6; long lVar7; long...
32,493
my_convert
eloqsql/strings/ctype.c
uint32 my_convert(char *to, uint32 to_length, CHARSET_INFO *to_cs, const char *from, uint32 from_length, CHARSET_INFO *from_cs, uint *errors) { uint32 length, length2; /* If any of the character sets is not ASCII compatible, immediately switch to slow mb_wc->wc_mb method. */ if ((t...
O3
c
my_convert: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %r9, %rax movl %r8d, %r9d movq %rcx, %r8 movq 0x10(%rbp), %r10 movl 0xc(%rax), %ecx orl 0xc(%rdx), %ecx btl $0xd, %ecx jb 0x550e4 cmpl %r9d, %esi movl %r9d, %ebx cmovbl %esi, %ebx movl %ebx, %ecx cmpl $0x4, %ebx jb 0x550bd movl (%r8...
my_convert: push rbp mov rbp, rsp push r15 push r14 push rbx push rax mov rax, r9 mov r9d, r8d mov r8, rcx mov r10, [rbp+arg_0] mov ecx, [rax+0Ch] or ecx, [rdx+0Ch] bt ecx, 0Dh jb short loc_550E4 cmp esi, r9d mov ebx, r9d cmovb ebx, esi mov ecx, ebx cm...
long long my_convert( _DWORD *a1, unsigned int a2, long long a3, long long a4, unsigned int a5, long long a6, _DWORD *a7) { _DWORD *v9; // r8 unsigned int v10; // ebx unsigned int v11; // ecx unsigned int v12; // r14d long long v13; // r15 char v14; /...
my_convert: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH RBX PUSH RAX MOV RAX,R9 MOV R9D,R8D MOV R8,RCX MOV R10,qword ptr [RBP + 0x10] MOV ECX,dword ptr [RAX + 0xc] OR ECX,dword ptr [RDX + 0xc] BT ECX,0xd JC 0x001550e4 CMP ESI,R9D MOV EBX,R9D CMOVC EBX,ESI MOV ECX,EBX CMP EBX,0x4 JC 0x001550bd LAB_0015509e: MOV R11D,dwo...
ulong my_convert(uint *param_1,uint param_2,long param_3,uint *param_4,uint param_5,long param_6, int4 *param_7) { int iVar1; ulong uVar2; uint uVar3; uint uVar5; int iVar6; long lVar7; ulong uVar4; uVar2 = (ulong)param_5; if (((*(uint *)(param_6 + 0xc) | *(uint *)(param_3 + 0xc))...
32,494
my_strtoull
eloqsql/libmariadb/libmariadb/ma_stmt_codec.c
static unsigned long long my_strtoull(const char *str, size_t len, const char **end, int *err) { unsigned long long val = 0; const char *p = str; const char *end_str = p + len; for (; p < end_str; p++) { if (*p < '0' || *p > '9') break; if (val > ULONGLONG_MAX /10 || val*10 > ULONGLONG_MAX - (...
O0
c
my_strtoull: pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq $0x0, -0x28(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x30(%rbp) movq -0x30(%rbp), %rax addq -0x10(%rbp), %rax movq %rax, -0x38(%rbp) movq -0x30(%rbp), %rax cmpq -0x38(%rbp), %rax jae 0x...
my_strtoull: push rbp mov rbp, rsp mov [rbp+var_8], rdi mov [rbp+var_10], rsi mov [rbp+var_18], rdx mov [rbp+var_20], rcx mov [rbp+var_28], 0 mov rax, [rbp+var_8] mov [rbp+var_30], rax mov rax, [rbp+var_30] add rax, [rbp+var_10] mov [rbp+var_38], rax loc_53630: mov rax...
unsigned long long my_strtoull(char *a1, long long a2, char **a3, _DWORD *a4) { char *i; // [rsp+8h] [rbp-30h] unsigned long long v6; // [rsp+10h] [rbp-28h] v6 = 0LL; for ( i = a1; i < &a1[a2] && *i >= 48 && *i <= 57; ++i ) { if ( v6 > 0x1999999999999999LL || 10 * v6 > -1LL - (*i - 48) ) { *a4...
my_strtoull: PUSH RBP MOV RBP,RSP 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 + -0x28],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RBP + -0x30],RAX MOV RAX,qword ptr [RBP + -0x30] ADD RAX,qword ptr [RBP + -0x10] ...
ulong my_strtoull(char *param_1,long param_2,int8 *param_3,int4 *param_4) { ulong uVar1; char *local_38; ulong local_30; local_30 = 0; local_38 = param_1; while( true ) { if (((param_1 + param_2 <= local_38) || (*local_38 < '0')) || ('9' < *local_38)) goto LAB_001536be; if ((0x1999999999999...
32,495
b2d
eloqsql/strings/dtoa.c
static double b2d(Bigint *a, int *e) { ULong *xa, *xa0, w, y, z; int k; U d; #define d0 word0(&d) #define d1 word1(&d) xa0= a->p.x; xa= xa0 + a->wds; y= *--xa; k= hi0bits(y); *e= 32 - k; if (k < Ebits) { d0= Exp_1 | y >> (Ebits - k); w= xa > xa0 ? *--xa : 0; d1= y << ((32-Ebits) + k) | ...
O3
c
b2d: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rdi, %r14 movslq %esi, %rax leaq (%rdi,%rax,4), %r13 leaq (%rdi,%rax,4), %r12 addq $-0x4, %r12 movl (%r12), %ebx movl %ebx, %edi callq 0x5837a movl $0x20, %ecx subl %eax, %ecx movl %ecx, (%r15) cmpl $...
b2d: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx push rax mov r15, rdx mov r14, rdi movsxd rax, esi lea r13, [rdi+rax*4] lea r12, [rdi+rax*4] add r12, 0FFFFFFFFFFFFFFFCh mov ebx, [r12] mov edi, ebx call hi0bits mov ecx, 20h ; ' ' sub ...
double b2d(unsigned long long a1, int a2, _DWORD *a3) { unsigned long long v5; // r13 unsigned long long v6; // r12 unsigned int v7; // ebx unsigned int v8; // eax unsigned int v9; // esi unsigned int v10; // edi unsigned int v11; // edi char v12; // dl unsigned int v13; // ebx char v14; // si un...
b2d: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX PUSH RAX MOV R15,RDX MOV R14,RDI MOVSXD RAX,ESI LEA R13,[RDI + RAX*0x4] LEA R12,[RDI + RAX*0x4] ADD R12,-0x4 MOV EBX,dword ptr [R12] MOV EDI,EBX CALL 0x0015837a MOV ECX,0x20 SUB ECX,EAX MOV dword ptr [R15],ECX CMP EAX,0xa JA 0x00158448 MOV EDX,0xb S...
ulong b2d(uint *param_1,int param_2,int *param_3) { char cVar1; uint uVar2; long lVar3; byte bVar4; uint uVar5; uint uVar6; uint *puVar7; lVar3 = (long)param_2; puVar7 = param_1 + lVar3 + -1; uVar5 = *puVar7; uVar2 = hi0bits(uVar5); *param_3 = 0x20 - uVar2; cVar1 = (char)uVar2; if (uVar...
32,496
ma_column_nr_write
eloqsql/storage/maria/ma_open.c
my_bool _ma_column_nr_write(File file, uint16 *offsets, uint columns) { uchar *buff, *ptr, *end; size_t size= columns*2; my_bool res; if (!(buff= (uchar*) my_alloca(size))) return 1; for (ptr= buff, end= ptr + size; ptr < end ; ptr+= 2, offsets++) int2store(ptr, *offsets); res= mysql_file_write(fil...
O3
c
ma_column_nr_write: pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl %edx, %ebx movl %edi, %r14d movq %fs:0x28, %rax movq %rax, -0x30(%rbp) addl %ebx, %ebx movq %rsp, %r15 leaq 0xf(%rbx), %rax andq $-0x10, %rax subq %rax, %r15 movq %r15, %rsp testl %ebx, %ebx je 0x...
_ma_column_nr_write: push rbp mov rbp, rsp push r15 push r14 push r13 push r12 push rbx sub rsp, 58h mov ebx, edx mov r14d, edi mov rax, fs:28h mov [rbp+var_30], rax add ebx, ebx mov r15, rsp lea rax, [rbx+0Fh] and rax, 0FFFFFFFFFFFFFFF0h sub r15, rax mov ...
// bad sp value at call has been detected, the output may be wrong! bool ma_column_nr_write(unsigned int a1, long long a2, int a3) { long long v3; // rbx unsigned long long v4; // r15 long long v5; // rcx long long v6; // rax long long v7; // r14 long long v9; // r12 long long v10; // rsi _BYTE v12[72]...
_ma_column_nr_write: PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x58 MOV EBX,EDX MOV R14D,EDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x30],RAX ADD EBX,EBX MOV R15,RSP LEA RAX,[RBX + 0xf] AND RAX,-0x10 SUB R15,RAX MOV RSP,R15 TEST EBX,EBX JZ 0x001383fd LEA RAX,[R15 + RBX*0x1] MO...
bool _ma_column_nr_write(int4 param_1,void *param_2,int param_3) { code *pcVar1; long lVar2; long lVar3; long lVar4; int1 *puVar5; ulong uVar6; ulong uVar7; int1 *__dest; long in_FS_OFFSET; int8 uStack_90; int1 auStack_88 [8]; int1 local_80 [72]; long local_38; local_38 = *(long *)(in_F...
32,497
js_string_slice
bluesky950520[P]quickjs/quickjs.c
static JSValue js_string_slice(JSContext *ctx, JSValue this_val, int argc, JSValue *argv) { JSValue str, ret; int len, start, end; JSString *p; str = JS_ToStringCheckObject(ctx, this_val); if (JS_IsException(str)) return str; p = JS_VALUE_GET_STRING(str); ...
O1
c
js_string_slice: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r8, %rbp movq %rdi, %r14 callq 0x425ff movq %rdx, %rbx movq %rax, 0x18(%rsp) cmpl $0x6, %ebx jne 0x7c0e3 movq %rax, %r15 jmp 0x7c189 movq 0x18(%rsp), %r13 movl $0x7fffffff, %r12d # imm = 0x7FFFFFFF andl 0x4(%r...
js_string_slice: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 28h mov rbp, r8 mov r14, rdi call JS_ToStringCheckObject mov rbx, rdx mov [rsp+58h+var_40], rax cmp ebx, 6 jnz short loc_7C0E3 mov r15, rax jmp loc_7C189 loc_7C0E3: mov r13, [rsp+...
_DWORD * js_string_slice( 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) { _...
js_string_slice: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x28 MOV RBP,R8 MOV R14,RDI CALL 0x001425ff MOV RBX,RDX MOV qword ptr [RSP + 0x18],RAX CMP EBX,0x6 JNZ 0x0017c0e3 MOV R15,RAX JMP 0x0017c189 LAB_0017c0e3: MOV R13,qword ptr [RSP + 0x18] MOV R12D,0x7fffffff AND R12D,dword ptr [R13 + 0x4] MOV ...
int1 [16] js_string_slice(long param_1) { int iVar1; long lVar2; int8 uVar3; int8 *in_R8; uint uVar4; int1 auVar5 [16]; uint local_48; uint local_44; long local_40; long local_38; auVar5 = JS_ToStringCheckObject(); uVar3 = auVar5._8_8_; lVar2 = auVar5._0_8_; if (auVar5._8_4_ != 6) { ...
32,498
js_string_slice
bluesky950520[P]quickjs/quickjs.c
static JSValue js_string_slice(JSContext *ctx, JSValue this_val, int argc, JSValue *argv) { JSValue str, ret; int len, start, end; JSString *p; str = JS_ToStringCheckObject(ctx, this_val); if (JS_IsException(str)) return str; p = JS_VALUE_GET_STRING(str); ...
O2
c
js_string_slice: pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r8, %r12 movq %rdi, %r15 callq 0x3a290 movq %rax, %rbx movq %rdx, %r14 cmpl $0x6, %r14d je 0x684d7 movl $0x7fffffff, %ebp # imm = 0x7FFFFFFF andl 0x4(%rbx), %ebp movq (%r12), %rdx movq 0x8(%r12), %rcx movl %e...
js_string_slice: push rbp push r15 push r14 push r13 push r12 push rbx sub rsp, 18h mov r12, r8 mov r15, rdi call JS_ToStringCheckObject mov rbx, rax mov r14, rdx cmp r14d, 6 jz loc_684D7 mov ebp, 7FFFFFFFh and ebp, [rbx+4] mov rdx, [r12] mov rcx, [r12+8...
_DWORD * js_string_slice( 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) { l...
js_string_slice: PUSH RBP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x18 MOV R12,R8 MOV R15,RDI CALL 0x0013a290 MOV RBX,RAX MOV R14,RDX CMP R14D,0x6 JZ 0x001684d7 MOV EBP,0x7fffffff AND EBP,dword ptr [RBX + 0x4] MOV RDX,qword ptr [R12] MOV RCX,qword ptr [R12 + 0x8] MOV dword ptr [RSP],EBP LEA RSI,[RSP + 0x14...
int1 [16] js_string_slice(int8 param_1) { int iVar1; long lVar2; int8 uVar3; uint uVar4; int8 *in_R8; int1 auVar5 [16]; uint local_38; uint local_34; auVar5 = JS_ToStringCheckObject(); uVar3 = auVar5._8_8_; lVar2 = auVar5._0_8_; if (auVar5._8_4_ != 6) { uVar4 = *(uint *)(lVar2 + 4) & 0...
32,499
minja::Value::to_str[abi:cxx11]() const
monkey531[P]llama/common/./minja.hpp
std::string to_str() const { if (is_string()) return get<std::string>(); if (is_number_integer()) return std::to_string(get<int64_t>()); if (is_number_float()) return std::to_string(get<double>()); if (is_boolean()) return get<bool>() ? "True" : "False"; if (is_null()) return "None"; return dump...
O0
cpp
minja::Value::to_str[abi:cxx11]() const: subq $0x58, %rsp movq %rdi, 0x18(%rsp) movq %rdi, %rax movq %rax, 0x20(%rsp) movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq 0x48(%rsp), %rdi movq %rdi, 0x28(%rsp) callq 0xa1f30 testb $0x1, %al jne 0xe4f60 jmp 0xe4f74 movq 0x28(%rsp), %rsi movq 0x18(%rsp), %rdi callq 0xa4860 jm...
_ZNK5minja5Value6to_strB5cxx11Ev: sub rsp, 58h mov [rsp+58h+var_40], rdi; int mov rax, rdi mov qword ptr [rsp+58h+var_38], rax; __int16 mov qword ptr [rsp+58h+var_8], rdi; char mov [rsp+58h+var_10], rsi; int mov rdi, [rsp+58h+var_10]; this mov [rsp+58h+var_30], rdi; __int64 call _ZNK5...
void * minja::Value::to_str[abi:cxx11](void *a1, minja::Value *a2, double a3) { long long v3; // rax char v4; // dl const char *v5; // rax long long v7; // [rsp+8h] [rbp-50h] _BYTE v8[20]; // [rsp+33h] [rbp-25h] BYREF char v9; // [rsp+47h] [rbp-11h] BYREF minja::Value *v10; // [rsp+48h] [rbp-10h] char v...
to_str[abi:cxx11]: SUB RSP,0x58 MOV qword ptr [RSP + 0x18],RDI MOV RAX,RDI MOV qword ptr [RSP + 0x20],RAX MOV qword ptr [RSP + 0x50],RDI MOV qword ptr [RSP + 0x48],RSI MOV RDI,qword ptr [RSP + 0x48] MOV qword ptr [RSP + 0x28],RDI CALL 0x001a1f30 TEST AL,0x1 JNZ 0x001e4f60 JMP 0x001e4f74 LAB_001e4f60: MOV RSI,qword ptr ...
/* minja::Value::to_str[abi:cxx11]() const */ __cxx11 * minja::Value::to_str_abi_cxx11_(void) { bool bVar1; ulong uVar2; long lVar3; char *pcVar4; Value *in_RSI; __cxx11 *in_RDI; double dVar5; allocator local_25 [20]; allocator local_11 [17]; uVar2 = is_string(in_RSI); if ((uVar2 & 1) == 0) ...