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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
20,900 | minja::FilterTemplateToken::~FilterTemplateToken() | monkey531[P]llama/common/minja.hpp | FilterTemplateToken(const Location & location, SpaceHandling pre, SpaceHandling post, std::shared_ptr<Expression> && filter)
: TemplateToken(Type::Filter, location, pre, post), filter(std::move(filter)) {} | O3 | cpp | minja::FilterTemplateToken::~FilterTemplateToken():
pushq %rbx
movq %rdi, %rbx
leaq 0x8135f(%rip), %rax # 0xdae68
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x38(%rdi), %rdi
testq %rdi, %rdi
je 0x59b1e
callq 0x2f20e
leaq 0x806a3(%rip), %rax # 0xda1c8
addq $0x10, %rax
movq %rax, (%rbx)
movq 0x18(%rbx), %rdi
testq %... | _ZN5minja19FilterTemplateTokenD0Ev:
push rbx
mov rbx, rdi
lea rax, _ZTVN5minja19FilterTemplateTokenE; `vtable for'minja::FilterTemplateToken
add rax, 10h
mov [rdi], rax
mov rdi, [rdi+38h]
test rdi, rdi
jz short loc_59B1E
call _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_r... | void minja::FilterTemplateToken::~FilterTemplateToken(minja::FilterTemplateToken *this)
{
volatile signed __int32 *v2; // rdi
volatile signed __int32 *v3; // rdi
*(_QWORD *)this = &`vtable for'minja::FilterTemplateToken + 2;
v2 = (volatile signed __int32 *)*((_QWORD *)this + 7);
if ( v2 )
std::_Sp_count... | ~FilterTemplateToken:
PUSH RBX
MOV RBX,RDI
LEA RAX,[0x1dae68]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RDI,qword ptr [RDI + 0x38]
TEST RDI,RDI
JZ 0x00159b1e
CALL 0x0012f20e
LAB_00159b1e:
LEA RAX,[0x1da1c8]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
MOV RDI,qword ptr [RBX + 0x18]
TEST RDI,RDI
JZ 0x00159b3a
CALL 0x0012f20e
LAB... |
/* minja::FilterTemplateToken::~FilterTemplateToken() */
void __thiscall minja::FilterTemplateToken::~FilterTemplateToken(FilterTemplateToken *this)
{
*(int ***)this = &PTR__FilterTemplateToken_001dae78;
if (*(_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> **)(this + 0x38) !=
(_Sp_counted_base<(__gnu_cxx::_L... | |
20,901 | directory_file_name | eloqsql/mysys/my_lib.c | static char *directory_file_name (char * dst, const char *src)
{
/* Process as Unix format: just remove test the final slash. */
char *end;
DBUG_ASSERT(strlen(src) < (FN_REFLEN + 1));
if (src[0] == 0)
src= (char*) "."; /* Use empty as current */
end= strnmov(dst, src, FN_REFLEN ... | O0 | c | directory_file_name:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
jmp 0x2e9e2
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x2e9f9
leaq 0x4a634(%rip), %rax # 0x79029
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl $0x201, %edx ... | directory_file_name:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
jmp short $+2
loc_2E9E2:
mov rax, [rbp+var_10]
movsx eax, byte ptr [rax]
cmp eax, 0
jnz short loc_2E9F9
lea rax, asc_79028+1; "."
mov [rbp+var_10], rax
loc_2E9F9:
mov rdi, ... | _BYTE * directory_file_name(long long a1, char *a2)
{
_BYTE *v2; // rax
_BYTE *v4; // [rsp+8h] [rbp-18h]
char *v5; // [rsp+10h] [rbp-10h]
v5 = a2;
if ( !*a2 )
v5 = ".";
v4 = (_BYTE *)strnmov(a1, v5, 513LL);
if ( *(v4 - 1) != 47 )
{
v2 = v4++;
*v2 = 47;
*v4 = 0;
}
return v4;
}
| directory_file_name:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
JMP 0x0012e9e2
LAB_0012e9e2:
MOV RAX,qword ptr [RBP + -0x10]
MOVSX EAX,byte ptr [RAX]
CMP EAX,0x0
JNZ 0x0012e9f9
LEA RAX,[0x179029]
MOV qword ptr [RBP + -0x10],RAX
LAB_0012e9f9:
MOV RDI,qword ptr [RBP +... |
int1 * directory_file_name(int8 param_1,char *param_2)
{
int1 *puVar1;
int1 *local_20;
char *local_18;
local_18 = param_2;
if (*param_2 == '\0') {
local_18 = ".";
}
puVar1 = (int1 *)strnmov(param_1,local_18,0x201);
local_20 = puVar1;
if (puVar1[-1] != '/') {
local_20 = puVar1 + 1;
*pu... | |
20,902 | remainingElementsCount_add | bluesky950520[P]quickjs/quickjs.c | static __exception int remainingElementsCount_add(JSContext *ctx,
JSValue resolve_element_env,
int addend)
{
JSValue val;
int remainingElementsCount;
val = JS_GetPropertyUint32(ctx, resolve_element_env, 0);
... | O0 | c | remainingElementsCount_add:
subq $0x68, %rsp
movq %rsi, 0x50(%rsp)
movq %rdx, 0x58(%rsp)
movq %rdi, 0x48(%rsp)
movl %ecx, 0x44(%rsp)
movq 0x48(%rsp), %rdi
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
xorl %ecx, %ecx
callq 0x301a0
movq %rax, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x30(%rsp)
mov... | remainingElementsCount_add:
sub rsp, 68h
mov [rsp+68h+var_18], rsi
mov [rsp+68h+var_10], rdx
mov [rsp+68h+var_20], rdi
mov [rsp+68h+var_24], ecx
mov rdi, [rsp+68h+var_20]
mov rsi, [rsp+68h+var_18]
mov rdx, [rsp+68h+var_10]
xor ecx, ecx
call JS_GetPropertyUint32
mov [rsp+68h+va... | long long remainingElementsCount_add(long long a1, long long a2, long long a3, int a4)
{
long long v4; // rdx
long long v5; // rdx
int v7; // [rsp+0h] [rbp-68h]
long long v8; // [rsp+8h] [rbp-60h]
int v9; // [rsp+2Ch] [rbp-3Ch] BYREF
long long PropertyUint32; // [rsp+30h] [rbp-38h]
long long v11; // [rsp... | remainingElementsCount_add:
SUB RSP,0x68
MOV qword ptr [RSP + 0x50],RSI
MOV qword ptr [RSP + 0x58],RDX
MOV qword ptr [RSP + 0x48],RDI
MOV dword ptr [RSP + 0x44],ECX
MOV RDI,qword ptr [RSP + 0x48]
MOV RSI,qword ptr [RSP + 0x50]
MOV RDX,qword ptr [RSP + 0x58]
XOR ECX,ECX
CALL 0x001301a0
MOV qword ptr [RSP + 0x18],RAX
MOV... |
uint remainingElementsCount_add
(int8 param_1,int8 param_2,int8 param_3,int param_4)
{
int8 uVar1;
int iVar2;
int1 auVar3 [16];
int local_3c;
int1 local_38 [16];
int local_24;
int8 local_20;
int8 local_18;
int8 local_10;
uint local_4;
local_24 = param_4;
local_20 = param_1;
... | |
20,903 | js_atomics_isLockFree | bluesky950520[P]quickjs/quickjs.c | static JSValue js_atomics_isLockFree(JSContext *ctx,
JSValue this_obj,
int argc, JSValue *argv)
{
int v, ret;
if (JS_ToInt32Sat(ctx, &v, argv[0]))
return JS_EXCEPTION;
ret = (v == 1 || v == 2 || v == 4 || v == 8);
return j... | O1 | c | js_atomics_isLockFree:
subq $0x18, %rsp
movq (%r8), %rdx
movq 0x8(%r8), %rcx
movq %rdx, 0x10(%rsp)
cmpl $-0x9, %ecx
jb 0x7f499
movq 0x10(%rsp), %rax
incl (%rax)
leaq 0xc(%rsp), %rsi
callq 0x276c3
testl %eax, %eax
je 0x7f4b0
movl $0x6, %edx
xorl %eax, %eax
jmp 0x7f4d7
movl $0x1, %edx
movl 0xc(%rsp), %ecx
cmpl $0x4, %ecx... | js_atomics_isLockFree:
sub rsp, 18h
mov rdx, [r8]
mov rcx, [r8+8]
mov [rsp+18h+var_8], rdx
cmp ecx, 0FFFFFFF7h
jb short loc_7F499
mov rax, [rsp+18h+var_8]
inc dword ptr [rax]
loc_7F499:
lea rsi, [rsp+18h+var_C]
call JS_ToInt32SatFree
test eax, eax
jz short loc_7F4B0
mov ... | _BOOL8 js_atomics_isLockFree(long long a1, long long a2, long long a3, long long a4, long long *a5)
{
long long v5; // rdx
long long v6; // rcx
int v8; // eax
unsigned int v9; // [rsp+Ch] [rbp-Ch] BYREF
_DWORD *v10; // [rsp+10h] [rbp-8h]
v5 = *a5;
v6 = a5[1];
v10 = (_DWORD *)*a5;
if ( (unsigned int)... | js_atomics_isLockFree:
SUB RSP,0x18
MOV RDX,qword ptr [R8]
MOV RCX,qword ptr [R8 + 0x8]
MOV qword ptr [RSP + 0x10],RDX
CMP ECX,-0x9
JC 0x0017f499
MOV RAX,qword ptr [RSP + 0x10]
INC dword ptr [RAX]
LAB_0017f499:
LEA RSI,[RSP + 0xc]
CALL 0x001276c3
TEST EAX,EAX
JZ 0x0017f4b0
MOV EDX,0x6
XOR EAX,EAX
JMP 0x0017f4d7
LAB_001... |
bool js_atomics_isLockFree(int8 param_1)
{
int iVar1;
int8 *in_R8;
bool bVar2;
uint local_c;
int *local_8;
local_8 = (int *)*in_R8;
if (0xfffffff6 < (uint)in_R8[1]) {
*local_8 = *local_8 + 1;
}
iVar1 = JS_ToInt32SatFree(param_1,&local_c);
if (iVar1 == 0) {
if ((local_c < 5) && ((0x16U >... | |
20,904 | VkShaderModuleCreateInfo const* findChain<VkShaderModuleCreateInfo>(void const*, VkStructureType) | HansKristian-Work[P]pyroveil/layer-util/dispatch_helper.hpp | static inline const T *findChain(const void *pNext, VkStructureType sType)
{
while (pNext)
{
auto *s = static_cast<const VkBaseInStructure *>(pNext);
if (s->sType == sType)
return static_cast<const T *>(pNext);
pNext = s->pNext;
}
return nullptr;
} | O0 | cpp | VkShaderModuleCreateInfo const* findChain<VkShaderModuleCreateInfo>(void const*, VkStructureType):
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x18671d
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl (%rax), %eax
cmpl -0x14(%rbp), %eax
jne... | _ZL9findChainI24VkShaderModuleCreateInfoEPKT_PKv15VkStructureType:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
loc_1866EB:
cmp [rbp+var_10], 0
jz short loc_18671D
mov rax, [rbp+var_10]
mov [rbp+var_20], rax
mov rax, [rbp+var_20]
mov eax, [rax]
cmp eax, [... | long long findChain<VkShaderModuleCreateInfo>(long long a1, int a2)
{
while ( a1 )
{
if ( *(_DWORD *)a1 == a2 )
return a1;
a1 = *(_QWORD *)(a1 + 8);
}
return 0LL;
}
| |||
20,905 | VkShaderModuleCreateInfo const* findChain<VkShaderModuleCreateInfo>(void const*, VkStructureType) | HansKristian-Work[P]pyroveil/layer-util/dispatch_helper.hpp | static inline const T *findChain(const void *pNext, VkStructureType sType)
{
while (pNext)
{
auto *s = static_cast<const VkBaseInStructure *>(pNext);
if (s->sType == sType)
return static_cast<const T *>(pNext);
pNext = s->pNext;
}
return nullptr;
} | O2 | cpp | VkShaderModuleCreateInfo const* findChain<VkShaderModuleCreateInfo>(void const*, VkStructureType):
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
testq %rax, %rax
je 0xaab66
cmpl $0x10, (%rax)
je 0xaab66
movq 0x8(%rax), %rax
jmp 0xaab56
popq %rbp
retq
| _ZL9findChainI24VkShaderModuleCreateInfoEPKT_PKv15VkStructureType:
push rbp
mov rbp, rsp
mov rax, rdi
loc_AAB56:
test rax, rax
jz short loc_AAB66
cmp dword ptr [rax], 10h
jz short loc_AAB66
mov rax, [rax+8]
jmp short loc_AAB56
loc_AAB66:
pop rbp
retn
| long long findChain<VkShaderModuleCreateInfo>(long long a1)
{
long long result; // rax
for ( result = a1; result && *(_DWORD *)result != 16; result = *(_QWORD *)(result + 8) )
;
return result;
}
| findChain<VkShaderModuleCreateInfo>:
PUSH RBP
MOV RBP,RSP
MOV RAX,RDI
LAB_001aab56:
TEST RAX,RAX
JZ 0x001aab66
CMP dword ptr [RAX],0x10
JZ 0x001aab66
MOV RAX,qword ptr [RAX + 0x8]
JMP 0x001aab56
LAB_001aab66:
POP RBP
RET
|
/* VkShaderModuleCreateInfo const* findChain<VkShaderModuleCreateInfo>(void const*, VkStructureType)
*/
VkShaderModuleCreateInfo * findChain<VkShaderModuleCreateInfo>(VkShaderModuleCreateInfo *param_1)
{
for (; (param_1 != (VkShaderModuleCreateInfo *)0x0 && (*(int *)param_1 != 0x10));
param_1 = *(VkShade... | |
20,906 | flux::parser::LiteralExpr::clone() const | kvthweatt[P]FluxLang/src/parser/ast.cpp | std::unique_ptr<Expr> LiteralExpr::clone() const {
return std::make_unique<LiteralExpr>(token, value);
} | O1 | cpp | flux::parser::LiteralExpr::clone() const:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x28(%rsi), %r12
movl $0xb0, %edi
callq 0x6270
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x12574
addq $0x50, %r15
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movq %r15,... | _ZNK4flux6parser11LiteralExpr5cloneEv:
push r15
push r14
push r12
push rbx
sub rsp, 38h
mov r15, rsi
mov r14, rdi
lea r12, [rsi+28h]
mov edi, 0B0h; unsigned __int64
call __Znwm; operator new(ulong)
mov rbx, rax
lea rdi, [rsp+58h+var_48]
mov rsi, r12
call _ZNSt8__detail9... | flux::parser::LiteralExpr * flux::parser::LiteralExpr::clone(flux::parser::LiteralExpr *this, long long a2)
{
long long v2; // rbx
char v4; // [rsp+Fh] [rbp-49h] BYREF
_BYTE v5[72]; // [rsp+10h] [rbp-48h] BYREF
v2 = operator new(0xB0uLL);
std::__detail::__variant::_Copy_ctor_base<false,long,double,std::strin... | clone:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV R15,RSI
MOV R14,RDI
LEA R12,[RSI + 0x28]
MOV EDI,0xb0
CALL 0x00106270
MOV RBX,RAX
LAB_0010d122:
LEA RDI,[RSP + 0x10]
MOV RSI,R12
CALL 0x00112574
ADD R15,0x50
LAB_0010d133:
LEA RDX,[RSP + 0x10]
MOV RDI,RBX
MOV RSI,R15
CALL 0x001124d8
LEA RSI,[RSP + 0x10]
MOVZX ... |
/* flux::parser::LiteralExpr::clone() const */
void flux::parser::LiteralExpr::clone(void)
{
LiteralExpr *pLVar1;
long in_RSI;
int8 *in_RDI;
int1 local_49;
_Copy_ctor_base<false,long,double,std::__cxx11::string,bool> local_48 [32];
byte local_28;
pLVar1 = (LiteralExpr *)operator_new(0xb0);
... | |
20,907 | mi_read_rnd_static_record | eloqsql/storage/myisam/mi_statrec.c | int _mi_read_rnd_static_record(MI_INFO *info, uchar *buf,
register my_off_t filepos,
my_bool skip_deleted_blocks)
{
int locked,error,cache_read;
uint cache_length;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("_mi_read_rnd_static_record");
cache_read=0;
cache_length=0;
if (info->opt_flag &... | O0 | c | mi_read_rnd_static_record:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %cl, %al
movq %fs:0x28, %rcx
movq %rcx, -0x8(%rbp)
movq %rdi, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq %rdx, -0x30(%rbp)
movb %al, -0x31(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x50(%rbp)
movl $0x0, -0x40(%rbp)
movl $0x0, -0x4... | _mi_read_rnd_static_record:
push rbp
mov rbp, rsp
sub rsp, 60h
mov al, cl
mov rcx, fs:28h
mov [rbp+var_8], rcx
mov [rbp+var_20], rdi
mov [rbp+var_28], rsi
mov [rbp+var_30], rdx
mov [rbp+var_31], al
mov rax, [rbp+var_20]
mov rax, [rax]
mov [rbp+var_50], rax
mov [rbp... | long long mi_read_rnd_static_record(long long a1, const char *a2, const char *a3, char a4)
{
long long v4; // rdi
const char *v5; // rsi
long long v7; // [rsp+10h] [rbp-50h]
unsigned int v8; // [rsp+1Ch] [rbp-44h]
int v9; // [rsp+20h] [rbp-40h]
int static_record; // [rsp+24h] [rbp-3Ch]
int v11; // [rsp+2... | _mi_read_rnd_static_record:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV AL,CL
MOV RCX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RCX
MOV qword ptr [RBP + -0x20],RDI
MOV qword ptr [RBP + -0x28],RSI
MOV qword ptr [RBP + -0x30],RDX
MOV byte ptr [RBP + -0x31],AL
MOV RAX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RAX]
MOV qwo... |
int _mi_read_rnd_static_record(long *param_1,char *param_2,ulong param_3,char param_4)
{
long lVar1;
bool bVar2;
bool bVar3;
int iVar4;
int *piVar5;
ulong uVar6;
int4 *puVar7;
long in_FS_OFFSET;
uint local_4c;
int local_44;
int local_1c;
int1 local_18 [8];
long local_10;
local_10 = *(lo... | |
20,908 | MemoryManager::setShort(unsigned int, unsigned short, unsigned int*) | EnderturtleOrz[P]CSC3050-2025-Spring-Project-3/src/MemoryManager.cpp | bool MemoryManager::setShort(uint32_t addr, uint16_t val, uint32_t *cycles) {
if (!this->isAddrExist(addr)) {
dbgprintf("Short write to invalid addr 0x%x!\n", addr);
return false;
}
this->setByte(addr, val & 0xFF, cycles);
this->setByte(addr + 1, (val >> 8) & 0xFF);
return true;
} | O0 | cpp | MemoryManager::setShort(unsigned int, unsigned short, unsigned int*):
subq $0x28, %rsp
movw %dx, %ax
movq %rdi, 0x18(%rsp)
movl %esi, 0x14(%rsp)
movw %ax, 0x12(%rsp)
movq %rcx, 0x8(%rsp)
movq 0x18(%rsp), %rdi
movq %rdi, (%rsp)
movl 0x14(%rsp), %esi
callq 0x78a0
testb $0x1, %al
jne 0x7b09
movl 0x14(%rsp), %esi
leaq 0x46... | _ZN13MemoryManager8setShortEjtPj:
sub rsp, 28h
mov ax, dx
mov [rsp+28h+var_10], rdi
mov [rsp+28h+var_14], esi
mov [rsp+28h+var_16], ax
mov [rsp+28h+var_20], rcx
mov rdi, [rsp+28h+var_10]; this
mov [rsp+28h+var_28], rdi
mov esi, [rsp+28h+var_14]; unsigned int
call _ZN13MemoryManage... | char MemoryManager::setShort(
Cache **this,
unsigned int a2,
__int16 a3,
unsigned int *a4,
__m128 a5,
__m128 a6,
__m128 a7,
__m128 a8,
double a9,
double a10,
__m128 a11,
__m128 a12)
{
long long v12; // rdx
long long v13... | setShort:
SUB RSP,0x28
MOV AX,DX
MOV qword ptr [RSP + 0x18],RDI
MOV dword ptr [RSP + 0x14],ESI
MOV word ptr [RSP + 0x12],AX
MOV qword ptr [RSP + 0x8],RCX
MOV RDI,qword ptr [RSP + 0x18]
MOV qword ptr [RSP],RDI
MOV ESI,dword ptr [RSP + 0x14]
CALL 0x001078a0
TEST AL,0x1
JNZ 0x00107b09
MOV ESI,dword ptr [RSP + 0x14]
LEA RD... |
/* MemoryManager::setShort(unsigned int, unsigned short, unsigned int*) */
bool __thiscall
MemoryManager::setShort(MemoryManager *this,uint param_1,ushort param_2,uint *param_3)
{
ulong uVar1;
bool bVar2;
uVar1 = isAddrExist(this,param_1);
bVar2 = (uVar1 & 1) != 0;
if (bVar2) {
setByte(this,param_1,... | |
20,909 | MemoryManager::setShort(unsigned int, unsigned short, unsigned int*) | EnderturtleOrz[P]CSC3050-2025-Spring-Project-3/src/MemoryManager.cpp | bool MemoryManager::setShort(uint32_t addr, uint16_t val, uint32_t *cycles) {
if (!this->isAddrExist(addr)) {
dbgprintf("Short write to invalid addr 0x%x!\n", addr);
return false;
}
this->setByte(addr, val & 0xFF, cycles);
this->setByte(addr + 1, (val >> 8) & 0xFF);
return true;
} | O1 | cpp | MemoryManager::setShort(unsigned int, unsigned short, unsigned int*):
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
cmpl $-0x1, %esi
je 0x3f73
movq %rdi, %r14
movzwl %dx, %ebp
movzbl %bpl, %edx
movl %ebx, %esi
callq 0x3e74
leal 0x1(%rbx), %esi
shrl $0x8, %ebp
movq %r14, %rdi
movl %ebp, %edx
xorl %ecx, %ecx
callq 0x3... | _ZN13MemoryManager8setShortEjtPj:
push rbp
push r14
push rbx
mov ebx, esi
cmp esi, 0FFFFFFFFh
jz short loc_3F73
mov r14, rdi
movzx ebp, dx
movzx edx, bpl; unsigned __int8
mov esi, ebx; unsigned int
call _ZN13MemoryManager7setByteEjhPj; MemoryManager::setByte(uint,uchar,uint *)
lea ... | bool MemoryManager::setShort(
Cache **this,
unsigned int a2,
long long a3,
unsigned int *a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m12... | setShort:
PUSH RBP
PUSH R14
PUSH RBX
MOV EBX,ESI
CMP ESI,-0x1
JZ 0x00103f73
MOV R14,RDI
MOVZX EBP,DX
MOVZX EDX,BPL
MOV ESI,EBX
CALL 0x00103e74
LEA ESI,[RBX + 0x1]
SHR EBP,0x8
MOV RDI,R14
MOV EDX,EBP
XOR ECX,ECX
CALL 0x00103e74
LAB_00103f68:
CMP EBX,-0x1
SETNZ AL
POP RBX
POP R14
POP RBP
RET
LAB_00103f73:
LEA RDI,[0x1061... |
/* MemoryManager::setShort(unsigned int, unsigned short, unsigned int*) */
bool MemoryManager::setShort(uint param_1,ushort param_2,uint *param_3)
{
ulong uVar1;
int iVar2;
int6 in_register_00000032;
iVar2 = (int)CONCAT62(in_register_00000032,param_2);
uVar1 = CONCAT62(in_register_00000032,param_2) & 0x... | |
20,910 | MemoryManager::setShort(unsigned int, unsigned short, unsigned int*) | EnderturtleOrz[P]CSC3050-2025-Spring-Project-3/src/MemoryManager.cpp | bool MemoryManager::setShort(uint32_t addr, uint16_t val, uint32_t *cycles) {
if (!this->isAddrExist(addr)) {
dbgprintf("Short write to invalid addr 0x%x!\n", addr);
return false;
}
this->setByte(addr, val & 0xFF, cycles);
this->setByte(addr + 1, (val >> 8) & 0xFF);
return true;
} | O2 | cpp | MemoryManager::setShort(unsigned int, unsigned short, unsigned int*):
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
cmpl $-0x1, %esi
je 0x3cfc
movq %rdi, %r14
movzwl %dx, %ebp
movzbl %bpl, %edx
movl %ebx, %esi
callq 0x3bfa
leal 0x1(%rbx), %esi
shrl $0x8, %ebp
movq %r14, %rdi
movl %ebp, %edx
xorl %ecx, %ecx
callq 0x3... | _ZN13MemoryManager8setShortEjtPj:
push rbp
push r14
push rbx
mov ebx, esi
cmp esi, 0FFFFFFFFh
jz short loc_3CFC
mov r14, rdi
movzx ebp, dx
movzx edx, bpl; unsigned __int8
mov esi, ebx; unsigned int
call _ZN13MemoryManager7setByteEjhPj; MemoryManager::setByte(uint,uchar,uint *)
lea ... | bool MemoryManager::setShort(
Cache **this,
unsigned int a2,
long long a3,
unsigned int *a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m12... | setShort:
PUSH RBP
PUSH R14
PUSH RBX
MOV EBX,ESI
CMP ESI,-0x1
JZ 0x00103cfc
MOV R14,RDI
MOVZX EBP,DX
MOVZX EDX,BPL
MOV ESI,EBX
CALL 0x00103bfa
LEA ESI,[RBX + 0x1]
SHR EBP,0x8
MOV RDI,R14
MOV EDX,EBP
XOR ECX,ECX
CALL 0x00103bfa
JMP 0x00103d0d
LAB_00103cfc:
LEA RDI,[0x1051d4]
PUSH -0x1
POP RSI
XOR EAX,EAX
CALL 0x00103a0f... |
/* MemoryManager::setShort(unsigned int, unsigned short, unsigned int*) */
bool __thiscall
MemoryManager::setShort(MemoryManager *this,uint param_1,ushort param_2,uint *param_3)
{
if (param_1 == 0xffffffff) {
dbgprintf("Short write to invalid addr 0x%x!\n",0xffffffffffffffff);
}
else {
setByte(this,par... | |
20,911 | translog_flush_set_new_goal_and_wait | eloqsql/storage/maria/ma_loghandler.c | void translog_flush_set_new_goal_and_wait(TRANSLOG_ADDRESS lsn)
{
int flush_no= log_descriptor.flush_no;
DBUG_ENTER("translog_flush_set_new_goal_and_wait");
DBUG_PRINT("enter", ("LSN: " LSN_FMT, LSN_IN_PARTS(lsn)));
mysql_mutex_assert_owner(&log_descriptor.log_flush_lock);
if (cmp_translog_addr(lsn, log_descr... | O0 | c | translog_flush_set_new_goal_and_wait:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl 0xbf9152(%rip), %eax # 0xc892f4
movl %eax, -0xc(%rbp)
jmp 0x901a7
jmp 0x901a9
jmp 0x901ab
movq -0x8(%rbp), %rax
subq 0xbf9142(%rip), %rax # 0xc892f8
cmpq $0x0, %rax
jle 0x901e6
movq -0x8(%rbp), %rax
movq %... | translog_flush_set_new_goal_and_wait:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov eax, cs:dword_C892F4
mov [rbp+var_C], eax
jmp short $+2
loc_901A7:
jmp short $+2
loc_901A9:
jmp short $+2
loc_901AB:
mov rax, [rbp+var_8]
sub rax, cs:qword_C892F8
cmp rax, 0
j... | long long translog_flush_set_new_goal_and_wait(long long a1)
{
long long result; // rax
unsigned int v2; // [rsp+4h] [rbp-Ch]
v2 = dword_C892F4;
if ( a1 - qword_C892F8 > 0 )
{
qword_C892F8 = a1;
qword_C89300 = pthread_self();
inline_mysql_cond_broadcast_0(&log_descriptor[1049009]);
}
while (... | translog_flush_set_new_goal_and_wait:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,dword ptr [0x00d892f4]
MOV dword ptr [RBP + -0xc],EAX
JMP 0x001901a7
LAB_001901a7:
JMP 0x001901a9
LAB_001901a9:
JMP 0x001901ab
LAB_001901ab:
MOV RAX,qword ptr [RBP + -0x8]
SUB RAX,qword ptr [0x00d892f8]
CMP RA... |
void translog_flush_set_new_goal_and_wait(long param_1)
{
int iVar1;
iVar1 = DAT_00d892f4;
if (0 < param_1 - DAT_00d892f8) {
DAT_00d892f8 = param_1;
DAT_00d89300 = pthread_self();
inline_mysql_cond_broadcast(&DAT_00d891a8);
}
while (iVar1 == DAT_00d892f4) {
inline_mysql_cond_wait
... | |
20,912 | bool nlohmann::json_abi_v3_11_3::operator!=<bool, 0>(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,... | monkey531[P]llama/common/json.hpp | bool operator!=(const_reference lhs, ScalarType rhs) noexcept
{
return lhs != basic_json(rhs);
} | O3 | cpp | bool nlohmann::json_abi_v3_11_3::operator!=<bool, 0>(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,... | _ZN8nlohmann16json_abi_v3_11_3neIbTnNSt9enable_ifIXsr3std9is_scalarIT_EE5valueEiE4typeELi0EEEbRKNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES8_IhSaIhEEvEES3_:
push r14
push rbx
sub rsp, 18h
mov rbx, rdi
xorps xmm0, xmm0
mov ... | long long ZN8nlohmann16json_abi_v3_11_3neIbTnNSt9enable_ifIXsr3std9is_scalarIT_EE5valueEiE4typeELi0EEEbRKNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES8_IhSaIhEEvEES3_(
unsigned __int8 *a1,
unsigned __int8 a2)
{
long long r... | _ZN8nlohmann16json_abi_v3_11_3neIbTnNSt9enable_ifIXsr3std9is_scalarIT_EE5valueEiE4typeELi0EEEbRKNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES8_IhSaIhEEvEES3_:
PUSH R14
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
XORPS XMM0,XMM0
MOV R14,RSP
MOVAPS xmmw... |
int4
_ZN8nlohmann16json_abi_v3_11_3neIbTnNSt9enable_ifIXsr3std9is_scalarIT_EE5valueEiE4typeELi0EEEbRKNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES8_IhSaIhEEvEES3_
(basic_json *param_1)
{
int4 uVar1;
int8 local_28;
int8 uSta... | |
20,913 | test_bug28505 | eloqsql/libmariadb/unittest/libmariadb/misc.c | static int test_bug28505(MYSQL *mysql)
{
unsigned long long res;
int rc;
rc= mysql_query(mysql, "drop table if exists t1");
check_mysql_rc(rc, mysql);
rc= mysql_query(mysql, "create table t1(f1 int primary key)");
check_mysql_rc(rc, mysql);
rc= mysql_query(mysql, "insert into t1 values(1)");
check_mysq... | O0 | c | test_bug28505:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x3a09b(%rip), %rsi # 0x52372
callq 0x24960
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
je 0x18331
movl -0x1c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
callq 0x282e0
movq %rax, -0x28(%rbp)... | test_bug28505:
push rbp
mov rbp, rsp
sub rsp, 70h
mov [rbp+var_10], rdi
mov rdi, [rbp+var_10]
lea rsi, aDropTableIfExi_3; "drop table if exists t1"
call mysql_query
mov [rbp+var_1C], eax
cmp [rbp+var_1C], 0
jz short loc_18331
mov eax, [rbp+var_1C]
mov [rbp+var_2C], eax
mov... | long long test_bug28505(long long a1)
{
int v1; // eax
int v2; // eax
int v3; // eax
int v4; // eax
int v5; // r8d
int v6; // r9d
int v7; // eax
int v9; // [rsp+8h] [rbp-68h]
int v10; // [rsp+18h] [rbp-58h]
int v11; // [rsp+28h] [rbp-48h]
int v12; // [rsp+38h] [rbp-38h]
int v13; // [rsp+48h] [r... | test_bug28505:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x10],RDI
MOV RDI,qword ptr [RBP + -0x10]
LEA RSI,[0x152372]
CALL 0x00124960
MOV dword ptr [RBP + -0x1c],EAX
CMP dword ptr [RBP + -0x1c],0x0
JZ 0x00118331
MOV EAX,dword ptr [RBP + -0x1c]
MOV dword ptr [RBP + -0x2c],EAX
MOV RDI,qword ptr [RBP + -0x10... |
int4 test_bug28505(int8 param_1)
{
int iVar1;
int4 uVar2;
int8 uVar3;
long lVar4;
int4 local_c;
iVar1 = mysql_query(param_1,"drop table if exists t1");
if (iVar1 == 0) {
iVar1 = mysql_query(param_1,"create table t1(f1 int primary key)");
if (iVar1 == 0) {
iVar1 = mysql_query(param_1,"in... | |
20,914 | bool google::protobuf::safe_parse_negative_int<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/stubs/strutil.cc | bool safe_parse_negative_int(const std::string &text, IntType *value_p) {
int base = 10;
IntType value = 0;
const IntType vmin = std::numeric_limits<IntType>::min();
assert(vmin < 0);
assert(vmin <= 0 - base);
IntType vmin_over_base = vmin / base;
// 2003 c++ standard [expr.mul]
// "... the sign of the ... | O0 | cpp | bool google::protobuf::safe_parse_negative_int<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int*):
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movl $0xa, 0x2c(%rsp)
movl $0x0, 0x28(%rsp)
movl $0x80000000, 0x24(%rsp) # imm = 0x80000000
movl $0x80000000, %ea... | _ZN6google8protobuf23safe_parse_negative_intIiEEbRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT_:
sub rsp, 48h
mov [rsp+48h+var_10], rdi
mov [rsp+48h+var_18], rsi
mov [rsp+48h+var_1C], 0Ah
mov [rsp+48h+var_20], 0
mov [rsp+48h+var_24], 80000000h
mov eax, 80000000h
cdq
idiv [rsp+4... | char google::protobuf::safe_parse_negative_int<int>(long long a1, int *a2)
{
unsigned int v3; // [rsp+8h] [rbp-40h]
unsigned __int8 *v4; // [rsp+10h] [rbp-38h]
unsigned __int8 *v5; // [rsp+18h] [rbp-30h]
int v6; // [rsp+28h] [rbp-20h]
int v7; // [rsp+28h] [rbp-20h]
v6 = 0;
v5 = (unsigned __int8 *)std::s... | safe_parse_negative_int<int>:
SUB RSP,0x48
MOV qword ptr [RSP + 0x38],RDI
MOV qword ptr [RSP + 0x30],RSI
MOV dword ptr [RSP + 0x2c],0xa
MOV dword ptr [RSP + 0x28],0x0
MOV dword ptr [RSP + 0x24],0x80000000
MOV EAX,0x80000000
CDQ
IDIV dword ptr [RSP + 0x2c]
MOV dword ptr [RSP + 0x20],EAX
MOV EAX,0x80000000
CDQ
IDIV dword... |
/* WARNING: Removing unreachable block (ram,0x00131733) */
/* bool google::protobuf::safe_parse_negative_int<int>(std::__cxx11::string const&, int*) */
bool google::protobuf::safe_parse_negative_int<int>(string *param_1,int *param_2)
{
int iVar1;
long lVar2;
byte *pbVar3;
byte *local_30;
int local_20;
... | |
20,915 | mcp::sse_client::send_request(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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, dou... | hkr04[P]cpp-mcp/src/mcp_sse_client.cpp | response sse_client::send_request(const std::string& method, const json& params) {
request req = request::create(method, params);
json result = send_jsonrpc(req);
response res;
res.jsonrpc = "2.0";
res.id = req.id;
res.result = result;
return res;
} | O0 | cpp | mcp::sse_client::send_request(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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, dou... | _ZN3mcp10sse_client12send_requestERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN8nlohmann16json_abi_v3_11_310basic_jsonINSA_11ordered_mapESt6vectorS6_blmdSaNSA_14adl_serializerESD_IhSaIhEEvEE:
sub rsp, 0E8h
mov [rsp+0E8h+var_E0], rdi
mov rax, rdi
mov [rsp+0E8h+var_D8], rax
mov [rsp+0E8h+v... | mcp::response * mcp::sse_client::send_request(
mcp::response *a1,
long long a2,
long long a3,
long long a4,
int a5,
int a6)
{
_BYTE v7[16]; // [rsp+28h] [rbp-C0h] BYREF
_BYTE v8[19]; // [rsp+38h] [rbp-B0h] BYREF
char v9; // [rsp+4Bh] [rbp-9Dh]
_BYTE v10[16]; // [r... | send_request:
SUB RSP,0xe8
MOV qword ptr [RSP + 0x8],RDI
MOV RAX,RDI
MOV qword ptr [RSP + 0x10],RAX
MOV qword ptr [RSP + 0xe0],RDI
MOV qword ptr [RSP + 0xd8],RSI
MOV qword ptr [RSP + 0xd0],RDX
MOV qword ptr [RSP + 0xc8],RCX
MOV RAX,qword ptr [RSP + 0xd8]
MOV qword ptr [RSP + 0x18],RAX
MOV RSI,qword ptr [RSP + 0xd0]
MOV... |
/* WARNING: Removing unreachable block (ram,0x00181e88) */
/* mcp::sse_client::send_request(std::__cxx11::string const&,
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_1... | |
20,916 | mcp::sse_client::send_request(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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, dou... | hkr04[P]cpp-mcp/src/mcp_sse_client.cpp | response sse_client::send_request(const std::string& method, const json& params) {
request req = request::create(method, params);
json result = send_jsonrpc(req);
response res;
res.jsonrpc = "2.0";
res.id = req.id;
res.result = result;
return res;
} | O2 | cpp | mcp::sse_client::send_request(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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, dou... | _ZN3mcp10sse_client12send_requestERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKN8nlohmann16json_abi_v3_11_310basic_jsonINSA_11ordered_mapESt6vectorS6_blmdSaNSA_14adl_serializerESD_IhSaIhEEvEE:
push r15
push r14
push rbx
sub rsp, 90h
mov r14, rsi
mov rbx, rdi
lea r15, [rsp+0A8h+var_78... | mcp::response * mcp::sse_client::send_request(mcp::response *this, long long a2, long long a3, long long a4)
{
int v4; // edx
int v5; // ecx
int v6; // r8d
int v7; // r9d
char v8; // al
long long v9; // rax
int v10; // edx
int v11; // ecx
int v12; // r8d
int v13; // r9d
char v14; // al
long long... | send_request:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x90
MOV R14,RSI
MOV RBX,RDI
LEA R15,[RSP + 0x30]
MOV RDI,R15
MOV RSI,RDX
MOV RDX,RCX
CALL 0x0011232c
LAB_001106ab:
MOV RDI,RSP
MOV RSI,R14
MOV RDX,R15
CALL 0x0010f85e
LAB_001106b9:
MOV RDI,RBX
CALL 0x00112746
LAB_001106c1:
LEA RSI,[0x139b39]
MOV RDI,RBX
CALL 0x00108a70
... |
/* mcp::sse_client::send_request(std::__cxx11::string const&,
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::alloca... | |
20,917 | ma_update_status_with_lock | eloqsql/storage/maria/ma_state.c | void _ma_update_status_with_lock(MARIA_HA *info)
{
my_bool locked= 0;
if (info->state == &info->state_save)
{
locked= 1;
mysql_mutex_lock(&info->s->lock.mutex);
}
(*info->s->lock.update_status)(info->lock.status_param);
if (locked)
mysql_mutex_unlock(&info->s->lock.mutex);
} | O3 | c | ma_update_status_with_lock:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rax
leaq 0x28(%rdi), %rcx
cmpq %rcx, 0x20(%rdi)
je 0x38727
movq 0x6b8(%rbx), %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmpq *0x8b0(%rax)
leaq 0x808(%rax), %rdi
cmpq $0x0, 0x848(%rax)
jne 0x38771
callq 0x29220
movq ... | _ma_update_status_with_lock:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rax, [rdi]
lea rcx, [rdi+28h]
cmp [rdi+20h], rcx
jz short loc_38727
mov rdi, [rbx+6B8h]
add rsp, 8
pop rbx
pop rbp
jmp qword ptr [rax+8B0h]
loc_38727:
lea rdi, [rax+808h]
cmp ... | long long ma_update_status_with_lock(_QWORD *a1)
{
long long v2; // rax
long long v4; // rdi
long long v5; // rbx
long long v6; // rdi
long long v7; // rbx
v2 = *a1;
if ( (_QWORD *)a1[4] != a1 + 5 )
return (*(long long ( **)(_QWORD))(v2 + 2224))(a1[215]);
v4 = v2 + 2056;
if ( *(_QWORD *)(v2 + 21... | _ma_update_status_with_lock:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RAX,qword ptr [RDI]
LEA RCX,[RDI + 0x28]
CMP qword ptr [RDI + 0x20],RCX
JZ 0x00138727
MOV RDI,qword ptr [RBX + 0x6b8]
ADD RSP,0x8
POP RBX
POP RBP
JMP qword ptr [RAX + 0x8b0]
LAB_00138727:
LEA RDI,[RAX + 0x808]
CMP qword ptr [RAX + 0x848... |
void _ma_update_status_with_lock(long *param_1)
{
long lVar1;
lVar1 = *param_1;
if ((long *)param_1[4] != param_1 + 5) {
/* WARNING: Could not recover jumptable at 0x00138721. Too many branches */
/* WARNING: Treating indirect jump as call */
(**(code **)(lVar1 + 0... | |
20,918 | ma_tls_write | eloqsql/libmariadb/libmariadb/secure/openssl.c | ssize_t ma_tls_write(MARIADB_TLS *ctls, const uchar* buffer, size_t length)
{
int rc;
MARIADB_PVIO *pvio= ctls->pvio;
while ((rc= SSL_write((SSL *)ctls->ssl, (void *)buffer, (int)length)) <= 0)
{
int error= SSL_get_error((SSL *)ctls->ssl, rc);
if (error != SSL_ERROR_WANT_WRITE)
break;
if (pvi... | O0 | c | ma_tls_write:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rax
movl %eax, %edx
callq 0x13810
movl %ea... | ma_tls_write:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_8]
mov rax, [rax+8]
mov [rbp+var_28], rax
loc_373B0:
mov rax, [rbp+var_8]
mov rdi, [rax+10h]
mov rsi, [rbp+var_10]
mov rax, [rbp+var_18]
... | long long ma_tls_write(long long a1, long long a2, unsigned int a3)
{
long long *v4; // [rsp+8h] [rbp-38h]
long long v5; // [rsp+18h] [rbp-28h]
int v6; // [rsp+24h] [rbp-1Ch]
v5 = *(_QWORD *)(a1 + 8);
do
v6 = SSL_write(*(_QWORD *)(a1 + 16), a2, a3);
while ( v6 <= 0
&& (unsigned int)SSL_get_erro... | ma_tls_write:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x28],RAX
LAB_001373b0:
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,qword ptr [RAX + 0x10]
MOV RSI,... |
long ma_tls_write(long param_1,void *param_2,int param_3)
{
long lVar1;
int ret_code;
int iVar2;
void *pvVar3;
lVar1 = *(long *)(param_1 + 8);
do {
ret_code = SSL_write(*(SSL **)(param_1 + 0x10),param_2,param_3);
if ((0 < ret_code) || (iVar2 = SSL_get_error(*(SSL **)(param_1 + 0x10),ret_code), ... | |
20,919 | nlohmann::json_abi_v3_11_2::detail::type_error nlohmann::json_abi_v3_11_2::detail::type_error::create<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_... | 7CodeWizard[P]stablediffusion/thirdparty/json.hpp | static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
{
std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
return {id_, w.c_str()};
} | O1 | cpp | nlohmann::json_abi_v3_11_2::detail::type_error nlohmann::json_abi_v3_11_2::detail::type_error::create<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_... | _ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
push rbp
push r15
push r14
push r13
push ... | nlohmann::json_abi_v3_11_2::detail::exception * ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_(
n... | |||
20,920 | nlohmann::json_abi_v3_11_2::detail::type_error nlohmann::json_abi_v3_11_2::detail::type_error::create<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_... | 7CodeWizard[P]stablediffusion/thirdparty/json.hpp | static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
{
std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
return {id_, w.c_str()};
} | O2 | cpp | nlohmann::json_abi_v3_11_2::detail::type_error nlohmann::json_abi_v3_11_2::detail::type_error::create<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_... | _ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
push rbp
push r15
push r14
push rbx
sub ... | nlohmann::json_abi_v3_11_2::detail::type_error * ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_(
... | _ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x88
MOV R15... |
type_error *
_ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_
(type_error *param_1,int param_2,... | |
20,921 | nlohmann::json_abi_v3_11_2::detail::type_error nlohmann::json_abi_v3_11_2::detail::type_error::create<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_... | 7CodeWizard[P]stablediffusion/thirdparty/json.hpp | static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
{
std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
return {id_, w.c_str()};
} | O3 | cpp | nlohmann::json_abi_v3_11_2::detail::type_error nlohmann::json_abi_v3_11_2::detail::type_error::create<nlohmann::json_abi_v3_11_2::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_... | _ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
push rbp
push r15
push r14
push r13
push ... | nlohmann::json_abi_v3_11_2::detail::exception * ZN8nlohmann16json_abi_v3_11_26detail10type_error6createIPNS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_(
n... | |||
20,922 | minja::error_location_suffix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long) | monkey531[P]llama/common/minja.hpp | static std::string error_location_suffix(const std::string & source, size_t pos) {
auto get_line = [&](size_t line) {
auto start = source.begin();
for (size_t i = 1; i < line; ++i) {
start = std::find(start, source.end(), '\n') + 1;
}
auto end = std::find(start, source.end(), '\n');
return s... | O3 | cpp | minja::error_location_suffix(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %rdx, %r8
movq %rsi, %r14
movq %rdi, 0x38(%rsp)
movq (%rsi), %rsi
movq 0x8... | _ZN5minjaL21error_location_suffixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm_0:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 1B8h
mov r8, rdx
mov r14, rsi
mov [rsp+1E8h+var_1B0], rdi
mov rsi, [rsi]
mov rax, [r14+8]
test rdx, rdx
jz short l... | void minja::error_location_suffix(long long a1, long long a2, long long a3)
{
_BYTE *v4; // rsi
long long v5; // rax
long long v6; // rcx
long long v7; // r12
long long v8; // rcx
long long v9; // r15
long long v10; // r13
long long v11; // rbp
long long v12; // rbx
long long v13; // rax
_BYTE *v... | error_location_suffix:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x1b8
MOV R8,RDX
MOV R14,RSI
MOV qword ptr [RSP + 0x38],RDI
MOV RSI,qword ptr [RSI]
MOV RAX,qword ptr [R14 + 0x8]
TEST RDX,RDX
JZ 0x001d78c2
XOR ECX,ECX
XOR R12D,R12D
LAB_001d78ac:
XOR EDX,EDX
CMP byte ptr [RSI + RCX*0x1],0xa
SETZ DL
A... |
/* minja::error_location_suffix(std::__cxx11::string const&, unsigned long) */
void __thiscall minja::error_location_suffix(minja *this,string *param_1,ulong param_2)
{
long lVar1;
ostream *poVar2;
int8 uVar3;
ulong uVar4;
long lVar5;
ulong uVar6;
long lVar7;
ulong uVar8;
long lVar9;
int1 local_1... | |
20,923 | pfs_start_socket_wait_v1 | eloqsql/storage/perfschema/pfs.cc | PSI_socket_locker*
pfs_start_socket_wait_v1(PSI_socket_locker_state *state,
PSI_socket *socket,
PSI_socket_operation op,
size_t count,
const char *src_file, uint src_line)
{
assert(static_cast<int> (op) >= 0);
assert... | O0 | cpp | pfs_start_socket_wait_v1:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movl %r9d, -0x34(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
testb $0x1, 0x4(%rax)
je 0x3009e
movq -0x40(... | pfs_start_socket_wait_v1:
push rbp
mov rbp, rsp
sub rsp, 70h
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_34], r9d
mov rax, [rbp+var_18]
mov [rbp+var_40], rax
mov rax, [rbp+var_40]
test byte pt... | long long pfs_start_socket_wait_v1(long long a1, long long a2, unsigned int a3, long long a4, long long a5, int a6)
{
long long v6; // rcx
long long v8; // [rsp+10h] [rbp-60h]
long long THR_PFS; // [rsp+18h] [rbp-58h]
long long timer_raw_value_and_function; // [rsp+20h] [rbp-50h]
int v11; // [rsp+2Ch] [rbp-4... | pfs_start_socket_wait_v1:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],R8
MOV dword ptr [RBP + -0x34],R9D
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x40],RAX
MOV R... |
uint * pfs_start_socket_wait_v1
(uint *param_1,PFS_socket *param_2,uint param_3,int8 param_4,
int8 param_5,int4 param_6)
{
int8 *puVar1;
long lVar2;
int4 uVar3;
long lVar4;
int8 uVar5;
int8 local_58;
uint local_4c;
if ((((byte)param_2[4] & 1) == 0) || (((byte)param... | |
20,924 | vsort_sequential_float | davidesantangelo[P]vsort/vsort.c | static void vsort_sequential_float(float *arr, int size)
{
if (!arr || size <= 1)
return;
// Use insertion sort if nearly sorted (check only for modest sizes)
if (size < thresholds.parallel_threshold / 2 &&
vsort_is_nearly_sorted_float(arr, size))
{
vsort_log_info("Array (float,... | O0 | c | vsort_sequential_float:
subq $0x48, %rsp
movq %rdi, 0x18(%rsp)
movl %esi, 0x14(%rsp)
cmpq $0x0, 0x18(%rsp)
je 0x1b4c
cmpl $0x1, 0x14(%rsp)
jg 0x1b51
jmp 0x1c9c
movl 0x14(%rsp), %eax
movl %eax, 0x10(%rsp)
movl 0x6589(%rip), %eax # 0x80e8
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl 0x10(%rsp), %eax
cmpl %ec... | vsort_sequential_float:
sub rsp, 48h
mov [rsp+48h+var_30], rdi
mov [rsp+48h+var_34], esi
cmp [rsp+48h+var_30], 0
jz short loc_1B4C
cmp [rsp+48h+var_34], 1
jg short loc_1B51
loc_1B4C:
jmp loc_1C9C
loc_1B51:
mov eax, [rsp+48h+var_34]
mov [rsp+48h+var_38], eax
mov eax, cs:dwor... | void vsort_sequential_float(long long a1, int a2)
{
long long v2; // rdx
int v3; // edx
int v4; // ecx
int v5; // r8d
int v6; // r9d
bool v7; // [rsp+Fh] [rbp-39h]
long long j; // [rsp+20h] [rbp-28h]
int v9; // [rsp+2Ch] [rbp-1Ch]
float v10; // [rsp+30h] [rbp-18h]
int i; // [rsp+34h] [rbp-14h]
i... | vsort_sequential_float:
SUB RSP,0x48
MOV qword ptr [RSP + 0x18],RDI
MOV dword ptr [RSP + 0x14],ESI
CMP qword ptr [RSP + 0x18],0x0
JZ 0x00101b4c
CMP dword ptr [RSP + 0x14],0x1
JG 0x00101b51
LAB_00101b4c:
JMP 0x00101c9c
LAB_00101b51:
MOV EAX,dword ptr [RSP + 0x14]
MOV dword ptr [RSP + 0x10],EAX
MOV EAX,dword ptr [0x00108... |
void vsort_sequential_float(long param_1,int param_2)
{
float fVar1;
bool bVar2;
ulong uVar3;
float *local_28;
int local_1c;
int local_14;
if ((param_1 != 0) && (1 < param_2)) {
if ((param_2 < DAT_001080e8 / 2) &&
(uVar3 = vsort_is_nearly_sorted_float(param_1,param_2,(long)DAT_001080e8 % 2... | |
20,925 | pagecache_unlock | eloqsql/storage/maria/ma_pagecache.c | void pagecache_unlock(PAGECACHE *pagecache,
PAGECACHE_FILE *file,
pgcache_page_no_t pageno,
enum pagecache_page_lock lock,
enum pagecache_page_pin pin,
LSN first_REDO_LSN_for_page,
LSN lsn... | O3 | c | pagecache_unlock:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r12
movl %r8d, -0x30(%rbp)
movl %ecx, -0x34(%rbp)
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r14
movb 0x18(%rbp), %al
movb %al, -0x29(%rbp)
movq 0x10(%rbp), %rbx
addq $0xc8, %rdi
cmpq $0x0, 0... | pagecache_unlock:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r12, r9
mov [rbp+var_30], r8d
mov [rbp+var_34], ecx
mov r13, rdx
mov r15, rsi
mov r14, rdi
mov al, [rbp+arg_8]
mov [rbp+var_29], al
mov rbx, [rbp+arg_0]
add... | long long pagecache_unlock(
long long a1,
int a2,
int a3,
unsigned int a4,
unsigned int a5,
long long a6,
long long a7,
char a8)
{
long long v11; // rdi
bool v12; // zf
long long block; // r13
long long v14; // rdx
__int16 v15; // ax
long long... | pagecache_unlock:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R12,R9
MOV dword ptr [RBP + -0x30],R8D
MOV dword ptr [RBP + -0x34],ECX
MOV R13,RDX
MOV R15,RSI
MOV R14,RDI
MOV AL,byte ptr [RBP + 0x18]
MOV byte ptr [RBP + -0x29],AL
MOV RBX,qword ptr [RBP + 0x10]
ADD RDI,0xc8
CMP qword... |
void pagecache_unlock(long param_1,int8 param_2,int8 param_3,uint param_4,int param_5,
long param_6,long param_7,char param_8)
{
int *piVar1;
long *plVar2;
int8 *puVar3;
long lVar4;
pthread_cond_t *__cond;
ushort uVar5;
long lVar6;
int8 uVar7;
int1 local_4c [4];
pthread_mutex_... | |
20,926 | get_logfile_by_number | eloqsql/storage/maria/ma_loghandler.c | static TRANSLOG_FILE *get_logfile_by_number(uint32 file_no)
{
TRANSLOG_FILE *file;
DBUG_ENTER("get_logfile_by_number");
mysql_rwlock_rdlock(&log_descriptor.open_files_lock);
if (log_descriptor.max_file - file_no >=
log_descriptor.open_files.elements)
{
DBUG_PRINT("info", ("File #%u is not opened", f... | O0 | c | get_logfile_by_number:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0xc(%rbp)
leaq 0x44245e(%rip), %rdi # 0x478c70
addq $0x258, %rdi # imm = 0x258
leaq 0x11ae8d(%rip), %rsi # 0x1516ad
movl $0x41d, %edx # imm = 0x41D
callq 0x368b0
movl 0x442690(%rip), %eax # 0x478ec0
subl -0xc(%... | get_logfile_by_number:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_C], edi
lea rdi, log_descriptor
add rdi, 258h
lea rsi, aWorkspaceLlm4b_0; "/workspace/llm4binary/github2025/eloqsq"...
mov edx, 41Dh
call inline_mysql_rwlock_rdlock
mov eax, cs:dword_478EC0
sub eax, [rbp+var... | long long get_logfile_by_number(int a1)
{
long long v2; // [rsp+8h] [rbp-18h]
inline_mysql_rwlock_rdlock(
&log_descriptor[75],
"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghandler.c",
1053LL);
if ( dword_478EC0 - a1 < (unsigned int)dword_478EA0 )
{
v2 = *(_QWORD *)(qword_478E9... | get_logfile_by_number:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0xc],EDI
LEA RDI,[0x578c70]
ADD RDI,0x258
LEA RSI,[0x2516ad]
MOV EDX,0x41d
CALL 0x001368b0
MOV EAX,dword ptr [0x00578ec0]
SUB EAX,dword ptr [RBP + -0xc]
CMP EAX,dword ptr [0x00578ea0]
JC 0x0013685c
JMP 0x0013683d
LAB_0013683d:
JMP 0x0013683f... |
int8 get_logfile_by_number(int param_1)
{
int8 local_10;
inline_mysql_rwlock_rdlock
(&DAT_00578ec8,"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghandler.c",
0x41d);
if ((uint)(DAT_00578ec0 - param_1) < DAT_00578ea0) {
local_10 = *(int8 *)(DAT_00578e98 + (ulong)(ui... | |
20,927 | common_set_adapter_lora(llama_context*, std::vector<common_adapter_lora_info, std::allocator<common_adapter_lora_info>>&) | monkey531[P]llama/common/common.cpp | void common_set_adapter_lora(struct llama_context * ctx, std::vector<common_adapter_lora_info> & lora) {
llama_clear_adapter_lora(ctx);
for (auto & la : lora) {
if (la.scale != 0.0f) {
llama_set_adapter_lora(ctx, la.ptr, la.scale);
}
}
} | O2 | cpp | common_set_adapter_lora(llama_context*, std::vector<common_adapter_lora_info, std::allocator<common_adapter_lora_info>>&):
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
callq 0x24a00
movq (%r14), %r15
movq 0x8(%r14), %r14
cmpq %r14, %r15
je 0x5a866
movss 0x20(%r15), %xmm0
ucomiss 0x5c5a0(%rip), %xmm0... | _Z23common_set_adapter_loraP13llama_contextRSt6vectorI24common_adapter_lora_infoSaIS2_EE:
push r15
push r14
push rbx
mov r14, rsi
mov rbx, rdi
call _llama_clear_adapter_lora
mov r15, [r14]
mov r14, [r14+8]
loc_5A83E:
cmp r15, r14
jz short loc_5A866
movss xmm0, dword ptr [r15+20h]
... | long long common_set_adapter_lora(long long a1, long long *a2)
{
long long result; // rax
long long v3; // r15
long long v4; // r14
result = llama_clear_adapter_lora();
v3 = *a2;
v4 = a2[1];
while ( v3 != v4 )
{
if ( *(float *)(v3 + 32) != 0.0 )
result = llama_set_adapter_lora(a1, *(_QWORD *... | common_set_adapter_lora:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
CALL 0x00124a00
MOV R15,qword ptr [R14]
MOV R14,qword ptr [R14 + 0x8]
LAB_0015a83e:
CMP R15,R14
JZ 0x0015a866
MOVSS XMM0,dword ptr [R15 + 0x20]
UCOMISS XMM0,dword ptr [0x001b6df0]
JNZ 0x0015a854
JNP 0x0015a860
LAB_0015a854:
MOV RSI,qword ptr [R... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* common_set_adapter_lora(llama_context*, std::vector<common_adapter_lora_info,
std::allocator<common_adapter_lora_info> >&) */
void common_set_adapter_lora(llama_context *param_1,vector *param_2)
{
long lVar1;
long lVar2;
... | |
20,928 | my_vsnprintf_utf32 | eloqsql/strings/ctype-ucs2.c | static size_t
my_vsnprintf_utf32(char *dst, size_t n, const char* fmt, va_list ap)
{
char *start= dst, *end= dst + n;
DBUG_ASSERT((n % 4) == 0);
for (; *fmt ; fmt++)
{
if (fmt[0] != '%')
{
if (dst >= end) /* End of buffer */
break;
*dst++= '\0';
*d... | O0 | c | my_vsnprintf_utf32:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq %rcx, -0x40(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x28(%rbp), %rax
addq -0x30(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x6... | my_vsnprintf_utf32:
push rbp
mov rbp, rsp
sub rsp, 0B0h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_28], rdi
mov [rbp+var_30], rsi
mov [rbp+var_38], rdx
mov [rbp+var_40], rcx
mov rax, [rbp+var_28]
mov [rbp+var_48], rax
mov rax, [rbp+var_28]
add rax, [rbp+var_30]
... | _BYTE * my_vsnprintf_utf32(_BYTE *a1, long long a2, _BYTE *a3, int *a4)
{
_BYTE *v4; // rax
const char **v5; // rax
unsigned int *v6; // rax
_BYTE *v7; // rax
_BYTE *v8; // rax
int v10; // [rsp+1Ch] [rbp-94h]
int v11; // [rsp+30h] [rbp-80h]
bool v12; // [rsp+37h] [rbp-79h]
_BYTE *v13; // [rsp+38h] [rb... | my_vsnprintf_utf32:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xb0
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV qword ptr [RBP + -0x40],RCX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x48],RAX
MOV RAX,qword p... |
long my_vsnprintf_utf32(int1 *param_1,long param_2,char *param_3,uint *param_4)
{
uint uVar1;
int1 *puVar2;
char *pcVar3;
int1 *puVar4;
long in_FS_OFFSET;
bool bVar5;
int *local_b0;
long *local_98;
char *local_80;
size_t local_68;
char *local_60;
char *local_40;
int1 *local_30;
char local_... | |
20,929 | StartTree::UPGMA_Matrix<double>::getMinimumEntry(StartTree::Position<double>&) | iqtree3/utils/bionj2.cpp | void getMinimumEntry(Position<T> &best) {
getRowMinima();
best.value = infiniteDistance;
for (size_t r=0; r<n; ++r) {
Position<T> & here = rowMinima[r];
if (here.value < best.value && here.row != here.column) {
best = here;
}
}
} | O0 | cpp | StartTree::UPGMA_Matrix<double>::getMinimumEntry(StartTree::Position<double>&):
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
movq (%rdi), %rax
callq *0x40(%rax)
movq 0x18(%rsp), %rax
movsd 0x9b16(%rip), %xmm0 # 0x696c0
movsd %xmm0, 0x10(%rax)
movq $0x0, 0x10(%... | _ZN9StartTree12UPGMA_MatrixIdE15getMinimumEntryERNS_8PositionIdEE:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov [rsp+28h+var_10], rsi
mov rdi, [rsp+28h+var_8]
mov [rsp+28h+var_28], rdi
mov rax, [rdi]
call qword ptr [rax+40h]
mov rax, [rsp+28h+var_10]
movsd xmm0, cs:qword_696C0
movsd qwor... | unsigned long long StartTree::UPGMA_Matrix<double>::getMinimumEntry(_QWORD *a1, double *a2)
{
unsigned long long result; // rax
long long v3; // [rsp+8h] [rbp-20h]
unsigned long long i; // [rsp+10h] [rbp-18h]
(*(void ( **)(_QWORD *))(*a1 + 64LL))(a1);
a2[2] = 9.999999616903162e35;
for ( i = 0LL; ; ++i )
... | getMinimumEntry:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV qword ptr [RSP + 0x18],RSI
MOV RDI,qword ptr [RSP + 0x20]
MOV qword ptr [RSP],RDI
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x40]
MOV RAX,qword ptr [RSP + 0x18]
MOVSD XMM0,qword ptr [0x001696c0]
MOVSD qword ptr [RAX + 0x10],XMM0
MOV qword ptr [RSP + 0... |
/* StartTree::UPGMA_Matrix<double>::getMinimumEntry(StartTree::Position<double>&) */
void __thiscall
StartTree::UPGMA_Matrix<double>::getMinimumEntry(UPGMA_Matrix<double> *this,Position *param_1)
{
Position *pPVar1;
ulong local_18;
(**(code **)(*(long *)this + 0x40))();
*(int8 *)(param_1 + 0x10) = DAT_001... | |
20,930 | my_well_formed_char_length_ucs2 | eloqsql/strings/ctype-ucs2.c | static size_t
my_well_formed_char_length_ucs2(CHARSET_INFO *cs __attribute__((unused)),
const char *b, const char *e,
size_t nchars, MY_STRCOPY_STATUS *status)
{
size_t length= e - b;
if (nchars * 2 <= length)
{
status->m_well_formed_error_pos= N... | O3 | c | my_well_formed_char_length_ucs2:
pushq %rbp
movq %rsp, %rbp
movq %rcx, %rax
movq %rdx, %rcx
subq %rsi, %rcx
leaq (%rax,%rax), %rdi
cmpq %rcx, %rdi
jbe 0x47553
movl %ecx, %eax
andl $0x1, %eax
movq %rax, %rsi
negq %rsi
leaq -0x1(%rdx), %rdi
andq %rdi, %rsi
testq %rax, %rax
cmoveq %rdx, %rdi
movq %rsi, 0x8(%r8)
movq %rdi,... | my_well_formed_char_length_ucs2:
push rbp
mov rbp, rsp
mov rax, rcx
mov rcx, rdx
sub rcx, rsi
lea rdi, [rax+rax]
cmp rdi, rcx
jbe short loc_47553
mov eax, ecx
and eax, 1
mov rsi, rax
neg rsi
lea rdi, [rdx-1]
and rsi, rdi
test rax, rax
cmovz rdi, rdx
mov [r... | unsigned long long my_well_formed_char_length_ucs2(
long long a1,
long long a2,
long long a3,
unsigned long long a4,
_QWORD *a5)
{
unsigned long long result; // rax
unsigned long long v6; // rcx
long long v7; // rdi
result = a4;
v6 = a3 - a2;
if ( 2 * result <= a3 -... | my_well_formed_char_length_ucs2:
PUSH RBP
MOV RBP,RSP
MOV RAX,RCX
MOV RCX,RDX
SUB RCX,RSI
LEA RDI,[RAX + RAX*0x1]
CMP RDI,RCX
JBE 0x00147553
MOV EAX,ECX
AND EAX,0x1
MOV RSI,RAX
NEG RSI
LEA RDI,[RDX + -0x1]
AND RSI,RDI
TEST RAX,RAX
CMOVZ RDI,RDX
MOV qword ptr [R8 + 0x8],RSI
MOV qword ptr [R8],RDI
SHR RCX,0x1
MOV RAX,RCX... |
ulong my_well_formed_char_length_ucs2
(int8 param_1,long param_2,ulong param_3,ulong param_4,ulong *param_5)
{
ulong uVar1;
ulong uVar2;
ulong uVar3;
uVar2 = param_3 - param_2;
if (uVar2 < param_4 * 2) {
uVar1 = (ulong)((uint)uVar2 & 1);
uVar3 = param_3 - 1;
if (uVar1 == 0) {
... | |
20,931 | js_async_generator_function_call | bluesky950520[P]quickjs/quickjs.c | static JSValue js_async_generator_function_call(JSContext *ctx, JSValue func_obj,
JSValue this_obj,
int argc, JSValue *argv,
int flags)
{
JSValue obj, func_ret;
JSAsync... | O0 | c | js_async_generator_function_call:
subq $0x98, %rsp
movl 0xa8(%rsp), %eax
movq 0xa0(%rsp), %rax
movq %rsi, 0x78(%rsp)
movq %rdx, 0x80(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x70(%rsp)
movq %rdi, 0x60(%rsp)
movl %r9d, 0x5c(%rsp)
movq 0x60(%rsp), %rdi
movl $0x88, %esi
callq 0x20a70
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x30(%rs... | js_async_generator_function_call:
sub rsp, 98h
mov eax, [rsp+98h+arg_8]
mov rax, [rsp+98h+arg_0]
mov [rsp+98h+var_20], rsi
mov [rsp+98h+var_18], rdx
mov [rsp+98h+var_30], rcx
mov [rsp+98h+var_28], r8
mov [rsp+98h+var_38], rdi
mov [rsp+98h+var_3C], r9d
mov rdi, [rsp+98h+var_38]
mo... | long long js_async_generator_function_call(
long long a1,
long long a2,
long long a3,
int a4,
int a5,
int a6,
long long a7)
{
long long v7; // rdx
long long v8; // rdx
long long v10; // [rsp+10h] [rbp-88h]
long long v11; // [rsp+20h] [rbp-78h]
long long... | js_async_generator_function_call:
SUB RSP,0x98
MOV EAX,dword ptr [RSP + 0xa8]
MOV RAX,qword ptr [RSP + 0xa0]
MOV qword ptr [RSP + 0x78],RSI
MOV qword ptr [RSP + 0x80],RDX
MOV qword ptr [RSP + 0x68],RCX
MOV qword ptr [RSP + 0x70],R8
MOV qword ptr [RSP + 0x60],RDI
MOV dword ptr [RSP + 0x5c],R9D
MOV RDI,qword ptr [RSP + 0... |
int1 [16]
js_async_generator_function_call
(long param_1,int8 param_2,int8 param_3,int8 param_4,int8 param_5,
int4 param_6,int8 param_7)
{
int iVar1;
int8 *puVar2;
int8 uVar3;
int1 auVar4 [16];
int4 local_10;
int4 uStack_c;
int8 local_8;
puVar2 = (int8 *)js_mallocz(param_1,0x88... | |
20,932 | js_async_generator_function_call | bluesky950520[P]quickjs/quickjs.c | static JSValue js_async_generator_function_call(JSContext *ctx, JSValue func_obj,
JSValue this_obj,
int argc, JSValue *argv,
int flags)
{
JSValue obj, func_ret;
JSAsync... | O1 | c | js_async_generator_function_call:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdi, %r15
movl $0x88, %esi
callq 0xed7d
pushq $0x6
popq %rbx
testq %rax, %rax
jne 0x107cb
xorl %eax, %eax
m... | js_async_generator_function_call:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebp, r9d
mov r12, r8
mov r13, rcx
mov [rsp+58h+var_48], rdx
mov [rsp+58h+var_50], rsi
mov r15, rdi
mov esi, 88h
call js_mallocz
push 6
pop rbx
test rax,... | long long js_async_generator_function_call(
long long a1,
long long a2,
long long a3,
int a4,
int a5,
int a6,
long long a7)
{
long long v10; // rax
long long result; // rax
long long v12; // r14
int v13; // eax
long long v14; // rdx
long long v15; // ... | js_async_generator_function_call:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBP,R9D
MOV R12,R8
MOV R13,RCX
MOV qword ptr [RSP + 0x10],RDX
MOV qword ptr [RSP + 0x8],RSI
MOV R15,RDI
MOV ESI,0x88
CALL 0x0010ed7d
PUSH 0x6
POP RBX
TEST RAX,RAX
JNZ 0x001107cb
LAB_001107b7:
XOR EAX,EAX
LAB_001107b... |
int1 [16]
js_async_generator_function_call
(long param_1,int8 param_2,int8 param_3,int8 param_4,int8 param_5,
int4 param_6,int8 param_7)
{
int iVar1;
long *plVar2;
int1 auVar3 [12];
int1 auVar4 [16];
plVar2 = (long *)js_mallocz(param_1,0x88);
if (plVar2 != (long *)0x0) {
*(int4... | |
20,933 | js_async_generator_function_call | bluesky950520[P]quickjs/quickjs.c | static JSValue js_async_generator_function_call(JSContext *ctx, JSValue func_obj,
JSValue this_obj,
int argc, JSValue *argv,
int flags)
{
JSValue obj, func_ret;
JSAsync... | O3 | c | js_async_generator_function_call:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %ebp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, 0x8(%rsp)
movq %rsi, %rbx
movq %rdi, %r15
movl $0x88, %esi
callq 0xedb6
pushq $0x6
popq %rdx
testq %rax, %rax
jne 0x10ab4
xorl %eax, %eax
addq $0... | js_async_generator_function_call:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov ebp, r9d
mov r12, r8
mov r13, rcx
mov [rsp+48h+var_40], rdx
mov rbx, rsi
mov r15, rdi
mov esi, 88h
call js_mallocz
push 6
pop rdx
test rax, rax
jnz ... | long long js_async_generator_function_call(
long long a1,
long long a2,
long long a3,
int a4,
int a5,
int a6,
long long a7)
{
long long v11; // rax
long long result; // rax
long long v13; // r14
int v14; // eax
long long v15; // rdx
_DWORD *v16; // ra... | js_async_generator_function_call:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV EBP,R9D
MOV R12,R8
MOV R13,RCX
MOV qword ptr [RSP + 0x8],RDX
MOV RBX,RSI
MOV R15,RDI
MOV ESI,0x88
CALL 0x0010edb6
PUSH 0x6
POP RDX
TEST RAX,RAX
JNZ 0x00110ab4
XOR EAX,EAX
LAB_00110aa5:
ADD RSP,0x18
POP RBX
POP R12
P... |
long js_async_generator_function_call
(long param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int4 param_6,int8 param_7)
{
int8 uVar1;
int iVar2;
long *plVar3;
int *piVar4;
long lVar5;
int1 auVar6 [12];
plVar3 = (long *)js_mallocz(param_1,0x88);
if (plVar3 !... | |
20,934 | minja::IfExpr::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 {
if (!condition) throw std::runtime_error("IfExpr.condition is null");
if (!then_expr) throw std::runtime_error("IfExpr.then_expr is null");
if (condition->evaluate(context).to_bool()) {
return then_expr->evaluate(cont... | O3 | cpp | minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r15
movq 0x20(%rsi), %rsi
testq %rsi, %rsi
je 0x9845f
cmpq $0x0, 0x30(%r15)
je 0x9847d
movq %rdx, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq %r12, %rdi
callq 0x865... | _ZNK5minja6IfExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 50h
mov r15, rsi
mov rsi, [rsi+20h]
test rsi, rsi
jz loc_9845F
cmp qword ptr [r15+30h], 0
jz loc_9847D
mov r14, rdx
mov rbx, rdi
mov r12, rsp
mov ... | long long minja::IfExpr::do_evaluate(long long a1, _QWORD *a2)
{
void (***v3)(void); // rsi
char v5; // bp
long long v6; // rdi
signed __int32 v7; // eax
void (***v8)(void); // rsi
std::runtime_error *exception; // r14
long long v11; // [rsp+0h] [rbp-78h] BYREF
long long v12; // [rsp+8h] [rbp-70h]
vo... | do_evaluate:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV R15,RSI
MOV RSI,qword ptr [RSI + 0x20]
TEST RSI,RSI
JZ 0x0019845f
CMP qword ptr [R15 + 0x30],0x0
JZ 0x0019847d
MOV R14,RDX
MOV RBX,RDI
MOV R12,RSP
MOV RDI,R12
CALL 0x001865fc
LAB_0019836e:
MOV RDI,R12
CALL 0x001867fa
LAB_00198376:
MOV EBP,EAX
LE... |
/* minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
IfExpr * __thiscall minja::IfExpr::do_evaluate(IfExpr *this,shared_ptr *param_1)
{
int *piVar1;
char cVar2;
int iVar3;
runtime_error *this_00;
shared_ptr *psVar4;
bool bVar5;
Expression aEStack_78 [8];
long *local_70;
_S... | |
20,935 | handler::rnd_pos_by_record(unsigned char*) | eloqsql/sql/handler.h | virtual int rnd_pos_by_record(uchar *record)
{
int error;
DBUG_ASSERT(table_flags() & HA_PRIMARY_KEY_REQUIRED_FOR_POSITION);
error = ha_rnd_init(false);
if (error != 0)
return error;
position(record);
error = ha_rnd_pos(record, ref);
ha_rnd_end();
return error;
} | O3 | c | handler::rnd_pos_by_record(unsigned char*):
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
xorl %esi, %esi
callq *0x4e0(%rax)
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
addl %ecx, %ecx
movl %ecx, 0x1b0(%rbx)
movq $0x0, 0x170(%rbx)
testl %eax, %eax
jne 0xc9d1
movq (%rbx... | _ZN7handler17rnd_pos_by_recordEPh:
push rbp
mov rbp, rsp
push r14
push rbx
mov r14, rsi
mov rbx, rdi
mov rax, [rdi]
xor esi, esi
call qword ptr [rax+4E0h]
xor ecx, ecx
test eax, eax
setz cl
add ecx, ecx
mov [rbx+1B0h], ecx
mov qword ptr [rbx+170h], 0
test eax, ea... | long long handler::rnd_pos_by_record(handler *this, unsigned __int8 *a2)
{
long long result; // rax
unsigned int v3; // r14d
result = (*(long long ( **)(handler *, _QWORD))(*(_QWORD *)this + 1248LL))(this, 0LL);
*((_DWORD *)this + 108) = 2 * ((_DWORD)result == 0);
*((_QWORD *)this + 46) = 0LL;
if ( !(_DWO... | rnd_pos_by_record:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr [RDI]
XOR ESI,ESI
CALL qword ptr [RAX + 0x4e0]
XOR ECX,ECX
TEST EAX,EAX
SETZ CL
ADD ECX,ECX
MOV dword ptr [RBX + 0x1b0],ECX
MOV qword ptr [RBX + 0x170],0x0
TEST EAX,EAX
JNZ 0x0010c9d1
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
... |
/* handler::rnd_pos_by_record(unsigned char*) */
ulong __thiscall handler::rnd_pos_by_record(handler *this,uchar *param_1)
{
uint uVar1;
ulong uVar2;
uVar2 = (**(code **)(*(long *)this + 0x4e0))(this,0);
*(uint *)(this + 0x1b0) = (uint)((int)uVar2 == 0) * 2;
*(int8 *)(this + 0x170) = 0;
if ((int)uVar2... | |
20,936 | mysql_set_character_set_start_internal | eloqsql/libmariadb/libmariadb/mariadb_async.c | static void
mysql_set_character_set_start_internal(void *d)
{
MK_ASYNC_INTERNAL_BODY(
mysql_set_character_set,
(parms->mysql, parms->csname),
parms->mysql,
int,
r_int)
} | O3 | c | mysql_set_character_set_start_internal:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq (%rdi), %rax
movq 0x8(%rdi), %rsi
movq 0x480(%rax), %rcx
movq 0x28(%rcx), %rbx
movq %rax, %rdi
callq 0x1a7d3
movl %eax, 0x8(%rbx)
movl $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
| mysql_set_character_set_start_internal:
push rbp
mov rbp, rsp
push rbx
push rax
mov rax, [rdi]
mov rsi, [rdi+8]
mov rcx, [rax+480h]
mov rbx, [rcx+28h]
mov rdi, rax
call mysql_set_character_set
mov [rbx+8], eax
mov dword ptr [rbx], 0
add rsp, 8
pop rbx
pop rbp
retn... | long long mysql_set_character_set_start_internal(long long *a1)
{
_DWORD *v1; // rbx
long long result; // rax
v1 = *(_DWORD **)(*(_QWORD *)(*a1 + 1152) + 40LL);
result = mysql_set_character_set(*a1, a1[1]);
v1[2] = result;
*v1 = 0;
return result;
}
| mysql_set_character_set_start_internal:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RAX,qword ptr [RDI]
MOV RSI,qword ptr [RDI + 0x8]
MOV RCX,qword ptr [RAX + 0x480]
MOV RBX,qword ptr [RCX + 0x28]
MOV RDI,RAX
CALL 0x0011a7d3
MOV dword ptr [RBX + 0x8],EAX
MOV dword ptr [RBX],0x0
ADD RSP,0x8
POP RBX
POP RBP
RET
|
void mysql_set_character_set_start_internal(long *param_1)
{
int4 *puVar1;
int4 uVar2;
puVar1 = *(int4 **)(*(long *)(*param_1 + 0x480) + 0x28);
uVar2 = mysql_set_character_set(*param_1,param_1[1]);
puVar1[2] = uVar2;
*puVar1 = 0;
return;
}
| |
20,937 | ma_mmap_pwrite | eloqsql/storage/maria/ma_dynrec.c | size_t _ma_mmap_pwrite(MARIA_HA *info, const uchar *Buffer,
size_t Count, my_off_t offset, myf MyFlags)
{
DBUG_PRINT("info", ("maria_write with mmap %d\n", info->dfile.file));
if (info->s->lock_key_trees)
mysql_rwlock_rdlock(&info->s->mmap_lock);
/*
The following test may fail in the following c... | O0 | c | ma_mmap_pwrite:
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 %r8, -0x30(%rbp)
jmp 0x4a9be
movq -0x10(%rbp), %rax
movq (%rax), %rax
cmpb $0x0, 0x7e3(%rax)
je 0x4a9ed
movq -0x10(%rbp), %rax
movq (%rax), %rdi
addq $0xb78, %rdi ... | _ma_mmap_pwrite:
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 [rbp+var_30], r8
jmp short $+2
loc_4A9BE:
mov rax, [rbp+var_10]
mov rax, [rax]
cmp byte ptr [rax+7E3h], 0
jz short loc_4A9ED... | long long ma_mmap_pwrite(unsigned int *a1, long long a2, long long a3, long long a4, long long a5)
{
if ( *(_BYTE *)(*(_QWORD *)a1 + 2019LL) )
inline_mysql_rwlock_rdlock_1(
*(_QWORD *)a1 + 2936LL,
(long long)"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_dynrec.c",
0xBBu);
if ( *(... | _ma_mmap_pwrite:
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 qword ptr [RBP + -0x30],R8
JMP 0x0014a9be
LAB_0014a9be:
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
CMP byte ptr [RAX + 0x7e3... |
int8
_ma_mmap_pwrite(long *param_1,void *param_2,size_t param_3,long param_4,int8 param_5)
{
int8 local_10;
if (*(char *)(*param_1 + 0x7e3) != '\0') {
inline_mysql_rwlock_rdlock
(*param_1 + 0xb78,"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_dynrec.c"
,0xbb);
}
... | |
20,938 | js_bigint_asUintN | bluesky950520[P]quickjs/quickjs.c | static JSValue js_bigint_asUintN(JSContext *ctx,
JSValue this_val,
int argc, JSValue *argv, int asIntN)
{
uint64_t bits;
bf_t a_s, *a = &a_s, *r, mask_s, *mask = &mask_s;
JSValue res;
if (JS_ToIndex(ctx, &bits, argv[0]))
return... | O0 | c | js_bigint_asUintN:
subq $0xd8, %rsp
movq %rsi, 0xb8(%rsp)
movq %rdx, 0xc0(%rsp)
movq %rdi, 0xb0(%rsp)
movl %ecx, 0xac(%rsp)
movq %r8, 0xa0(%rsp)
movl %r9d, 0x9c(%rsp)
leaq 0x68(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x30(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0xb0(%rsp), %rdi
movq 0xa0(%rsp), %rax
movq (%rax), %rdx
mov... | js_bigint_asUintN:
sub rsp, 0D8h
mov [rsp+0D8h+var_20], rsi
mov [rsp+0D8h+var_18], rdx
mov [rsp+0D8h+var_28], rdi
mov [rsp+0D8h+var_2C], ecx
mov [rsp+0D8h+var_38], r8
mov [rsp+0D8h+var_3C], r9d
lea rax, [rsp+0D8h+var_70]
mov [rsp+0D8h+var_78], rax
lea rax, [rsp+0D8h+var_A8]
mov ... | long long js_bigint_asUintN(
long long a1,
long long a2,
long long a3,
int a4,
long long a5,
int a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
double a11,
double a12,
__m128 a13,
__m128 a14)
{
long long... | js_bigint_asUintN:
SUB RSP,0xd8
MOV qword ptr [RSP + 0xb8],RSI
MOV qword ptr [RSP + 0xc0],RDX
MOV qword ptr [RSP + 0xb0],RDI
MOV dword ptr [RSP + 0xac],ECX
MOV qword ptr [RSP + 0xa0],R8
MOV dword ptr [RSP + 0x9c],R9D
LEA RAX,[RSP + 0x68]
MOV qword ptr [RSP + 0x60],RAX
LEA RAX,[RSP + 0x30]
MOV qword ptr [RSP + 0x28],RAX... |
int1 [16]
js_bigint_asUintN(long param_1,int8 param_2,int8 param_3,int4 param_4,
int8 *param_5,int param_6)
{
int iVar1;
int1 auVar4 [16];
int1 local_a8 [40];
int8 local_80;
int1 *local_78;
int1 local_70 [40];
long local_48;
int local_3c;
int8 *local_38;
int4 local_2c;
long loc... | |
20,939 | js_bigint_asUintN | bluesky950520[P]quickjs/quickjs.c | static JSValue js_bigint_asUintN(JSContext *ctx,
JSValue this_val,
int argc, JSValue *argv, int asIntN)
{
uint64_t bits;
bf_t a_s, *a = &a_s, *r, mask_s, *mask = &mask_s;
JSValue res;
if (JS_ToIndex(ctx, &bits, argv[0]))
return... | O1 | c | js_bigint_asUintN:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %r9d, %ebp
movq %r8, %r12
movq %rdi, %r15
movq (%r8), %rdx
movq 0x8(%r8), %rcx
leaq 0x20(%rsp), %rsi
callq 0x2bacb
testl %eax, %eax
je 0x73a86
xorl %eax, %eax
xorl %ecx, %ecx
movl $0x6, %ebx
orq %rcx, %rax
movq %r... | js_bigint_asUintN:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 78h
mov ebp, r9d
mov r12, r8
mov r15, rdi
mov rdx, [r8]
mov rcx, [r8+8]
lea rsi, [rsp+0A8h+var_88]
call JS_ToIndex
test eax, eax
jz short loc_73A86
loc_73A68:
xor eax, eax
xor ... | unsigned long long js_bigint_asUintN(
long long a1,
__m128 a2,
__m128 a3,
__m128 a4,
__m128 a5,
double a6,
double a7,
__m128 a8,
__m128 a9,
long long a10,
long long a11,
long long a12,
long long *a13,
int a1... | js_bigint_asUintN:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x78
MOV EBP,R9D
MOV R12,R8
MOV R15,RDI
MOV RDX,qword ptr [R8]
MOV RCX,qword ptr [R8 + 0x8]
LEA RSI,[RSP + 0x20]
CALL 0x0012bacb
TEST EAX,EAX
JZ 0x00173a86
LAB_00173a68:
XOR EAX,EAX
XOR ECX,ECX
MOV EBX,0x6
LAB_00173a71:
OR RAX,RCX
MOV RDX,... |
/* WARNING: Removing unreachable block (ram,0x00173c2c) */
/* WARNING: Removing unreachable block (ram,0x00173c32) */
int1 [16] js_bigint_asUintN(long param_1)
{
long lVar1;
int iVar2;
ulong uVar3;
long lVar4;
ulong uVar5;
int8 uVar6;
int8 *in_R8;
int in_R9D;
int1 auVar7 [16];
long local_88;
i... | |
20,940 | stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int) | llama.cpp/examples/llava/../../common/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 0x2bc95
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_2BC95
mov ecx, ecx
xor edi, edi
loc_2BC70:
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... | stbi__resample_row_v_2:
MOV RAX,RDI
TEST ECX,ECX
JLE 0x0012bc95
MOV ECX,ECX
XOR EDI,EDI
LAB_0012bc70:
MOVZX R8D,byte ptr [RSI + RDI*0x1]
LEA R8D,[R8 + R8*0x2]
MOVZX R9D,byte ptr [RDX + RDI*0x1]
ADD R8D,R9D
ADD R8D,0x2
SHR R8D,0x2
MOV byte ptr [RAX + RDI*0x1],R8B
INC RDI
CMP RCX,RDI
JNZ 0x0012bc70
LAB_0012bc95:
RET
|
/* stbi__resample_row_v_2(unsigned char*, unsigned char*, unsigned char*, int, int) */
void stbi__resample_row_v_2(uchar *param_1,uchar *param_2,uchar *param_3,int param_4,int param_5)
{
ulong uVar1;
if (0 < param_4) {
uVar1 = 0;
do {
param_1[uVar1] =
(uchar)((uint)param_2[uVar1] + (u... | |
20,941 | lf_hash_init | eloqsql/mysys/lf_hash.cc | void lf_hash_init(LF_HASH *hash, uint element_size, uint flags,
uint key_offset, uint key_length, my_hash_get_key get_key,
CHARSET_INFO *charset)
{
lf_alloc_init(&hash->alloc, sizeof(LF_SLIST)+element_size,
offsetof(LF_SLIST, key));
lf_dynarray_init(&hash->array, ... | O0 | cpp | lf_hash_init:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movl %r8d, -0x18(%rbp)
movq %r9, -0x20(%rbp)
movq -0x8(%rbp), %rdi
addq $0x28, %rdi
movl -0xc(%rbp), %eax
addq $0x20, %rax
movl %eax, %esi
movl $0x8, ... | lf_hash_init:
push rbp
mov rbp, rsp
sub rsp, 30h
mov rax, [rbp+arg_0]
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_10], edx
mov [rbp+var_14], ecx
mov [rbp+var_18], r8d
mov [rbp+var_20], r9
mov rdi, [rbp+var_8]
add rdi, 28h ; '('
mov eax, [rbp+var_C]
add r... | long long lf_hash_init(long long a1, int a2, int a3, int a4, int a5, long long a6, void *a7)
{
long long result; // rax
void *v8; // [rsp+8h] [rbp-28h]
lf_alloc_init(a1 + 40, a2 + 32, 8);
lf_dynarray_init(a1, 8);
*(_DWORD *)(a1 + 192) = 1;
*(_DWORD *)(a1 + 196) = 0;
*(_DWORD *)(a1 + 184) = a2;
*(_DWOR... | lf_hash_init:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
MOV dword ptr [RBP + -0x18],R8D
MOV qword ptr [RBP + -0x20],R9
MOV RDI,qword ptr [RBP + -0x8]
ADD RDI,0x28
MOV EAX,... |
void lf_hash_init(long param_1,int param_2,int4 param_3,int4 param_4,int4 param_5,
int8 param_6,int1 *param_7)
{
int1 *local_30;
lf_alloc_init(param_1 + 0x28,param_2 + 0x20,8);
lf_dynarray_init(param_1,8);
*(int4 *)(param_1 + 0xc0) = 1;
*(int4 *)(param_1 + 0xc4) = 0;
*(int *)(param_1 +... | |
20,942 | coro::event::awaiter::await_suspend(std::__n4861::coroutine_handle<void>) | AlayaLite/build_O3/_deps/libcoro-src/src/event.cpp | auto event::awaiter::await_suspend(std::coroutine_handle<> awaiting_coroutine) noexcept -> bool
{
const void* const set_state = &m_event;
m_awaiting_coroutine = awaiting_coroutine;
// This value will update if other threads write to it via acquire.
void* old_value = m_event.m_state.load(std::memory_or... | O3 | cpp | coro::event::awaiter::await_suspend(std::__n4861::coroutine_handle<void>):
movq (%rdi), %rdx
movq %rsi, 0x8(%rdi)
movq (%rdx), %rax
cmpq %rax, %rdx
je 0x5c81
movq %rax, 0x10(%rdi)
movq (%rdi), %rcx
lock
cmpxchgq %rdi, (%rcx)
sete %cl
je 0x5c83
cmpq %rax, %rdx
jne 0x5c69
jmp 0x5c83
xorl %ecx, %ecx
movl %ecx, %eax
retq
| _ZN4coro5event7awaiter13await_suspendENSt7__n486116coroutine_handleIvEE:
mov rdx, [rdi]
mov [rdi+8], rsi
mov rax, [rdx]
cmp rdx, rax
jz short loc_5C81
loc_5C69:
mov [rdi+10h], rax
mov rcx, [rdi]
lock cmpxchg [rcx], rdi
setz cl
jz short loc_5C83
cmp rdx, rax
jnz short loc_5C6... | long long coro::event::awaiter::await_suspend(signed long long a1, long long a2)
{
signed long long *v2; // rdx
signed long long v3; // rax
signed long long v4; // rtt
signed long long *v5; // rcx
v2 = *(signed long long **)a1;
*(_QWORD *)(a1 + 8) = a2;
v3 = *v2;
if ( v2 == (signed long long *)*v2 )
... | await_suspend:
MOV RDX,qword ptr [RDI]
MOV qword ptr [RDI + 0x8],RSI
MOV RAX,qword ptr [RDX]
CMP RDX,RAX
JZ 0x00105c81
LAB_00105c69:
MOV qword ptr [RDI + 0x10],RAX
MOV RCX,qword ptr [RDI]
CMPXCHG.LOCK qword ptr [RCX],RDI
SETZ CL
JZ 0x00105c83
CMP RDX,RAX
JNZ 0x00105c69
JMP 0x00105c83
LAB_00105c81:
XOR ECX,ECX
LAB_00105... |
/* coro::event::awaiter::await_suspend(std::__n4861::coroutine_handle<void>) */
ulong __thiscall coro::event::awaiter::await_suspend(awaiter *this,int8 param_2)
{
long *plVar1;
long *plVar2;
long *plVar3;
long *plVar4;
ulong uVar5;
bool bVar6;
plVar1 = *(long **)this;
*(int8 *)(this + 8) = param_2... | |
20,943 | testing::internal::FilePath::MakeFileName(testing::internal::FilePath const&, testing::internal::FilePath const&, int, char const*) | seiftnesse[P]memoryallocator/build_O1/_deps/googletest-src/googletest/src/gtest-filepath.cc | FilePath FilePath::MakeFileName(const FilePath& directory,
const FilePath& base_name, int number,
const char* extension) {
std::string file;
if (number == 0) {
file = base_name.string() + "." + extension;
} else {
file =
base_name.str... | O1 | cpp | testing::internal::FilePath::MakeFileName(testing::internal::FilePath const&, testing::internal::FilePath const&, int, char const*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %r8, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl %ecx, 0x44(%rsp)
leaq 0x98(%rsp), %rax
movq %rax, -0... | _ZN7testing8internal8FilePath12MakeFileNameERKS1_S3_iPKc:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0C8h
mov r15, r8
mov r14, rsi
mov rbx, rdi
mov [rsp+0F8h+var_B4], ecx
lea rax, [rsp+0F8h+var_60]
mov [rax-10h], rax
mov qword ptr [rax-8], 0
mov ... | testing::internal::FilePath * testing::internal::FilePath::MakeFileName(
testing::internal::FilePath *this,
const testing::internal::FilePath *a2,
const testing::internal::FilePath *a3,
int a4,
const char *a5)
{
char *v8; // rax
unsigned long long v9; // rsi
unsigned long l... | MakeFileName:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xc8
MOV R15,R8
MOV R14,RSI
MOV RBX,RDI
MOV dword ptr [RSP + 0x44],ECX
LEA RAX,[RSP + 0x98]
MOV qword ptr [RAX + -0x10],RAX
MOV qword ptr [RAX + -0x8],0x0
MOV byte ptr [RAX],0x0
TEST ECX,ECX
JZ 0x00118e5c
LEA R12,[RSP + 0x58]
MOV qword ptr [R12... |
/* testing::internal::FilePath::MakeFileName(testing::internal::FilePath const&,
testing::internal::FilePath const&, int, char const*) */
FilePath *
testing::internal::FilePath::MakeFileName
(FilePath *param_1,FilePath *param_2,int param_3,char *param_4)
{
int8 *puVar1;
long *plVar2;
long *plVar3;... | |
20,944 | nglog::StrError[abi:cxx11](int) | ng-log[P]ng-log/src/logging.cc | string StrError(int err) {
char buf[100];
int rc = posix_strerror_r(err, buf, sizeof(buf));
if ((rc < 0) || (buf[0] == '\000')) {
std::snprintf(buf, sizeof(buf), "Error number %d", err);
}
return buf;
} | O1 | cpp | nglog::StrError[abi:cxx11](int):
pushq %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq %rsp, %rsi
movl $0x64, %edx
movl %ebp, %edi
callq 0xdc99
testl %eax, %eax
js 0xb201
cmpb $0x0, (%rsp)
jne 0xb219
leaq 0x17644(%rip), %rdx # 0x2284c
movq %rsp, %rdi
movl $0x64, %esi
movl %ebp, %ecx... | _ZN5nglog8StrErrorB5cxx11Ei:
push rbp
push r14
push rbx
sub rsp, 70h
mov ebp, esi
mov rbx, rdi
mov rsi, rsp; int
mov edx, (offset qword_60+4); char *
mov edi, ebp; this
call _ZN5nglog16posix_strerror_rEiPcm; nglog::posix_strerror_r(int,char *,ulong)
test eax, eax
js short loc... | _QWORD * nglog::StrError[abi:cxx11](_QWORD *a1, unsigned int a2, long long a3, unsigned long long a4)
{
long long v4; // rax
_BYTE v6[136]; // [rsp+0h] [rbp-88h] BYREF
if ( (int)nglog::posix_strerror_r((nglog *)a2, (int)v6, (char *)&qword_60 + 4, a4) < 0 || !v6[0] )
snprintf(v6, 100LL, "Error number %d", a2)... | StrError[abi:cxx11]:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x70
MOV EBP,ESI
MOV RBX,RDI
MOV RSI,RSP
MOV EDX,0x64
MOV EDI,EBP
CALL 0x0010dc99
TEST EAX,EAX
JS 0x0010b201
CMP byte ptr [RSP],0x0
JNZ 0x0010b219
LAB_0010b201:
LEA RDX,[0x12284c]
MOV RDI,RSP
MOV ESI,0x64
MOV ECX,EBP
XOR EAX,EAX
CALL 0x001078b0
LAB_0010b219:
LEA R... |
/* nglog::StrError[abi:cxx11](int) */
nglog * __thiscall nglog::StrError_abi_cxx11_(nglog *this,int param_1)
{
int iVar1;
size_t sVar2;
char local_88 [112];
iVar1 = posix_strerror_r(param_1,local_88,100);
if ((iVar1 < 0) || (local_88[0] == '\0')) {
snprintf(local_88,100,"Error number %d",param_1);
... | |
20,945 | nglog::StrError[abi:cxx11](int) | ng-log[P]ng-log/src/logging.cc | string StrError(int err) {
char buf[100];
int rc = posix_strerror_r(err, buf, sizeof(buf));
if ((rc < 0) || (buf[0] == '\000')) {
std::snprintf(buf, sizeof(buf), "Error number %d", err);
}
return buf;
} | O3 | cpp | nglog::StrError[abi:cxx11](int):
pushq %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq %rsp, %rsi
movl $0x64, %edx
movl %ebp, %edi
callq 0xdb08
testl %eax, %eax
js 0xb13b
cmpb $0x0, (%rsp)
jne 0xb153
leaq 0x176f2(%rip), %rdx # 0x22834
movq %rsp, %rdi
movl $0x64, %esi
movl %ebp, %ecx... | _ZN5nglog8StrErrorB5cxx11Ei:
push rbp
push r14
push rbx
sub rsp, 70h
mov ebp, esi
mov rbx, rdi
mov rsi, rsp; int
mov edx, (offset qword_60+4); char *
mov edi, ebp; this
call _ZN5nglog16posix_strerror_rEiPcm; nglog::posix_strerror_r(int,char *,ulong)
test eax, eax
js short loc... | _QWORD * nglog::StrError[abi:cxx11](_QWORD *a1, unsigned int a2, long long a3, unsigned long long a4)
{
long long v4; // rax
_BYTE v6[136]; // [rsp+0h] [rbp-88h] BYREF
if ( (int)nglog::posix_strerror_r((nglog *)a2, (int)v6, (char *)&qword_60 + 4, a4) < 0 || !v6[0] )
snprintf(v6, 100LL, "Error number %d", a2)... | StrError[abi:cxx11]:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x70
MOV EBP,ESI
MOV RBX,RDI
MOV RSI,RSP
MOV EDX,0x64
MOV EDI,EBP
CALL 0x0010db08
TEST EAX,EAX
JS 0x0010b13b
CMP byte ptr [RSP],0x0
JNZ 0x0010b153
LAB_0010b13b:
LEA RDX,[0x122834]
MOV RDI,RSP
MOV ESI,0x64
MOV ECX,EBP
XOR EAX,EAX
CALL 0x001078b0
LAB_0010b153:
LEA R... |
/* nglog::StrError[abi:cxx11](int) */
nglog * __thiscall nglog::StrError_abi_cxx11_(nglog *this,int param_1)
{
int iVar1;
size_t sVar2;
char local_88 [112];
iVar1 = posix_strerror_r(param_1,local_88,100);
if ((iVar1 < 0) || (local_88[0] == '\0')) {
snprintf(local_88,100,"Error number %d",param_1);
... | |
20,946 | 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... | llama.cpp/common/json.hpp | basic_json(const basic_json& other)
: json_base_class_t(other)
{
m_data.m_type = other.m_data.m_type;
// check of passed value is valid
other.assert_invariant();
switch (m_data.m_type)
{
case value_t::object:
{
m_data.m_value =... | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2ERKSD_:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
xorps xmm0, xmm0
movups xmmword ptr [rdi], xmm0
mov al, [rsi]
mov [... | long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::basic_json(
unsigned __int8 *a1,
unsigned __int8 *a2)
{
long long... | basic_json:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI],XMM0
MOV AL,byte ptr [RSI]
MOV byte ptr [RDI],AL
MOV RDI,RSI
MOV ESI,0x1
CALL 0x001858ca
MOVZX EAX,byte ptr [RBX]
DEC EAX
CMP EAX,0x7
JA 0x00189b8e
LEA RCX,[0x2133f0]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
... |
/* 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>::basic_json(nlohmann::json_a... | |
20,947 | ssz_add_uint32 | corpus-core[P]colibri-stateless/src/util/ssz_builder.c | void ssz_add_uint32(ssz_builder_t* buffer, uint32_t value) {
uint8_t tmp[4];
tmp[0] = value & 0xFF;
tmp[1] = (value >> 8) & 0xFF;
tmp[2] = (value >> 16) & 0xFF;
tmp[3] = (value >> 24) & 0xFF;
buffer_append(&buffer->fixed, bytes(tmp, 4));
} | O2 | c | ssz_add_uint32:
pushq %rax
leaq 0x4(%rsp), %rdx
movl %esi, (%rdx)
addq $0x8, %rdi
pushq $0x4
popq %rsi
callq 0x4b08b
popq %rax
retq
| ssz_add_uint32:
push rax
lea rdx, [rsp+8+var_4]
mov [rdx], esi
add rdi, 8
push 4
pop rsi
call buffer_append
pop rax
retn
| unsigned long long ssz_add_uint32(long long a1, unsigned int a2)
{
unsigned int v2; // eax
unsigned long long v4; // [rsp-4h] [rbp-8h] BYREF
v4 = __PAIR64__(a2, v2);
buffer_append((unsigned int *)(a1 + 8), 4u, (long long)&v4 + 4);
return v4;
}
| ssz_add_uint32:
PUSH RAX
LEA RDX,[RSP + 0x4]
MOV dword ptr [RDX],ESI
ADD RDI,0x8
PUSH 0x4
POP RSI
CALL 0x0014b08b
POP RAX
RET
|
int8 ssz_add_uint32(long param_1,int4 param_2)
{
int4 in_EAX;
int8 uStack_8;
uStack_8 = CONCAT44(param_2,in_EAX);
buffer_append(param_1 + 8,4);
return uStack_8;
}
| |
20,948 | js_strndup | bluesky950520[P]quickjs/quickjs.c | char *js_strndup(JSContext *ctx, const char *s, size_t n)
{
char *ptr;
ptr = js_malloc(ctx, n + 1);
if (ptr) {
memcpy(ptr, s, n);
ptr[n] = '\0';
}
return ptr;
} | O0 | c | js_strndup:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rsi
addq $0x1, %rsi
callq 0x209f0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
je 0x20d35
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0xe5a0
movq 0x8(%rsp), %rax... | js_strndup:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov [rsp+28h+var_10], rsi
mov [rsp+28h+var_18], rdx
mov rdi, [rsp+28h+var_8]
mov rsi, [rsp+28h+var_18]
add rsi, 1
call js_malloc
mov [rsp+28h+var_20], rax
cmp [rsp+28h+var_20], 0
jz short loc_20D35
mov rdi, [rsp+28h+var_20... | long long js_strndup(long long a1, long long a2, long long a3)
{
long long v4; // [rsp+8h] [rbp-20h]
v4 = js_malloc(a1, a3 + 1);
if ( v4 )
{
memcpy(v4, a2, a3);
*(_BYTE *)(v4 + a3) = 0;
}
return v4;
}
| js_strndup:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV qword ptr [RSP + 0x18],RSI
MOV qword ptr [RSP + 0x10],RDX
MOV RDI,qword ptr [RSP + 0x20]
MOV RSI,qword ptr [RSP + 0x10]
ADD RSI,0x1
CALL 0x001209f0
MOV qword ptr [RSP + 0x8],RAX
CMP qword ptr [RSP + 0x8],0x0
JZ 0x00120d35
MOV RDI,qword ptr [RSP + 0x8]
MOV RSI,... |
void * js_strndup(int8 param_1,void *param_2,size_t param_3)
{
void *__dest;
__dest = (void *)js_malloc(param_1,param_3 + 1);
if (__dest != (void *)0x0) {
memcpy(__dest,param_2,param_3);
*(int1 *)((long)__dest + param_3) = 0;
}
return __dest;
}
| |
20,949 | js_strndup | bluesky950520[P]quickjs/quickjs.c | char *js_strndup(JSContext *ctx, const char *s, size_t n)
{
char *ptr;
ptr = js_malloc(ctx, n + 1);
if (ptr) {
memcpy(ptr, s, n);
ptr[n] = '\0';
}
return ptr;
} | O1 | c | js_strndup:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x1(%rdx), %rsi
callq 0xed5d
movq %rax, %r15
testq %rax, %rax
je 0xedd2
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xe5a0
movb $0x0, (%r15,%rbx)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
| js_strndup:
push r15
push r14
push rbx
mov rbx, rdx
mov r14, rsi
lea rsi, [rdx+1]
call js_malloc
mov r15, rax
test rax, rax
jz short loc_EDD2
mov rdi, r15
mov rsi, r14
mov rdx, rbx
call _memcpy
mov byte ptr [r15+rbx], 0
loc_EDD2:
mov rax, r15
pop rbx
pop ... | long long js_strndup(long long a1, long long a2, long long a3)
{
long long v4; // rax
long long v5; // r15
v4 = js_malloc(a1, a3 + 1);
v5 = v4;
if ( v4 )
{
memcpy(v4, a2, a3);
*(_BYTE *)(v5 + a3) = 0;
}
return v5;
}
| js_strndup:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV R14,RSI
LEA RSI,[RDX + 0x1]
CALL 0x0010ed5d
MOV R15,RAX
TEST RAX,RAX
JZ 0x0010edd2
MOV RDI,R15
MOV RSI,R14
MOV RDX,RBX
CALL 0x0010e5a0
MOV byte ptr [R15 + RBX*0x1],0x0
LAB_0010edd2:
MOV RAX,R15
POP RBX
POP R14
POP R15
RET
|
void * js_strndup(int8 param_1,void *param_2,size_t param_3)
{
void *__dest;
__dest = (void *)js_malloc(param_1,param_3 + 1);
if (__dest != (void *)0x0) {
memcpy(__dest,param_2,param_3);
*(int1 *)((long)__dest + param_3) = 0;
}
return __dest;
}
| |
20,950 | strxnmov | eloqsql/strings/strxnmov.c | char *strxnmov(char *dst, size_t len, const char *src, ...)
{
va_list pvar;
char *end_of_dst=dst+len;
va_start(pvar,src);
while (src != NullS)
{
do
{
if (dst == end_of_dst)
goto end;
}
while ((*dst++ = *src++));
dst--;
src = va_arg(pvar, char *);
}
end:
*dst=0;
va_end(pva... | O0 | c | strxnmov:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
testb %al, %al
je 0x7ff9b
movaps %xmm0, -0xc0(%rbp)
movaps %xmm1, -0xb0(%rbp)
movaps %xmm2, -0xa0(%rbp)
movaps %xmm3, -0x90(%rbp)
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x70(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm7, -0x50(%rbp)
movq %r9, -0xc8(%rbp)
movq %r8, ... | strxnmov:
push rbp
mov rbp, rsp
sub rsp, 90h
test al, al
jz short loc_7FF9B
movaps [rbp+var_C0], xmm0
movaps [rbp+var_B0], xmm1
movaps [rbp+var_A0], xmm2
movaps [rbp+var_90], xmm3
movaps [rbp+var_80], xmm4
movaps [rbp+var_70], xmm5
movaps [rbp+var_60], xmm6
movaps [rbp+var_50], xmm7
loc_7FF9B... | _BYTE * strxnmov(
_BYTE *a1,
long long a2,
_BYTE *a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14,
char a15)
{... | strxnmov:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x90
TEST AL,AL
JZ 0x0017ff9b
MOVAPS xmmword ptr [RBP + -0xc0],XMM0
MOVAPS xmmword ptr [RBP + -0xb0],XMM1
MOVAPS xmmword ptr [RBP + -0xa0],XMM2
MOVAPS xmmword ptr [RBP + -0x90],XMM3
MOVAPS xmmword ptr [RBP + -0x80],XMM4
MOVAPS xmmword ptr [RBP + -0x70],XMM5
MOVAPS xmmword ptr [RBP... |
/* WARNING: Restarted to delay deadcode elimination for space: stack */
char * strxnmov(char *param_1,long param_2,char *param_3)
{
char cVar1;
char *pcVar2;
int8 *local_110;
int8 local_f8 [24];
uint local_38;
int8 *local_30;
char *local_20;
char *local_10;
local_30 = (int8 *)&stack0x00000008;
... | |
20,951 | common_log::set_file(char const*) | monkey531[P]llama/common/log.cpp | void set_file(const char * path) {
pause();
if (file) {
fclose(file);
}
if (path) {
file = fopen(path, "w");
} else {
file = nullptr;
}
resume();
} | O2 | cpp | common_log::set_file(char const*):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x991e2
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0x99509
callq 0x24a10
testq %r14, %r14
je 0x9951f
leaq 0x15835(%rip), %rsi # 0xaed4a
movq %r14, %rdi
callq 0x24bf0
jmp 0x99521
xorl %eax, %eax
movq %rax, 0x60(%... | _ZN10common_log8set_fileEPKc:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
call _ZN10common_log5pauseEv; common_log::pause(void)
mov rdi, [rbx+60h]
test rdi, rdi
jz short loc_99509
call _fclose
loc_99509:
test r14, r14
jz short loc_9951F
lea rsi, aGrpAttnW+0Bh; "w"... | long long common_log::set_file(common_log *this, const char *a2)
{
long long v3; // rdi
long long v4; // rax
common_log::pause(this);
v3 = *((_QWORD *)this + 12);
if ( v3 )
fclose(v3);
if ( a2 )
v4 = fopen(a2, "w");
else
v4 = 0LL;
*((_QWORD *)this + 12) = v4;
return common_log::resume(th... | set_file:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
CALL 0x001991e2
MOV RDI,qword ptr [RBX + 0x60]
TEST RDI,RDI
JZ 0x00199509
CALL 0x00124a10
LAB_00199509:
TEST R14,R14
JZ 0x0019951f
LEA RSI,[0x1aed4a]
MOV RDI,R14
CALL 0x00124bf0
JMP 0x00199521
LAB_0019951f:
XOR EAX,EAX
LAB_00199521:
MOV qword ptr [RBX + 0x60]... |
/* common_log::set_file(char const*) */
void __thiscall common_log::set_file(common_log *this,char *param_1)
{
FILE *pFVar1;
pause(this);
if (*(FILE **)(this + 0x60) != (FILE *)0x0) {
fclose(*(FILE **)(this + 0x60));
}
if (param_1 == (char *)0x0) {
pFVar1 = (FILE *)0x0;
}
else {
pFVar1 =... | |
20,952 | common_log::set_file(char const*) | monkey531[P]llama/common/log.cpp | void set_file(const char * path) {
pause();
if (file) {
fclose(file);
}
if (path) {
file = fopen(path, "w");
} else {
file = nullptr;
}
resume();
} | O3 | cpp | common_log::set_file(char const*):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xcebc2
movq 0x60(%rbx), %rdi
testq %rdi, %rdi
je 0xcefd3
callq 0x1b9e0
testq %r14, %r14
je 0xcefe9
leaq 0x1bd6b(%rip), %rsi # 0xead4a
movq %r14, %rdi
callq 0x1bbc0
jmp 0xcefeb
xorl %eax, %eax
movq %rax, 0x60(%... | _ZN10common_log8set_fileEPKc:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
call _ZN10common_log5pauseEv; common_log::pause(void)
mov rdi, [rbx+60h]
test rdi, rdi
jz short loc_CEFD3
call _fclose
loc_CEFD3:
test r14, r14
jz short loc_CEFE9
lea rsi, aGrpAttnW+0Bh; "w"... | long long common_log::set_file(common_log *this, const char *a2)
{
long long v3; // rdi
long long v4; // rax
common_log::pause(this);
v3 = *((_QWORD *)this + 12);
if ( v3 )
fclose(v3);
if ( a2 )
v4 = fopen(a2, "w");
else
v4 = 0LL;
*((_QWORD *)this + 12) = v4;
return common_log::resume(th... | set_file:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
CALL 0x001cebc2
MOV RDI,qword ptr [RBX + 0x60]
TEST RDI,RDI
JZ 0x001cefd3
CALL 0x0011b9e0
LAB_001cefd3:
TEST R14,R14
JZ 0x001cefe9
LEA RSI,[0x1ead4a]
MOV RDI,R14
CALL 0x0011bbc0
JMP 0x001cefeb
LAB_001cefe9:
XOR EAX,EAX
LAB_001cefeb:
MOV qword ptr [RBX + 0x60]... |
/* common_log::set_file(char const*) */
void __thiscall common_log::set_file(common_log *this,char *param_1)
{
FILE *pFVar1;
pause(this);
if (*(FILE **)(this + 0x60) != (FILE *)0x0) {
fclose(*(FILE **)(this + 0x60));
}
if (param_1 == (char *)0x0) {
pFVar1 = (FILE *)0x0;
}
else {
pFVar1 =... | |
20,953 | js_shr_slow | bluesky950520[P]quickjs/quickjs.c | static no_inline int js_shr_slow(JSContext *ctx, JSValue *sp)
{
JSValue op1, op2;
uint32_t v1, v2, r;
op1 = sp[-2];
op2 = sp[-1];
op1 = JS_ToNumericFree(ctx, op1);
if (JS_IsException(op1)) {
JS_FreeValue(ctx, op2);
goto exception;
}
op2 = JS_ToNumericFree(ctx, op2);
... | O2 | c | js_shr_slow:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq -0x20(%rsi), %rsi
movq -0x18(%rbx), %rdx
movq -0x10(%rbx), %rbp
movq -0x8(%rbx), %r13
callq 0x3df6e
movq %rdx, %r15
movl %r15d, %r12d
cmpq $0x6, %r12
jne 0x3ca59
movq %r14, %rdi
movq %rbp... | js_shr_slow:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, rsi
mov r14, rdi
mov rsi, [rsi-20h]
mov rdx, [rbx-18h]
mov rbp, [rbx-10h]
mov r13, [rbx-8]
call JS_ToNumericFree
mov r15, rdx
mov r12d, r15d
cmp r12, 6
jnz short loc_... | long long js_shr_slow(
long long a1,
long long a2,
__m128 a3,
__m128 a4,
__m128 a5,
__m128 a6,
double a7,
double a8,
__m128 a9,
__m128 a10)
{
unsigned long long v11; // rbp
long long v12; // r13
long long v13; // rax
long long v14;... | js_shr_slow:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RSI
MOV R14,RDI
MOV RSI,qword ptr [RSI + -0x20]
MOV RDX,qword ptr [RBX + -0x18]
MOV RBP,qword ptr [RBX + -0x10]
MOV R13,qword ptr [RBX + -0x8]
CALL 0x0013df6e
MOV R15,RDX
MOV R12D,R15D
CMP R12,0x6
JNZ 0x0013ca59
LAB_0013ca4e:
MOV RD... |
int8 js_shr_slow(int8 param_1,long param_2)
{
int8 uVar1;
int1 auVar2 [16];
double dVar3;
ulong uVar4;
int8 uVar5;
int1 auVar6 [16];
int1 auVar7 [16];
byte local_38 [4];
uint local_34;
uVar5 = *(int8 *)*(int1 (*) [16])(param_2 + -0x10);
uVar1 = *(int8 *)(param_2 + -8);
auVar2 = *(int1 (*) [... | |
20,954 | js_string_define_own_property | bluesky950520[P]quickjs/quickjs.c | static int js_string_define_own_property(JSContext *ctx,
JSValue this_obj,
JSAtom prop, JSValue val,
JSValue getter,
JSValue setter, int flags)
{
uint32... | O1 | c | js_string_define_own_property:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r14
movq %rdi, %rbx
movl 0x90(%rsp), %ebp
movq %rsi, 0x30(%rsp)
movq %r8, 0x28(%rsp)
testl %ecx, %ecx
jns 0x46b21
movq 0x30(%rsp), %rax
cmpl $-0x7, 0x38(%rax)
jne 0x46b21
movl %ecx, %r15d
andl $0... | js_string_define_own_property:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov r14, r9
mov rbx, rdi
mov ebp, [rsp+68h+arg_20]
mov [rsp+68h+var_38], rsi
mov [rsp+68h+var_40], r8
test ecx, ecx
jns short loc_46B21
mov rax, [rsp+68h+var_38]
cmp ... | long long js_string_define_own_property(
long long a1,
unsigned long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
double a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
... | js_string_define_own_property:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV R14,R9
MOV RBX,RDI
MOV EBP,dword ptr [RSP + 0x90]
MOV qword ptr [RSP + 0x30],RSI
MOV qword ptr [RSP + 0x28],R8
TEST ECX,ECX
JNS 0x00146b21
MOV RAX,qword ptr [RSP + 0x30]
CMP dword ptr [RAX + 0x38],-0x7
JNZ 0x00146b21
M... |
int8
js_string_define_own_property
(int8 param_1,long param_2,int8 param_3,uint param_4,long param_5,int param_6)
{
long lVar1;
ushort uVar2;
int iVar3;
int8 uVar4;
uint uVar5;
ushort uVar6;
uint uVar7;
uint in_stack_00000028;
if (((int)param_4 < 0) && (*(int *)(param_2 + 0x38) == -7)) ... | |
20,955 | tdefl_write_image_to_png_file_in_memory_ex | 7CodeWizard[P]stablediffusion/thirdparty/miniz.h | void *tdefl_write_image_to_png_file_in_memory_ex(const void *pImage, int w,
int h, int num_chans,
size_t *pLen_out,
mz_uint level, mz_bool flip) {
/* Using a local copy of... | O1 | c | tdefl_write_image_to_png_file_in_memory_ex:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r9d, %r13d
movq %r8, %r15
movl %ecx, %ebp
movl %edx, %ebx
movl %esi, %r12d
movq %rdi, 0x80(%rsp)
movl $0x4df78, %edi # imm = 0x4DF78
callq 0xa7c0
movq $0x0, (%r15)
testq %rax, %r... | tdefl_write_image_to_png_file_in_memory_ex:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov r13d, r9d
mov r15, r8
mov ebp, ecx
mov ebx, edx
mov r12d, esi
mov [rsp+0B8h+var_38], rdi
mov edi, 4DF78h
call _malloc
mov qword ptr [r15], 0
test ... | long long tdefl_write_image_to_png_file_in_memory_ex(
long long a1,
int a2,
unsigned int a3,
int a4,
_QWORD *a5,
unsigned int a6,
int a7)
{
long long v10; // rbx
long long v11; // rax
long long v12; // r14
long long v13; // rcx
int v14; // ebx
int v15... | |||
20,956 | tdefl_write_image_to_png_file_in_memory_ex | 7CodeWizard[P]stablediffusion/thirdparty/miniz.h | void *tdefl_write_image_to_png_file_in_memory_ex(const void *pImage, int w,
int h, int num_chans,
size_t *pLen_out,
mz_uint level, mz_bool flip) {
/* Using a local copy of... | O2 | c | tdefl_write_image_to_png_file_in_memory_ex:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %r9d, %r13d
movq %r8, %rbx
movl %ecx, %ebp
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, 0x58(%rsp)
movl $0x4df78, %edi # imm = 0x4DF78
callq 0xa7e0
andq $0x0, (%rbx)
testq %rax, %... | tdefl_write_image_to_png_file_in_memory_ex:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 98h
mov r13d, r9d
mov rbx, r8
mov ebp, ecx
mov r14d, edx
mov r15d, esi
mov [rsp+0C8h+var_70], rdi
mov edi, 4DF78h
call _malloc
and qword ptr [rbx], 0
test ... | long long tdefl_write_image_to_png_file_in_memory_ex(
long long a1,
int a2,
unsigned int a3,
int a4,
_QWORD *a5,
unsigned int a6,
int a7)
{
long long v10; // r14
long long v11; // rax
long long v12; // r12
int v13; // edi
int v14; // r14d
long long v1... | tdefl_write_image_to_png_file_in_memory_ex:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x98
MOV R13D,R9D
MOV RBX,R8
MOV EBP,ECX
MOV R14D,EDX
MOV R15D,ESI
MOV qword ptr [RSP + 0x58],RDI
MOV EDI,0x4df78
CALL 0x0010a7e0
AND qword ptr [RBX],0x0
TEST RAX,RAX
JZ 0x0015d654
MOV R12,RAX
MOV EAX,EBP
MOV dword... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
int4 *
tdefl_write_image_to_png_file_in_memory_ex
(long param_1,int param_2,uint param_3,int param_4,long *param_5,uint param_6,int param_7)
{
int4 *__ptr;
long *plVar1;
int iVar2;
int iVar3;
int4 *puVar4;
ulon... | |
20,957 | tdefl_write_image_to_png_file_in_memory_ex | 7CodeWizard[P]stablediffusion/thirdparty/miniz.h | void *tdefl_write_image_to_png_file_in_memory_ex(const void *pImage, int w,
int h, int num_chans,
size_t *pLen_out,
mz_uint level, mz_bool flip) {
/* Using a local copy of... | O3 | c | tdefl_write_image_to_png_file_in_memory_ex:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r9d, %r13d
movq %r8, %r15
movl %ecx, %ebp
movl %edx, %ebx
movl %esi, %r12d
movq %rdi, 0x80(%rsp)
movl $0x4df78, %edi # imm = 0x4DF78
callq 0xa7b0
movq $0x0, (%r15)
testq %rax, %r... | tdefl_write_image_to_png_file_in_memory_ex:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov r13d, r9d
mov r15, r8
mov ebp, ecx
mov ebx, edx
mov r12d, esi
mov [rsp+0B8h+var_38], rdi
mov edi, 4DF78h
call _malloc
mov qword ptr [r15], 0
test ... | long long tdefl_write_image_to_png_file_in_memory_ex(
long long a1,
int a2,
unsigned int a3,
int a4,
_QWORD *a5,
unsigned int a6,
int a7)
{
long long v10; // rbx
long long v11; // rax
long long v12; // r14
long long v13; // rcx
int v14; // ebx
int v15... | |||
20,958 | test_dup::build_graph(ggml_context*) | llama.cpp/tests/test-backend-ops.cpp | ggml_tensor * build_graph(ggml_context * ctx) override {
ggml_tensor * src = ggml_new_tensor(ctx, type, 4, ne.data());
ggml_set_param(ctx, src);
ggml_set_name(src, "src");
if (_use_permute) {
src = ggml_permute(ctx, src, permute[0], permute[1], permute[2], permute[3]);
... | O3 | cpp | test_dup::build_graph(ggml_context*):
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
movl 0x38(%rdi), %esi
leaq 0x40(%rdi), %rcx
movq %rbx, %rdi
movl $0x4, %edx
callq 0x1cbe0
movq %rax, %r14
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2cc20
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1ccb0
leaq 0x32169(%rip),... | _ZN8test_dup11build_graphEP12ggml_context:
push r15
push r14
push rbx
mov rbx, rsi
mov r15, rdi
mov esi, [rdi+38h]
lea rcx, [rdi+40h]
mov rdi, rbx
mov edx, 4
call _ggml_new_tensor
mov r14, rax
mov rdi, r15
mov rsi, rbx
call _ZN9test_case12add_sentinelEP12ggml_context; ... | long long test_dup::build_graph(long long a1, long long a2)
{
long long v2; // r14
long long v3; // rbx
v2 = ggml_new_tensor(a2, *(unsigned int *)(a1 + 56), 4LL);
test_case::add_sentinel(a1, a2);
ggml_set_param(a2, v2);
ggml_set_name(v2, "src");
if ( *(_BYTE *)(a1 + 128) == 1 )
{
v2 = ggml_permute... | build_graph:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV R15,RDI
MOV ESI,dword ptr [RDI + 0x38]
LEA RCX,[RDI + 0x40]
MOV RDI,RBX
MOV EDX,0x4
CALL 0x0011cbe0
MOV R14,RAX
MOV RDI,R15
MOV RSI,RBX
CALL 0x0012cc20
MOV RDI,RBX
MOV RSI,R14
CALL 0x0011ccb0
LEA RSI,[0x168f90]
MOV RDI,R14
CALL 0x0011c690
CMP byte ptr [R15 + 0x80]... |
/* test_dup::build_graph(ggml_context*) */
int8 __thiscall test_dup::build_graph(test_dup *this,ggml_context *param_1)
{
int8 uVar1;
uVar1 = ggml_new_tensor(param_1,*(int4 *)(this + 0x38),4,this + 0x40);
test_case::add_sentinel((test_case *)this,param_1);
ggml_set_param(param_1,uVar1);
ggml_set_name(uVa... | |
20,959 | ImPlot::PushColormap(int) | zkingston[P]unknot/build_O1/_deps/implot-src/implot.cpp | void PushColormap(ImPlotColormap colormap) {
ImPlotContext& gp = *GImPlot;
IM_ASSERT_USER_ERROR(colormap >= 0 && colormap < gp.ColormapData.Count, "The colormap index is invalid!");
gp.ColormapModifiers.push_back(gp.Style.Colormap);
gp.Style.Colormap = colormap;
} | O1 | cpp | ImPlot::PushColormap(int):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
movq 0x2733ce(%rip), %r15 # 0x336ca0
testl %edi, %edi
js 0xc38df
cmpl %ebx, 0x3c8(%r15)
jg 0xc38eb
leaq 0x1d1d1a(%rip), %rdi # 0x295600
callq 0x2161f4
movl 0x3d0(%r15), %ebp
movl 0x3d4(%r15), %eax
cmpl %eax, %ebp
jne... | _ZN6ImPlot12PushColormapEi:
push rbp
push r15
push r14
push rbx
push rax
mov ebx, edi
mov r15, cs:GImPlot
test edi, edi
js short loc_C38DF
cmp [r15+3C8h], ebx
jg short loc_C38EB
loc_C38DF:
lea rdi, aTheColormapInd; "The colormap index is invalid!"
call _ZN5ImGui8ErrorLogEP... | long long ImPlot::PushColormap(ImPlot *this, const char *a2)
{
ImGui *v2; // r15
int v3; // ebp
int v4; // eax
int v5; // ebp
int v6; // ecx
long long v7; // rax
long long v8; // r14
void *v9; // rsi
long long result; // rax
v2 = GImPlot;
if ( (int)this < 0 || *((_DWORD *)GImPlot + 242) <= (int)... | PushColormap:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV EBX,EDI
MOV R15,qword ptr [0x00436ca0]
TEST EDI,EDI
JS 0x001c38df
CMP dword ptr [R15 + 0x3c8],EBX
JG 0x001c38eb
LAB_001c38df:
LEA RDI,[0x395600]
CALL 0x003161f4
LAB_001c38eb:
MOV EBP,dword ptr [R15 + 0x3d0]
MOV EAX,dword ptr [R15 + 0x3d4]
CMP EBP,EAX
JNZ 0x... |
/* ImPlot::PushColormap(int) */
void ImPlot::PushColormap(int param_1)
{
int iVar1;
long lVar2;
void *__dest;
int iVar3;
int iVar4;
lVar2 = GImPlot;
if ((param_1 < 0) || (*(int *)(GImPlot + 0x3c8) <= param_1)) {
ImGui::ErrorLog("The colormap index is invalid!");
}
iVar1 = *(int *)(lVar2 + 0x... | |
20,960 | minja::TemplateToken::typeToString[abi:cxx11](minja::TemplateToken::Type) | monkey531[P]llama/common/minja.hpp | static std::string typeToString(Type t) {
switch (t) {
case Type::Text: return "text";
case Type::Expression: return "expression";
case Type::If: return "if";
case Type::Else: return "else";
case Type::Elif: return "elif";
case Type::EndIf:... | O3 | cpp | minja::TemplateToken::typeToString[abi:cxx11](minja::TemplateToken::Type):
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
cmpl $0x12, %esi
ja 0x9a355
movl %esi, %eax
leaq 0x56611(%rip), %rcx # 0xf080c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x5739a(%rip), %rsi # 0xf15a5
le... | _ZN5minja13TemplateToken12typeToStringB5cxx11ENS0_4TypeE:
push rbx
mov rbx, rdi
lea rax, [rdi+10h]
mov [rdi], rax
cmp esi, 12h; switch 19 cases
ja def_9A202; jumptable 000000000009A202 default case
mov eax, esi
lea rcx, jpt_9A202
movsxd rax, ds:(jpt_9A202 - 0F080Ch)[rcx+rax*4]
add r... | _QWORD * minja::TemplateToken::typeToString[abi:cxx11](_QWORD *a1, int a2)
{
char *v2; // rsi
char *v3; // rdx
*a1 = a1 + 2;
switch ( a2 )
{
case 0:
v2 = "text";
v3 = (char *)"";
break;
case 1:
v2 = (char *)"expression";
v3 = (char *)"";
break;
case 2:
v2... | typeToString[abi:cxx11]:
PUSH RBX
MOV RBX,RDI
LEA RAX,[RDI + 0x10]
MOV qword ptr [RDI],RAX
CMP ESI,0x12
JA 0x0019a355
MOV EAX,ESI
LEA RCX,[0x1f080c]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_0:
LEA RSI,[0x1f15a5]
LEA RDX,[0x1f15a9]
JMP 0x0019a363
caseD_10:
LEA RSI,[0x1f192f]
LEA RDX,[0x1f1... |
/* minja::TemplateToken::typeToString[abi:cxx11](minja::TemplateToken::Type) */
TemplateToken * __thiscall
minja::TemplateToken::typeToString_abi_cxx11_(TemplateToken *this,int4 param_2)
{
char *pcVar1;
char *pcVar2;
*(TemplateToken **)this = this + 0x10;
switch(param_2) {
case 0:
pcVar2 = "text";
... | |
20,961 | expand_tilde | eloqsql/mysys/mf_pack.c | static char * expand_tilde(char **path)
{
if (path[0][0] == FN_LIBCHAR)
return home_dir; /* ~/ expanded to home */
#ifdef HAVE_GETPWNAM
{
char *str,save;
struct passwd *user_entry;
if (!(str=strchr(*path,FN_LIBCHAR)))
str=strend(*path);
save= *str; *str= '\0';
user_entry=getpwnam(*p... | O0 | c | expand_tilde:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movsbl (%rax), %eax
cmpl $0x2f, %eax
jne 0xea93e
leaq 0xb99306(%rip), %rax # 0xc83c38
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0xea9bf
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movl $0x2f, %esi... | expand_tilde:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
mov rax, [rax]
movsx eax, byte ptr [rax]
cmp eax, 2Fh ; '/'
jnz short loc_EA93E
lea rax, home_dir
mov rax, [rax]
mov [rbp+var_8], rax
jmp loc_EA9BF
loc_EA93E:
mov rax, [rbp+v... | long long expand_tilde(char **a1)
{
long long v2; // [rsp+8h] [rbp-28h]
char v3; // [rsp+17h] [rbp-19h]
char *v4; // [rsp+18h] [rbp-18h]
if ( **a1 == 47 )
return home_dir;
v4 = (char *)strchr(*a1, 47LL);
if ( !v4 )
v4 = (char *)strend(*a1);
v3 = *v4;
*v4 = 0;
v2 = getpwnam(*a1);
*v4 = v3;
... | expand_tilde:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOVSX EAX,byte ptr [RAX]
CMP EAX,0x2f
JNZ 0x001ea93e
LEA RAX,[0xd83c38]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x8],RAX
JMP 0x001ea9bf
LAB_001ea93e:
MOV RAX,qword ptr [RBP + -0x... |
char * expand_tilde(int8 *param_1)
{
char cVar1;
passwd *ppVar2;
char *local_20;
char *local_10;
if (*(char *)*param_1 == '/') {
local_10 = home_dir;
}
else {
local_20 = strchr((char *)*param_1,0x2f);
if (local_20 == (char *)0x0) {
local_20 = (char *)strend(*param_1);
}
cVar... | |
20,962 | ft_boolean_check_syntax_string | eloqsql/storage/myisam/ft_parser.c | my_bool ft_boolean_check_syntax_string(const uchar *str, size_t length,
CHARSET_INFO *cs)
{
uint i, j;
if (cs->mbminlen != 1)
{
DBUG_ASSERT(0);
return 1;
}
if (!str ||
(length + 1 != sizeof(DEFAULT_FTB_SYNTAX)) ||
(str[0] != ' ' && str[1] != ' '))
... | O0 | c | ft_boolean_check_syntax_string:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpl $0x1, 0x98(%rax)
je 0xa1cda
jmp 0xa1ccf
jmp 0xa1cd1
movb $0x1, -0x1(%rbp)
jmp 0xa1db7
cmpq $0x0, -0x10(%rbp)
je 0xa1d08
movq -0x18(%rbp), %rax
addq $0x1, %rax
cmpq ... | ft_boolean_check_syntax_string:
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]
cmp dword ptr [rax+98h], 1
jz short loc_A1CDA
jmp short $+2
loc_A1CCF:
jmp short $+2
loc_A1CD1:
mov [rbp+var_1], 1
jmp loc_A1DB7
l... | char ft_boolean_check_syntax_string(_BYTE *a1, long long a2, long long a3)
{
unsigned int j; // [rsp+0h] [rbp-28h]
unsigned int i; // [rsp+4h] [rbp-24h]
if ( *(_DWORD *)(a3 + 152) != 1 )
return 1;
if ( !a1 || a2 != 14 || *a1 != 32 && a1[1] != 32 )
return 1;
for ( i = 0; i < 0xFuLL; ++i )
{
if ... | ft_boolean_check_syntax_string:
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]
CMP dword ptr [RAX + 0x98],0x1
JZ 0x001a1cda
JMP 0x001a1ccf
LAB_001a1ccf:
JMP 0x001a1cd1
LAB_001a1cd1:
MOV byte ptr [RBP + -0x1],0x1
JMP 0x... |
int1 ft_boolean_check_syntax_string(char *param_1,long param_2,long param_3)
{
uint local_30;
uint local_2c;
int1 local_9;
if (*(int *)(param_3 + 0x98) == 1) {
if (((param_1 == (char *)0x0) || (param_2 != 0xe)) || ((*param_1 != ' ' && (param_1[1] != ' ')))
) {
local_9 = 1;
}
else {... | |
20,963 | nlohmann::json_abi_v3_11_3::ordered_map<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<... | monkey531[P]llama/common/json.hpp | iterator erase(iterator first, iterator last)
{
if (first == last)
{
return first;
}
const auto elements_affected = std::distance(first, last);
const auto offset = std::distance(Container::begin(), first);
// This is the start situation. We need to delet... | O0 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<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<... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEE5eraseEN9__gnu_cxx17__normal_iteratorIPSK_S3_ISK_SL_EEESR_:
sub rsp, 98h
mov [rsp+98h+var_10], rsi
... | long long nlohmann::json_abi_v3_11_3::ordered_map<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>,minja::Value,std::less<nlohmann::json_abi_v3... | |||
20,964 | nlohmann::json_abi_v3_11_3::ordered_map<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<... | monkey531[P]llama/common/json.hpp | iterator erase(iterator first, iterator last)
{
if (first == last)
{
return first;
}
const auto elements_affected = std::distance(first, last);
const auto offset = std::distance(Container::begin(), first);
// This is the start situation. We need to delet... | O1 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<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<... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEE5eraseEN9__gnu_cxx17__normal_iteratorIPSK_S3_ISK_SL_EEESR_:
push rbp
push r15
push r14
push r13... | long long nlohmann::json_abi_v3_11_3::ordered_map<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>,minja::Value,std::less<nlohmann::json_abi_v3... | erase:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RSI
CMP RSI,RDX
JZ 0x0017774e
MOV R15,RDX
MOV R14,RDI
SUB R15,RBX
MOV RBP,R15
SAR RBP,0x5
MOV RAX,-0x5555555555555555
IMUL RBP,RAX
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP],RAX
MOV R12,RBX
LAB_00177701:
LEA R13,[R12 + R15*0x1]
MOV RSI,qword... |
/* nlohmann::json_abi_v3_11_3::ordered_map<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> ... | |
20,965 | nlohmann::json_abi_v3_11_3::ordered_map<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<... | monkey531[P]llama/common/json.hpp | iterator erase(iterator first, iterator last)
{
if (first == last)
{
return first;
}
const auto elements_affected = std::distance(first, last);
const auto offset = std::distance(Container::begin(), first);
// This is the start situation. We need to delet... | O2 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<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<... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEE5eraseEN9__gnu_cxx17__normal_iteratorIPSK_S3_ISK_SL_EEESR_:
push rbp
push r15
push r14
push r13... | long long nlohmann::json_abi_v3_11_3::ordered_map<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>,minja::Value,std::less<nlohmann::json_abi_v3... | erase:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RSI
CMP RSI,RDX
JZ 0x00168659
MOV R14,RDI
SUB RDX,RBX
PUSH 0x60
POP RCX
MOV RAX,RDX
CQO
IDIV RCX
MOV R15,RAX
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP],RAX
IMUL R13,R15,0x60
ADD R13,RBX
MOV R12,R13
NEG R12
MOV RBP,RBX
LAB_0016860c:
CMP R13,q... |
/* nlohmann::json_abi_v3_11_3::ordered_map<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> ... | |
20,966 | SetWindowMonitor | csit-sgu[P]mit-game-2025-team-tyler/Libraries/raylib/src/platforms/rcore_desktop_glfw.c | void SetWindowMonitor(int monitor)
{
int monitorCount = 0;
GLFWmonitor **monitors = glfwGetMonitors(&monitorCount);
if ((monitor >= 0) && (monitor < monitorCount))
{
if (CORE.Window.fullscreen)
{
TRACELOG(LOG_INFO, "GLFW: Selected fullscreen monitor: [%i] %s", monitor, glfwG... | O3 | c | SetWindowMonitor:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edi, %ebp
leaq 0x20(%rsp), %rdi
movl $0x0, (%rdi)
callq 0xbf116
testl %ebp, %ebp
js 0x700c9
cmpl %ebp, 0x20(%rsp)
jle 0x700c9
movq %rax, %rbx
movb 0xcbb5d(%rip), %r14b # 0x13bbcd
movl %ebp, %r15d
movq (%rax,%r1... | SetWindowMonitor:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebp, edi
lea rdi, [rsp+58h+var_38]
mov dword ptr [rdi], 0
call glfwGetMonitors
test ebp, ebp
js short loc_700C9
cmp [rsp+58h+var_38], ebp
jle short loc_700C9
mov rbx, rax
mov... | long long SetWindowMonitor(unsigned int a1)
{
long long Monitors; // rax
int v2; // edx
int v3; // ecx
int v4; // r8d
int v5; // r9d
long long v6; // rbx
char v7; // r14
int MonitorName; // eax
int v9; // r8d
int v10; // r9d
_DWORD *VideoMode; // rax
int v13; // r12d
int v14; // ebp
long lo... | SetWindowMonitor:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBP,EDI
LEA RDI,[RSP + 0x20]
MOV dword ptr [RDI],0x0
CALL 0x001bf116
TEST EBP,EBP
JS 0x001700c9
CMP dword ptr [RSP + 0x20],EBP
JLE 0x001700c9
MOV RBX,RAX
MOV R14B,byte ptr [0x0023bbcd]
MOV R15D,EBP
MOV RDI,qword ptr [RAX + R15*0x8]... |
void SetWindowMonitor(uint param_1)
{
int iVar1;
int iVar2;
char cVar3;
int iVar4;
int iVar5;
long lVar6;
int8 uVar7;
int4 *puVar8;
ulong uVar9;
int local_44;
int local_40;
int local_3c;
int local_38;
int local_34;
local_38 = 0;
lVar6 = glfwGetMonitors();
cVar3 = DAT_0023bbcd;
i... | |
20,967 | mysys_namespace::crc32c::Choose_Extend() | eloqsql/mysys/crc32/crc32c.cc | static inline Function Choose_Extend()
{
#if defined HAVE_POWER8 && defined HAS_ALTIVEC
if (arch_ppc_probe())
return ExtendPPCImpl;
#elif defined(HAVE_ARMV8_CRC)
if (crc32c_aarch64_available())
return ExtendARMImpl;
#elif HAVE_SSE42
# if defined HAVE_PCLMUL && SIZEOF_SIZE_T == 8
switch (cpuid_ecx() & cpui... | O0 | cpp | mysys_namespace::crc32c::Choose_Extend():
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
callq 0xc2440
andl $0x100002, %eax # imm = 0x100002
movl %eax, -0xc(%rbp)
subl $0x100000, %eax # imm = 0x100000
je 0xc24c7
jmp 0xc24ae
movl -0xc(%rbp), %eax
subl $0x100002, %eax # imm = 0x100002
jne 0xc24d4
jmp... | _ZN15mysys_namespace6crc32cL13Choose_ExtendEv:
push rbp
mov rbp, rsp
sub rsp, 10h
call _ZN15mysys_namespace6crc32cL9cpuid_ecxEv; mysys_namespace::crc32c::cpuid_ecx(void)
and eax, 100002h
mov [rbp+var_C], eax
sub eax, offset loc_100000
jz short loc_C24C7
jmp short $+2
loc_C24AE:
mov ... | long long ( * mysys_namespace::crc32c::Choose_Extend(mysys_namespace::crc32c *this))()
{
int v2; // [rsp+4h] [rbp-Ch]
v2 = mysys_namespace::crc32c::cpuid_ecx(this) & 0x100002;
if ( v2 == (_DWORD)&loc_100000 )
return (long long ( *)())mysys_namespace::crc32c::crc32c_sse42;
if ( v2 == 1048578 )
return cr... | Choose_Extend:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
CALL 0x001c2440
AND EAX,0x100002
MOV dword ptr [RBP + -0xc],EAX
SUB EAX,0x100000
JZ 0x001c24c7
JMP 0x001c24ae
LAB_001c24ae:
MOV EAX,dword ptr [RBP + -0xc]
SUB EAX,0x100002
JNZ 0x001c24d4
JMP 0x001c24ba
LAB_001c24ba:
LEA RAX,[0x1c3430]
MOV qword ptr [RBP + -0x8],RAX
JMP 0... |
/* mysys_namespace::crc32c::Choose_Extend() */
code * mysys_namespace::crc32c::Choose_Extend(void)
{
uint uVar1;
code *local_10;
uVar1 = cpuid_ecx();
if ((uVar1 & 0x100002) == 0x100000) {
local_10 = crc32c_sse42;
}
else if ((uVar1 & 0x100002) == 0x100002) {
local_10 = crc32c_3way;
}
else {... | |
20,968 | ma_dynstr_append_quoted | eloqsql/libmariadb/libmariadb/ma_string.c | my_bool ma_dynstr_append_quoted(DYNAMIC_STRING *str,
const char *append, size_t len,
char quote)
{
size_t additional= str->alloc_increment;
size_t lim= additional;
uint i;
if (ma_dynstr_realloc(str, len + additional + 2))
return TRUE;
str->str[str... | O0 | c | ma_dynstr_append_quoted:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movb %cl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movb %al, -0x21(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x2... | ma_dynstr_append_quoted:
push rbp
mov rbp, rsp
sub rsp, 40h
mov al, cl
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_21], al
mov rax, [rbp+var_10]
mov rax, [rax+18h]
mov [rbp+var_30], rax
mov rax, [rbp+var_30]
mov [rbp+var_38], rax
mov ... | char ma_dynstr_append_quoted(long long *a1, long long a2, unsigned long long a3, char a4)
{
long long v4; // rax
long long v5; // rcx
long long v6; // rax
long long v7; // rcx
long long v8; // rax
long long v9; // rcx
long long v10; // rax
long long v11; // rcx
char v13; // [rsp+3h] [rbp-3Dh]
unsig... | ma_dynstr_append_quoted:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV AL,CL
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV byte ptr [RBP + -0x21],AL
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x18]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x30... |
int1 ma_dynstr_append_quoted(long *param_1,long param_2,ulong param_3,char param_4)
{
long lVar1;
long lVar2;
char cVar3;
char cVar4;
uint local_44;
long local_40;
int1 local_9;
lVar1 = param_1[3];
cVar3 = ma_dynstr_realloc(param_1,param_3 + lVar1 + 2);
if (cVar3 == '\0') {
lVar2 = param_1[... | |
20,969 | my_hash_sort_ucs2_nopad_bin | eloqsql/strings/ctype-ucs2.c | static void
my_hash_sort_ucs2_nopad_bin(CHARSET_INFO *cs __attribute__((unused)),
const uchar *key, size_t len,
ulong *nr1, ulong *nr2)
{
const uchar *end= key + len;
register ulong m1= *nr1, m2= *nr2;
for ( ; key < end ; key++)
{
MY_HASH_ADD(m1, m2, (... | O0 | c | my_hash_sort_ucs2_nopad_bin:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rax
addq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x28(%rbp), ... | my_hash_sort_ucs2_nopad_bin:
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], r8
mov rax, [rbp+var_10]
add rax, [rbp+var_18]
mov [rbp+var_30], rax
mov rax, [rbp+var_20]
mov rax, [rax]
mov [rb... | _QWORD * my_hash_sort_ucs2_nopad_bin(long long a1, unsigned __int8 *a2, long long a3, long long *a4, _QWORD *a5)
{
_QWORD *result; // rax
long long v6; // [rsp+0h] [rbp-40h]
long long v7; // [rsp+8h] [rbp-38h]
unsigned __int8 *v8; // [rsp+30h] [rbp-10h]
v8 = a2;
v7 = *a4;
v6 = *a5;
while ( v8 < &a2[a3]... | my_hash_sort_ucs2_nopad_bin:
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],R8
MOV RAX,qword ptr [RBP + -0x10]
ADD RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword pt... |
void my_hash_sort_ucs2_nopad_bin
(int8 param_1,byte *param_2,long param_3,ulong *param_4,long *param_5)
{
long local_48;
ulong local_40;
byte *local_18;
local_40 = *param_4;
local_48 = *param_5;
for (local_18 = param_2; local_18 < param_2 + param_3; local_18 = local_18 + 1) {
local_4... | |
20,970 | my_dirend | eloqsql/mysys/my_lib.c | void my_dirend(MY_DIR *dir)
{
MY_DIR_HANDLE *dirh= (MY_DIR_HANDLE*) dir;
DBUG_ENTER("my_dirend");
if (dirh)
{
delete_dynamic(&dirh->array);
free_root(&dirh->root, MYF(0));
my_free(dirh);
}
DBUG_VOID_RETURN;
} | O3 | c | my_dirend:
testq %rdi, %rdi
je 0xbed34
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x10, %rdi
callq 0xac8e4
leaq 0x38(%rbx), %rdi
xorl %esi, %esi
callq 0xb9ab7
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xbf54e
retq
| my_dirend:
test rdi, rdi
jz short locret_BED34
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
add rdi, 10h
call delete_dynamic
lea rdi, [rbx+38h]
xor esi, esi
call free_root
mov rdi, rbx
add rsp, 8
pop rbx
pop rbp
jmp my_free
locret_BED34:
retn
| long long my_dirend(long long a1)
{
long long result; // rax
if ( a1 )
{
delete_dynamic((long long *)(a1 + 16));
free_root((_QWORD *)(a1 + 56), 0);
return my_free(a1);
}
return result;
}
| my_dirend:
TEST RDI,RDI
JZ 0x001bed34
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
ADD RDI,0x10
CALL 0x001ac8e4
LEA RDI,[RBX + 0x38]
XOR ESI,ESI
CALL 0x001b9ab7
MOV RDI,RBX
ADD RSP,0x8
POP RBX
POP RBP
JMP 0x001bf54e
LAB_001bed34:
RET
|
void my_dirend(long param_1)
{
if (param_1 != 0) {
delete_dynamic(param_1 + 0x10);
free_root(param_1 + 0x38,0);
my_free(param_1);
return;
}
return;
}
| |
20,971 | ggml_graph_compute_thread_ready | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-cpu/ggml-cpu.c | static inline bool ggml_graph_compute_thread_ready(struct ggml_compute_state * state) {
struct ggml_threadpool * threadpool = state->threadpool;
if (state->pending || threadpool->stop || threadpool->pause) { return true; }
// check for new graph/work
int new_graph = atomic_load_explicit(&threadpool->n... | O0 | c | ggml_graph_compute_thread_ready:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x210(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0x20c(%rax)
jne 0x13612
movq -0x18(%rbp), %rax
testb $0x1, 0xc8(%rax)
jne 0x13612
movq -0x18(%rbp), %rax
testb $0x1,... | ggml_graph_compute_thread_ready:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
mov rax, [rax+210h]
mov [rbp+var_18], rax
mov rax, [rbp+var_10]
test byte ptr [rax+20Ch], 1
jnz short loc_13612
mov rax, [rbp+var_18]
test byte ptr [rax+0C8h], 1
j... | char ggml_graph_compute_thread_ready(long long a1)
{
int v2; // [rsp+4h] [rbp-1Ch]
long long v3; // [rsp+8h] [rbp-18h]
v3 = *(_QWORD *)(a1 + 528);
if ( (*(_BYTE *)(a1 + 524) & 1) != 0 || (*(_BYTE *)(v3 + 200) & 1) != 0 || (*(_BYTE *)(v3 + 201) & 1) != 0 )
return 1;
v2 = *(_DWORD *)(v3 + 104);
if ( v2 ... | ggml_graph_compute_thread_ready:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x210]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x10]
TEST byte ptr [RAX + 0x20c],0x1
JNZ 0x00113612
MOV RAX,qword ptr [RBP + -0x18]
TEST byte ptr ... |
byte ggml_graph_compute_thread_ready(long param_1)
{
int iVar1;
long lVar2;
byte bVar3;
int1 local_9;
lVar2 = *(long *)(param_1 + 0x210);
if ((((*(byte *)(param_1 + 0x20c) & 1) == 0) && ((*(byte *)(lVar2 + 200) & 1) == 0)) &&
((*(byte *)(lVar2 + 0xc9) & 1) == 0)) {
iVar1 = *(int *)(lVar2 + 0x6... | |
20,972 | SDL::RingBuffer<unsigned long, 100ul>::Enqueue(unsigned long const&) | SDL3Lite/source/include/SDL3Lite/RingBuffer.hpp | void Enqueue(const T& element)
{
_head = NextPosition(_head);
_content[_head] = element;
if (IsFull())
{
_tail = NextPosition(_tail);
}
else
{
_length++;
}
} | O0 | cpp | SDL::RingBuffer<unsigned long, 100ul>::Enqueue(unsigned long const&):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
movl 0x320(%rdi), %esi
callq 0x1cc40
movq -0x18(%rbp), %rdi
movl %eax, 0x320(%rdi)
movq -0x10(%rbp), %rax
movq (%rax... | _ZN3SDL10RingBufferImLm100EE7EnqueueERKm:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rdi, [rbp+var_8]
mov [rbp+var_18], rdi
mov esi, [rdi+320h]
call _ZN3SDL10RingBufferImLm100EE12NextPositionEi; SDL::RingBuffer<ulong,100ul>::NextPosition(int)
mov ... | _DWORD * SDL::RingBuffer<unsigned long,100ul>::Enqueue(_DWORD *a1, _QWORD *a2)
{
int Position; // ecx
_DWORD *result; // rax
a1[200] = SDL::RingBuffer<unsigned long,100ul>::NextPosition(a1, (unsigned int)a1[200]);
*(_QWORD *)&a1[2 * a1[200]] = *a2;
if ( SDL::RingBuffer<unsigned long,100ul>::IsFull((long long... | Enqueue:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,dword ptr [RDI + 0x320]
CALL 0x0011cc40
MOV RDI,qword ptr [RBP + -0x18]
MOV dword ptr [RDI + 0x320],EAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX... |
/* SDL::RingBuffer<unsigned long, 100ul>::Enqueue(unsigned long const&) */
void __thiscall
SDL::RingBuffer<unsigned_long,100ul>::Enqueue(RingBuffer<unsigned_long,100ul> *this,ulong *param_1)
{
int4 uVar1;
ulong uVar2;
uVar1 = NextPosition(this,*(int *)(this + 800));
*(int4 *)(this + 800) = uVar1;
*(ulon... | |
20,973 | ac_vm_new | alca/libalca/vm.c | ac_vm *ac_vm_new(ac_compiler *compiler)
{
ac_vm *vm = ac_alloc(sizeof(ac_vm));
vm->cpl = compiler;
vm->sp = 0;
vm->ip = 0;
vm->code_size = ac_arena_size(compiler->code_arena);
vm->code = ac_arena_data(compiler->code_arena);
vm->data = compiler->data_arena;
// load all module objects int... | O0 | c | ac_vm_new:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movl $0x20a0, %edi # imm = 0x20A0
callq 0x7890
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x2098(%rax)
movq -0x10(%rbp), %rax
movl $0x0, (%rax)
movq -0x10(%rbp), %rax
movq $0x0, 0x8(%rax)
movq -0x8... | ac_vm_new:
push rbp
mov rbp, rsp
sub rsp, 80h
mov [rbp+var_8], rdi
mov edi, 20A0h
call _ac_alloc
mov [rbp+var_10], rax
mov rcx, [rbp+var_8]
mov rax, [rbp+var_10]
mov [rax+2098h], rcx
mov rax, [rbp+var_10]
mov dword ptr [rax], 0
mov rax, [rbp+var_10]
mov qword ptr [r... | long long ac_vm_new(long long a1)
{
__m128i *v1; // rax
__m128i *v2; // rax
long long v3; // rdi
long long v5; // [rsp+18h] [rbp-68h]
int v6; // [rsp+20h] [rbp-60h] BYREF
long long v7; // [rsp+28h] [rbp-58h]
long long string; // [rsp+30h] [rbp-50h]
unsigned int k; // [rsp+3Ch] [rbp-44h]
_DWORD v10[7]... | ac_vm_new:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV qword ptr [RBP + -0x8],RDI
MOV EDI,0x20a0
CALL 0x00107890
MOV qword ptr [RBP + -0x10],RAX
MOV RCX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RAX + 0x2098],RCX
MOV RAX,qword ptr [RBP + -0x10]
MOV dword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x1... |
int4 * ac_vm_new(long param_1)
{
int4 uVar1;
int8 uVar2;
int4 local_68 [2];
int8 local_60;
int8 local_58;
uint local_4c;
int4 local_48 [7];
uint local_2c;
long local_28;
uint local_1c;
int4 *local_18;
long local_10;
local_10 = param_1;
local_18 = (int4 *)ac_alloc(0x20a0);
*(long *)(lo... | |
20,974 | ggml_vec_silu_f32 | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-cpu/ggml-cpu.c | static void ggml_vec_silu_f32(const int n, float * y, const float * x) {
int i = 0;
#if defined(__AVX512F__) && defined(__AVX512DQ__)
for (; i + 15 < n; i += 16) {
_mm512_storeu_ps(y + i, ggml_v_silu(_mm512_loadu_ps(x + i)));
}
#elif defined(__AVX2__) && defined(__FMA__)
for (; i + 7 < n; i += 8... | O0 | c | ggml_vec_silu_f32:
pushq %rbp
movq %rsp, %rbp
andq $-0x40, %rsp
subq $0xc0, %rsp
movl %edi, 0x34(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movl $0x0, 0x1c(%rsp)
movl 0x1c(%rsp), %eax
addl $0xf, %eax
cmpl 0x34(%rsp), %eax
jge 0x3a869
movq 0x28(%rsp), %rax
movslq 0x1c(%rsp), %rcx
shlq $0x2, %rcx
addq %rcx, %rax
m... | ggml_vec_silu_f32:
push rbp
mov rbp, rsp
and rsp, 0FFFFFFFFFFFFFFC0h
sub rsp, 0C0h
mov [rsp+0C0h+var_8C], edi
mov [rsp+0C0h+var_98], rsi
mov [rsp+0C0h+var_A0], rdx
mov [rsp+0C0h+var_A4], 0
loc_3A7E5:
mov eax, [rsp+0C0h+var_A4]
add eax, 0Fh
cmp eax, [rsp+0C0h+var_8C]
jge sh... | long long ggml_vec_silu_f32(int a1, long long a2, long long a3)
{
long long result; // rax
unsigned int i; // [rsp+1Ch] [rbp-A4h]
for ( i = 0; (int)(i + 15) < a1; i += 16 )
{
_RAX = 4LL * (int)i + a3;
__asm { vmovups zmm0, zmmword ptr [rax] }
ggml_v_silu();
__asm
{
vmovaps zmmword pt... | ggml_vec_silu_f32:
PUSH RBP
MOV RBP,RSP
AND RSP,-0x40
SUB RSP,0xc0
MOV dword ptr [RSP + 0x34],EDI
MOV qword ptr [RSP + 0x28],RSI
MOV qword ptr [RSP + 0x20],RDX
MOV dword ptr [RSP + 0x1c],0x0
LAB_0013a7e5:
MOV EAX,dword ptr [RSP + 0x1c]
ADD EAX,0xf
CMP EAX,dword ptr [RSP + 0x34]
JGE 0x0013a869
MOV RAX,qword ptr [RSP + 0... |
void ggml_vec_silu_f32(int param_1,long param_2,long param_3)
{
int8 *puVar1;
int4 uVar2;
int8 uVar3;
int8 extraout_XMM0_Qb;
int8 extraout_YMM0_H;
int8 extraout_var;
int8 extraout_var_00;
int8 extraout_var_01;
int8 extraout_var_02;
int8 extraout_var_03;
int local_e4;
for (local_e4 = 0; loca... | |
20,975 | common_embd_normalize(float const*, float*, int, int) | monkey531[P]llama/common/common.cpp | void common_embd_normalize(const float * inp, float * out, int n, int embd_norm) {
double sum = 0.0;
switch (embd_norm) {
case -1: // no normalisation
sum = 1.0;
break;
case 0: // max absolute
for (int i = 0; i < n; i++) {
if (sum < std::abs(i... | O0 | cpp | common_embd_normalize(float const*, float*, int, int):
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movl %edx, 0x34(%rsp)
movl %ecx, 0x30(%rsp)
movq $0x0, 0x28(%rsp)
movl 0x30(%rsp), %eax
movl %eax, 0x10(%rsp)
subl $-0x1, %eax
je 0xf669a
jmp 0xf667e
movl 0x10(%rsp), %eax
testl %eax, %eax
je 0xf66ad
jmp ... | _Z21common_embd_normalizePKfPfii:
sub rsp, 48h
mov [rsp+48h+var_8], rdi
mov [rsp+48h+var_10], rsi
mov [rsp+48h+var_14], edx
mov [rsp+48h+var_18], ecx
mov [rsp+48h+var_20], 0
mov eax, [rsp+48h+var_18]
mov [rsp+48h+var_38], eax
sub eax, 0FFFFFFFFh
jz short loc_F669A
jmp short ... | long long common_embd_normalize(const float *a1, float *a2, int a3, int a4)
{
float v4; // xmm0_4
float v5; // xmm0_4
float v6; // xmm0_4
long long result; // rax
double v8; // [rsp+0h] [rbp-48h]
unsigned int m; // [rsp+14h] [rbp-34h]
int j; // [rsp+1Ch] [rbp-2Ch]
int i; // [rsp+20h] [rbp-28h]
int k;... | common_embd_normalize:
SUB RSP,0x48
MOV qword ptr [RSP + 0x40],RDI
MOV qword ptr [RSP + 0x38],RSI
MOV dword ptr [RSP + 0x34],EDX
MOV dword ptr [RSP + 0x30],ECX
MOV qword ptr [RSP + 0x28],0x0
MOV EAX,dword ptr [RSP + 0x30]
MOV dword ptr [RSP + 0x10],EAX
SUB EAX,-0x1
JZ 0x001f669a
JMP 0x001f667e
LAB_001f667e:
MOV EAX,dwo... |
/* common_embd_normalize(float const*, float*, int, int) */
void common_embd_normalize(float *param_1,float *param_2,int param_3,int param_4)
{
float fVar1;
double dVar2;
double local_48;
int local_34;
int local_2c;
int local_28;
int local_24;
double local_20;
local_20 = 0.0;
if (param_4 == -1... | |
20,976 | ImPlot::CombineDateTime(ImPlotTime const&, ImPlotTime const&) | zkingston[P]unknot/build_O1/_deps/implot-src/implot.cpp | ImPlotTime CombineDateTime(const ImPlotTime& date_part, const ImPlotTime& tod_part) {
ImPlotContext& gp = *GImPlot;
tm& Tm = gp.Tm;
GetTime(date_part, &gp.Tm);
int y = Tm.tm_year;
int m = Tm.tm_mon;
int d = Tm.tm_mday;
GetTime(tod_part, &gp.Tm);
Tm.tm_year = y;
Tm.tm_mon = m;
Tm... | O1 | cpp | ImPlot::CombineDateTime(ImPlotTime const&, ImPlotTime const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r15
movq 0x2867b1(%rip), %r12 # 0x336ca0
testq %r12, %r12
jne 0xb0500
leaq 0x1ea1e0(%rip), %rdi # 0x29a6db
callq 0x2161f4
leaq 0x3e0(%r12), %r14
movq 0... | _ZN6ImPlot15CombineDateTimeERK10ImPlotTimeS2_:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 10h
mov rbx, rsi
mov r15, rdi
mov r12, cs:GImPlot
test r12, r12
jnz short loc_B0500
lea rdi, aNoCurrentConte_0; "No current context. Did you call ImPlot"...
call _ZN5ImGui8Er... | long long ImPlot::CombineDateTime(long long a1, const char *a2)
{
ImGui *v2; // r12
int v3; // ebp
long long v4; // rax
long long v5; // rcx
__m128 v7; // [rsp+0h] [rbp-38h]
v2 = GImPlot;
if ( !GImPlot )
ImGui::ErrorLog(
(ImGui *)"No current context. Did you call ImPlot::CreateContext() or ImP... | CombineDateTime:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV RBX,RSI
MOV R15,RDI
MOV R12,qword ptr [0x00436ca0]
TEST R12,R12
JNZ 0x001b0500
LEA RDI,[0x39a6db]
CALL 0x003161f4
LAB_001b0500:
LEA R14,[R12 + 0x3e0]
MOV RAX,qword ptr [0x00436ca0]
CMP byte ptr [RAX + 0x304],0x1
JNZ 0x001b0525
MOV RDI,R15
MO... |
/* ImPlot::CombineDateTime(ImPlotTime const&, ImPlotTime const&) */
int1 [16] ImPlot::CombineDateTime(ImPlotTime *param_1,ImPlotTime *param_2)
{
tm *__tp;
int8 uVar1;
int4 uVar2;
long lVar3;
long lVar4;
int1 auVar5 [16];
lVar3 = GImPlot;
if (GImPlot == 0) {
ImGui::ErrorLog(
... | |
20,977 | my_hash_sort_simple_nopad | eloqsql/strings/ctype-simple.c | void my_hash_sort_simple_nopad(CHARSET_INFO *cs,
const uchar *key, size_t len,
ulong *nr1, ulong *nr2)
{
register const uchar *sort_order=cs->sort_order;
const uchar *end= key + len;
register ulong m1= *nr1, m2= *nr2;
for (; key < (uchar*) end ; key++)
{
MY_HASH_ADD(m1, m2, (uint) sort... | O3 | c | my_hash_sort_simple_nopad:
movq (%rcx), %rax
movq (%r8), %r9
testq %rdx, %rdx
jle 0xb5230
pushq %rbp
movq %rsp, %rbp
movq 0x58(%rdi), %rdi
addq %rsi, %rdx
movl %eax, %r10d
andl $0x3f, %r10d
addq %r9, %r10
movzbl (%rsi), %r11d
movzbl (%rdi,%r11), %r11d
imulq %r10, %r11
movq %rax, %r10
shlq $0x8, %r10
addq %r11, %r10
xor... | my_hash_sort_simple_nopad:
mov rax, [rcx]
mov r9, [r8]
test rdx, rdx
jle short loc_B5230
push rbp
mov rbp, rsp
mov rdi, [rdi+58h]
add rdx, rsi
loc_B51FF:
mov r10d, eax
and r10d, 3Fh
add r10, r9
movzx r11d, byte ptr [rsi]
movzx r11d, byte ptr [rdi+r11]
imul r11, r10
mov ... | long long my_hash_sort_simple_nopad(long long a1, unsigned __int8 *a2, long long a3, long long *a4, long long *a5)
{
long long result; // rax
long long v6; // r9
long long v7; // rdi
unsigned __int8 *v8; // rdx
result = *a4;
v6 = *a5;
if ( a3 > 0 )
{
v7 = *(_QWORD *)(a1 + 88);
v8 = &a2[a3];
... | my_hash_sort_simple_nopad:
MOV RAX,qword ptr [RCX]
MOV R9,qword ptr [R8]
TEST RDX,RDX
JLE 0x001b5230
PUSH RBP
MOV RBP,RSP
MOV RDI,qword ptr [RDI + 0x58]
ADD RDX,RSI
LAB_001b51ff:
MOV R10D,EAX
AND R10D,0x3f
ADD R10,R9
MOVZX R11D,byte ptr [RSI]
MOVZX R11D,byte ptr [RDI + R11*0x1]
IMUL R11,R10
MOV R10,RAX
SHL R10,0x8
ADD ... |
void my_hash_sort_simple_nopad(long param_1,byte *param_2,long param_3,ulong *param_4,long *param_5)
{
ulong uVar1;
byte *pbVar2;
long lVar3;
uVar1 = *param_4;
lVar3 = *param_5;
if (0 < param_3) {
pbVar2 = param_2 + param_3;
do {
uVar1 = uVar1 ^ uVar1 * 0x100 +
(ulon... | |
20,978 | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) | monkey531[P]llama/common/./json.hpp | static diyfp mul(const diyfp& x, const diyfp& y) noexcept
{
static_assert(kPrecision == 64, "internal error");
// Computes:
// f = round((x.f * y.f) / 2^q)
// e = x.e + y.e + q
// Emulate the 64-bit * 64-bit multiplication:
//
// p = u * v
// = (... | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&):
movq (%rdi), %rax
movl %eax, %ecx
shrq $0x20, %rax
movq (%rsi), %r8
movl %r8d, %edx
shrq $0x20, %r8
movq %rdx, %r9
imulq %rcx, %r9
imulq %r... | _ZN8nlohmann16json_abi_v3_11_36detail9dtoa_impl5diyfp3mulERKS3_S5_:
mov rax, [rdi]
mov ecx, eax
shr rax, 20h
mov r8, [rsi]
mov edx, r8d
shr r8, 20h
mov r9, rdx
imul r9, rcx
imul rcx, r8
imul rdx, rax
imul r8, rax
shr r9, 20h
mov r10d, ecx
add r10, r9
shr rcx, 20h
... | unsigned long long nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(_QWORD *a1, _QWORD *a2)
{
long long v2; // rcx
v2 = (unsigned int)*a1;
return ((unsigned long long)(HIDWORD(*a2) * v2) >> 32)
+ HIDWORD(*a1) * HIDWORD(*a2)
+ ((HIDWORD(*a1) * (unsigned long long)(unsigned int)*a2) >> 32)
... | mul:
MOV RAX,qword ptr [RDI]
MOV ECX,EAX
SHR RAX,0x20
MOV R8,qword ptr [RSI]
MOV EDX,R8D
SHR R8,0x20
MOV R9,RDX
IMUL R9,RCX
IMUL RCX,R8
IMUL RDX,RAX
IMUL R8,RAX
SHR R9,0x20
MOV R10D,ECX
ADD R10,R9
SHR RCX,0x20
MOV EAX,EDX
ADD RAX,R10
SHR RDX,0x20
ADD RDX,R8
ADD RDX,RCX
SUB RAX,-0x80000000
SHR RAX,0x20
ADD RAX,RDX
MOV E... |
/* nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp
const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) */
int1 [16]
nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(diyfp *param_1,diyfp *param_2)
{
ulong uVar1;
ulong uVa... | |
20,979 | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) | monkey531[P]llama/common/./json.hpp | static diyfp mul(const diyfp& x, const diyfp& y) noexcept
{
static_assert(kPrecision == 64, "internal error");
// Computes:
// f = round((x.f * y.f) / 2^q)
// e = x.e + y.e + q
// Emulate the 64-bit * 64-bit multiplication:
//
// p = u * v
// = (... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&):
movq (%rdi), %rax
movl %eax, %ecx
shrq $0x20, %rax
movq (%rsi), %r8
movl %r8d, %edx
shrq $0x20, %r8
movq %rdx, %r9
imulq %rcx, %r9
imulq %r... | _ZN8nlohmann16json_abi_v3_11_36detail9dtoa_impl5diyfp3mulERKS3_S5_:
mov rax, [rdi]
mov ecx, eax
shr rax, 20h
mov r8, [rsi]
mov edx, r8d
shr r8, 20h
mov r9, rdx
imul r9, rcx
imul rcx, r8
imul rdx, rax
imul r8, rax
shr r9, 20h
mov r10d, ecx
add r10, r9
shr rcx, 20h
... | unsigned long long nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(_QWORD *a1, _QWORD *a2)
{
long long v2; // rcx
v2 = (unsigned int)*a1;
return ((unsigned long long)(HIDWORD(*a2) * v2) >> 32)
+ HIDWORD(*a1) * HIDWORD(*a2)
+ ((HIDWORD(*a1) * (unsigned long long)(unsigned int)*a2) >> 32)
... | mul:
MOV RAX,qword ptr [RDI]
MOV ECX,EAX
SHR RAX,0x20
MOV R8,qword ptr [RSI]
MOV EDX,R8D
SHR R8,0x20
MOV R9,RDX
IMUL R9,RCX
IMUL RCX,R8
IMUL RDX,RAX
IMUL R8,RAX
SHR R9,0x20
MOV R10D,ECX
ADD R10,R9
SHR RCX,0x20
MOV EAX,EDX
ADD RAX,R10
SHR RDX,0x20
ADD RDX,R8
ADD RDX,RCX
SUB RAX,-0x80000000
SHR RAX,0x20
ADD RAX,RDX
MOV E... |
/* nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp
const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) */
int1 [16]
nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(diyfp *param_1,diyfp *param_2)
{
ulong uVar1;
ulong uVa... | |
20,980 | ps_fetch_datetime | eloqsql/libmariadb/libmariadb/ma_stmt_codec.c | static
void ps_fetch_datetime(MYSQL_BIND *r_param, const MYSQL_FIELD * field,
unsigned char **row)
{
MYSQL_TIME *t= (MYSQL_TIME *)r_param->buffer;
unsigned int len= net_field_length(row);
switch (r_param->buffer_type) {
case MYSQL_TYPE_DATETIME:
case MYSQL_TYPE_TIMESTAMP:
con... | O3 | c | ps_fetch_datetime:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq 0x10(%rdi), %r13
movq %rdx, %rdi
callq 0x26fc9
movq %rax, %r14
movl 0x60(%r15), %eax
addl $-0x7, %eax
cmpl... | ps_fetch_datetime:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov rbx, rdx
mov r12, rsi
mov r15, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov r13, [rdi+10h]
mov rdi, rdx
call net_field_length
mov r14, rax
mov eax, [r1... | unsigned long long ps_fetch_datetime(long long a1, long long a2, unsigned __int8 **a3)
{
long long v4; // r13
unsigned int v5; // r14d
unsigned int v6; // r13d
int v7; // eax
char v8; // ah
const char *v9; // r8
long long v10; // r13
unsigned long long v11; // rax
int v13; // [rsp+10h] [rbp-A0h] BYRE... | ps_fetch_datetime:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV RBX,RDX
MOV R12,RSI
MOV R15,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV R13,qword ptr [RDI + 0x10]
MOV RDI,RDX
CALL 0x00126fc9
MOV R14,RAX
MOV EAX,dword ptr [R15 + 0x60]
ADD EAX,-0x7
CMP EAX,0x6... |
void ps_fetch_datetime(long param_1,long param_2,long *param_3)
{
int4 uVar1;
int8 *puVar2;
uint uVar3;
int iVar4;
size_t sVar5;
char *pcVar6;
long lVar7;
long in_FS_OFFSET;
int4 local_a8;
int4 local_a4;
int4 local_a0;
int4 local_9c;
int4 local_98;
int4 local_94;
int8 local_90;
char lo... | |
20,981 | nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::basic_json<nlohma... | llama.cpp/common/json.hpp | basic_json(const JsonRef& ref) : basic_json(ref.moved_or_copied()) {} | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::basic_json<nlohma... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERKSK_:
push r14
push ... | long long ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERKSK_(
... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERKSK_:
PUSH R14
PUSH RBX... |
void _ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEC2INS0_6detail8json_refISD_EETnNSt9enable_ifIXsr6detail11conjunctionINSF_11is_json_refIT_EESt7is_sameINSK_10value_typeESD_EEE5valueEiE4typeELi0EEERKSK_
... | |
20,982 | my_convert_fix | eloqsql/strings/ctype.c | size_t
my_convert_fix(CHARSET_INFO *to_cs, char *to, size_t to_length,
CHARSET_INFO *from_cs, const char *from, size_t from_length,
size_t nchars,
MY_STRCOPY_STATUS *copy_status,
MY_STRCONV_STATUS *conv_status)
{
int cnvres;
my_wc_t wc;
my_charset_conv_m... | O0 | c | my_convert_fix:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x20(%rbp), %rax
movq 0xb8(%rax), %rax
movq 0x28(%rax... | my_convert_fix:
push rbp
mov rbp, rsp
sub rsp, 70h
mov rax, [rbp+arg_10]
mov rax, [rbp+arg_8]
mov rax, [rbp+arg_0]
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_20]
mov... | long long my_convert_fix(
long long a1,
long long a2,
long long a3,
long long a4,
unsigned long long a5,
long long a6,
long long a7,
unsigned long long *a8,
unsigned long long *a9)
{
unsigned long long v10; // [rsp+0h] [rbp-70h]
long long v11;... | my_convert_fix:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV RAX,qword ptr [RBP + 0x20]
MOV RAX,qword ptr [RBP + 0x18]
MOV RAX,qword ptr [RBP + 0x10]
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 ... |
long my_convert_fix(long param_1,long param_2,long param_3,long param_4,ulong param_5,long param_6,
long param_7,ulong *param_8,ulong *param_9)
{
code *pcVar1;
code *pcVar2;
ulong uVar3;
ulong uVar4;
long local_48;
int local_3c;
long local_38;
ulong local_30;
long local_28;
long... | |
20,983 | mi_ck_write_btree | eloqsql/storage/myisam/mi_write.c | int _mi_ck_write_btree(register MI_INFO *info, uint keynr, uchar *key,
uint key_length)
{
int error;
uint comp_flag;
MI_KEYDEF *keyinfo=info->s->keyinfo+keynr;
my_off_t *root=&info->s->state.key_root[keynr];
DBUG_ENTER("_mi_ck_write_btree");
if (keyinfo->flag & HA_SORT_ALLOWS_SAME)
comp_flag=... | O0 | c | mi_ck_write_btree:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x218(%rax), %rax
movl -0xc(%rbp), %ecx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %r... | _mi_ck_write_btree:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_18], rdx
mov [rbp+var_1C], ecx
mov rax, [rbp+var_8]
mov rax, [rax]
mov rax, [rax+218h]
mov ecx, [rbp+var_C]
imul rcx, 70h ; 'p'
add rax, rcx
mov [rbp+var_30... | long long mi_ck_write_btree(_QWORD *a1, unsigned int a2, unsigned __int8 *a3, unsigned int a4)
{
long long v5; // [rsp+10h] [rbp-30h]
unsigned int v6; // [rsp+1Ch] [rbp-24h]
unsigned int v7; // [rsp+20h] [rbp-20h]
v5 = 112LL * a2 + *(_QWORD *)(*a1 + 536LL);
if ( (*(_WORD *)(v5 + 10) & 0x200) != 0 )
{
... | _mi_ck_write_btree:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x1c],ECX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x218]
MOV ECX,dword ptr [RBP + -0xc]
IMUL RCX,RCX,0x70
ADD ... |
int _mi_ck_write_btree(long *param_1,uint param_2,int8 param_3,int4 param_4)
{
long lVar1;
int4 local_2c;
int local_28;
lVar1 = *(long *)(*param_1 + 0x218) + (ulong)param_2 * 0x70;
if ((*(ushort *)(lVar1 + 10) & 0x200) == 0) {
if ((*(ushort *)(lVar1 + 10) & 0x81) == 0) {
local_2c = 4;
}
... | |
20,984 | blst_sk_mul_n_check | corpus-core[P]colibri-stateless/build_O0/_deps/blst-src/src/exports.c | int blst_sk_mul_n_check(pow256 ret, const pow256 a, const pow256 b)
{
vec256 t[2];
const union {
long one;
char little;
} is_endian = { 1 };
bool_t is_zero;
if (((size_t)a|(size_t)b)%sizeof(limb_t) != 0 || !is_endian.little) {
limbs_from_le_bytes(t[0], a, sizeof(pow256));
... | O0 | c | blst_sk_mul_n_check:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq 0x31d05(%rip), %rax # 0xe6330
movq %rax, -0x68(%rbp)
movq -0x10(%rbp), %rax
movq -0x18(%rbp), %rcx
orq %rcx, %rax
andq $0x7, %rax
cmpq $0x0, %rax
jne 0xb464a
cmpb $0x0, -0x68(%rb... | blst_sk_mul_n_check:
push rbp
mov rbp, rsp
sub rsp, 70h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, cs:qword_E6330
mov [rbp+var_68], rax
mov rax, [rbp+var_10]
mov rcx, [rbp+var_18]
or rax, rcx
and rax, 7
cmp rax, 0
jnz short loc_B464A... | long long blst_sk_mul_n_check(_BYTE *a1, long long a2, long long a3)
{
unsigned long long is_zero; // [rsp+0h] [rbp-70h]
_BYTE v5[32]; // [rsp+10h] [rbp-60h] BYREF
_BYTE v6[40]; // [rsp+30h] [rbp-40h] BYREF
_BYTE *v7; // [rsp+58h] [rbp-18h]
_BYTE *v8; // [rsp+60h] [rbp-10h]
_BYTE *v9; // [rsp+68h] [rbp-8h]... | blst_sk_mul_n_check:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [0x001e6330]
MOV qword ptr [RBP + -0x68],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RBP + -0x18]
OR RAX,RCX
AND RAX,0x7
CMP RAX,0x0
JNZ 0x00... |
ulong blst_sk_mul_n_check(int8 param_1,int1 *param_2,int1 *param_3)
{
ulong uVar1;
char local_70;
int1 local_68 [32];
int1 auStack_48 [40];
int1 *local_20;
int1 *local_18;
int8 local_10;
local_20 = param_3;
local_18 = param_2;
local_10 = param_1;
if (((((ulong)param_2 | (ulong)param_3) & 7) !... | |
20,985 | copy_typelib | eloqsql/mysys/typelib.c | TYPELIB *copy_typelib(MEM_ROOT *root, const TYPELIB *from)
{
TYPELIB *to;
uint i;
if (!from)
return NULL;
if (!(to= (TYPELIB*) alloc_root(root, sizeof(TYPELIB))))
return NULL;
if (!(to->type_names= (const char **)
alloc_root(root, (sizeof(char *) + sizeof(int)) * (from->count + 1))))
re... | O3 | c | copy_typelib:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rsi, %rsi
je 0xaeb13
movq %rsi, %r14
movq %rdi, %r15
movl $0x20, %esi
callq 0xa8de7
testq %rax, %rax
je 0xaeb13
movq %rax, %rbx
movl (%r14), %eax
incl %eax
shlq $0x2, %rax
leaq (%rax,%rax,2), %rsi
movq %r15, %rdi
callq 0xa8de7
m... | copy_typelib:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
test rsi, rsi
jz short loc_AEB13
mov r14, rsi
mov r15, rdi
mov esi, 20h ; ' '
call alloc_root
test rax, rax
jz short loc_AEB13
mov rbx, rax
mov eax, [r14]
inc eax
shl rax, 2
lea ... | char * copy_typelib(long long a1, unsigned int *a2)
{
char *v3; // rax
char *v4; // rbx
char *v5; // rax
long long v6; // rsi
long long v7; // rax
long long v9; // r12
char *v10; // rax
if ( !a2 )
return 0LL;
v3 = alloc_root(a1, 32LL);
if ( !v3 )
return 0LL;
v4 = v3;
v5 = alloc_root(a1,... | copy_typelib:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
TEST RSI,RSI
JZ 0x001aeb13
MOV R14,RSI
MOV R15,RDI
MOV ESI,0x20
CALL 0x001a8de7
TEST RAX,RAX
JZ 0x001aeb13
MOV RBX,RAX
MOV EAX,dword ptr [R14]
INC EAX
SHL RAX,0x2
LEA RSI,[RAX + RAX*0x2]
MOV RDI,R15
CALL 0x001a8de7
MOV qword ptr [RBX + 0x10],RAX
TES... |
uint * copy_typelib(int8 param_1,uint *param_2)
{
uint *puVar1;
long lVar2;
ulong uVar3;
if ((param_2 != (uint *)0x0) && (puVar1 = (uint *)alloc_root(param_1,0x20), puVar1 != (uint *)0x0)
) {
lVar2 = alloc_root(param_1,(ulong)(*param_2 + 1) * 0xc);
*(long *)(puVar1 + 4) = lVar2;
if (lVar2 ... | |
20,986 | nglog::LogDestination::log_destination(nglog::LogSeverity) | ng-log[P]ng-log/src/logging.cc | inline LogDestination* LogDestination::log_destination(LogSeverity severity) {
if (log_destinations_[severity] == nullptr) {
log_destinations_[severity] =
std::make_unique<LogDestination>(severity, nullptr);
}
return log_destinations_[severity].get();
} | O2 | cpp | nglog::LogDestination::log_destination(nglog::LogSeverity):
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %edi, 0xc(%rsp)
movl %edi, %eax
leaq 0x21922(%rip), %r15 # 0x31d00
movq (%r15,%rax,8), %rax
testq %rax, %rax
jne 0x10427
leaq 0x10(%rsp), %rdx
andq $0x0, (%rdx)
leaq 0x18(%rsp), %rbx
leaq 0xc(%rsp), %r... | _ZN5nglog14LogDestination15log_destinationENS_11LogSeverityE:
push r15
push r14
push rbx
sub rsp, 20h
mov [rsp+38h+var_2C], edi
mov eax, edi
lea r15, _ZN5nglog14LogDestination17log_destinations_E; nglog::LogDestination::log_destinations_
mov rax, [r15+rax*8]
test rax, rax
jnz short l... | long long nglog::LogDestination::log_destination(int a1)
{
long long result; // rax
long long v2; // rsi
int v3; // [rsp+Ch] [rbp-2Ch] BYREF
long long v4; // [rsp+10h] [rbp-28h] BYREF
_QWORD v5[4]; // [rsp+18h] [rbp-20h] BYREF
v3 = a1;
result = nglog::LogDestination::log_destinations_[a1];
if ( !resul... | log_destination:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x20
MOV dword ptr [RSP + 0xc],EDI
MOV EAX,EDI
LEA R15,[0x131d00]
MOV RAX,qword ptr [R15 + RAX*0x8]
TEST RAX,RAX
JNZ 0x00110427
LEA RDX,[RSP + 0x10]
AND qword ptr [RDX],0x0
LEA RBX,[RSP + 0x18]
LEA R14,[RSP + 0xc]
MOV RDI,RBX
MOV RSI,R14
CALL 0x001111e5
MOV EAX,dword ... |
/* nglog::LogDestination::log_destination(nglog::LogSeverity) */
long nglog::LogDestination::log_destination(uint param_1)
{
LogDestination *pLVar1;
long lVar2;
uint local_2c [3];
LogDestination *local_20;
lVar2 = (&log_destinations_)[param_1];
if (lVar2 == 0) {
local_2c[1] = 0;
local_2c[2] = ... | |
20,987 | ma_get_status | eloqsql/storage/maria/ma_state.c | my_bool _ma_get_status(void* param, my_bool concurrent_insert)
{
MARIA_HA *info=(MARIA_HA*) param;
DBUG_ENTER("_ma_get_status");
DBUG_PRINT("info",("key_file: %ld data_file: %ld concurrent_insert: %d",
(long) info->s->state.state.key_file_length,
(long) info->s->state.state.data_file_length,
... | O0 | c | ma_get_status:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
jmp 0x49abc
movq -0x18(%rbp), %rdi
addq $0x28, %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rsi
addq $0x18, %rsi
movl $0x38, %edx
callq 0x2a090
movq -0x18(%rbp),... | _ma_get_status:
push rbp
mov rbp, rsp
sub rsp, 20h
mov al, sil
mov [rbp+var_8], rdi
mov [rbp+var_9], al
mov rax, [rbp+var_8]
mov [rbp+var_18], rax
jmp short $+2
loc_49ABC:
mov rdi, [rbp+var_18]
add rdi, 28h ; '('
mov rax, [rbp+var_18]
mov rsi, [rax]
add rsi, 18h
mo... | long long ma_get_status(long long a1, char a2)
{
memcpy(a1 + 40, *(_QWORD *)a1 + 24LL, 56LL);
*(_QWORD *)(a1 + 32) = a1 + 40;
*(_BYTE *)(*(_QWORD *)(a1 + 32) + 52LL) &= ~1u;
*(_BYTE *)(a1 + 1665) = a2;
return 0LL;
}
| _ma_get_status:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV AL,SIL
MOV qword ptr [RBP + -0x8],RDI
MOV byte ptr [RBP + -0x9],AL
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x18],RAX
JMP 0x00149abc
LAB_00149abc:
MOV RDI,qword ptr [RBP + -0x18]
ADD RDI,0x28
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,qword ptr [RAX]
ADD RS... |
int8 _ma_get_status(long *param_1,int1 param_2)
{
memcpy(param_1 + 5,(void *)(*param_1 + 0x18),0x38);
param_1[4] = (long)(param_1 + 5);
*(byte *)(param_1[4] + 0x34) = *(byte *)(param_1[4] + 0x34) & 0xfe;
*(int1 *)((long)param_1 + 0x681) = param_2;
return 0;
}
| |
20,988 | js_set_union | bluesky950520[P]quickjs/quickjs.c | static JSValue js_set_union(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue newset, item, iter, next, rv;
struct list_head *el;
JSMapState *s, *t;
JSMapRecord *mr;
int64_t size;
BOOL done;
s = JS_GetOpaque2(ctx, this_val, JS_CLASS_SET);
i... | O0 | c | js_set_union:
subq $0x198, %rsp # imm = 0x198
movq %rsi, 0x178(%rsp)
movq %rdx, 0x180(%rsp)
movq %rdi, 0x170(%rsp)
movl %ecx, 0x16c(%rsp)
movq %r8, 0x160(%rsp)
movq 0x170(%rsp), %rdi
movq 0x178(%rsp), %rsi
movq 0x180(%rsp), %rdx
movl $0x24, %ecx
callq 0x383b0
movq %rax, 0x100(%rsp)
cmpq $0x0, 0x100(%rsp)
jne... | js_set_union:
sub rsp, 198h
mov [rsp+198h+var_20], rsi
mov [rsp+198h+var_18], rdx
mov [rsp+198h+var_28], rdi
mov [rsp+198h+var_2C], ecx
mov [rsp+198h+var_38], r8
mov rdi, [rsp+198h+var_28]
mov rsi, [rsp+198h+var_20]
mov rdx, [rsp+198h+var_18]
mov ecx, 24h ; '$'
call JS_GetOpaq... | _DWORD * js_set_union(
long long a1,
long long a2,
long long a3,
int a4,
_QWORD *a5,
__m128 a6,
__m128 a7,
__m128 a8,
__m128 a9,
double a10,
double a11,
__m128 a12,
__m128 a13)
{
double v13; // xmm4_8
double v14;... | js_set_union:
SUB RSP,0x198
MOV qword ptr [RSP + 0x178],RSI
MOV qword ptr [RSP + 0x180],RDX
MOV qword ptr [RSP + 0x170],RDI
MOV dword ptr [RSP + 0x16c],ECX
MOV qword ptr [RSP + 0x160],R8
MOV RDI,qword ptr [RSP + 0x170]
MOV RSI,qword ptr [RSP + 0x178]
MOV RDX,qword ptr [RSP + 0x180]
MOV ECX,0x24
CALL 0x001383b0
MOV qwor... |
int1 [16]
js_set_union(int8 param_1,int8 param_2,int8 param_3,int4 param_4,
int8 *param_5)
{
int8 uVar1;
int8 uVar2;
int iVar3;
int1 auVar4 [16];
uint uStack_174;
uint uStack_114;
uint uStack_f4;
uint uStack_e4;
uint uStack_d4;
int local_b4;
int1 local_b0 [8];
long local_a8;
int... | |
20,989 | js_set_union | bluesky950520[P]quickjs/quickjs.c | static JSValue js_set_union(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue newset, item, iter, next, rv;
struct list_head *el;
JSMapState *s, *t;
JSMapRecord *mr;
int64_t size;
BOOL done;
s = JS_GetOpaque2(ctx, this_val, JS_CLASS_SET);
i... | O2 | c | js_set_union:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r8, %rbp
movq %rdi, %rbx
pushq $0x24
popq %rcx
callq 0x21207
pushq $0x6
popq %r15
testq %rax, %rax
je 0x46212
movq %rax, %r12
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
leaq 0x60(%rsp), %rcx
movq %rbx, %rdi
callq 0x4643b
... | js_set_union:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 68h
mov rbp, r8
mov rbx, rdi
push 24h ; '$'
pop rcx
call JS_GetOpaque2
push 6
pop r15
test rax, rax
jz loc_46212
mov r12, rax
mov rsi, [rbp+0]
mov rdx, [rbp+8]
lea rcx, [rs... | unsigned long long js_set_union(
long long a1,
long long a2,
int a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11,
long long a12,
_QWORD *a13)
{
long long Opaque2; // ra... | js_set_union:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV RBP,R8
MOV RBX,RDI
PUSH 0x24
POP RCX
CALL 0x00121207
PUSH 0x6
POP R15
TEST RAX,RAX
JZ 0x00146212
MOV R12,RAX
MOV RSI,qword ptr [RBP]
MOV RDX,qword ptr [RBP + 0x8]
LEA RCX,[RSP + 0x60]
MOV RDI,RBX
CALL 0x0014643b
TEST EAX,EAX
JS 0x00146... |
int1 [16] js_set_union(int8 param_1)
{
long lVar1;
int8 uVar2;
int8 uVar3;
int iVar4;
long lVar5;
ulong uVar7;
long lVar8;
int8 *in_R8;
long *plVar10;
ulong uVar11;
ulong uVar12;
int8 uVar13;
ulong uVar14;
int1 auVar15 [16];
int1 auVar16 [16];
int1 auVar17 [16];
int1 auVar18 [16];
... | |
20,990 | ma_sp_make_key | eloqsql/storage/maria/ma_sp_key.c | MARIA_KEY *_ma_sp_make_key(MARIA_HA *info, MARIA_KEY *ret_key, uint keynr,
uchar *key, const uchar *record, my_off_t filepos,
ulonglong trid)
{
HA_KEYSEG *keyseg;
MARIA_KEYDEF *keyinfo = &info->s->keyinfo[keynr];
uint len = 0;
const uchar *pos;
uint dlen;
... | O0 | c | ma_sp_make_key:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x570(%rax), %rax
movl -0x1c(%rbp), %ecx
imulq $0x118, %... | _ma_sp_make_key:
push rbp
mov rbp, rsp
sub rsp, 0B0h
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], r9
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax+570h]
mov ... | _QWORD * ma_sp_make_key(
long long a1,
_QWORD *a2,
unsigned int a3,
_BYTE *a4,
long long a5,
long long a6,
long long a7)
{
long long v7; // rdi
int v8; // eax
long long v10; // [rsp+8h] [rbp-A8h]
unsigned int v11; // [rsp+18h] [rbp-98h]
int v12; // [rsp+... | _ma_sp_make_key:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xb0
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],R8
MOV qword ptr [RBP + -0x38],R9
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword pt... |
int8 *
_ma_sp_make_key(long *param_1,int8 *param_2,uint param_3,double *param_4,long param_5,
int8 param_6,long param_7)
{
double dVar1;
long lVar2;
uint uVar3;
int iVar4;
int4 *puVar5;
int1 local_b0;
int1 uStack_af;
int1 uStack_ae;
int1 uStack_ad;
int1 uStack_ac;
int1 uStack_ab;
... | |
20,991 | nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<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::all... | monkey531[P]llama/common/json.hpp | explicit iteration_proxy_value(IteratorType it, std::size_t array_index_ = 0)
noexcept(std::is_nothrow_move_constructible<IteratorType>::value
&& std::is_nothrow_default_constructible<string_type>::value)
: anchor(std::move(it))
, array_index(array_index_)
{} | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<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::all... | _ZN8nlohmann16json_abi_v3_11_36detail21iteration_proxy_valueINS1_9iter_implINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEEEEEC2ESH_m:
push rbx
mov rbx, rdi
movups xmm0, xmmword ptr [rsi]
movups xmm1, xmmword ptr [rsi+10h... | long long nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<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<u... | iteration_proxy_value:
PUSH RBX
MOV RBX,RDI
MOVUPS XMM0,xmmword ptr [RSI]
MOVUPS XMM1,xmmword ptr [RSI + 0x10]
MOVUPS xmmword ptr [RDI + 0x10],XMM1
MOVUPS xmmword ptr [RDI],XMM0
MOV qword ptr [RDI + 0x20],RDX
MOV qword ptr [RDI + 0x28],0x0
ADD RDI,0x30
LEA RAX,[RBX + 0x40]
MOV qword ptr [RBX + 0x30],RAX
LAB_0017210c:
L... |
/* nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<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_serializ... | |
20,992 | 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... | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _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::... | |
20,993 | curl_perform_with_retry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, void*, int, int) | llama.cpp/common/arg.cpp | static bool curl_perform_with_retry(const std::string & url, CURL * curl, int max_attempts, int retry_delay_seconds) {
int remaining_attempts = max_attempts;
while (remaining_attempts > 0) {
LOG_INF("%s: Trying to download from %s (attempt %d of %d)...\n", __func__ , url.c_str(), max_attempts - remaini... | O3 | cpp | curl_perform_with_retry(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, void*, int, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, 0x10(%rsp)
movq %rdi, 0x8(%rsp)
movl $0x3, %r14d
leaq 0x233d34(%rip), %r12 # 0x3134a0
leaq 0xa... | _ZL23curl_perform_with_retryRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvii:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov [rsp+58h+var_48], rsi
mov [rsp+58h+var_50], rdi
mov r14d, 3
lea r12, common_log_verbosity_thold
lea rbx, aCurlPerformWi... | bool curl_perform_with_retry(_QWORD *a1, long long a2)
{
unsigned int v2; // r14d
int *v3; // r12
int v4; // eax
unsigned int v5; // r15d
int v6; // r13d
int *v7; // rbx
int v8; // r12d
int v9; // eax
int v10; // edi
int v12; // eax
int v13; // r9d
_QWORD v16[8]; // [rsp+18h] [rbp-40h] BYREF
... | curl_perform_with_retry:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RSP + 0x10],RSI
MOV qword ptr [RSP + 0x8],RDI
MOV R14D,0x3
LEA R12,[0x4134a0]
LEA RBX,[0x2822d8]
LEA RBP,[RSP + 0x18]
LAB_001df778:
CMP dword ptr [R12],0x0
JS 0x001df7b5
CALL 0x0026b537
MOV RCX,qword ptr [RSP + 0x... |
/* curl_perform_with_retry(std::__cxx11::string const&, void*, int, int) */
bool curl_perform_with_retry(string *param_1,void *param_2,int param_3,int param_4)
{
bool bVar1;
int iVar2;
int iVar3;
int8 uVar4;
int8 uVar5;
int *piVar6;
uint uVar7;
uint uVar8;
double dVar9;
timespec local_40;
uV... | |
20,994 | google::protobuf::FastHexToBuffer(int, char*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/stubs/strutil.cc | char *FastHexToBuffer(int i, char* buffer) {
GOOGLE_CHECK(i >= 0) << "FastHexToBuffer() wants non-negative integers, not " << i;
static const char *hexdigits = "0123456789abcdef";
char *p = buffer + 21;
*p-- = '\0';
do {
*p-- = hexdigits[i & 15]; // mod by 16
i >>= 4; // divide b... | O0 | cpp | google::protobuf::FastHexToBuffer(int, char*):
subq $0x88, %rsp
movl %edi, 0x84(%rsp)
movq %rsi, 0x78(%rsp)
movl 0x84(%rsp), %eax
movb $0x0, 0x3f(%rsp)
cmpl $0x0, %eax
jl 0x28eb6
jmp 0x28f34
leaq 0x1c3dd3(%rip), %rdx # 0x1ecc90
leaq 0x40(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movl $0x3, %esi
movl $0x377, %ecx ... | _ZN6google8protobuf15FastHexToBufferEiPc:
sub rsp, 88h
mov [rsp+88h+var_4], edi
mov [rsp+88h+var_10], rsi
mov eax, [rsp+88h+var_4]
mov [rsp+88h+var_49], 0
cmp eax, 0
jl short loc_28EB6
jmp short loc_28F34
loc_28EB6:
lea rdx, aWorkspaceLlm4b_3; "/workspace/llm4binary/github2025/aimrt... | _BYTE * google::protobuf::FastHexToBuffer(google::protobuf *this, long long a2, char *a3)
{
_BYTE *v3; // rax
google::protobuf::internal::LogMessage *v5; // [rsp+0h] [rbp-88h]
long long v6; // [rsp+8h] [rbp-80h]
long long v7; // [rsp+18h] [rbp-70h]
_BYTE *v8; // [rsp+20h] [rbp-68h]
char v9[20]; // [rsp+2Bh]... | FastHexToBuffer:
SUB RSP,0x88
MOV dword ptr [RSP + 0x84],EDI
MOV qword ptr [RSP + 0x78],RSI
MOV EAX,dword ptr [RSP + 0x84]
MOV byte ptr [RSP + 0x3f],0x0
CMP EAX,0x0
JL 0x00128eb6
JMP 0x00128f34
LAB_00128eb6:
LEA RDX,[0x2ecc90]
LEA RDI,[RSP + 0x40]
MOV qword ptr [RSP + 0x10],RDI
MOV ESI,0x3
MOV ECX,0x377
CALL 0x001237e0... |
/* google::protobuf::FastHexToBuffer(int, char*) */
char * google::protobuf::FastHexToBuffer(int param_1,char *param_2)
{
char *pcVar1;
LogMessage *pLVar2;
char *local_68;
LogFinisher local_5d [20];
byte local_49;
LogMessage local_48 [56];
char *local_10;
uint local_4;
local_49 = 0;
local_10 =... | |
20,995 | js_import_meta | bluesky950520[P]quickjs/quickjs.c | static JSValue js_import_meta(JSContext *ctx)
{
JSAtom filename;
JSModuleDef *m;
filename = JS_GetScriptOrModuleName(ctx, 0);
if (filename == JS_ATOM_NULL)
goto fail;
/* XXX: inefficient, need to add a module or script pointer in
JSFunctionBytecode */
m = js_find_loaded_module(c... | O0 | c | js_import_meta:
subq $0x38, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x48ea0
movl %eax, 0x1c(%rsp)
cmpl $0x0, 0x1c(%rsp)
jne 0x63872
jmp 0x6389d
movq 0x20(%rsp), %rdi
movl 0x1c(%rsp), %esi
callq 0x6c740
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movl 0x1c(%rsp), %esi
callq 0x27d80
cmpq $0... | js_import_meta:
sub rsp, 38h
mov [rsp+38h+var_18], rdi
mov rdi, [rsp+38h+var_18]
xor esi, esi
call JS_GetScriptOrModuleName
mov [rsp+38h+var_1C], eax
cmp [rsp+38h+var_1C], 0
jnz short loc_63872
jmp short loc_6389D
loc_63872:
mov rdi, [rsp+38h+var_18]
mov esi, [rsp+38h+var_1C]
... | _DWORD * js_import_meta(
long long a1,
__m128 a2,
__m128 a3,
__m128 a4,
__m128 a5,
double a6,
double a7,
__m128 a8,
__m128 a9)
{
long long v9; // rdx
long long v10; // rcx
long long v11; // r8
long long v12; // r9
__m128 v13; // xmm4
__... | js_import_meta:
SUB RSP,0x38
MOV qword ptr [RSP + 0x20],RDI
MOV RDI,qword ptr [RSP + 0x20]
XOR ESI,ESI
CALL 0x00148ea0
MOV dword ptr [RSP + 0x1c],EAX
CMP dword ptr [RSP + 0x1c],0x0
JNZ 0x00163872
JMP 0x0016389d
LAB_00163872:
MOV RDI,qword ptr [RSP + 0x20]
MOV ESI,dword ptr [RSP + 0x1c]
CALL 0x0016c740
MOV qword ptr [RS... |
int1 [16] js_import_meta(int8 param_1)
{
int iVar1;
long lVar2;
int1 auVar3 [16];
int4 local_10;
int4 uStack_c;
int8 local_8;
iVar1 = JS_GetScriptOrModuleName(param_1,0);
if (iVar1 != 0) {
lVar2 = js_find_loaded_module(param_1,iVar1);
JS_FreeAtom(param_1,iVar1);
if (lVar2 != 0) {
... | |
20,996 | common_log::pause() | monkey531[P]llama/common/log.cpp | void pause() {
{
std::lock_guard<std::mutex> lock(mtx);
if (!running) {
return;
}
running = false;
// push an entry to signal the worker thread to stop
{
auto & entry = entries[tail];
entry... | O3 | cpp | common_log::pause():
pushq %rbx
movq %rdi, %rbx
callq 0x19bc0
testl %eax, %eax
jne 0x876e3
cmpb $0x0, 0x6a(%rbx)
je 0x876da
movb $0x0, 0x6a(%rbx)
movq 0x78(%rbx), %rcx
movq 0x98(%rbx), %rax
leaq (%rax,%rax,2), %rdx
shlq $0x4, %rdx
movb $0x1, 0x28(%rcx,%rdx)
incq %rax
movq 0x80(%rbx), %rdx
subq %rcx, %rdx
sarq $0x4, %rd... | _ZN10common_log5pauseEv:
push rbx
mov rbx, rdi
call _pthread_mutex_lock
test eax, eax
jnz short loc_876E3
cmp byte ptr [rbx+6Ah], 0
jz short loc_876DA
mov byte ptr [rbx+6Ah], 0
mov rcx, [rbx+78h]
mov rax, [rbx+98h]
lea rdx, [rax+rax*2]
shl rdx, 4
mov byte ptr [rcx+rdx+2... | long long common_log::pause(common_log *this)
{
int v1; // eax
long long v2; // rcx
long long v3; // rax
v1 = pthread_mutex_lock();
if ( v1 )
std::__throw_system_error(v1);
if ( !*((_BYTE *)this + 106) )
return pthread_mutex_unlock(this);
*((_BYTE *)this + 106) = 0;
v2 = *((_QWORD *)this + 15)... | pause:
PUSH RBX
MOV RBX,RDI
CALL 0x00119bc0
TEST EAX,EAX
JNZ 0x001876e3
CMP byte ptr [RBX + 0x6a],0x0
JZ 0x001876da
MOV byte ptr [RBX + 0x6a],0x0
MOV RCX,qword ptr [RBX + 0x78]
MOV RAX,qword ptr [RBX + 0x98]
LEA RDX,[RAX + RAX*0x2]
SHL RDX,0x4
MOV byte ptr [RCX + RDX*0x1 + 0x28],0x1
INC RAX
MOV RDX,qword ptr [RBX + 0x8... |
/* common_log::pause() */
void __thiscall common_log::pause(common_log *this)
{
long lVar1;
long lVar2;
int iVar3;
iVar3 = pthread_mutex_lock((pthread_mutex_t *)this);
if (iVar3 != 0) {
/* WARNING: Subroutine does not return */
std::__throw_system_error(iVar3);
}
if (this[0x6... | |
20,997 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator... | msxemulator/build_O3/_deps/picotool-src/lib/nlohmann_json/single_include/nlohmann/json.hpp | token_type scan_number() // lgtm [cpp/use-of-goto]
{
// reset token_buffer to store the number's bytes
reset();
// the type of the parsed number; initially set to unsigned; will be
// changed if minus sign, decimal point or exponent is read
token_type number_type = token_ty... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_20input_stream_adapterEE11scan_numberEv:
push rbp
push r14
push rbx
sub rsp, 10h
mov rbx, rdi
call _ZN8nlohmann16json_abi_v3_11... | long long nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::input_stream_adapter>::scan_number(
... | scan_number:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
CALL 0x00165b0e
MOV EAX,dword ptr [RBX + 0x14]
MOV EBP,0x5
LEA ECX,[RAX + -0x31]
CMP ECX,0x9
JNC 0x001658e4
LAB_0016586e:
LEA R14,[RBX + 0x50]
MOVSX ESI,AL
LAB_00165875:
MOV RDI,R14
CALL 0x0010f3c0
MOV RDI,RBX
CALL 0x0010fcac
LEA ECX,[RAX + -0x30]
CMP ECX... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<std::map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>, nlohmann::json_abi_... | |
20,998 | ImPlot::StyleColorsDark(ImPlotStyle*) | zkingston[P]unknot/build_O1/_deps/implot-src/implot.cpp | void StyleColorsDark(ImPlotStyle* dst) {
ImPlotStyle* style = dst ? dst : &ImPlot::GetStyle();
ImVec4* colors = style->Colors;
style->MinorAlpha = 0.25f;
colors[ImPlotCol_Line] = IMPLOT_AUTO_COL;
colors[ImPlotCol_Fill] = IMPLOT_AUTO_COL... | O1 | cpp | ImPlot::StyleColorsDark(ImPlotStyle*):
pushq %rax
testq %rdi, %rdi
jne 0xc4ff2
cmpq $0x0, 0x271cc8(%rip) # 0x336ca0
jne 0xc4fe6
leaq 0x1d56fa(%rip), %rdi # 0x29a6db
callq 0x2161f4
movl $0x104, %edi # imm = 0x104
addq 0x271cae(%rip), %rdi # 0x336ca0
movl $0x3e800000, 0x28(%rdi) # imm = 0x3E800000
mov... | _ZN6ImPlot15StyleColorsDarkEP11ImPlotStyle:
push rax
test rdi, rdi
jnz short loc_C4FF2
cmp cs:GImPlot, 0
jnz short loc_C4FE6
lea rdi, aNoCurrentConte_0; "No current context. Did you call ImPlot"...
call _ZN5ImGui8ErrorLogEPKc; ImGui::ErrorLog(char const*)
loc_C4FE6:
mov edi, 104h
add rd... | void __spoils<rdx,rcx,r8,r9,r10,r11,xmm0,xmm4,xmm5> ImPlot::StyleColorsDark(ImPlot *this, ImPlotStyle *a2)
{
if ( !this )
{
if ( !GImPlot )
ImGui::ErrorLog(
(ImGui *)"No current context. Did you call ImPlot::CreateContext() or ImPlot::SetCurrentContext()?",
(const char *)a2);
this = (... | StyleColorsDark:
PUSH RAX
TEST RDI,RDI
JNZ 0x001c4ff2
CMP qword ptr [0x00436ca0],0x0
JNZ 0x001c4fe6
LEA RDI,[0x39a6db]
CALL 0x003161f4
LAB_001c4fe6:
MOV EDI,0x104
ADD RDI,qword ptr [0x00436ca0]
LAB_001c4ff2:
MOV dword ptr [RDI + 0x28],0x3e800000
MOVAPS XMM0,xmmword ptr [0x003945a0]
MOVUPS xmmword ptr [RDI + 0xac],XMM0
... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* ImPlot::StyleColorsDark(ImPlotStyle*) */
int8 ImPlot::StyleColorsDark(ImPlotStyle *param_1)
{
int8 uVar1;
int8 uVar2;
int8 uVar3;
int8 uVar4;
int8 uVar5;
int8 in_RAX;
if (param_1 == (ImPlotStyle *)0x0) {
if (... | |
20,999 | trnman_free_trn | eloqsql/storage/maria/trnman.c | static void trnman_free_trn(TRN *trn)
{
/*
union is to solve strict aliasing issue.
without it gcc 3.4.3 doesn't notice that updating *(void **)&tmp
modifies the value of tmp.
*/
union { TRN *trn; void *v; } tmp;
DBUG_ASSERT(trn != &dummy_transaction_object);
mysql_mutex_lock(&trn->state_lock... | O3 | c | trnman_free_trn:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %r14
cmpq $0x0, 0x50(%rdi)
jne 0x73086
movq %r14, %rdi
callq 0x2b230
movw $0x0, 0xac(%rbx)
movq 0x50(%rbx), %rdi
testq %rdi, %rdi
jne 0x7309c
movq %r14, %rdi
callq 0x2b1f0
movq 0x3dd6d6(%rip), %rax # 0x450748
movq %rax... | trnman_free_trn:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdi
lea r14, [rdi+10h]
cmp qword ptr [rdi+50h], 0
jnz short loc_73086
mov rdi, r14
call _pthread_mutex_lock
loc_73051:
mov word ptr [rbx+0ACh], 0
mov rdi, [rbx+50h]
test rdi, rdi
jnz short loc_7309C
loc_... | signed long long trnman_free_trn(signed long long a1)
{
signed long long result; // rax
signed long long v2; // rtt
if ( *(_QWORD *)(a1 + 80) )
psi_mutex_lock(a1 + 16, (long long)"/workspace/llm4binary/github2025/eloqsql/storage/maria/trnman.c", 0x22Du);
else
pthread_mutex_lock(a1 + 16);
*(_WORD *)(... | trnman_free_trn:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDI
LEA R14,[RDI + 0x10]
CMP qword ptr [RDI + 0x50],0x0
JNZ 0x00173086
MOV RDI,R14
CALL 0x0012b230
LAB_00173051:
MOV word ptr [RBX + 0xac],0x0
MOV RDI,qword ptr [RBX + 0x50]
TEST RDI,RDI
JNZ 0x0017309c
LAB_00173063:
MOV RDI,R14
CALL 0x0012b1f0
MOV RAX,qwor... |
void trnman_free_trn(long param_1)
{
pthread_mutex_t *__mutex;
long lVar1;
long lVar2;
bool bVar3;
__mutex = (pthread_mutex_t *)(param_1 + 0x10);
if (*(long *)(param_1 + 0x50) == 0) {
pthread_mutex_lock(__mutex);
}
else {
psi_mutex_lock(__mutex,"/workspace/llm4binary/github2025/eloqsql/stor... |
Subsets and Splits
C++ Functions With Standard Library Dependencies
Identifies C++ functions that depend on standard library components, revealing patterns in how developers utilize STL libraries and potentially highlighting common coding practices or dependencies in the dataset.
C++ Standard Library Function Analysis
Filters C++ code examples that use standard library containers and types, providing useful insights into common programming patterns and data structures in the dataset.
Random Training Function Samples
Performs basic filtering and random sampling of assembly code data without revealing meaningful patterns or relationships.
Random Training Function Samples
Retrieves a random sample of 1000 records from the training dataset, providing basic data exploration but offering limited analytical value beyond seeing raw entries.