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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
26,700 | SchemaConverter::format_grammar[abi:cxx11]() | monkey531[P]llama/common/json-schema-to-grammar.cpp | std::string format_grammar() {
std::stringstream ss;
for (const auto & kv : _rules) {
ss << kv.first << " ::= " << kv.second << std::endl;
}
return ss.str();
} | O3 | cpp | SchemaConverter::format_grammar[abi:cxx11]():
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x1a500
movq 0x40(%r14), %r15
addq $0x30, %r14
cmpq %r14, %r15
je 0x9ee93
leaq 0x10(%rsp), %r12
leaq 0x18a3f(%r... | _ZN15SchemaConverter14format_grammarB5cxx11Ev:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 188h
mov r14, rsi
mov rbx, rdi
mov rdi, rsp
call __ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev; std::basic_stringstream<char,std::char_traits<char>,std::a... | long long SchemaConverter::format_grammar[abi:cxx11](long long a1, long long a2)
{
_QWORD *i; // r15
long long v3; // rbp
std::ostream *v4; // rbp
char v5; // al
std::ostream *v6; // rax
_BYTE v8[16]; // [rsp+0h] [rbp-1B8h] BYREF
_BYTE v9[8]; // [rsp+10h] [rbp-1A8h] BYREF
_BYTE v10[104]; // [rsp+18h] [... | format_grammar[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x188
MOV R14,RSI
MOV RBX,RDI
MOV RDI,RSP
CALL 0x0011a500
MOV R15,qword ptr [R14 + 0x40]
ADD R14,0x30
CMP R15,R14
JZ 0x0019ee93
LEA R12,[RSP + 0x10]
LEA R13,[0x1b7865]
LAB_0019ee26:
MOV RSI,qword ptr [R15 + 0x20]
MOV RDX,qword ptr ... |
/* SchemaConverter::format_grammar[abi:cxx11]() */
void SchemaConverter::format_grammar_abi_cxx11_(void)
{
ostream *poVar1;
_Rb_tree_node_base *p_Var2;
long in_RSI;
stringstream asStack_1b8 [16];
ostream local_1a8 [112];
ios_base local_138 [264];
std::__cxx11::stringstream::stringstream(asStack_1b8)... | |
26,701 | ftxui::automerge(std::shared_ptr<ftxui::Node>)::Impl::Render(ftxui::Screen&) | Andrewchistyakov[P]flashcards_lyc/build_O0/_deps/ftxui-src/src/ftxui/dom/automerge.cpp | void Render(Screen& screen) override {
for (int y = box_.y_min; y <= box_.y_max; ++y) {
for (int x = box_.x_min; x <= box_.x_max; ++x) {
screen.PixelAt(x, y).automerge = true;
}
}
Node::Render(screen);
} | O0 | cpp | ftxui::automerge(std::shared_ptr<ftxui::Node>)::Impl::Render(ftxui::Screen&):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movl 0x54(%rax), %eax
movl %eax, -0x14(%rbp)
movq -0x20(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0x58(%rcx), ... | _ZZN5ftxui9automergeESt10shared_ptrINS_4NodeEEEN4Impl6RenderERNS_6ScreenE:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov [rbp+var_20], rax
mov eax, [rax+54h]
mov [rbp+var_14], eax
loc_7EA7E:
mov rcx, [rbp+var_20]
mov eax... | bool ftxui::automerge(std::shared_ptr<ftxui::Node>)::Impl::Render(ftxui::Node *a1, ftxui::Screen *a2)
{
_BYTE *v2; // rax
int j; // [rsp+8h] [rbp-18h]
int i; // [rsp+Ch] [rbp-14h]
for ( i = *((_DWORD *)a1 + 21); i <= *((_DWORD *)a1 + 22); ++i )
{
for ( j = *((_DWORD *)a1 + 19); j <= *((_DWORD *)a1 + 20)... | Screen&):
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x20],RAX
MOV EAX,dword ptr [RAX + 0x54]
MOV dword ptr [RBP + -0x14],EAX
LAB_0017ea7e:
MOV RCX,qword ptr [RBP + -0x20]
MOV EAX,dword ptr [RBP + -0x14]
CMP EAX,d... |
/* ftxui::automerge(std::shared_ptr<ftxui::Node>)::Impl::Render(ftxui::Screen&) */
void ftxui::automerge(std::shared_ptr<ftxui::Node>)::Impl::Render(ftxui::Screen__
(Node *param_1,Screen *param_2)
{
byte *pbVar1;
int local_20;
int local_1c;
for (local_1c = *(int *)(param_1 + 0x54); local_1c... | |
26,702 | js_malloc | bluesky950520[P]quickjs/quickjs.c | void *js_malloc(JSContext *ctx, size_t size)
{
void *ptr;
ptr = js_malloc_rt(ctx->rt, size);
if (unlikely(!ptr)) {
JS_ThrowOutOfMemory(ctx);
return NULL;
}
return ptr;
} | O0 | c | js_malloc:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x20(%rsp), %rsi
callq 0x205d0
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x20a51
mo... | js_malloc:
sub rsp, 38h
mov [rsp+38h+var_10], rdi
mov [rsp+38h+var_18], rsi
mov rax, [rsp+38h+var_10]
mov rdi, [rax+18h]
mov rsi, [rsp+38h+var_18]
call js_malloc_rt
mov [rsp+38h+var_20], rax
cmp [rsp+38h+var_20], 0
setnz al
xor al, 0FFh
xor al, 0FFh
xor al, 0FFh
and ... | long long js_malloc(long long a1, long long a2)
{
int v2; // edx
long long v3; // rcx
int v4; // r8d
int v5; // r9d
long long v7; // [rsp+18h] [rbp-20h]
v7 = js_malloc_rt(*(_QWORD *)(a1 + 24), a2);
if ( v7 )
return v7;
JS_ThrowOutOfMemory(a1, a2, v2, v3, v4, v5);
return 0LL;
}
| js_malloc:
SUB RSP,0x38
MOV qword ptr [RSP + 0x28],RDI
MOV qword ptr [RSP + 0x20],RSI
MOV RAX,qword ptr [RSP + 0x28]
MOV RDI,qword ptr [RAX + 0x18]
MOV RSI,qword ptr [RSP + 0x20]
CALL 0x001205d0
MOV qword ptr [RSP + 0x18],RAX
CMP qword ptr [RSP + 0x18],0x0
SETNZ AL
XOR AL,0xff
XOR AL,0xff
XOR AL,0xff
AND AL,0x1
MOVZX E... |
long js_malloc(long param_1,int8 param_2)
{
long local_8;
local_8 = js_malloc_rt(*(int8 *)(param_1 + 0x18),param_2);
if (local_8 == 0) {
JS_ThrowOutOfMemory(param_1);
local_8 = 0;
}
return local_8;
}
| |
26,703 | js_malloc | bluesky950520[P]quickjs/quickjs.c | void *js_malloc(JSContext *ctx, size_t size)
{
void *ptr;
ptr = js_malloc_rt(ctx->rt, size);
if (unlikely(!ptr)) {
JS_ThrowOutOfMemory(ctx);
return NULL;
}
return ptr;
} | O1 | c | js_malloc:
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
callq 0xece0
testq %rax, %rax
je 0xed71
popq %rbx
retq
movq %rbx, %rdi
callq 0x1bf4f
xorl %eax, %eax
jmp 0xed6f
| js_malloc:
push rbx
mov rbx, rdi
mov rdi, [rdi+18h]
call js_malloc_rt
test rax, rax
jz short loc_ED71
loc_ED6F:
pop rbx
retn
loc_ED71:
mov rdi, rbx
call JS_ThrowOutOfMemory
xor eax, eax
jmp short loc_ED6F
| long long js_malloc(long long a1, long long a2)
{
long long result; // rax
result = js_malloc_rt(*(_QWORD *)(a1 + 24), a2);
if ( !result )
{
JS_ThrowOutOfMemory(a1);
return 0LL;
}
return result;
}
| js_malloc:
PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x18]
CALL 0x0010ece0
TEST RAX,RAX
JZ 0x0010ed71
LAB_0010ed6f:
POP RBX
RET
LAB_0010ed71:
MOV RDI,RBX
CALL 0x0011bf4f
XOR EAX,EAX
JMP 0x0010ed6f
|
long js_malloc(long param_1)
{
long lVar1;
lVar1 = js_malloc_rt(*(int8 *)(param_1 + 0x18));
if (lVar1 == 0) {
JS_ThrowOutOfMemory(param_1);
lVar1 = 0;
}
return lVar1;
}
| |
26,704 | js_malloc | bluesky950520[P]quickjs/quickjs.c | void *js_malloc(JSContext *ctx, size_t size)
{
void *ptr;
ptr = js_malloc_rt(ctx->rt, size);
if (unlikely(!ptr)) {
JS_ThrowOutOfMemory(ctx);
return NULL;
}
return ptr;
} | O3 | c | js_malloc:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
callq 0xecff
movq %rax, %r14
testq %rax, %rax
je 0xedac
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
callq 0x1c80f
jmp 0xeda1
| js_malloc:
push r14
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+18h]
call js_malloc_rt
mov r14, rax
test rax, rax
jz short loc_EDAC
loc_EDA1:
mov rax, r14
add rsp, 8
pop rbx
pop r14
retn
loc_EDAC:
mov rdi, rbx
call JS_ThrowOutOfMemory
jmp short loc_EDA1
| long long js_malloc(long long a1, long long a2)
{
long long v2; // r14
v2 = js_malloc_rt(*(_QWORD *)(a1 + 24), a2);
if ( !v2 )
JS_ThrowOutOfMemory(a1);
return v2;
}
| js_malloc:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x18]
CALL 0x0010ecff
MOV R14,RAX
TEST RAX,RAX
JZ 0x0010edac
LAB_0010eda1:
MOV RAX,R14
ADD RSP,0x8
POP RBX
POP R14
RET
LAB_0010edac:
MOV RDI,RBX
CALL 0x0011c80f
JMP 0x0010eda1
|
long js_malloc(long param_1)
{
long lVar1;
lVar1 = js_malloc_rt(*(int8 *)(param_1 + 0x18));
if (lVar1 == 0) {
JS_ThrowOutOfMemory(param_1);
}
return lVar1;
}
| |
26,705 | link_block | eloqsql/storage/maria/ma_pagecache.c | static void link_block(PAGECACHE *pagecache, PAGECACHE_BLOCK_LINK *block,
my_bool hot, my_bool at_end)
{
PAGECACHE_BLOCK_LINK *ins;
PAGECACHE_BLOCK_LINK **ptr_ins;
DBUG_ENTER("link_block");
PCBLOCK_INFO(block);
KEYCACHE_DBUG_ASSERT(! (block->hash_link && block->hash_link->requests));
... | O3 | c | link_block:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
testb %dl, %dl
je 0x3dba5
leaq 0xc0(%rdi), %r9
leaq 0xb8(%rdi), %r10
xorl %r8d, %r8d
testb %dl, %dl
setne %r8b
movq %r9, %rax
cmoveq %r10, %rax
movq 0xb8(%rdi,%r8,8), %rdx
testq %rdx, %rdx
je 0x3dc19... | link_block:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rsi
test dl, dl
jz short loc_3DBA5
loc_3DB52:
lea r9, [rdi+0C0h]
lea r10, [rdi+0B8h]
xor r8d, r8d
test dl, dl
setnz r8b
mov rax, r9
cmovz rax, r10
mov rdx, [rd... | _QWORD * link_block(_QWORD *a1, long long a2, char a3, char a4)
{
_QWORD *result; // rax
long long v5; // rdx
_QWORD *v6; // r12
_QWORD *v7; // r15
long long v8; // r13
_QWORD *v9; // rbx
bool v10; // zf
if ( a3 || (v6 = (_QWORD *)a1[36]) == 0LL )
{
result = a1 + 24;
if ( !a3 )
result =... | link_block:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RSI
TEST DL,DL
JZ 0x0013dba5
LAB_0013db52:
LEA R9,[RDI + 0xc0]
LEA R10,[RDI + 0xb8]
XOR R8D,R8D
TEST DL,DL
SETNZ R8B
MOV RAX,R9
CMOVZ RAX,R10
MOV RDX,qword ptr [RDI + R8*0x8 + 0xb8]
TEST RDX,RDX
JZ 0x0013dc19
MOV RDI,qword pt... |
void link_block(long param_1,long *param_2,char param_3,char param_4)
{
long *plVar1;
long lVar2;
long lVar3;
long lVar4;
int8 *puVar5;
long lVar6;
bool bVar7;
if ((param_3 == '\0') && (lVar2 = *(long *)(param_1 + 0x120), lVar2 != 0)) {
lVar3 = *(long *)(*(long *)(lVar2 + 0x88) + 0xa8);
lVa... | |
26,706 | POINTonE1_affine_on_curve | corpus-core[P]colibri-stateless/build_O1/_deps/blst-src/src/e1.c | static bool_t POINTonE1_affine_on_curve(const POINTonE1_affine *p)
{
vec384 XXX, YY;
sqr_fp(XXX, p->X);
mul_fp(XXX, XXX, p->X); /* X^3 */
add_fp(XXX, XXX, B_E1); /* X^3 + B */
sqr_fp(YY, p->Y); /* Y^2 */
... | O1 | c | POINTonE1_affine_on_curve:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %r14
leaq 0x26698(%rip), %r15 # 0x3fb20
leaq -0x90(%rbp), %rbx
movabsq $-0x760c000300030003, %r12 # imm = 0x89F3FFFCFFFCFFFD
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %... | POINTonE1_affine_on_curve:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 68h
mov r14, rdi
lea r15, BLS12_381_P
lea rbx, [rbp+var_90]
mov r12, 89F3FFFCFFFCFFFDh
mov rdi, rbx
mov rsi, r14
mov rdx, r15
mov rcx, r12
call sqr_mont_384... | long long POINTonE1_affine_on_curve(long long a1)
{
_BYTE v2[48]; // [rsp+0h] [rbp-90h] BYREF
_BYTE v3[96]; // [rsp+30h] [rbp-60h] BYREF
sqr_mont_384(v2, a1, &BLS12_381_P, 0x89F3FFFCFFFCFFFDLL);
mul_mont_384(v2, v2, a1, &BLS12_381_P, 0x89F3FFFCFFFCFFFDLL);
add_mod_384(v2, v2, &B_E1, &BLS12_381_P);
sqr_mon... | POINTonE1_affine_on_curve:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV R14,RDI
LEA R15,[0x13fb20]
LEA RBX,[RBP + -0x90]
MOV R12,-0x760c000300030003
MOV RDI,RBX
MOV RSI,R14
MOV RDX,R15
MOV RCX,R12
CALL 0x00134460
MOV RDI,RBX
MOV RSI,RBX
MOV RDX,R14
MOV RCX,R15
MOV R8,R12
CALL 0x001... |
void POINTonE1_affine_on_curve(long param_1)
{
int1 local_98 [48];
int1 local_68 [56];
sqr_mont_384(local_98,param_1,BLS12_381_P,0x89f3fffcfffcfffd);
mul_mont_384(local_98,local_98,param_1,BLS12_381_P,0x89f3fffcfffcfffd);
add_mod_384(local_98,local_98,B_E1,BLS12_381_P);
sqr_mont_384(local_68,param_1 + ... | |
26,707 | unicode_prop | bluesky950520[P]quickjs/libunicode.c | int unicode_prop(CharRange *cr, const char *prop_name)
{
int prop_idx, ret;
prop_idx = unicode_find_name(unicode_prop_name_table, prop_name);
if (prop_idx < 0)
return -2;
prop_idx += UNICODE_PROP_ASCII_Hex_Digit;
ret = 0;
switch(prop_idx) {
case UNICODE_PROP_ASCII:
if (cr_a... | O1 | c | unicode_prop:
pushq %rbx
movq %rdi, %rbx
leaq 0xbec8(%rip), %rdi # 0xa4fc0
callq 0x987bd
movl %eax, %esi
movl $0xfffffffe, %eax # imm = 0xFFFFFFFE
testl %esi, %esi
js 0x9944f
leal -0x24(%rsi), %ecx
cmpl $0x14, %ecx
ja 0x99451
leaq 0x8f25(%rip), %rdx # 0xa2044
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
j... | unicode_prop:
push rbx
mov rbx, rdi
lea rdi, unicode_prop_name_table; "ASCII_Hex_Digit,AHex"
call unicode_find_name
mov esi, eax
mov eax, 0FFFFFFFEh
test esi, esi
js loc_9944F
lea ecx, [rsi-24h]; switch 21 cases
cmp ecx, 14h
ja def_99126; jumptable 0000000000099126 default cas... | long long unicode_prop(int *a1, long long a2)
{
int name; // esi
int v3; // r9d
long long result; // rax
int v5; // esi
int v6; // ecx
long long v7; // rax
long long v8; // rcx
long long v9; // rcx
int v10; // esi
int v11; // edx
int v12; // r8d
int v13; // esi
int v14; // ecx
long long v15... | unicode_prop:
PUSH RBX
MOV RBX,RDI
LEA RDI,[0x1a4fc0]
CALL 0x001987bd
MOV ESI,EAX
MOV EAX,0xfffffffe
TEST ESI,ESI
JS 0x0019944f
LEA ECX,[RSI + -0x24]
CMP ECX,0x14
JA 0x00199451
LEA RDX,[0x1a2044]
MOVSXD RCX,dword ptr [RDX + RCX*0x4]
ADD RCX,RDX
switchD:
JMP RCX
caseD_24:
MOV ESI,dword ptr [RBX]
ADD ESI,0x2
CMP ESI,dwor... |
int8 unicode_prop(int *param_1)
{
long lVar1;
uint uVar2;
int iVar3;
int8 uVar4;
int8 uVar5;
int8 uVar6;
int8 uVar7;
int8 uVar8;
uVar2 = unicode_find_name("ASCII_Hex_Digit,AHex");
uVar4 = 0xfffffffe;
if ((int)uVar2 < 0) {
return 0xfffffffe;
}
switch(uVar2) {
case 0x24:
if ((para... | |
26,708 | unicode_prop | bluesky950520[P]quickjs/libunicode.c | int unicode_prop(CharRange *cr, const char *prop_name)
{
int prop_idx, ret;
prop_idx = unicode_find_name(unicode_prop_name_table, prop_name);
if (prop_idx < 0)
return -2;
prop_idx += UNICODE_PROP_ASCII_Hex_Digit;
ret = 0;
switch(prop_idx) {
case UNICODE_PROP_ASCII:
if (cr_a... | O3 | c | unicode_prop:
pushq %rbx
movq %rdi, %rbx
leaq 0xc50a(%rip), %rdi # 0xa7f70
callq 0x9b118
movl %eax, %esi
movl $0xfffffffe, %eax # imm = 0xFFFFFFFE
testl %esi, %esi
js 0x9bdbf
leal -0x24(%rsi), %ecx
cmpl $0x14, %ecx
ja 0x9bdc1
leaq 0x9567(%rip), %rdx # 0xa4ff4
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
j... | unicode_prop:
push rbx
mov rbx, rdi
lea rdi, unicode_prop_name_table; "ASCII_Hex_Digit,AHex"
call unicode_find_name
mov esi, eax
mov eax, 0FFFFFFFEh
test esi, esi
js loc_9BDBF
lea ecx, [rsi-24h]; switch 21 cases
cmp ecx, 14h
ja def_9BA94; jumptable 000000000009BA94 default cas... | long long unicode_prop(int *a1, long long a2)
{
int name; // esi
int v3; // r9d
long long result; // rax
int v5; // eax
int v6; // esi
int v7; // ecx
long long v8; // rcx
long long v9; // rax
int v10; // esi
int v11; // edx
int v12; // r8d
int v13; // eax
int v14; // esi
int v15; // ecx
l... | unicode_prop:
PUSH RBX
MOV RBX,RDI
LEA RDI,[0x1a7f70]
CALL 0x0019b118
MOV ESI,EAX
MOV EAX,0xfffffffe
TEST ESI,ESI
JS 0x0019bdbf
LEA ECX,[RSI + -0x24]
CMP ECX,0x14
JA 0x0019bdc1
LEA RDX,[0x1a4ff4]
MOVSXD RCX,dword ptr [RDX + RCX*0x4]
ADD RCX,RDX
switchD:
JMP RCX
caseD_24:
MOV EAX,dword ptr [RBX]
LEA ESI,[RAX + 0x2]
CMP ... |
int8 unicode_prop(int *param_1)
{
long lVar1;
uint uVar2;
int iVar3;
int8 uVar4;
int8 uVar5;
int8 uVar6;
int8 uVar7;
int8 uVar8;
uVar2 = unicode_find_name("ASCII_Hex_Digit,AHex");
uVar4 = 0xfffffffe;
if ((int)uVar2 < 0) {
return 0xfffffffe;
}
switch(uVar2) {
case 0x24:
iVar3 = *... | |
26,709 | GetTempDir[abi:cxx11]() | ng-log[P]ng-log/src/googletest.h | static inline string GetTempDir() {
vector<string> temp_directories_list;
nglog::GetExistingTempDirectories(temp_directories_list);
if (temp_directories_list.empty()) {
fprintf(stderr, "No temporary directory found\n");
exit(EXIT_FAILURE);
}
// Use first directory from list of existing temporary dir... | O0 | c | GetTempDir[abi:cxx11]():
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x48(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
leaq -0x20(%rbp), %rdi
movq %rdi, -0x38(%rbp)
callq 0xc3d0
movq -0x38(%rbp), %rdi
callq 0x13b70
jmp 0xb84f
leaq -0x20(%rbp), %rdi
callq 0xc3f0
testb $0x1, %al
jne 0xb8... | _ZL10GetTempDirB5cxx11v:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_48], rdi
mov rax, rdi
mov [rbp+var_40], rax
mov [rbp+var_8], rdi
lea rdi, [rbp+var_20]
mov [rbp+var_38], rdi
call _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2Ev; std::vector<std:... | long long GetTempDir[abi:cxx11](long long a1)
{
long long v1; // rax
_BYTE v3[24]; // [rsp+30h] [rbp-20h] BYREF
long long v4; // [rsp+48h] [rbp-8h]
v4 = a1;
std::vector<std::string>::vector();
nglog::GetExistingTempDirectories(v3);
if ( (std::vector<std::string>::empty(v3) & 1) != 0 )
{
fprintf(st... | GetTempDir[abi:cxx11]:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x40],RAX
MOV qword ptr [RBP + -0x8],RDI
LEA RDI,[RBP + -0x20]
MOV qword ptr [RBP + -0x38],RDI
CALL 0x0010c3d0
MOV RDI,qword ptr [RBP + -0x38]
LAB_0010b848:
CALL 0x00113b70
JMP 0x0010b84f
LAB_0010b... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* GetTempDir[abi:cxx11]() */
string * GetTempDir_abi_cxx11_(void)
{
ulong uVar1;
string *psVar2;
string *in_RDI;
vector<std::__cxx11::string,std::allocator<std::__cxx11::string>> local_28 [32];
std::vector<std::__cxx11::string... | |
26,710 | ast_create_vector | eshkol/src/frontend/ast/create/ast_create.c | AstNode* ast_create_vector(Arena* arena, AstNode** elements, size_t count, size_t line, size_t column) {
AstNode* node = ast_create_node(arena, AST_LITERAL_VECTOR, line, column);
if (!node) {
return NULL;
}
node->as.vector.elements = elements;
node->as.vector.count = count;
ret... | O3 | c | ast_create_vector:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movl $0x4, %esi
movq %rcx, %rdx
movq %r8, %rcx
callq 0x86f0
testq %rax, %rax
je 0x884a
movq %r14, 0x48(%rax)
movq %rbx, 0x50(%rax)
popq %rbx
popq %r14
popq %rbp
retq
| ast_create_vector:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdx
mov r14, rsi
mov esi, 4
mov rdx, rcx
mov rcx, r8
call ast_create_node
test rax, rax
jz short loc_884A
mov [rax+48h], r14
mov [rax+50h], rbx
loc_884A:
pop rbx
pop r14
pop rbp
retn
| long long ast_create_vector(long long a1, long long a2, long long a3, long long a4, long long a5)
{
long long result; // rax
result = ast_create_node(a1, 4, a4, a5);
if ( result )
{
*(_QWORD *)(result + 72) = a2;
*(_QWORD *)(result + 80) = a3;
}
return result;
}
| ast_create_vector:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV R14,RSI
MOV ESI,0x4
MOV RDX,RCX
MOV RCX,R8
CALL 0x001086f0
TEST RAX,RAX
JZ 0x0010884a
MOV qword ptr [RAX + 0x48],R14
MOV qword ptr [RAX + 0x50],RBX
LAB_0010884a:
POP RBX
POP R14
POP RBP
RET
|
void ast_create_vector(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5)
{
long lVar1;
lVar1 = ast_create_node(param_1,4,param_4,param_5);
if (lVar1 != 0) {
*(int8 *)(lVar1 + 0x48) = param_2;
*(int8 *)(lVar1 + 0x50) = param_3;
}
return;
}
| |
26,711 | ma_get_length | eloqsql/libmariadb/libmariadb/mariadb_stmt.c | static long ma_get_length(MYSQL_STMT *stmt, unsigned int param_nr, unsigned long row_nr)
{
if (!stmt->params[param_nr].length)
return 0;
if (stmt->param_callback)
return (long)*stmt->params[param_nr].length;
if (stmt->row_size)
return *(long *)((char *)stmt->params[param_nr].length + row_nr * stmt->ro... | O0 | c | ma_get_length:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x70(%rax), %rax
movl -0x14(%rbp), %ecx
imulq $0x70, %rcx, %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
jne 0x41a14
movq $0x0, -0x8(%rbp)
jmp 0x41a9e
movq -0x10(%rbp), %rax
cmpq $0x0, 0x3... | ma_get_length:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_20], rdx
mov rax, [rbp+var_10]
mov rax, [rax+70h]
mov ecx, [rbp+var_14]
imul rcx, 70h ; 'p'
add rax, rcx
cmp qword ptr [rax], 0
jnz short loc_41A14
mov [rbp+var_8], 0
jmp l... | long long ma_get_length(_QWORD *a1, unsigned int a2, long long a3)
{
if ( !*(_QWORD *)(112LL * a2 + a1[14]) )
return 0LL;
if ( a1[114] )
return **(_QWORD **)(112LL * a2 + a1[14]);
if ( a1[110] )
return *(_QWORD *)(*(_QWORD *)(112LL * a2 + a1[14]) + a1[110] * a3);
return *(_QWORD *)(*(_QWORD *)(112L... | ma_get_length:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV qword ptr [RBP + -0x20],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x70]
MOV ECX,dword ptr [RBP + -0x14]
IMUL RCX,RCX,0x70
ADD RAX,RCX
CMP qword ptr [RAX],0x0
JNZ 0x00141a14
MOV qword ptr [RBP + -0x... |
int8 ma_get_length(long param_1,uint param_2,long param_3)
{
int8 local_10;
if (*(long *)(*(long *)(param_1 + 0x70) + (ulong)param_2 * 0x70) == 0) {
local_10 = 0;
}
else if (*(long *)(param_1 + 0x390) == 0) {
if (*(long *)(param_1 + 0x370) == 0) {
local_10 = *(int8 *)
(*(lon... | |
26,712 | (anonymous namespace)::msgpack23_WrongFormatForBoolTest_Test::~msgpack23_WrongFormatForBoolTest_Test() | msgpack23/tests/exception_tests.cpp | TEST(msgpack23, WrongFormatForBoolTest) {
msgpack23::Packer packer{};
constexpr double expected{3.1415};
auto const data = packer(expected);
bool actual;
msgpack23::Unpacker unpacker{};
EXPECT_THROW(unpacker(actual), std::logic_error);
} | O0 | cpp | (anonymous namespace)::msgpack23_WrongFormatForBoolTest_Test::~msgpack23_WrongFormatForBoolTest_Test():
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x3c1d0
movq -0x10(%rbp), %rdi
movl $0x10, %esi
callq 0x16580
addq $0x10, %rsp
popq %rbp
retq
nopl ... | _ZN12_GLOBAL__N_137msgpack23_WrongFormatForBoolTest_TestD0Ev:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]; this
mov [rbp+var_10], rdi
call _ZN12_GLOBAL__N_137msgpack23_WrongFormatForBoolTest_TestD2Ev; `anonymous namespace'::msgpack23_WrongFormatForBoolTest_Test... | void `anonymous namespace'::msgpack23_WrongFormatForBoolTest_Test::~msgpack23_WrongFormatForBoolTest_Test(
_anonymous_namespace_::msgpack23_WrongFormatForBoolTest_Test *this)
{
`anonymous namespace'::msgpack23_WrongFormatForBoolTest_Test::~msgpack23_WrongFormatForBoolTest_Test(this);
operator delete(this, ... | ~msgpack23_WrongFormatForBoolTest_Test:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RDI
CALL 0x0013c1d0
MOV RDI,qword ptr [RBP + -0x10]
MOV ESI,0x10
CALL 0x00116580
ADD RSP,0x10
POP RBP
RET
|
/* (anonymous
namespace)::msgpack23_WrongFormatForBoolTest_Test::~msgpack23_WrongFormatForBoolTest_Test() */
void __thiscall
(anonymous_namespace)::msgpack23_WrongFormatForBoolTest_Test::~msgpack23_WrongFormatForBoolTest_Test
(msgpack23_WrongFormatForBoolTest_Test *this)
{
~msgpack23_WrongFormatForBoo... | |
26,713 | minja::SubscriptExpr::SubscriptExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, std::shared_ptr<minja::Expression>&&) | monkey531[P]llama/common/minja.hpp | SubscriptExpr(const Location & location, std::shared_ptr<Expression> && b, std::shared_ptr<Expression> && i)
: Expression(location), base(std::move(b)), index(std::move(i)) {} | O2 | cpp | minja::SubscriptExpr::SubscriptExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, std::shared_ptr<minja::Expression>&&):
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
callq 0x62cfa
leaq 0x93ce2(%rip), %rax # 0xfe768
addq $0x10, %rax
movq %rax, (%r15)
andq $0x0, 0x2... | _ZN5minja13SubscriptExprC2ERKNS_8LocationEOSt10shared_ptrINS_10ExpressionEES7_:
push r15
push r14
push rbx
mov rbx, rcx
mov r14, rdx
mov r15, rdi
call _ZN5minja10ExpressionC2ERKNS_8LocationE; minja::Expression::Expression(minja::Location const&)
lea rax, _ZTVN5minja13SubscriptExprE; `vtable ... | long long * minja::SubscriptExpr::SubscriptExpr(long long a1, _QWORD *a2, __int128 *a3, __int128 *a4)
{
long long *result; // rax
__int128 v7; // xmm0
__int128 v8; // xmm0
minja::Expression::Expression((_QWORD *)a1, a2);
result = &`vtable for'minja::SubscriptExpr + 2;
*(_QWORD *)a1 = &`vtable for'minja::Su... | SubscriptExpr:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RCX
MOV R14,RDX
MOV R15,RDI
CALL 0x00162cfa
LEA RAX,[0x1fe768]
ADD RAX,0x10
MOV qword ptr [R15],RAX
AND qword ptr [R15 + 0x28],0x0
MOVUPS XMM0,xmmword ptr [R14]
AND qword ptr [R14 + 0x8],0x0
MOVUPS xmmword ptr [R15 + 0x20],XMM0
AND qword ptr [R14],0x0
AND qword ptr [R15... |
/* minja::SubscriptExpr::SubscriptExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&,
std::shared_ptr<minja::Expression>&&) */
void __thiscall
minja::SubscriptExpr::SubscriptExpr
(SubscriptExpr *this,Location *param_1,shared_ptr *param_2,shared_ptr *param_3)
{
int8 uVar1;
Expressio... | |
26,714 | ggml_tallocr_reset | 7CodeWizard[P]stablediffusion/ggml/src/ggml-alloc.c | void ggml_tallocr_reset(ggml_tallocr_t alloc) {
alloc->n_free_blocks = 1;
size_t align_offset = aligned_offset(alloc->base, 0, alloc->alignment);
alloc->free_blocks[0].addr = (char *)alloc->base + align_offset;
if (alloc->measure) {
alloc->free_blocks[0].size = SIZE_MAX/2; // restrict maximum s... | O2 | c | ggml_tallocr_reset:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, 0x20(%rdi)
movq 0x10(%rdi), %rcx
movq 0x18(%rdi), %rsi
movq %rcx, %rax
xorl %edx, %edx
divq %rsi
movq %rsi, %rax
subq %rdx, %rax
xorl %edx, %edx
divq %rsi
addq %rdx, %rcx
movq %rcx, 0x28(%rdi)
cmpb $0x0, 0x1030(%rdi)
je 0x8eeee
movabsq $0x7... | ggml_tallocr_reset:
push r14
push rbx
push rax
mov rbx, rdi
mov dword ptr [rdi+20h], 1
mov rcx, [rdi+10h]
mov rsi, [rdi+18h]
mov rax, rcx
xor edx, edx
div rsi
mov rax, rsi
sub rax, rdx
xor edx, edx
div rsi
add rcx, rdx
mov [rdi+28h], rcx
cmp byte ptr [rdi... | long long ggml_tallocr_reset(long long a1)
{
long long v1; // rdx
long long result; // rax
*(_DWORD *)(a1 + 32) = 1;
v1 = (*(_QWORD *)(a1 + 24) - *(_QWORD *)(a1 + 16) % *(_QWORD *)(a1 + 24)) % *(_QWORD *)(a1 + 24);
*(_QWORD *)(a1 + 40) = v1 + *(_QWORD *)(a1 + 16);
if ( *(_BYTE *)(a1 + 4144) )
result =... | ggml_tallocr_reset:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV dword ptr [RDI + 0x20],0x1
MOV RCX,qword ptr [RDI + 0x10]
MOV RSI,qword ptr [RDI + 0x18]
MOV RAX,RCX
XOR EDX,EDX
DIV RSI
MOV RAX,RSI
SUB RAX,RDX
XOR EDX,EDX
DIV RSI
ADD RCX,RDX
MOV qword ptr [RDI + 0x28],RCX
CMP byte ptr [RDI + 0x1030],0x0
JZ 0x0018eeee
MOV... |
void ggml_tallocr_reset(int8 *param_1)
{
long lVar1;
ulong uVar2;
*(int4 *)(param_1 + 4) = 1;
uVar2 = param_1[3];
uVar2 = (uVar2 - (ulong)param_1[2] % uVar2) % uVar2;
param_1[5] = param_1[2] + uVar2;
if (*(char *)(param_1 + 0x206) == '\0') {
lVar1 = ggml_backend_buffer_get_size(*param_1);
lVa... | |
26,715 | ggml_tallocr_reset | 7CodeWizard[P]stablediffusion/ggml/src/ggml-alloc.c | void ggml_tallocr_reset(ggml_tallocr_t alloc) {
alloc->n_free_blocks = 1;
size_t align_offset = aligned_offset(alloc->base, 0, alloc->alignment);
alloc->free_blocks[0].addr = (char *)alloc->base + align_offset;
if (alloc->measure) {
alloc->free_blocks[0].size = SIZE_MAX/2; // restrict maximum s... | O3 | c | ggml_tallocr_reset:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1, 0x20(%rdi)
movq 0x10(%rdi), %rcx
movq 0x18(%rdi), %rsi
movq %rcx, %rax
xorl %edx, %edx
divq %rsi
movq %rsi, %rax
subq %rdx, %rax
xorl %edx, %edx
divq %rsi
addq %rdx, %rcx
movq %rcx, 0x28(%rdi)
cmpb $0x0, 0x1030(%rdi)
je 0xb1c84
movabsq $0x7... | ggml_tallocr_reset:
push r14
push rbx
push rax
mov rbx, rdi
mov dword ptr [rdi+20h], 1
mov rcx, [rdi+10h]
mov rsi, [rdi+18h]
mov rax, rcx
xor edx, edx
div rsi
mov rax, rsi
sub rax, rdx
xor edx, edx
div rsi
add rcx, rdx
mov [rdi+28h], rcx
cmp byte ptr [rdi... | long long ggml_tallocr_reset(long long a1)
{
long long v1; // rdx
long long result; // rax
*(_DWORD *)(a1 + 32) = 1;
v1 = (*(_QWORD *)(a1 + 24) - *(_QWORD *)(a1 + 16) % *(_QWORD *)(a1 + 24)) % *(_QWORD *)(a1 + 24);
*(_QWORD *)(a1 + 40) = v1 + *(_QWORD *)(a1 + 16);
if ( *(_BYTE *)(a1 + 4144) )
result =... | |||
26,716 | rak_array_new_with_capacity | fabiosvm[P]rak/src/array.c | RakArray *rak_array_new_with_capacity(int cap, RakError *err)
{
RakArray *arr = rak_memory_alloc(sizeof(*arr), err);
if (!rak_is_ok(err)) return NULL;
rak_array_init_with_capacity(arr, cap, err);
if (rak_is_ok(err)) return arr;
rak_memory_free(arr);
return NULL;
} | O1 | c | rak_array_new_with_capacity:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movl %edi, %ebp
movl $0x18, %edi
callq 0x76e8
cmpb $0x1, (%r14)
jne 0x2434
movq %rax, %rbx
movq %rax, %rdi
movl %ebp, %esi
movq %r14, %rdx
callq 0x22a0
cmpb $0x0, (%r14)
jne 0x2436
movq %rbx, %rdi
callq 0x7748
xorl %ebx, %ebx
movq %rbx, %rax
... | rak_array_new_with_capacity:
push rbp
push r14
push rbx
mov r14, rsi
mov ebp, edi
mov edi, 18h
call rak_memory_alloc
cmp byte ptr [r14], 1
jnz short loc_2434
mov rbx, rax
mov rdi, rax
mov esi, ebp
mov rdx, r14
call rak_array_init_with_capacity
cmp byte ptr [r14], 0... | long long rak_array_new_with_capacity(int a1, _BYTE *a2)
{
long long v2; // rax
long long v3; // rbx
v2 = rak_memory_alloc(24LL);
if ( *a2 != 1 )
return 0LL;
v3 = v2;
rak_array_init_with_capacity(v2, a1, a2);
if ( !*a2 )
{
rak_memory_free(v3);
return 0LL;
}
return v3;
}
| rak_array_new_with_capacity:
PUSH RBP
PUSH R14
PUSH RBX
MOV R14,RSI
MOV EBP,EDI
MOV EDI,0x18
CALL 0x001076e8
CMP byte ptr [R14],0x1
JNZ 0x00102434
MOV RBX,RAX
MOV RDI,RAX
MOV ESI,EBP
MOV RDX,R14
CALL 0x001022a0
CMP byte ptr [R14],0x0
JNZ 0x00102436
MOV RDI,RBX
CALL 0x00107748
LAB_00102434:
XOR EBX,EBX
LAB_00102436:
MOV... |
void * rak_array_new_with_capacity(int4 param_1,char *param_2)
{
void *__ptr;
__ptr = (void *)rak_memory_alloc(0x18);
if (*param_2 == '\x01') {
rak_array_init_with_capacity(__ptr,param_1,param_2);
if (*param_2 != '\0') {
return __ptr;
}
rak_memory_free(__ptr);
}
return (void *)0x0;
... | |
26,717 | rak_array_new_with_capacity | fabiosvm[P]rak/src/array.c | RakArray *rak_array_new_with_capacity(int cap, RakError *err)
{
RakArray *arr = rak_memory_alloc(sizeof(*arr), err);
if (!rak_is_ok(err)) return NULL;
rak_array_init_with_capacity(arr, cap, err);
if (rak_is_ok(err)) return arr;
rak_memory_free(arr);
return NULL;
} | O3 | c | rak_array_new_with_capacity:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movl %edi, %ebp
movl $0x18, %edi
callq 0x74a4
cmpb $0x1, (%r14)
jne 0x2424
movq %rax, %rbx
movq %rax, %rdi
movl %ebp, %esi
movq %r14, %rdx
callq 0x2290
cmpb $0x0, (%r14)
jne 0x2426
movq %rbx, %rdi
callq 0x7504
xorl %ebx, %ebx
movq %rbx, %rax
... | rak_array_new_with_capacity:
push rbp
push r14
push rbx
mov r14, rsi
mov ebp, edi
mov edi, 18h
call rak_memory_alloc
cmp byte ptr [r14], 1
jnz short loc_2424
mov rbx, rax
mov rdi, rax
mov esi, ebp
mov rdx, r14
call rak_array_init_with_capacity
cmp byte ptr [r14], 0... | long long rak_array_new_with_capacity(int a1, _BYTE *a2)
{
long long v2; // rax
long long v3; // rbx
v2 = rak_memory_alloc(24LL);
if ( *a2 != 1 )
return 0LL;
v3 = v2;
rak_array_init_with_capacity(v2, a1, a2);
if ( !*a2 )
{
rak_memory_free(v3);
return 0LL;
}
return v3;
}
| rak_array_new_with_capacity:
PUSH RBP
PUSH R14
PUSH RBX
MOV R14,RSI
MOV EBP,EDI
MOV EDI,0x18
CALL 0x001074a4
CMP byte ptr [R14],0x1
JNZ 0x00102424
MOV RBX,RAX
MOV RDI,RAX
MOV ESI,EBP
MOV RDX,R14
CALL 0x00102290
CMP byte ptr [R14],0x0
JNZ 0x00102426
MOV RDI,RBX
CALL 0x00107504
LAB_00102424:
XOR EBX,EBX
LAB_00102426:
MOV... |
void * rak_array_new_with_capacity(int4 param_1,char *param_2)
{
void *__ptr;
__ptr = (void *)rak_memory_alloc(0x18);
if (*param_2 == '\x01') {
rak_array_init_with_capacity(__ptr,param_1,param_2);
if (*param_2 != '\0') {
return __ptr;
}
rak_memory_free(__ptr);
}
return (void *)0x0;
... | |
26,718 | chess::movegen::generateQueenMoves(chess::Square, chess::Bitboard, chess::Bitboard, chess::Bitboard) | Razamindset[P]pawnstar-chess-engine/src/engine/../chess-library/include/chess.hpp | [[nodiscard]] inline Bitboard movegen::generateQueenMoves(Square sq, Bitboard pin_d, Bitboard pin_hv,
Bitboard occ_all) {
Bitboard moves = 0ULL;
if (pin_d & Bitboard::fromSquare(sq))
moves |= attacks::bishop(sq, occ_all) & pin_d;
else if (pi... | O0 | cpp | chess::movegen::generateQueenMoves(chess::Square, chess::Bitboard, chess::Bitboard, chess::Bitboard):
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movl %edi, -0xc(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
leaq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x4da0
movl -0xc(%rbp),... | _ZN5chess7movegen18generateQueenMovesENS_6SquareENS_8BitboardES2_S2_:
push rbp
mov rbp, rsp
sub rsp, 0D0h
mov [rbp+var_C], edi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
lea rdi, [rbp+var_8]; this
xor eax, eax
mov esi, eax; unsigned __int64
call _ZN5chess... | long long chess::movegen::generateQueenMoves(int a1, long long a2, long long a3, long long a4)
{
_QWORD v5[2]; // [rsp+18h] [rbp-B8h] BYREF
int v6; // [rsp+2Ch] [rbp-A4h]
_QWORD v7[2]; // [rsp+30h] [rbp-A0h] BYREF
int v8; // [rsp+44h] [rbp-8Ch]
long long v9; // [rsp+48h] [rbp-88h] BYREF
long long v10; // [... | generateQueenMoves:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV dword ptr [RBP + -0xc],EDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
LEA RDI,[RBP + -0x8]
XOR EAX,EAX
MOV ESI,EAX
CALL 0x00104da0
MOV EAX,dword ptr [RBP + -0xc]
MOV dword ptr [RBP + -0x3c],EAX
MOV EDI,dword p... |
/* chess::movegen::generateQueenMoves(chess::Square, chess::Bitboard, chess::Bitboard,
chess::Bitboard) */
int8
chess::movegen::generateQueenMoves
(int4 param_1,int8 param_2,int8 param_3,int8 param_4)
{
bool bVar1;
int8 local_c0;
int8 local_b8;
int4 local_ac;
int8 local_a8;
int8 local_a0;
... | |
26,719 | chess::movegen::generateQueenMoves(chess::Square, chess::Bitboard, chess::Bitboard, chess::Bitboard) | Razamindset[P]pawnstar-chess-engine/src/engine/../chess-library/include/chess.hpp | [[nodiscard]] inline Bitboard movegen::generateQueenMoves(Square sq, Bitboard pin_d, Bitboard pin_hv,
Bitboard occ_all) {
Bitboard moves = 0ULL;
if (pin_d & Bitboard::fromSquare(sq))
moves |= attacks::bishop(sq, occ_all) & pin_d;
else if (pi... | O2 | cpp | chess::movegen::generateQueenMoves(chess::Square, chess::Bitboard, chess::Bitboard, chess::Bitboard):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movl %edi, %ebp
callq 0x2f8c
testq %r12, %rax
je 0x8ae5
movl %ebp, %edi
movq %rbx, %rsi
callq 0x2fe4
movq %rax, %r1... | _ZN5chess7movegen18generateQueenMovesENS_6SquareENS_8BitboardES2_S2_:
push rbp
push r15
push r14
push r12
push rbx
mov rbx, rcx
mov r14, rdx
mov r12, rsi
mov ebp, edi
call _ZN5chess8Bitboard10fromSquareENS_6SquareE; chess::Bitboard::fromSquare(chess::Square)
test rax, r12
jz sh... | long long chess::movegen::generateQueenMoves(unsigned int a1, long long a2, long long a3, unsigned long long a4)
{
long long v7; // r12
long long v8; // rax
if ( (a2 & chess::Bitboard::fromSquare(a1)) != 0 )
return a2 & chess::attacks::bishop(a1, a4);
v7 = chess::Bitboard::fromSquare(a1);
v8 = chess::at... | generateQueenMoves:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV RBX,RCX
MOV R14,RDX
MOV R12,RSI
MOV EBP,EDI
CALL 0x00102f8c
TEST RAX,R12
JZ 0x00108ae5
MOV EDI,EBP
MOV RSI,RBX
CALL 0x00102fe4
MOV R15,RAX
AND R15,R12
JMP 0x00108b13
LAB_00108ae5:
MOV EDI,EBP
CALL 0x00102f8c
MOV R12,RAX
MOV EDI,EBP
MOV RSI,RBX
CALL 0x... |
/* chess::movegen::generateQueenMoves(chess::Square, chess::Bitboard, chess::Bitboard,
chess::Bitboard) */
ulong chess::movegen::generateQueenMoves
(int4 param_1,ulong param_2,ulong param_3,int8 param_4)
{
ulong uVar1;
ulong uVar2;
uVar1 = Bitboard::fromSquare();
if ((uVar1 & param_2) =... | |
26,720 | minja::MacroNode::MacroNode(minja::Location const&, std::shared_ptr<minja::VariableExpr>&&, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::shared_ptr<minja::Expression>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::al... | monkey531[P]llama/common/minja.hpp | MacroNode(const Location & location, std::shared_ptr<VariableExpr> && n, Expression::Parameters && p, std::shared_ptr<TemplateNode> && b)
: TemplateNode(location), name(std::move(n)), params(std::move(p)), body(std::move(b)) {
for (size_t i = 0; i < params.size(); ++i) {
const auto & name = pa... | O3 | cpp | minja::MacroNode::MacroNode(minja::Location const&, std::shared_ptr<minja::VariableExpr>&&, std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::shared_ptr<minja::Expression>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::al... | _ZN5minja14ArgumentsValue9has_namedERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push r15
push r14
push r12
push rbx
mov r15, [rdi+18h]
mov r12, [rdi+20h]
cmp r15, r12
jz short loc_B7925
mov rbx, [rsi]
mov r14, [rsi+8]
loc_B78FC:
cmp [r15+8], r14
jnz s... | long long minja::ArgumentsValue::has_named(long long a1, long long *a2)
{
unsigned int v2; // ebp
_QWORD *v3; // r15
_QWORD *v4; // r12
long long v5; // rbx
long long v6; // r14
v3 = *(_QWORD **)(a1 + 24);
v4 = *(_QWORD **)(a1 + 32);
if ( v3 == v4 )
{
return 0;
}
else
{
v5 = *a2;
v... | has_named:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R15,qword ptr [RDI + 0x18]
MOV R12,qword ptr [RDI + 0x20]
CMP R15,R12
JZ 0x001b7925
MOV RBX,qword ptr [RSI]
MOV R14,qword ptr [RSI + 0x8]
LAB_001b78fc:
CMP qword ptr [R15 + 0x8],R14
JNZ 0x001b791c
MOV BPL,0x1
TEST R14,R14
JZ 0x001b7927
MOV RDI,qword ptr [R15]
... |
/* minja::ArgumentsValue::has_named(std::__cxx11::string const&) */
ulong __thiscall minja::ArgumentsValue::has_named(ArgumentsValue *this,string *param_1)
{
int8 *puVar1;
void *__s2;
size_t __n;
int iVar2;
ulong unaff_RBP;
int8 *puVar3;
puVar3 = *(int8 **)(this + 0x18);
puVar1 = *(int8 **)(this +... | |
26,721 | chess::uci::moveToUci[abi:cxx11](chess::Move const&, bool) | Razamindset[P]pawnstar-chess-engine/src/engine/../chess-library/include/chess.hpp | [[nodiscard]] static std::string moveToUci(const Move &move, bool chess960 = false) noexcept(false) {
// Get the from and to squares
Square from_sq = move.from();
Square to_sq = move.to();
// If the move is not a chess960 castling move and is a king moving more than one square,
... | O0 | cpp | chess::uci::moveToUci[abi:cxx11](chess::Move const&, bool):
pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp # imm = 0x210
movq %rdi, -0x1f8(%rbp)
movb %dl, %al
movq %rdi, %rcx
movq %rcx, -0x1f0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rdi
callq 0... | _ZN5chess3uci9moveToUciB5cxx11ERKNS_4MoveEb:
push rbp
mov rbp, rsp
sub rsp, 210h
mov [rbp+var_1F8], rdi
mov al, dl
mov rcx, rdi
mov [rbp+var_1F0], rcx
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
and al, 1
mov [rbp+var_11], al
mov rdi, [rbp+var_10]; this
call _ZNK5chess4M... | long long chess::uci::moveToUci[abi:cxx11](long long a1, chess::Move *a2, char a3)
{
char v4; // [rsp+17h] [rbp-1F9h]
char v5; // [rsp+2Fh] [rbp-1E1h] BYREF
_BYTE v6[36]; // [rsp+30h] [rbp-1E0h] BYREF
_BYTE v7[16]; // [rsp+60h] [rbp-1B0h] BYREF
_BYTE v8[376]; // [rsp+70h] [rbp-1A0h] BYREF
unsigned int v9; ... | moveToUci[abi:cxx11]:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x210
MOV qword ptr [RBP + -0x1f8],RDI
MOV AL,DL
MOV RCX,RDI
MOV qword ptr [RBP + -0x1f0],RCX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
AND AL,0x1
MOV byte ptr [RBP + -0x11],AL
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x001197a0
MOV dword ptr [RBP + -0... |
/* chess::uci::moveToUci[abi:cxx11](chess::Move const&, bool) */
uci * __thiscall chess::uci::moveToUci_abi_cxx11_(uci *this,Move *param_1,bool param_2)
{
byte bVar1;
short sVar2;
int1 local_201;
PieceType local_1e8 [48];
stringstream local_1b8 [16];
ostream local_1a8 [376];
int4 local_30;
File local... | |
26,722 | JS_CheckBrand | bluesky950520[P]quickjs/quickjs.c | static int JS_CheckBrand(JSContext *ctx, JSValue obj, JSValue func)
{
JSObject *p, *p1, *home_obj;
JSShapeProperty *prs;
JSProperty *pr;
JSValue brand;
/* get the home object of 'func' */
if (unlikely(JS_VALUE_GET_TAG(func) != JS_TAG_OBJECT))
goto not_obj;
p1 = JS_VALUE_GET_OBJ(func... | O0 | c | JS_CheckBrand:
subq $0x118, %rsp # imm = 0x118
movq %rsi, 0x80(%rsp)
movq %rdx, 0x88(%rsp)
movq %rcx, 0x70(%rsp)
movq %r8, 0x78(%rsp)
movq %rdi, 0x68(%rsp)
movq 0x78(%rsp), %rax
cmpl $-0x1, %eax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x63cf7
jmp 0x63... | JS_CheckBrand:
sub rsp, 118h
mov [rsp+118h+var_98], rsi
mov [rsp+118h+var_90], rdx
mov [rsp+118h+var_A8], rcx
mov [rsp+118h+var_A0], r8
mov [rsp+118h+var_B0], rdi
mov rax, [rsp+118h+var_A0]
cmp eax, 0FFFFFFFFh
setnz al
xor al, 0FFh
xor al, 0FFh
and al, 1
movzx eax, al
cdq... | long long JS_CheckBrand(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)
{
l... | JS_CheckBrand:
SUB RSP,0x118
MOV qword ptr [RSP + 0x80],RSI
MOV qword ptr [RSP + 0x88],RDX
MOV qword ptr [RSP + 0x70],RCX
MOV qword ptr [RSP + 0x78],R8
MOV qword ptr [RSP + 0x68],RDI
MOV RAX,qword ptr [RSP + 0x78]
CMP EAX,-0x1
SETNZ AL
XOR AL,0xff
XOR AL,0xff
AND AL,0x1
MOVZX EAX,AL
CDQE
CMP RAX,0x0
JZ 0x00163cf7
JMP 0... |
uint JS_CheckBrand(int8 param_1,long param_2,int8 param_3,long param_4,
int8 param_5)
{
int iVar1;
long lVar2;
int8 *local_d8;
uint *local_d0;
long local_c8;
long local_c0;
long local_b8;
int8 local_b0;
long local_a8;
int8 local_a0;
long local_98;
int8 local_90;
ulong local... | |
26,723 | JS_CheckBrand | bluesky950520[P]quickjs/quickjs.c | static int JS_CheckBrand(JSContext *ctx, JSValue obj, JSValue func)
{
JSObject *p, *p1, *home_obj;
JSShapeProperty *prs;
JSProperty *pr;
JSValue brand;
/* get the home object of 'func' */
if (unlikely(JS_VALUE_GET_TAG(func) != JS_TAG_OBJECT))
goto not_obj;
p1 = JS_VALUE_GET_OBJ(func... | O1 | c | JS_CheckBrand:
subq $0x18, %rsp
movq %rsi, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
cmpl $-0x1, %r8d
jne 0x3e7b8
movq 0x8(%rsp), %rax
movzwl 0x6(%rax), %ecx
cmpq $0x38, %rcx
ja 0x3e7b8
movabsq $0x110000000012000, %rsi # imm = 0x110000000012000
btq %rcx, %rsi
jae 0x3e7b8
movq 0x40(%rax), %rcx
testq %rcx, %rcx
je 0x3e7b8
movq 0x1... | JS_CheckBrand:
sub rsp, 18h
mov [rsp+18h+var_8], rsi
mov [rsp+18h+var_10], rcx
cmp r8d, 0FFFFFFFFh
jnz loc_3E7B8
mov rax, [rsp+18h+var_10]
movzx ecx, word ptr [rax+6]
cmp rcx, 38h ; '8'
ja loc_3E7B8
mov rsi, 110000000012000h
bt rsi, rcx
jnb loc_3E7B8
mov rcx, [rax+40h... | long long JS_CheckBrand(
long long a1,
long long a2,
long long a3,
unsigned long long a4,
long long a5,
_DWORD *a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14... | JS_CheckBrand:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RSI
MOV qword ptr [RSP + 0x8],RCX
CMP R8D,-0x1
JNZ 0x0013e7b8
MOV RAX,qword ptr [RSP + 0x8]
MOVZX ECX,word ptr [RAX + 0x6]
CMP RCX,0x38
JA 0x0013e7b8
MOV RSI,0x110000000012000
BT RSI,RCX
JNC 0x0013e7b8
MOV RCX,qword ptr [RAX + 0x40]
TEST RCX,RCX
JZ 0x0013e7b8
MOV R... |
ulong JS_CheckBrand(long param_1,long param_2,int param_3,long param_4,int param_5)
{
long lVar1;
long lVar2;
long lVar3;
long *plVar4;
ulong uVar5;
uint uVar6;
char *pcVar7;
uint *puVar8;
uint uVar9;
bool bVar10;
if ((((param_5 == -1) && ((ulong)*(ushort *)(param_4 + 6) < 0x39)) &&
((0... | |
26,724 | JS_CheckBrand | bluesky950520[P]quickjs/quickjs.c | static int JS_CheckBrand(JSContext *ctx, JSValue obj, JSValue func)
{
JSObject *p, *p1, *home_obj;
JSShapeProperty *prs;
JSProperty *pr;
JSValue brand;
/* get the home object of 'func' */
if (unlikely(JS_VALUE_GET_TAG(func) != JS_TAG_OBJECT))
goto not_obj;
p1 = JS_VALUE_GET_OBJ(func... | O3 | c | JS_CheckBrand:
pushq %rax
cmpl $-0x1, %r8d
jne 0x3ff89
movzwl 0x6(%rcx), %eax
cmpq $0x38, %rax
ja 0x3ff89
movabsq $0x110000000012000, %r8 # imm = 0x110000000012000
btq %rax, %r8
jae 0x3ff89
movq 0x40(%rcx), %rax
testq %rax, %rax
je 0x3ff89
movq 0x18(%rax), %rcx
movl 0x20(%rcx), %r8d
notl %r8d
orl $0xffffff2d, %r8d ... | JS_CheckBrand:
push rax
cmp r8d, 0FFFFFFFFh
jnz loc_3FF89
movzx eax, word ptr [rcx+6]
cmp rax, 38h ; '8'
ja loc_3FF89
mov r8, 110000000012000h
bt r8, rax
jnb loc_3FF89
mov rax, [rcx+40h]
test rax, rax
jz short loc_3FF89
mov rcx, [rax+18h]
mov r8d, [rcx+20h]
not ... | long long JS_CheckBrand(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)
{
c... | JS_CheckBrand:
PUSH RAX
CMP R8D,-0x1
JNZ 0x0013ff89
MOVZX EAX,word ptr [RCX + 0x6]
CMP RAX,0x38
JA 0x0013ff89
MOV R8,0x110000000012000
BT R8,RAX
JNC 0x0013ff89
MOV RAX,qword ptr [RCX + 0x40]
TEST RAX,RAX
JZ 0x0013ff89
MOV RCX,qword ptr [RAX + 0x18]
MOV R8D,dword ptr [RCX + 0x20]
NOT R8D
OR R8D,0xffffff2d
MOVSXD R8,R8D
... |
ulong JS_CheckBrand(long param_1,long param_2,int param_3,long param_4,int param_5)
{
long lVar1;
long lVar2;
uint *puVar3;
char *pcVar4;
uint uVar5;
uint uVar6;
ulong uVar7;
long lVar8;
if ((((param_5 == -1) && ((ulong)*(ushort *)(param_4 + 6) < 0x39)) &&
((0x110000000012000U >> ((ulong)*(... | |
26,725 | JS_SetGlobalVar | bluesky950520[P]quickjs/quickjs.c | static int JS_SetGlobalVar(JSContext *ctx, JSAtom prop, JSValue val,
int flag)
{
JSObject *p;
JSShapeProperty *prs;
JSProperty *pr;
int flags;
/* no exotic behavior is possible in global_var_obj */
p = JS_VALUE_GET_OBJ(ctx->global_var_obj);
prs = find_own_property... | O1 | c | JS_SetGlobalVar:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rcx, %r9
movq %rdx, %rax
movl %esi, %ebp
movq %rdi, %rbx
movq 0x1b0(%rdi), %rdx
movq 0x18(%rdx), %rsi
movl 0x20(%rsi), %ecx
andl %ebp, %ecx
notq %rcx
movl (%rsi,%rcx,4), %r10d
testl %r10d, %r10d
je 0x438c4
addq $0x40, %rsi
xorl %ecx, %ecx
movl $0x... | JS_SetGlobalVar:
push rbp
push r14
push rbx
sub rsp, 30h
mov r9, rcx
mov rax, rdx
mov ebp, esi
mov rbx, rdi
mov rdx, [rdi+1B0h]
mov rsi, [rdx+18h]
mov ecx, [rsi+20h]
and ecx, ebp
not rcx
mov r10d, [rsi+rcx*4]
test r10d, r10d
jz short loc_438C4
add rsi, 40... | long long JS_SetGlobalVar(
long long a1,
unsigned int a2,
_DWORD *a3,
long long a4,
int a5,
__m128 a6,
__m128 a7,
__m128 a8,
__m128 a9,
double a10,
double a11,
__m128 a12,
__m128 a13)
{
long long v16; // rdx
lon... | JS_SetGlobalVar:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV R9,RCX
MOV RAX,RDX
MOV EBP,ESI
MOV RBX,RDI
MOV RDX,qword ptr [RDI + 0x1b0]
MOV RSI,qword ptr [RDX + 0x18]
MOV ECX,dword ptr [RSI + 0x20]
AND ECX,EBP
NOT RCX
MOV R10D,dword ptr [RSI + RCX*0x4]
TEST R10D,R10D
JZ 0x001438c4
ADD RSI,0x40
XOR ECX,ECX
MOV EDI,0x3ff... |
int8
JS_SetGlobalVar(long param_1,uint param_2,int8 param_3,int8 param_4,int param_5)
{
long lVar1;
long lVar2;
int8 uVar3;
int8 uVar4;
uint uVar5;
int8 *puVar6;
uint *puVar7;
int4 local_28;
int4 uStack_20;
lVar2 = *(long *)(*(long *)(param_1 + 0x1b0) + 0x18);
uVar5 = *(uint *)(lVar2 + ~(ulon... | |
26,726 | nglog::DoRawLog(char**, unsigned long*, char const*, ...) | ng-log[P]ng-log/src/raw_logging.cc | static bool DoRawLog(char** buf, size_t* size, const char* format, ...) {
va_list ap;
va_start(ap, format);
int n = std::vsnprintf(*buf, *size, format, ap);
va_end(ap);
if (n < 0 || static_cast<size_t>(n) > *size) return false;
*size -= static_cast<size_t>(n);
*buf += n;
return true;
} | O3 | cpp | nglog::DoRawLog(char**, unsigned long*, char const*, ...):
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %rsi
movq %rcx, 0x18(%rsi)
movq %r8, 0x20(%rsi)
movq %r9, 0x28(%rsi)
testb %al, %al
je 0x2e8cf
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
mov... | _ZN5nglogL8DoRawLogEPPcPmPKcz:
push r14
push rbx
sub rsp, 0D8h
mov r14, rsi
mov rbx, rdi
lea rsi, [rsp+0E8h+var_C8]
mov [rsi+18h], rcx
mov [rsi+20h], r8
mov [rsi+28h], r9
test al, al
jz short loc_2E8CF
movaps [rsp+0E8h+var_98], xmm0
movaps [rsp+0E8h+var_88], xmm1
movaps [rsp... | long long nglog::DoRawLog(
nglog *this,
char **a2,
unsigned long long *a3,
const char *a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 ... | DoRawLog:
PUSH R14
PUSH RBX
SUB RSP,0xd8
MOV R14,RSI
MOV RBX,RDI
LEA RSI,[RSP + 0x20]
MOV qword ptr [RSI + 0x18],RCX
MOV qword ptr [RSI + 0x20],R8
MOV qword ptr [RSI + 0x28],R9
TEST AL,AL
JZ 0x0012e8cf
MOVAPS xmmword ptr [RSP + 0x50],XMM0
MOVAPS xmmword ptr [RSP + 0x60],XMM1
MOVAPS xmmword ptr [RSP + 0x70],XMM2
MOVAPS ... |
/* nglog::DoRawLog(char**, unsigned long*, char const*, ...) */
void nglog::DoRawLog(char **param_1,ulong *param_2,char *param_3,...)
{
char in_AL;
uint uVar1;
ulong uVar2;
int8 in_RCX;
int8 in_R8;
int8 in_R9;
int8 in_XMM0_Qa;
int8 in_XMM1_Qa;
int8 in_XMM2_Qa;
int8 in_XMM3_Qa;
int8 in_XMM4_Qa;
... | |
26,727 | translog_set_sent_to_disk | eloqsql/storage/maria/ma_loghandler.c | static void translog_set_sent_to_disk(struct st_translog_buffer *buffer)
{
LSN lsn= buffer->last_lsn;
TRANSLOG_ADDRESS in_buffers= buffer->next_buffer_offset;
DBUG_ENTER("translog_set_sent_to_disk");
mysql_mutex_lock(&log_descriptor.sent_to_disk_lock);
DBUG_PRINT("enter", ("lsn: " LSN_FMT " in_buffers: " LSN... | O0 | c | translog_set_sent_to_disk:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x100000(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x100018(%rax), %rax
movq %rax, -0x18(%rbp)
leaq 0x3e00cf(%rip), %rdi # 0x441fa0
addq $0x800cc0, %rdi # imm = 0x800CC0... | translog_set_sent_to_disk:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov rax, qword ptr ds:loc_100000[rax]
mov [rbp+var_10], rax
mov rax, [rbp+var_8]
mov rax, ds:off_100018[rax]
mov [rbp+var_18], rax
lea rdi, log_descriptor
add rdi, 800CC... | long long translog_set_sent_to_disk(long long a1)
{
long long v2; // [rsp+8h] [rbp-18h]
long long v3; // [rsp+10h] [rbp-10h]
v3 = *(_QWORD *)((char *)&loc_100000 + a1);
v2 = *(long long *)((char *)&off_100018 + a1);
inline_mysql_mutex_lock_7(
(long long)&log_descriptor[1048984],
(long long)"/workspa... | translog_set_sent_to_disk:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x100000]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x100018]
MOV qword ptr [RBP + -0x18],RAX
LEA RDI,[0x541fa0]
ADD RDI,0x800... |
void translog_set_sent_to_disk(long param_1)
{
int8 uVar1;
long lVar2;
uVar1 = *(int8 *)(param_1 + 0x100000);
lVar2 = *(long *)(Elf64_Ehdr_00100000.e_ident_pad + param_1 + 0xf);
inline_mysql_mutex_lock
(&DAT_00d42c60,"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghandler.c",
... | |
26,728 | my_uni_utf32 | eloqsql/strings/ctype-ucs2.c | static int
my_uni_utf32(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc, uchar *s, uchar *e)
{
if (s + 4 > e)
return MY_CS_TOOSMALL4;
if (wc > 0x10FFFF)
return MY_CS_ILUNI;
s[0]= (uchar) (wc >> 24);
s[1]= (uchar) (wc >> 16) & 0xFF;
s[2]= (uchar) (wc >> 8) & 0xFF;
s[3]= (uchar... | O3 | c | my_uni_utf32:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
movq %rsi, %rbx
leaq 0x4(%rdx), %rsi
movl $0xffffff98, %eax # imm = 0xFFFFFF98
cmpq %rcx, %rsi
ja 0x4cc84
xorl %eax, %eax
cmpq $0x10ffff, %rbx # imm = 0x10FFFF
ja 0x4cc84
movb $0x0, (%rdx)
movl %ebx, %eax
shrl $0x10, %eax
movb %al, 0x1(%rdx)
movb %bh, 0x... | my_uni_utf32:
push rbp
mov rbp, rsp
push rbx
mov rbx, rsi
lea rsi, [rdx+4]
mov eax, 0FFFFFF98h
cmp rsi, rcx
ja short loc_4CC84
xor eax, eax
cmp rbx, offset unk_10FFFF
ja short loc_4CC84
mov byte ptr [rdx], 0
mov eax, ebx
shr eax, 10h
mov [rdx+1], al
mov [r... | long long my_uni_utf32(long long a1, unsigned long long a2, _BYTE *a3, unsigned long long a4)
{
long long result; // rax
result = 4294967192LL;
if ( (unsigned long long)(a3 + 4) <= a4 )
{
result = 0LL;
if ( a2 <= (unsigned long long)&unk_10FFFF )
{
*a3 = 0;
a3[1] = BYTE2(a2);
a3[... | my_uni_utf32:
PUSH RBP
MOV RBP,RSP
PUSH RBX
MOV RBX,RSI
LEA RSI,[RDX + 0x4]
MOV EAX,0xffffff98
CMP RSI,RCX
JA 0x0014cc84
XOR EAX,EAX
CMP RBX,0x10ffff
JA 0x0014cc84
MOV byte ptr [RDX],0x0
MOV EAX,EBX
SHR EAX,0x10
MOV byte ptr [RDX + 0x1],AL
MOV byte ptr [RDX + 0x2],BH
MOV byte ptr [RDX + 0x3],BL
MOV EAX,0x4
LAB_0014cc84... |
int8 my_uni_utf32(int8 param_1,ulong param_2,int1 *param_3,int1 *param_4)
{
int8 uVar1;
uVar1 = 0xffffff98;
if ((param_3 + 4 <= param_4) && (uVar1 = 0, param_2 < 0x110000)) {
*param_3 = 0;
param_3[1] = (char)(param_2 >> 0x10);
param_3[2] = (char)(param_2 >> 8);
param_3[3] = (char)param_2;
... | |
26,729 | wqueue_release_one_locktype_from_queue | eloqsql/mysys/wqueue.c | void wqueue_release_one_locktype_from_queue(WQUEUE *wqueue)
{
struct st_my_thread_var *last= wqueue->last_thread;
struct st_my_thread_var *next= last->next;
struct st_my_thread_var *thread;
struct st_my_thread_var *new_list= NULL;
uint first_type= next->lock_type;
if (first_type == MY_PTHREAD_LOCK_WRITE)
... | O3 | c | wqueue_release_one_locktype_from_queue:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movq (%rdi), %r12
movq 0x88(%r12), %rbx
cmpl $0x1, 0xe4(%rbx)
jne 0xac8aa
leaq 0x8(%rbx), %r14
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
jne 0xac948
movq %r14, %rdi
callq 0x2... | wqueue_release_one_locktype_from_queue:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rdi
mov r12, [rdi]
mov rbx, [r12+88h]
cmp dword ptr [rbx+0E4h], 1
jnz short loc_AC8AA
lea r14, [rbx+8]
mov rdi, [rbx+38h]
test rdi, rdi
jnz... | long long wqueue_release_one_locktype_from_queue(long long *a1)
{
long long v2; // r12
long long v3; // rbx
long long v4; // rdi
long long result; // rax
long long v7; // r13
long long v8; // r15
long long v9; // rdi
v2 = *a1;
v3 = *(_QWORD *)(*a1 + 136);
if ( *(_DWORD *)(v3 + 228) == 1 )
{
... | wqueue_release_one_locktype_from_queue:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDI
MOV R12,qword ptr [RDI]
MOV RBX,qword ptr [R12 + 0x88]
CMP dword ptr [RBX + 0xe4],0x1
JNZ 0x001ac8aa
LEA R14,[RBX + 0x8]
MOV RDI,qword ptr [RBX + 0x38]
TEST RDI,RDI
JNZ 0x001ac948
LAB_001ac885:... |
void wqueue_release_one_locktype_from_queue(long *param_1)
{
long lVar1;
long lVar2;
long lVar3;
long lVar4;
bool bVar5;
lVar1 = *param_1;
lVar3 = *(long *)(lVar1 + 0x88);
if (*(int *)(lVar3 + 0xe4) == 1) {
if (*(long *)(lVar3 + 0x38) != 0) {
(**(code **)(PSI_server + 0x170))();
}
... | |
26,730 | int10_to_str | eloqsql/strings/int2str.c | char *int10_to_str(long int val,char *dst,int radix)
{
char buffer[65];
register char *p;
long int new_val;
unsigned long int uval = (unsigned long int) val;
if (radix < 0) /* -10 */
{
if (val < 0)
{
*dst++ = '-';
/* Avoid integer overflow in (-val) for LONGLONG_MIN (BUG#31799). */
... | O0 | c | int10_to_str:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x58(%rbp)
movq %rsi, -0x60(%rbp)
movl %edx, -0x64(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x80(%rbp)
cmpl $0x0, -0x64(%rbp)
jge 0x882e6
cmpq $0x0, -0x58(%rbp)
jge 0x882e4
movq -0x60(%rbp), %rax
movq %rax, %... | int10_to_str:
push rbp
mov rbp, rsp
sub rsp, 90h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_58], rdi
mov [rbp+var_60], rsi
mov [rbp+var_64], edx
mov rax, [rbp+var_58]
mov [rbp+var_80], rax
cmp [rbp+var_64], 0
jge short loc_882E6
cmp [rbp+var_58], 0
jge short... | _BYTE * int10_to_str(long long a1, _BYTE *a2, int a3)
{
_BYTE *v3; // rax
_BYTE *v4; // rax
_BYTE *v5; // rcx
unsigned long long v7; // [rsp+10h] [rbp-80h]
_BYTE *v8; // [rsp+20h] [rbp-70h]
_BYTE *v9; // [rsp+30h] [rbp-60h]
signed long long i; // [rsp+38h] [rbp-58h]
_BYTE v11[9]; // [rsp+7Fh] [rbp-11h] ... | int10_to_str:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x90
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV dword ptr [RBP + -0x64],EDX
MOV RAX,qword ptr [RBP + -0x58]
MOV qword ptr [RBP + -0x80],RAX
CMP dword ptr [RBP + -0x64],0x0
JGE 0x001882e6
CMP qw... |
char * int10_to_str(ulong param_1,char *param_2,int param_3)
{
char cVar1;
char *pcVar2;
long in_FS_OFFSET;
ulong local_88;
char *local_78;
char *local_68;
ulong local_60;
char local_1a [10];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_88 = param_1;
local_68 = param_2;
... | |
26,731 | quantize_row_q8_K_ref | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-quants.c | void quantize_row_q8_K_ref(const float * restrict x, block_q8_K * restrict y, int64_t k) {
assert(k % QK_K == 0);
const int64_t nb = k / QK_K;
for (int i = 0; i < nb; i++) {
float max = 0;
float amax = 0;
for (int j = 0; j < QK_K; ++j) {
float ax = fabsf(x[j]);
... | O1 | c | quantize_row_q8_K_ref:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
testb %bl, %bl
jne 0x34f58
sarq $0x8, %rbx
testq %rbx, %rbx
jle 0x34f2f
movq %rsi, %r14
movq %rdi, %r15
leaq 0x4(%rsi), %r12
xorl %r13d, %r13d
movaps 0x17238(%rip), %xmm5 # 0x4c020
xorps %xmm6, %xmm6
movss 0x1bfd5(%rip), %x... | quantize_row_q8_K_ref:
push r15
push r14
push r13
push r12
push rbx
mov rbx, rdx
test bl, bl
jnz loc_34F58
sar rbx, 8
test rbx, rbx
jle loc_34F2F
mov r14, rsi
mov r15, rdi
lea r12, [rsi+4]
xor r13d, r13d
movaps xmm5, cs:xmmword_4C020
xorps xmm6, xmm6
movss xmm7,... | void quantize_row_q8_K_ref(long long a1, long long a2, long long a3)
{
long long v3; // rbx
long long v6; // r12
long long v7; // r13
__m128 v8; // xmm5
long long v9; // rax
__m128 v10; // xmm0
__m128 v11; // xmm2
__m128 v12; // xmm3
__m128 v13; // xmm1
__m128 v14; // xmm1
float v15; // xmm0_4
... | quantize_row_q8_K_ref:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV RBX,RDX
TEST BL,BL
JNZ 0x00134f58
SAR RBX,0x8
TEST RBX,RBX
JLE 0x00134f2f
MOV R14,RSI
MOV R15,RDI
LEA R12,[RSI + 0x4]
XOR R13D,R13D
MOVAPS XMM5,xmmword ptr [0x0014c020]
XORPS XMM6,XMM6
MOVSS XMM7,dword ptr [0x00150dc8]
MOVSS XMM8,dword ptr [0x00150... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void quantize_row_q8_K_ref(long param_1,long param_2,long param_3)
{
long lVar1;
uint uVar2;
long lVar3;
long lVar4;
short sVar5;
long lVar6;
long lVar7;
float fVar8;
float fVar9;
float fVar10;
uint uVar11;
f... | |
26,732 | nlohmann::json_abi_v3_11_3::detail::binary_reader<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, st... | monkey531[P]llama/common/./json.hpp | bool get_cbor_array(const std::size_t len,
const cbor_tag_handler_t tag_handler)
{
if (JSON_HEDLEY_UNLIKELY(!sax->start_array(len)))
{
return false;
}
if (len != static_cast<std::size_t>(-1))
{
for (std::size_t i = 0; i < len; ... | O0 | cpp | nlohmann::json_abi_v3_11_3::detail::binary_reader<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, st... | _ZN8nlohmann16json_abi_v3_11_36detail13binary_readerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEZL10parse_jsonRSL_RKSL_RSF_E18json_error_locatorE14get_cbor_... | char nlohmann::json_abi_v3_11_3::detail::binary_reader<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::ite... | ~pair:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV RDI,qword ptr [RSP + 0x10]
MOV qword ptr [RSP + 0x8],RDI
ADD RDI,0x20
CALL 0x001510c0
MOV RDI,qword ptr [RSP + 0x8]
CALL 0x001510c0
ADD RSP,0x18
RET
|
/* std::pair<std::__cxx11::string, std::__cxx11::string >::~pair() */
void __thiscall
std::pair<std::__cxx11::string,std::__cxx11::string>::~pair
(pair<std::__cxx11::string,std::__cxx11::string> *this)
{
std::__cxx11::string::~string((string *)(this + 0x20));
std::__cxx11::string::~string((string *)thi... | |
26,733 | evmone::(anonymous namespace)::InstructionTracer::on_instruction_start(unsigned int, intx::uint<256u> const*, int, long, evmone::ExecutionState const&) | corpus-core[P]colibri-stateless/build_O0/_deps/evmone_external-src/lib/evmone/tracing.cpp | void on_instruction_start(uint32_t pc, const intx::uint256* stack_top, int stack_height,
int64_t gas, const ExecutionState& state) noexcept override
{
const auto& ctx = m_contexts.top();
const auto opcode = ctx.code[pc];
m_out << "{";
m_out << R"("pc":)" << std::dec << pc;
... | O0 | cpp | evmone::(anonymous namespace)::InstructionTracer::on_instruction_start(unsigned int, intx::uint<256u> const*, int, long, evmone::ExecutionState const&):
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp # imm = 0x140
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r... | _ZN6evmone12_GLOBAL__N_117InstructionTracer20on_instruction_startEjPKN4intx4uintILj256EEEilRKNS_14ExecutionStateE:
push rbp
mov rbp, rsp
sub rsp, 140h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_18], rdx
mov [rbp+var_1C], ecx
mov [rbp+var_28], r8
mov [rbp+var_30], r9
mov ... | long long evmone::`anonymous namespace'::InstructionTracer::on_instruction_start(
long long a1,
unsigned int a2,
long long a3,
unsigned int a4,
long long a5,
long long a6)
{
long long v6; // rax
__int16 *v7; // rax
long long v8; // rax
long long v9; // rdx
long... | on_instruction_start:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x140
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 qword ptr [RBP + -0x28],R8
MOV qword ptr [RBP + -0x30],R9
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0xa0],RDI
ADD RDI,0x10... |
/* evmone::(anonymous namespace)::InstructionTracer::on_instruction_start(unsigned int,
intx::uint<256u> const*, int, long, evmone::ExecutionState const&) */
void __thiscall
evmone::(anonymous_namespace)::InstructionTracer::on_instruction_start
(InstructionTracer *this,uint param_1,uint *param_2,int para... | |
26,734 | translog_mark_file_finished | eloqsql/storage/maria/ma_loghandler.c | static void translog_mark_file_finished(uint32 file)
{
int i;
struct st_file_counter *UNINIT_VAR(fc_ptr);
DBUG_ENTER("translog_mark_file_finished");
DBUG_PRINT("enter", ("file: %lu", (ulong) file));
mysql_mutex_lock(&log_descriptor.unfinished_files_lock);
DBUG_ASSERT(log_descriptor.unfinished_files.elemen... | O0 | c | translog_mark_file_finished:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x93f35
leaq 0x3f0554(%rip), %rdi # 0x484490
addq $0x800e08, %rdi # imm = 0x800E08
leaq 0xc706b(%rip), %rsi # 0x15afb5
movl $0x58d, %edx # imm = 0x58... | translog_mark_file_finished:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_4], edi
mov rax, [rbp+var_10]
mov [rbp+var_10], rax
jmp short $+2
loc_93F35:
lea rdi, log_descriptor
add rdi, 800E08h
lea rsi, aWorkspaceLlm4b_18; "/workspace/llm4binary/github2025/eloqsq"...
mov edx,... | long long translog_mark_file_finished(int a1)
{
int v1; // eax
_DWORD *v3; // [rsp+0h] [rbp-10h]
int i; // [rsp+8h] [rbp-8h]
inline_mysql_mutex_lock_11(
(long long)&log_descriptor[1049025],
(long long)"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghandler.c",
0x58Du);
for ( i = 0;... | translog_mark_file_finished:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0x4],EDI
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x10],RAX
JMP 0x00193f35
LAB_00193f35:
LEA RDI,[0x584490]
ADD RDI,0x800e08
LEA RSI,[0x25afb5]
MOV EDX,0x58d
CALL 0x00187970
JMP 0x00193f56
LAB_00193f56:
MOV dword ptr [RBP ... |
void translog_mark_file_finished(int param_1)
{
int iVar1;
int *local_18;
int local_10;
inline_mysql_mutex_lock
(&DAT_00d85298,"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghandler.c",
0x58d);
local_10 = 0;
while ((local_10 < DAT_00d852e8 &&
(local_18 =... | |
26,735 | google::protobuf::compiler::CommandLineInterface::MemoryOutputStream::MemoryOutputStream(google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/compiler/command_line_interface.cc | CommandLineInterface::MemoryOutputStream::MemoryOutputStream(
GeneratorContextImpl* directory, const std::string& filename,
bool append_mode)
: directory_(directory),
filename_(filename),
append_mode_(append_mode),
inner_(new io::StringOutputStream(&data_)) {} | O0 | cpp | google::protobuf::compiler::CommandLineInterface::MemoryOutputStream::MemoryOutputStream(google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool):
subq $0x68, %rsp
movb %cl, %al
movq %rdi, 0x60(%rsp)
movq %rsi, ... | _ZN6google8protobuf8compiler20CommandLineInterface18MemoryOutputStreamC2EPNS2_20GeneratorContextImplERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb:
sub rsp, 68h
mov al, cl
mov [rsp+68h+var_8], rdi
mov [rsp+68h+var_10], rsi
mov [rsp+68h+var_18], rdx
and al, 1
mov [rsp+68h+var_19], a... | long long google::protobuf::compiler::CommandLineInterface::MemoryOutputStream::MemoryOutputStream(
long long a1,
long long a2,
long long a3,
char a4)
{
long long v5; // [rsp+20h] [rbp-48h]
char v6; // [rsp+4Fh] [rbp-19h]
v6 = a4 & 1;
google::protobuf::io::ZeroCopyOutputStream:... | MemoryOutputStream:
SUB RSP,0x68
MOV AL,CL
MOV qword ptr [RSP + 0x60],RDI
MOV qword ptr [RSP + 0x58],RSI
MOV qword ptr [RSP + 0x50],RDX
AND AL,0x1
MOV byte ptr [RSP + 0x4f],AL
MOV RDI,qword ptr [RSP + 0x60]
MOV qword ptr [RSP + 0x28],RDI
CALL 0x00136cb0
MOV RDI,qword ptr [RSP + 0x28]
LEA RAX,[0x5e8ca0]
MOV qword ptr [R... |
/* google::protobuf::compiler::CommandLineInterface::MemoryOutputStream::MemoryOutputStream(google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl*,
std::__cxx11::string const&, bool) */
void __thiscall
google::protobuf::compiler::CommandLineInterface::MemoryOutputStream::MemoryOutputStream
... | |
26,736 | js_free_module_def | bluesky950520[P]quickjs/quickjs.c | static void js_free_module_def(JSContext *ctx, JSModuleDef *m)
{
int i;
JS_FreeAtom(ctx, m->module_name);
for(i = 0; i < m->req_module_entries_count; i++) {
JSReqModuleEntry *rme = &m->req_module_entries[i];
JS_FreeAtom(ctx, rme->module_name);
}
js_free(ctx, m->req_module_entries);... | O0 | c | js_free_module_def:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rax
movl 0x4(%rax), %esi
callq 0x29040
movl $0x0, 0x24(%rsp)
movl 0x24(%rsp), %eax
movq 0x28(%rsp), %rcx
cmpl 0x20(%rcx), %eax
jge 0x5c65e
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
movslq 0x24(%rsp... | js_free_module_def:
sub rsp, 38h
mov [rsp+38h+var_8], rdi
mov [rsp+38h+var_10], rsi
mov rdi, [rsp+38h+var_8]
mov rax, [rsp+38h+var_10]
mov esi, [rax+4]
call JS_FreeAtom
mov [rsp+38h+var_14], 0
loc_5C618:
mov eax, [rsp+38h+var_14]
mov rcx, [rsp+38h+var_10]
cmp eax, [rcx+20h]
jg... | void js_free_module_def(long long a1, long long a2)
{
long long v2; // [rsp+10h] [rbp-28h]
int i; // [rsp+24h] [rbp-14h]
int j; // [rsp+24h] [rbp-14h]
int k; // [rsp+24h] [rbp-14h]
JS_FreeAtom(a1, *(_DWORD *)(a2 + 4));
for ( i = 0; i < *(_DWORD *)(a2 + 32); ++i )
JS_FreeAtom(a1, *(_DWORD *)(16LL * i +... | js_free_module_def:
SUB RSP,0x38
MOV qword ptr [RSP + 0x30],RDI
MOV qword ptr [RSP + 0x28],RSI
MOV RDI,qword ptr [RSP + 0x30]
MOV RAX,qword ptr [RSP + 0x28]
MOV ESI,dword ptr [RAX + 0x4]
CALL 0x00129040
MOV dword ptr [RSP + 0x24],0x0
LAB_0015c618:
MOV EAX,dword ptr [RSP + 0x24]
MOV RCX,qword ptr [RSP + 0x28]
CMP EAX,dw... |
void js_free_module_def(long param_1,long param_2)
{
long lVar1;
int4 local_14;
JS_FreeAtom(param_1,*(int4 *)(param_2 + 4));
for (local_14 = 0; local_14 < *(int *)(param_2 + 0x20); local_14 = local_14 + 1) {
JS_FreeAtom(param_1,*(int4 *)(*(long *)(param_2 + 0x18) + (long)local_14 * 0x10));
}
js_fre... | |
26,737 | js_free_module_def | bluesky950520[P]quickjs/quickjs.c | static void js_free_module_def(JSContext *ctx, JSModuleDef *m)
{
int i;
JS_FreeAtom(ctx, m->module_name);
for(i = 0; i < m->req_module_entries_count; i++) {
JSReqModuleEntry *rme = &m->req_module_entries[i];
JS_FreeAtom(ctx, rme->module_name);
}
js_free(ctx, m->req_module_entries);... | O2 | c | js_free_module_def:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x4(%rsi), %esi
callq 0x1a995
xorl %r15d, %r15d
xorl %r12d, %r12d
movslq 0x20(%rbx), %rax
movq 0x18(%rbx), %rsi
cmpq %rax, %r12
jge 0x34443
movl (%rsi,%r15), %esi
movq %r14, %rdi
callq 0x1a995
incq %r12
addq ... | js_free_module_def:
push r15
push r14
push r13
push r12
push rbx
mov rbx, rsi
mov r14, rdi
mov esi, [rsi+4]
call JS_FreeAtom
xor r15d, r15d
xor r12d, r12d
loc_34421:
movsxd rax, dword ptr [rbx+20h]
mov rsi, [rbx+18h]
cmp r12, rax
jge short loc_34443
mov esi, [rsi+r... | long long js_free_module_def(long long a1, long long a2)
{
long long v3; // r15
long long i; // r12
long long v5; // rsi
long long v6; // r12
long long j; // r13
long long v8; // r15
long long v9; // r15
long long k; // r12
long long v11; // rsi
long long v12; // rax
_QWORD *v13; // rcx
JS_Fre... | js_free_module_def:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
MOV ESI,dword ptr [RSI + 0x4]
CALL 0x0011a995
XOR R15D,R15D
XOR R12D,R12D
LAB_00134421:
MOVSXD RAX,dword ptr [RBX + 0x20]
MOV RSI,qword ptr [RBX + 0x18]
CMP R12,RAX
JGE 0x00134443
MOV ESI,dword ptr [RSI + R15*0x1]
MOV RDI,R14
CALL ... |
void js_free_module_def(long param_1,long param_2)
{
long lVar1;
long *plVar2;
long lVar3;
long lVar4;
JS_FreeAtom(param_1,*(int4 *)(param_2 + 4));
lVar4 = 0;
for (lVar3 = 0; lVar3 < *(int *)(param_2 + 0x20); lVar3 = lVar3 + 1) {
JS_FreeAtom(param_1,*(int4 *)(*(long *)(param_2 + 0x18) + lVar4));
... | |
26,738 | pvio_socket_is_blocking | eloqsql/libmariadb/plugins/pvio/pvio_socket.c | my_bool pvio_socket_is_blocking(MARIADB_PVIO *pvio)
{
struct st_pvio_socket *csock= NULL;
my_bool r;
if (!pvio || !pvio->data)
return 0;
csock= (struct st_pvio_socket *)pvio->data;
r = !(csock->fcntl_mode & O_NONBLOCK);
return r;
} | O3 | c | pvio_socket_is_blocking:
testq %rdi, %rdi
je 0x2f257
movq (%rdi), %rax
testq %rax, %rax
je 0x2f257
pushq %rbp
movq %rsp, %rbp
testb $0x8, 0x5(%rax)
sete %al
popq %rbp
retq
xorl %eax, %eax
retq
| pvio_socket_is_blocking:
test rdi, rdi
jz short loc_2F257
mov rax, [rdi]
test rax, rax
jz short loc_2F257
push rbp
mov rbp, rsp
test byte ptr [rax+5], 8
setz al
pop rbp
retn
loc_2F257:
xor eax, eax
retn
| bool pvio_socket_is_blocking(long long a1)
{
return a1 && *(_QWORD *)a1 && (*(_BYTE *)(*(_QWORD *)a1 + 5LL) & 8) == 0;
}
| pvio_socket_is_blocking:
TEST RDI,RDI
JZ 0x0012f257
MOV RAX,qword ptr [RDI]
TEST RAX,RAX
JZ 0x0012f257
PUSH RBP
MOV RBP,RSP
TEST byte ptr [RAX + 0x5],0x8
SETZ AL
POP RBP
RET
LAB_0012f257:
XOR EAX,EAX
RET
|
int8 pvio_socket_is_blocking(long *param_1)
{
long lVar1;
if ((param_1 != (long *)0x0) && (lVar1 = *param_1, lVar1 != 0)) {
return CONCAT71((int7)((ulong)lVar1 >> 8),(*(byte *)(lVar1 + 5) & 8) == 0);
}
return 0;
}
| |
26,739 | var_set(char const*, char const*, char const*, char const*) | eloqsql/client/mysqltest.cc | void var_set(const char *var_name, const char *var_name_end,
const char *var_val, const char *var_val_end)
{
int digit, env_var= 0;
VAR *v;
DBUG_ENTER("var_set");
DBUG_PRINT("enter", ("var_name: '%.*s' = '%.*s' (length: %d)",
(int) (var_name_end - var_name), var_name,
... | O0 | cpp | var_set(char const*, char const*, char const*, char const*):
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x0, -0x28(%rbp)
jmp 0x64e61
movq -0x8(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x24, %eax
je 0x64e76
movl $0x1, -0x28(%r... | _Z7var_setPKcS0_S0_S0_:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], 0
jmp short $+2
loc_64E61:
mov rax, [rbp+var_8]
movsx eax, byte ptr [rax]
cmp eax, 24h ; '$'
jz short loc_... | long long var_set(char *a1, const char *a2, const char *a3, const char *a4)
{
long long result; // rax
_QWORD *v5; // [rsp+0h] [rbp-30h]
int v6; // [rsp+8h] [rbp-28h]
unsigned int v7; // [rsp+Ch] [rbp-24h]
const char *v8; // [rsp+10h] [rbp-20h] BYREF
const char *v9; // [rsp+18h] [rbp-18h]
const char *v10... | var_set:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV dword ptr [RBP + -0x28],0x0
JMP 0x00164e61
LAB_00164e61:
MOV RAX,qword ptr [RBP + -0x8]
MOVSX EAX,byte ptr [RAX]
CMP EAX,0x24
JZ 0x00164e76
MOV dw... |
/* var_set(char const*, char const*, char const*, char const*) */
void var_set(char *param_1,char *param_2,char *param_3,char *param_4)
{
char cVar1;
int iVar2;
size_t sVar3;
VAR *local_38;
char *local_28;
char *local_20;
char *local_18;
char *local_10;
cVar1 = *param_1;
local_10 = param_1;
... | |
26,740 | my_convert | eloqsql/strings/ctype.c | uint32
my_convert(char *to, uint32 to_length, CHARSET_INFO *to_cs,
const char *from, uint32 from_length,
CHARSET_INFO *from_cs, uint *errors)
{
uint32 length, length2;
/*
If any of the character sets is not ASCII compatible,
immediately switch to slow mb_wc->wc_mb method.
*/
if ((t... | O3 | c | my_convert:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r9, %rax
movl %r8d, %r9d
movq %rcx, %r8
movq 0x10(%rbp), %r10
movl 0xc(%rax), %ecx
orl 0xc(%rdx), %ecx
btl $0xd, %ecx
jb 0x75504
cmpl %r9d, %esi
movl %r9d, %ebx
cmovbl %esi, %ebx
movl %ebx, %ecx
cmpl $0x4, %ebx
jb 0x754dd
movl (%r8... | my_convert:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rax, r9
mov r9d, r8d
mov r8, rcx
mov r10, [rbp+arg_0]
mov ecx, [rax+0Ch]
or ecx, [rdx+0Ch]
bt ecx, 0Dh
jb short loc_75504
cmp esi, r9d
mov ebx, r9d
cmovb ebx, esi
mov ecx, ebx
cm... | long long my_convert(
_DWORD *a1,
unsigned int a2,
long long a3,
long long a4,
unsigned int a5,
long long a6,
_DWORD *a7)
{
_DWORD *v9; // r8
unsigned int v10; // ebx
unsigned int v11; // ecx
unsigned int v12; // r14d
long long v13; // r15
char v14; /... | my_convert:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RAX,R9
MOV R9D,R8D
MOV R8,RCX
MOV R10,qword ptr [RBP + 0x10]
MOV ECX,dword ptr [RAX + 0xc]
OR ECX,dword ptr [RDX + 0xc]
BT ECX,0xd
JC 0x00175504
CMP ESI,R9D
MOV EBX,R9D
CMOVC EBX,ESI
MOV ECX,EBX
CMP EBX,0x4
JC 0x001754dd
LAB_001754be:
MOV R11D,dwo... |
ulong my_convert(uint *param_1,uint param_2,long param_3,uint *param_4,uint param_5,long param_6,
int4 *param_7)
{
int iVar1;
ulong uVar2;
uint uVar3;
uint uVar5;
int iVar6;
long lVar7;
ulong uVar4;
uVar2 = (ulong)param_5;
if (((*(uint *)(param_6 + 0xc) | *(uint *)(param_3 + 0xc))... | |
26,741 | nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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, ... | hkr04[P]cpp-mcp/common/json.hpp | iterator find(const key_type& key)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O0 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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, ... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findERSH_:
sub rsp, 38h
mov [rsp+38h+var_10], rdi
mov [rsp+38h+var_18], rsi
mov rdi, [rsp+38h+var_10]
m... | long long nlohmann::json_abi_v3_11_3::ordered_map<std::string,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>,std::less<void>,std::allocator<s... | find:
SUB RSP,0x38
MOV qword ptr [RSP + 0x28],RDI
MOV qword ptr [RSP + 0x20],RSI
MOV RDI,qword ptr [RSP + 0x28]
MOV qword ptr [RSP + 0x10],RDI
CALL 0x0016b590
MOV qword ptr [RSP + 0x30],RAX
LAB_001a62c2:
MOV RDI,qword ptr [RSP + 0x10]
CALL 0x0016b5c0
MOV qword ptr [RSP + 0x18],RAX
LEA RDI,[RSP + 0x30]
LEA RSI,[RSP + 0x... |
/* nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::string,
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all... | |
26,742 | strmake_root | eloqsql/mysys/my_alloc.c | char *strmake_root(MEM_ROOT *root, const char *str, size_t len)
{
char *pos;
if ((pos=alloc_root(root,len+1)))
{
if (len)
memcpy(pos,str,len);
pos[len]=0;
}
return pos;
} | O0 | c | strmake_root:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
addq $0x1, %rsi
callq 0xf4f90
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0xf5893
cmpq $0x0, -0x18(%rbp)
je 0xf5887
movq -0x20(%rbp), %rdi
movq -0x10(%... | strmake_root:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rdi, [rbp+var_8]
mov rsi, [rbp+var_18]
add rsi, 1
call alloc_root
mov [rbp+var_20], rax
cmp rax, 0
jz short loc_F5893
cmp [rbp+var_18], 0
jz s... | char * strmake_root(_QWORD **a1, long long a2, long long a3)
{
char *v4; // [rsp+0h] [rbp-20h]
v4 = alloc_root(a1, a3 + 1);
if ( v4 )
{
if ( a3 )
memcpy(v4, a2, a3);
v4[a3] = 0;
}
return v4;
}
| strmake_root:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RDI,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RBP + -0x18]
ADD RSI,0x1
CALL 0x001f4f90
MOV qword ptr [RBP + -0x20],RAX
CMP RAX,0x0
JZ 0x001f5893
CMP qword ptr [RBP + -0x18],... |
void * strmake_root(int8 param_1,void *param_2,size_t param_3)
{
void *__dest;
__dest = (void *)alloc_root(param_1,param_3 + 1);
if (__dest != (void *)0x0) {
if (param_3 != 0) {
memcpy(__dest,param_2,param_3);
}
*(int1 *)((long)__dest + param_3) = 0;
}
return __dest;
}
| |
26,743 | ma_keyseg_write | eloqsql/storage/maria/ma_open.c | my_bool _ma_keyseg_write(File file, const HA_KEYSEG *keyseg)
{
uchar buff[HA_KEYSEG_SIZE];
uchar *ptr=buff;
ulong pos;
*ptr++= keyseg->type;
*ptr++= keyseg->language & 0xFF; /* Collation ID, low byte */
*ptr++= keyseg->null_bit;
*ptr++= keyseg->bit_start;
*ptr++= keyseg->language >> 8; /* Collation ID,... | O3 | c | ma_keyseg_write:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movl %edi, %ebx
movq %fs:0x28, %rax
movq %rax, -0x18(%rbp)
movb 0x18(%rsi), %al
movb %al, -0x30(%rbp)
movzwl 0x16(%rsi), %eax
movb %al, -0x2f(%rbp)
movb 0x19(%rsi), %cl
movb %cl, -0x2e(%rbp)
movb 0x1a(%rsi), %dl
movb %dl, -0x2d(%rbp)
mov... | _ma_keyseg_write:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 70h
mov ebx, edi
mov rax, fs:28h
mov [rbp+var_18], rax
mov al, [rsi+18h]
mov [rbp+var_30], al
movzx eax, word ptr [rsi+16h]
mov [rbp+var_2F], al
mov cl, [rsi+19h]
mov [rbp+var_2E], cl
mov dl, [rsi+1... | bool ma_keyseg_write(unsigned int a1, long long a2)
{
__int16 v2; // ax
unsigned int v3; // eax
long long v4; // rax
long long v5; // rax
_BYTE v7[72]; // [rsp+0h] [rbp-80h] BYREF
long long v8; // [rsp+48h] [rbp-38h] BYREF
_BYTE v9[2]; // [rsp+50h] [rbp-30h] BYREF
char v10; // [rsp+52h] [rbp-2Eh]
cha... | _ma_keyseg_write:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x70
MOV EBX,EDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
MOV AL,byte ptr [RSI + 0x18]
MOV byte ptr [RBP + -0x30],AL
MOVZX EAX,word ptr [RSI + 0x16]
MOV byte ptr [RBP + -0x2f],AL
MOV CL,byte ptr [RSI + 0x19]
MOV byte ptr [RBP + -0x2e],C... |
bool _ma_keyseg_write(int4 param_1,long param_2)
{
uint uVar1;
long lVar2;
long in_FS_OFFSET;
int1 local_88 [72];
long local_40;
int1 local_38;
int1 local_37;
char local_36;
int1 local_35;
int1 local_34;
int1 local_33;
ushort local_32;
ushort local_30;
uint local_2e;
uint local_2a;
lon... | |
26,744 | js_iterator_helper_finalizer | bluesky950520[P]quickjs/quickjs.c | static void js_iterator_helper_finalizer(JSRuntime *rt, JSValue val)
{
JSObject *p = JS_VALUE_GET_OBJ(val);
JSIteratorHelperData *it = p->u.iterator_helper_data;
if (it) {
JS_FreeValueRT(rt, it->obj);
JS_FreeValueRT(rt, it->func);
JS_FreeValueRT(rt, it->next);
JS_FreeValueRT(... | O0 | c | js_iterator_helper_finalizer:
subq $0x28, %rsp
movq %rsi, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
movq %rdi, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
je 0x61e56
movq 0x10(%rsp), %rdi
movq (%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), ... | js_iterator_helper_finalizer:
sub rsp, 28h
mov [rsp+28h+var_10], rsi
mov [rsp+28h+var_8], rdx
mov [rsp+28h+var_18], rdi
mov rax, [rsp+28h+var_10]
mov [rsp+28h+var_20], rax
mov rax, [rsp+28h+var_20]
mov rax, [rax+30h]
mov [rsp+28h+var_28], rax
cmp [rsp+28h+var_28], 0
jz short... | void js_iterator_helper_finalizer(long long a1, long long a2)
{
long long v2; // [rsp+0h] [rbp-28h]
v2 = *(_QWORD *)(a2 + 48);
if ( v2 )
{
JS_FreeValueRT(a1, *(_DWORD **)v2, *(_QWORD *)(v2 + 8));
JS_FreeValueRT(a1, *(_DWORD **)(v2 + 32), *(_QWORD *)(v2 + 40));
JS_FreeValueRT(a1, *(_DWORD **)(v2 + ... | js_iterator_helper_finalizer:
SUB RSP,0x28
MOV qword ptr [RSP + 0x18],RSI
MOV qword ptr [RSP + 0x20],RDX
MOV qword ptr [RSP + 0x10],RDI
MOV RAX,qword ptr [RSP + 0x18]
MOV qword ptr [RSP + 0x8],RAX
MOV RAX,qword ptr [RSP + 0x8]
MOV RAX,qword ptr [RAX + 0x30]
MOV qword ptr [RSP],RAX
CMP qword ptr [RSP],0x0
JZ 0x00161e56
... |
void js_iterator_helper_finalizer(int8 param_1,long param_2)
{
int8 *puVar1;
puVar1 = *(int8 **)(param_2 + 0x30);
if (puVar1 != (int8 *)0x0) {
JS_FreeValueRT(param_1,*puVar1,puVar1[1]);
JS_FreeValueRT(param_1,puVar1[4],puVar1[5]);
JS_FreeValueRT(param_1,puVar1[2],puVar1[3]);
JS_FreeValueRT(pa... | |
26,745 | js_iterator_helper_finalizer | bluesky950520[P]quickjs/quickjs.c | static void js_iterator_helper_finalizer(JSRuntime *rt, JSValue val)
{
JSObject *p = JS_VALUE_GET_OBJ(val);
JSIteratorHelperData *it = p->u.iterator_helper_data;
if (it) {
JS_FreeValueRT(rt, it->obj);
JS_FreeValueRT(rt, it->func);
JS_FreeValueRT(rt, it->next);
JS_FreeValueRT(... | O2 | c | js_iterator_helper_finalizer:
pushq %r14
pushq %rbx
pushq %rax
movq 0x30(%rsi), %rbx
testq %rbx, %rbx
je 0x37a78
movq %rdi, %r14
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x1bbe1
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq %r14, %rdi
callq 0x1bbe1
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movq %r14, %rdi
call... | js_iterator_helper_finalizer:
push r14
push rbx
push rax
mov rbx, [rsi+30h]
test rbx, rbx
jz short loc_37A78
mov r14, rdi
mov rsi, [rbx]
mov rdx, [rbx+8]
call JS_FreeValueRT
mov rsi, [rbx+20h]
mov rdx, [rbx+28h]
mov rdi, r14
call JS_FreeValueRT
mov rsi, [rbx+10h]
m... | long long js_iterator_helper_finalizer(long long a1, long long a2)
{
long long v2; // rbx
long long result; // rax
v2 = *(_QWORD *)(a2 + 48);
if ( v2 )
{
JS_FreeValueRT(a1, *(unsigned int **)v2, *(_QWORD *)(v2 + 8));
JS_FreeValueRT(a1, *(unsigned int **)(v2 + 32), *(_QWORD *)(v2 + 40));
JS_FreeV... | js_iterator_helper_finalizer:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,qword ptr [RSI + 0x30]
TEST RBX,RBX
JZ 0x00137a78
MOV R14,RDI
MOV RSI,qword ptr [RBX]
MOV RDX,qword ptr [RBX + 0x8]
CALL 0x0011bbe1
MOV RSI,qword ptr [RBX + 0x20]
MOV RDX,qword ptr [RBX + 0x28]
MOV RDI,R14
CALL 0x0011bbe1
MOV RSI,qword ptr [RBX + 0x10]
MO... |
void js_iterator_helper_finalizer(int8 param_1,long param_2)
{
int8 *puVar1;
puVar1 = *(int8 **)(param_2 + 0x30);
if (puVar1 != (int8 *)0x0) {
JS_FreeValueRT(param_1,*puVar1,puVar1[1]);
JS_FreeValueRT(param_1,puVar1[4],puVar1[5]);
JS_FreeValueRT(param_1,puVar1[2],puVar1[3]);
JS_FreeValueRT(pa... | |
26,746 | nglog::LogMessage::LogMessage(char const*, int, nglog::internal::CheckOpString const&) | ng-log[P]ng-log/src/logging.cc | LogMessage::LogMessage(const char* file, int line,
const internal::CheckOpString& result)
: allocated_(nullptr) {
Init(file, line, NGLOG_FATAL, &LogMessage::SendToLog);
stream() << "Check failed: " << (*result.str_) << " ";
} | O3 | cpp | nglog::LogMessage::LogMessage(char const*, int, nglog::internal::CheckOpString const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq $0x0, (%rdi)
addq $0x10, %rdi
callq 0xf28a
leaq 0x63(%rip), %r8 # 0xb0ea
movq %r15, %rdi
movq %r14, ... | _ZN5nglog10LogMessageC2EPKciRKNS_8internal13CheckOpStringE:
push rbp; Alternative name is 'nglog::LogMessage::LogMessage(char const*, int, nglog::internal::CheckOpString const&)'
push r15
push r14
push rbx
push rax
mov rbx, rcx
mov ebp, edx
mov r14, rsi
mov r15, rdi
mov qword ptr [rdi... | long long nglog::LogMessage::LogMessage(_QWORD *a1, nglog::tools *a2, int a3, _QWORD **a4)
{
long long v6; // r14
long long v7; // rax
*a1 = 0LL;
nglog::LogMessageTime::LogMessageTime((nglog::LogMessageTime *)(a1 + 2));
nglog::LogMessage::Init((long long)a1, a2, a3, 3, (long long)nglog::LogMessage::SendToLo... | LogMessage:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RCX
MOV EBP,EDX
MOV R14,RSI
MOV R15,RDI
MOV qword ptr [RDI],0x0
ADD RDI,0x10
CALL 0x0010f28a
LEA R8,[0x10b0ea]
MOV RDI,R15
MOV RSI,R14
MOV EDX,EBP
MOV ECX,0x3
XOR R9D,R9D
CALL 0x0010aa02
MOV R14D,0x7538
ADD R14,qword ptr [R15 + 0x8]
LEA RSI,[0x123892]
MOV... |
/* nglog::LogMessage::LogMessage(char const*, int, nglog::internal::CheckOpString const&) */
void __thiscall
nglog::LogMessage::LogMessage(LogMessage *this,char *param_1,int param_2,CheckOpString *param_3)
{
long lVar1;
ostream *poVar2;
*(int8 *)this = 0;
LogMessageTime::LogMessageTime((LogMessageTime *)(... | |
26,747 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | void push_back(initializer_list_t init)
{
if (is_object() && init.size() == 2 && (*init.begin())->is_string())
{
basic_json&& key = init.begin()->moved_or_copied();
push_back(typename object_t::value_type(
std::move(key.get_ref<string_t&>()), (init.b... | O1 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE9push_backESt16initializer_listINS0_6detail8json_refISD_EEE:
push r15
push r14
push rbx
sub rsp, 50h
mov r14, rsi
mov rbx, rdi
cmp by... | 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>::push_back(
_BYTE *a1,
long long a2,
long long a3)
{
_BYTE... | push_back:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x50
MOV R14,RSI
MOV RBX,RDI
CMP byte ptr [RDI],0x1
SETZ AL
CMP RDX,0x2
SETZ CL
AND CL,AL
CMP CL,0x1
JNZ 0x00164a75
MOV RAX,qword ptr [R14 + 0x10]
TEST RAX,RAX
CMOVZ RAX,R14
CMP byte ptr [RAX],0x3
JNZ 0x00164a75
LEA R15,[RSP + 0x10]
MOV RDI,R15
MOV RSI,R14
CALL 0x00185f46
L... |
/* 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_back(std::initializer_... | |
26,748 | 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 0x2a954
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x10, %rdi
callq 0x2ba10
leaq 0x38(%rbx), %rdi
xorl %esi, %esi
callq 0x2d27b
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x25ad2
retq
| my_dirend:
test rdi, rdi
jz short locret_2A954
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_2A954:
retn
| long long my_dirend(long long a1)
{
long long result; // rax
if ( a1 )
{
delete_dynamic(a1 + 16);
free_root(a1 + 56, 0LL);
return my_free(a1);
}
return result;
}
| my_dirend:
TEST RDI,RDI
JZ 0x0012a954
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
ADD RDI,0x10
CALL 0x0012ba10
LEA RDI,[RBX + 0x38]
XOR ESI,ESI
CALL 0x0012d27b
MOV RDI,RBX
ADD RSP,0x8
POP RBX
POP RBP
JMP 0x00125ad2
LAB_0012a954:
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;
}
| |
26,749 | test_if_reopen | eloqsql/storage/myisam/mi_open.c | MI_INFO *test_if_reopen(char *filename)
{
LIST *pos;
for (pos=myisam_open_list ; pos ; pos=pos->next)
{
MI_INFO *info=(MI_INFO*) pos->data;
MYISAM_SHARE *share=info->s;
DBUG_ASSERT(strcmp(share->unique_file_name,filename) ||
share->last_version);
if (!strcmp(share->unique_file_nam... | O0 | c | test_if_reopen:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
leaq 0xbd039d(%rip), %rax # 0xc856d0
movq (%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xb539b
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq %rax, -0... | test_if_reopen:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
lea rax, myisam_open_list
mov rax, [rax]
mov [rbp+var_18], rax
loc_B533A:
cmp [rbp+var_18], 0
jz short loc_B539B
mov rax, [rbp+var_18]
mov rax, [rax+10h]
mov [rbp+var_20], rax
mov rax, [rbp+var_2... | long long * test_if_reopen(long long a1)
{
long long v2; // [rsp+8h] [rbp-28h]
long long *v3; // [rsp+10h] [rbp-20h]
long long i; // [rsp+18h] [rbp-18h]
for ( i = myisam_open_list; i; i = *(_QWORD *)(i + 8) )
{
v3 = *(long long **)(i + 16);
v2 = *v3;
if ( !(unsigned int)strcmp(*(_QWORD *)(*v3 + 6... | test_if_reopen:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
LEA RAX,[0xd856d0]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
LAB_001b533a:
CMP qword ptr [RBP + -0x18],0x0
JZ 0x001b539b
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x10]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,... |
long * test_if_reopen(char *param_1)
{
long *plVar1;
long lVar2;
int iVar3;
long local_20;
local_20 = myisam_open_list;
while( true ) {
if (local_20 == 0) {
return (long *)0x0;
}
plVar1 = *(long **)(local_20 + 0x10);
lVar2 = *plVar1;
iVar3 = strcmp(*(char **)(lVar2 + 600),para... | |
26,750 | ma_ft_convert_to_ft2 | eloqsql/storage/maria/ma_ft_update.c | my_bool _ma_ft_convert_to_ft2(MARIA_HA *info, MARIA_KEY *key)
{
MARIA_SHARE *share= info->s;
my_off_t root;
DYNAMIC_ARRAY *da=info->ft1_to_ft2;
MARIA_KEYDEF *keyinfo=&share->ft2_keyinfo;
uchar *key_ptr= (uchar*) dynamic_array_ptr(da, 0), *end;
uint length, key_length;
MARIA_PINNED_PAGE tmp_page_link, *pag... | O0 | c | ma_ft_convert_to_ft2:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x320(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x20(%rbp), %rax
addq $0x458, %rax # imm = 0x458
movq %rax... | _ma_ft_convert_to_ft2:
push rbp
mov rbp, rsp
sub rsp, 0E0h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_10]
mov rax, [rax]
mov [rbp+var_20], rax
mov rax, [rbp+var_10]
mov rax, [rax+320h]
mov [rbp+var_30], rax
mov rax, [rbp+var_20]
add rax, 458h
mov ... | bool ma_ft_convert_to_ft2(long long *a1, long long *a2)
{
int v2; // eax
int v4; // [rsp+8h] [rbp-D8h]
unsigned int v5; // [rsp+14h] [rbp-CCh]
_BYTE v6[56]; // [rsp+18h] [rbp-C8h] BYREF
_QWORD v7[2]; // [rsp+50h] [rbp-90h] BYREF
int v8; // [rsp+60h] [rbp-80h]
int v9; // [rsp+64h] [rbp-7Ch]
int v10; // ... | _ma_ft_convert_to_ft2:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xe0
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x320]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword p... |
int1 _ma_ft_convert_to_ft2(long *param_1,long *param_2)
{
char cVar1;
int iVar2;
ulong uVar3;
ulong extraout_RDX;
int1 local_d0 [56];
ulong local_98;
long local_90;
uint local_88;
int4 local_84;
int4 local_80;
int1 *local_78;
int1 local_70 [24];
uint local_58;
uint local_54;
ulong local_... | |
26,751 | my_mb_wc_eucjpms | eloqsql/strings/ctype-eucjpms.c | static int
my_mb_wc_eucjpms(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t *pwc, const uchar *s, const uchar *e)
{
int hi;
if (s >= e)
return MY_CS_TOOSMALL;
if ((hi= s[0]) < 0x80) /* ASCII code set: [00..7F] -> [U+0000..U+007F] */
{
*pwc= hi;
return 1;
}
if (hi >= 0xA1 &&... | O3 | c | my_mb_wc_eucjpms:
pushq %rbp
movq %rsp, %rbp
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rcx, %rdx
jae 0xaf422
movzbl (%rdx), %edi
testb %dil, %dil
js 0xaf424
movq %rdi, (%rsi)
movl $0x1, %eax
popq %rbp
retq
leal 0x5f(%rdi), %eax
cmpb $0x5d, %al
ja 0xaf470
leaq 0x2(%rdx), %r8
movl $0xffffff9a, %eax # im... | my_mb_wc_eucjpms:
push rbp
mov rbp, rsp
mov eax, 0FFFFFF9Bh
cmp rdx, rcx
jnb short loc_AF422
movzx edi, byte ptr [rdx]
test dil, dil
js short loc_AF424
mov [rsi], rdi
mov eax, 1
loc_AF422:
pop rbp
retn
loc_AF424:
lea eax, [rdi+5Fh]
cmp al, 5Dh ; ']'
ja short loc_AF4... | long long my_mb_wc_eucjpms(long long a1, _QWORD *a2, unsigned __int8 *a3, unsigned long long a4)
{
long long result; // rax
long long v5; // rdi
long long v6; // rcx
long long v7; // rcx
long long v8; // rcx
unsigned __int8 v9; // cl
result = 4294967195LL;
if ( (unsigned long long)a3 >= a4 )
retur... | my_mb_wc_eucjpms:
PUSH RBP
MOV RBP,RSP
MOV EAX,0xffffff9b
CMP RDX,RCX
JNC 0x001af422
MOVZX EDI,byte ptr [RDX]
TEST DIL,DIL
JS 0x001af424
MOV qword ptr [RSI],RDI
MOV EAX,0x1
LAB_001af422:
POP RBP
RET
LAB_001af424:
LEA EAX,[RDI + 0x5f]
CMP AL,0x5d
JA 0x001af470
LEA R8,[RDX + 0x2]
MOV EAX,0xffffff9a
CMP R8,RCX
JA 0x001af4... |
int my_mb_wc_eucjpms(int8 param_1,ulong *param_2,byte *param_3,byte *param_4)
{
byte bVar1;
ushort uVar2;
int iVar3;
iVar3 = -0x65;
if (param_3 < param_4) {
bVar1 = *param_3;
if ((char)bVar1 < '\0') {
if ((byte)(bVar1 + 0x5f) < 0x5e) {
iVar3 = -0x66;
if (param_3 + 2 <= param... | |
26,752 | nlohmann::json_abi_v3_11_3::detail::out_of_range nlohmann::json_abi_v3_11_3::detail::out_of_range::create<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::a... | monkey531[P]llama/common/json.hpp | static out_of_range create(int id_, const std::string& what_arg, BasicJsonContext context)
{
const std::string w = concat(exception::name("out_of_range", id_), exception::diagnostics(context), what_arg);
return {id_, w.c_str()};
} | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::out_of_range nlohmann::json_abi_v3_11_3::detail::out_of_range::create<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::a... | _ZN8nlohmann16json_abi_v3_11_36detail12out_of_range6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
push rbp
push r15
push r14
push ... | nlohmann::json_abi_v3_11_3::detail::exception * ZN8nlohmann16json_abi_v3_11_36detail12out_of_range6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC... | _ZN8nlohmann16json_abi_v3_11_36detail12out_of_range6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH ... |
exception *
_ZN8nlohmann16json_abi_v3_11_36detail12out_of_range6createIPNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEETnNSt9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSC_SJ_
(exception *param_1... | |
26,753 | blst_fp_from_lendian | corpus-core[P]colibri-stateless/build_O3/_deps/blst-src/src/exports.c | void blst_fp_from_lendian(vec384 ret, const unsigned char a[48])
{
vec384 out;
limbs_from_le_bytes(out, a, sizeof(vec384));
mul_fp(ret, out, BLS12_381_RR);
} | O3 | c | blst_fp_from_lendian:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl $0x2f, %eax
xorl %ecx, %ecx
shlq $0x8, %rcx
movzbl (%rsi,%rax), %edx
orq %rdx, %rcx
movq %rax, %rdx
andq $-0x8, %rdx
movq %rcx, -0x30(%rbp,%rdx)
addq $-0x1, %rax
jb 0x6380b
leaq 0x27361(%rip), %rdx # 0x8ab90
leaq 0x270da(%rip), %rcx # 0x8a91... | blst_fp_from_lendian:
push rbp
mov rbp, rsp
sub rsp, 30h
mov eax, 2Fh ; '/'
xor ecx, ecx
loc_6380B:
shl rcx, 8
movzx edx, byte ptr [rsi+rax]
or rcx, rdx
mov rdx, rax
and rdx, 0FFFFFFFFFFFFFFF8h
mov [rbp+rdx+var_30], rcx
add rax, 0FFFFFFFFFFFFFFFFh
jb short loc_6380B
le... | long long blst_fp_from_lendian(long long a1, long long a2)
{
long long v2; // rax
unsigned long long v3; // rcx
_QWORD v6[6]; // [rsp+0h] [rbp-30h] BYREF
v2 = 47LL;
v3 = 0LL;
do
{
v3 = *(unsigned __int8 *)(a2 + v2) | (v3 << 8);
*(_QWORD *)((char *)v6 + (v2 & 0xFFFFFFFFFFFFFFF8LL)) = v3;
}
wh... | blst_fp_from_lendian:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV EAX,0x2f
XOR ECX,ECX
LAB_0016380b:
SHL RCX,0x8
MOVZX EDX,byte ptr [RSI + RAX*0x1]
OR RCX,RDX
MOV RDX,RAX
AND RDX,-0x8
MOV qword ptr [RBP + RDX*0x1 + -0x30],RCX
ADD RAX,-0x1
JC 0x0016380b
LEA RDX,[0x18ab90]
LEA RCX,[0x18a910]
LEA RSI,[RBP + -0x30]
MOV R8,-0x760... |
void blst_fp_from_lendian(int8 param_1,long param_2)
{
ulong uVar1;
ulong uVar2;
bool bVar3;
ulong local_38 [6];
uVar1 = 0x2f;
uVar2 = 0;
do {
uVar2 = uVar2 << 8 | (ulong)*(byte *)(param_2 + uVar1);
*(ulong *)((long)local_38 + (uVar1 & 0xfffffffffffffff8)) = uVar2;
bVar3 = uVar1 != 0;
... | |
26,754 | ggml_vec_scale_f32 | 7CodeWizard[P]stablediffusion/ggml/src/ggml.c | inline static void ggml_vec_scale_f32(const int n, float * y, const float v) {
#if defined(GGML_USE_ACCELERATE)
vDSP_vsmul(y, 1, &v, y, 1, n);
#elif defined(GGML_SIMD)
const int np = (n & ~(GGML_F32_STEP - 1));
GGML_F32_VEC vx = GGML_F32_VEC_SET1(v);
GGML_F32_VEC ay[GGML_F32_ARR];
for (int i = ... | O2 | c | ggml_vec_scale_f32:
movl %edi, %eax
andl $-0x20, %eax
vbroadcastss %xmm0, %ymm1
cltq
xorl %ecx, %ecx
movq %rsi, %rdx
cmpq %rax, %rcx
jge 0x8ce16
xorl %r8d, %r8d
cmpq $0x80, %r8
je 0x8ce0c
vmulps (%rdx,%r8), %ymm1, %ymm2
vmovups %ymm2, (%rdx,%r8)
addq $0x20, %r8
jmp 0x8cdf1
addq $0x20, %rcx
subq $-0x80, %rdx
jmp 0x8cde9... | ggml_vec_scale_f32:
mov eax, edi
and eax, 0FFFFFFE0h
vbroadcastss ymm1, xmm0
cdqe
xor ecx, ecx
mov rdx, rsi
loc_8CDE9:
cmp rcx, rax
jge short loc_8CE16
xor r8d, r8d
loc_8CDF1:
cmp r8, 80h
jz short loc_8CE0C
vmulps ymm2, ymm1, ymmword ptr [rdx+r8]
vmovups ymmword ptr [rdx+r8], ymm2
... | long long ggml_vec_scale_f32(int a1, long long _RSI, __m128 _XMM0)
{
long long result; // rax
long long v5; // rcx
__asm { vbroadcastss ymm1, xmm0 }
result = (int)(a1 & 0xFFFFFFE0);
v5 = 0LL;
_RDX = _RSI;
while ( v5 < result )
{
for ( _R8 = 0LL; _R8 != 128; _R8 += 32LL )
{
__asm
{
... | ggml_vec_scale_f32:
MOV EAX,EDI
AND EAX,0xffffffe0
VBROADCASTSS YMM1,XMM0
CDQE
XOR ECX,ECX
MOV RDX,RSI
LAB_0018cde9:
CMP RCX,RAX
JGE 0x0018ce16
XOR R8D,R8D
LAB_0018cdf1:
CMP R8,0x80
JZ 0x0018ce0c
VMULPS YMM2,YMM1,ymmword ptr [RDX + R8*0x1]
VMOVUPS ymmword ptr [RDX + R8*0x1],YMM2
ADD R8,0x20
JMP 0x0018cdf1
LAB_0018ce0c:... |
void ggml_vec_scale_f32(float param_1,uint param_2,long param_3)
{
float *pfVar1;
float *pfVar2;
float fVar3;
float fVar4;
float fVar5;
float fVar6;
float fVar7;
float fVar8;
long lVar9;
long lVar10;
long lVar11;
long lVar12;
float in_register_0000129c;
lVar9 = (long)(int)(param_2 & 0xf... | |
26,755 | finish_resize_simple_key_cache | eloqsql/mysys/mf_keycache.c | static
void finish_resize_simple_key_cache(SIMPLE_KEY_CACHE_CB *keycache)
{
DBUG_ENTER("finish_resize_simple_key_cache");
mysql_mutex_assert_owner(&keycache->cache_lock);
/*
Mark the resize finished. This allows other threads to start a
resize or to request new cache blocks.
*/
keycache->in_r... | O3 | c | finish_resize_simple_key_cache:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb $0x0, 0x1(%rdi)
addq $0x108, %rdi # imm = 0x108
callq 0x99c49
movq 0x100(%rbx), %rdi
testq %rdi, %rdi
jne 0x9b12c
addq $0xc0, %rbx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x291c0
leaq 0x2eced... | finish_resize_simple_key_cache:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov byte ptr [rdi+1], 0
add rdi, 108h
call release_whole_queue
mov rdi, [rbx+100h]
test rdi, rdi
jnz short loc_9B12C
loc_9B117:
add rbx, 0C0h
mov rdi, rbx
add rsp, 8
pop rbx
pop ... | long long finish_resize_simple_key_cache(long long a1)
{
long long v2; // rdi
*(_BYTE *)(a1 + 1) = 0;
release_whole_queue((long long *)(a1 + 264));
v2 = *(_QWORD *)(a1 + 256);
if ( v2 )
((void ( *)(long long))PSI_server[44])(v2);
return pthread_mutex_unlock(a1 + 192);
}
| finish_resize_simple_key_cache:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV byte ptr [RDI + 0x1],0x0
ADD RDI,0x108
CALL 0x00199c49
MOV RDI,qword ptr [RBX + 0x100]
TEST RDI,RDI
JNZ 0x0019b12c
LAB_0019b117:
ADD RBX,0xc0
MOV RDI,RBX
ADD RSP,0x8
POP RBX
POP RBP
JMP 0x001291c0
LAB_0019b12c:
LEA RAX,[0x488010]
MOV... |
void finish_resize_simple_key_cache(long param_1)
{
*(int1 *)(param_1 + 1) = 0;
release_whole_queue(param_1 + 0x108);
if (*(long *)(param_1 + 0x100) != 0) {
(**(code **)(PSI_server + 0x160))();
}
pthread_mutex_unlock((pthread_mutex_t *)(param_1 + 0xc0));
return;
}
| |
26,756 | hi0bits | eloqsql/strings/dtoa.c | static int hi0bits(register ULong x)
{
register int k= 0;
if (!(x & 0xffff0000))
{
k= 16;
x<<= 16;
}
if (!(x & 0xff000000))
{
k+= 8;
x<<= 8;
}
if (!(x & 0xf0000000))
{
k+= 4;
x<<= 4;
}
if (!(x & 0xc0000000))
{
k+= 2;
x<<= 2;
}
if (!(x & 0x80000000))
{
k... | O3 | c | hi0bits:
pushq %rbp
movq %rsp, %rbp
movl %edi, %eax
shll $0x10, %eax
xorl %ecx, %ecx
cmpl $0x10000, %edi # imm = 0x10000
setb %cl
cmovael %edi, %eax
shll $0x4, %ecx
movl %eax, %edx
shll $0x8, %edx
cmpl $0x1000000, %eax # imm = 0x1000000
cmovael %eax, %edx
leal 0x8(%rcx), %eax
cmovael %ecx, %eax
movl %ed... | hi0bits:
push rbp
mov rbp, rsp
mov eax, edi
shl eax, 10h
xor ecx, ecx
cmp edi, offset stru_10000
setb cl
cmovnb eax, edi
shl ecx, 4
mov edx, eax
shl edx, 8
cmp eax, 1000000h
cmovnb edx, eax
lea eax, [rcx+8]
cmovnb eax, ecx
mov ecx, edx
shl ecx, 4
cmp edx, 100... | long long hi0bits(unsigned int a1)
{
unsigned int v1; // eax
unsigned int v2; // edx
bool v3; // cf
int v4; // eax
unsigned int v5; // ecx
bool v6; // cf
int v7; // edx
int v8; // esi
bool v9; // cf
unsigned int v10; // ecx
long long result; // rax
v1 = a1 << 16;
if ( a1 >= (unsigned int)&st... | hi0bits:
PUSH RBP
MOV RBP,RSP
MOV EAX,EDI
SHL EAX,0x10
XOR ECX,ECX
CMP EDI,0x10000
SETC CL
CMOVNC EAX,EDI
SHL ECX,0x4
MOV EDX,EAX
SHL EDX,0x8
CMP EAX,0x1000000
CMOVNC EDX,EAX
LEA EAX,[RCX + 0x8]
CMOVNC EAX,ECX
MOV ECX,EDX
SHL ECX,0x4
CMP EDX,0x10000000
CMOVNC ECX,EDX
LEA EDX,[RAX + 0x4]
CMOVNC EDX,EAX
LEA ESI,[RCX*0x4]... |
int hi0bits(uint param_1)
{
uint uVar1;
uint uVar2;
int iVar3;
int iVar4;
uVar2 = param_1 << 0x10;
if (param_1 >= 0x10000) {
uVar2 = param_1;
}
iVar4 = (uint)(param_1 < 0x10000) * 0x10;
uVar1 = uVar2 << 8;
if (0xffffff < uVar2) {
uVar1 = uVar2;
}
iVar3 = iVar4 + 8;
if (0xffffff < ... | |
26,757 | 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>::json_value::json_... | llama.cpp/common/json.hpp | json_value(value_t t)
{
switch (t)
{
case value_t::object:
{
object = create<object_t>();
break;
}
case value_t::array:
{
array = create<array_t>()... | 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>::json_value::json_... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE10json_valueC2ENS0_6detail7value_tE:
push rbx
mov rbx, rdi
cmp esi, 8; switch 9 cases
ja short def_7391B; jumptable 000000000007391B default case, cases 0... | long long 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>::json_value::json_value(
_BYTE *a1,
unsigned int a2)
{
long long result; // rax
result = a2;
... | json_value:
PUSH RBX
MOV RBX,RDI
CMP ESI,0x8
JA 0x0017391d
MOV EAX,ESI
LEA RCX,[0x212770]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_0:
MOV qword ptr [RBX],0x0
JMP 0x00173996
caseD_1:
MOV EDI,0x30
CALL 0x00120210
LEA RCX,[RAX + 0x8]
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RAX],XMM0
XOR EDX,EDX
... |
/* 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>::json_value::json_value(nlohmann::json_abi_v3_11_3::detail::va... | |
26,758 | 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... | hkr04[P]cpp-mcp/common/json.hpp | iterator end() noexcept
{
iterator result(this);
result.set_end();
return result;
} | O1 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE3endEv:
mov rax, rdi
mov rdi, 8000000000000000h
mov [rax], rsi
lea rcx, [rax+8]
xorps xmm0, xmm0
movups xmmword ptr [rax+8], xmm0
mov [... | _QWORD * nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::end(
_QWORD *a1,
unsigned __int8 *a2)
{
_QWORD *result; // rax
_Q... | end:
MOV RAX,RDI
MOV RDI,-0x8000000000000000
MOV qword ptr [RAX],RSI
LEA RCX,[RAX + 0x8]
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RAX + 0x8],XMM0
MOV qword ptr [RAX + 0x18],RDI
MOVZX EDX,byte ptr [RSI]
CMP EDX,0x2
JZ 0x0010f9b3
CMP EDX,0x1
JNZ 0x0010f9bd
MOV qword ptr [RCX],0x0
JMP 0x0010f9c1
LAB_0010f9b3:
MOV qword ptr [RA... |
/* 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>::end() */
void nlohmann::json_... | |
26,759 | common_arg::get_value_from_env(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) | llama.cpp/common/arg.cpp | bool common_arg::get_value_from_env(std::string & output) {
if (env == nullptr) return false;
char * value = std::getenv(env);
if (value) {
output = value;
return true;
}
return false;
} | O3 | cpp | common_arg::get_value_from_env(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&):
movq 0x88(%rdi), %rdi
testq %rdi, %rdi
je 0x295e6
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
callq 0x20ce0
testq %rax, %rax
je 0x295e9
movq %rax, %r14
movq 0x8(%rbx), %r15
movq %rax, %rdi
callq 0x20680... | _ZN10common_arg18get_value_from_envERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
mov rdi, [rdi+88h]
test rdi, rdi
jz short loc_295E6
push r15
push r14
push rbx
mov rbx, rsi
call _getenv
test rax, rax
jz short loc_295E9
mov r14, rax
mov r15, [rbx+8]
mov rdi, rax
... | char common_arg::get_value_from_env(long long a1, long long a2)
{
long long v2; // rax
long long v3; // r14
long long v4; // r15
long long v5; // rax
if ( !*(_QWORD *)(a1 + 136) )
return 0;
v2 = getenv();
if ( !v2 )
return 0;
v3 = v2;
v4 = *(_QWORD *)(a2 + 8);
v5 = strlen(v2);
std::strin... | get_value_from_env:
MOV RDI,qword ptr [RDI + 0x88]
TEST RDI,RDI
JZ 0x001295e6
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RSI
CALL 0x00120ce0
TEST RAX,RAX
JZ 0x001295e9
MOV R14,RAX
MOV R15,qword ptr [RBX + 0x8]
MOV RDI,RAX
CALL 0x00120680
MOV RDI,RBX
XOR ESI,ESI
MOV RDX,R15
MOV RCX,R14
MOV R8,RAX
CALL 0x00120860
MOV AL,0x1
JMP ... |
/* common_arg::get_value_from_env(std::__cxx11::string&) */
bool __thiscall common_arg::get_value_from_env(common_arg *this,string *param_1)
{
char *pcVar1;
char *__s;
if (*(char **)(this + 0x88) == (char *)0x0) {
return false;
}
__s = getenv(*(char **)(this + 0x88));
if (__s != (char *)0x0) {
... | |
26,760 | parse_digits | bluesky950520[P]quickjs/libregexp.c | static int parse_digits(const uint8_t **pp, BOOL allow_overflow)
{
const uint8_t *p;
uint64_t v;
int c;
p = *pp;
v = 0;
for(;;) {
c = *p;
if (c < '0' || c > '9')
break;
v = v * 10 + c - '0';
if (v >= INT32_MAX) {
if (allow_overflow)
... | O0 | c | parse_digits:
movq %rdi, -0x10(%rsp)
movl %esi, -0x14(%rsp)
movq -0x10(%rsp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rsp)
movq $0x0, -0x28(%rsp)
movq -0x20(%rsp), %rax
movzbl (%rax), %eax
movl %eax, -0x2c(%rsp)
cmpl $0x30, -0x2c(%rsp)
jl 0x108249
cmpl $0x39, -0x2c(%rsp)
jle 0x10824b
jmp 0x10829b
imulq $0xa, -0x28(%rs... | parse_digits:
mov [rsp+var_10], rdi
mov [rsp+var_14], esi
mov rax, [rsp+var_10]
mov rax, [rax]
mov [rsp+var_20], rax
mov [rsp+var_28], 0
loc_10822F:
mov rax, [rsp+var_20]
movzx eax, byte ptr [rax]
mov [rsp+var_2C], eax
cmp [rsp+var_2C], 30h ; '0'
jl short loc_108249
cmp [r... | long long parse_digits(unsigned __int8 **a1, int a2)
{
unsigned long long v3; // [rsp+4h] [rbp-28h]
unsigned __int8 *v4; // [rsp+Ch] [rbp-20h]
v4 = *a1;
v3 = 0LL;
while ( 1 )
{
if ( *v4 < 0x30u || *v4 > 0x39u )
{
*a1 = v4;
return (unsigned int)v3;
}
v3 = *v4 + 10 * v3 - 48;
... | |||
26,761 | parse_digits | bluesky950520[P]quickjs/libregexp.c | static int parse_digits(const uint8_t **pp, BOOL allow_overflow)
{
const uint8_t *p;
uint64_t v;
int c;
p = *pp;
v = 0;
for(;;) {
c = *p;
if (c < '0' || c > '9')
break;
v = v * 10 + c - '0';
if (v >= INT32_MAX) {
if (allow_overflow)
... | O2 | c | parse_digits:
movq (%rdi), %rcx
xorl %edx, %edx
pushq $-0x1
popq %rax
movl $0x7fffffff, %r8d # imm = 0x7FFFFFFF
movzbl (%rcx), %r9d
leal -0x3a(%r9), %r10d
cmpb $-0xa, %r10b
jb 0x81e95
testl %esi, %esi
sete %r10b
imulq $0xa, %rdx, %rdx
addq %r9, %rdx
addq $-0x30, %rdx
cmpq $0x7fffffff, %rdx # imm = 0x7FFFFFF... | parse_digits:
mov rcx, [rdi]
xor edx, edx
push 0FFFFFFFFFFFFFFFFh
pop rax
mov r8d, 7FFFFFFFh
loc_81E5A:
movzx r9d, byte ptr [rcx]
lea r10d, [r9-3Ah]
cmp r10b, 0F6h
jb short loc_81E95
test esi, esi
setz r10b
imul rdx, 0Ah
add rdx, r9
add rdx, 0FFFFFFFFFFFFFFD0h
cmp ... | long long parse_digits(unsigned __int8 **a1, int a2)
{
unsigned __int8 *v2; // rcx
unsigned long long v3; // rdx
long long result; // rax
long long v5; // r9
v2 = *a1;
v3 = 0LL;
result = -1LL;
while ( 1 )
{
v5 = *v2;
if ( (unsigned __int8)(v5 - 58) < 0xF6u )
break;
v3 = v5 + 10 * v... | parse_digits:
MOV RCX,qword ptr [RDI]
XOR EDX,EDX
PUSH -0x1
POP RAX
MOV R8D,0x7fffffff
LAB_00181e5a:
MOVZX R9D,byte ptr [RCX]
LEA R10D,[R9 + -0x3a]
CMP R10B,0xf6
JC 0x00181e95
TEST ESI,ESI
SETZ R10B
IMUL RDX,RDX,0xa
ADD RDX,R9
ADD RDX,-0x30
CMP RDX,0x7fffffff
SETNC R9B
TEST R9B,R10B
JNZ 0x00181e9a
CMP RDX,R8
CMOVNC RDX... |
ulong parse_digits(int8 *param_1,int param_2)
{
byte *pbVar1;
ulong uVar2;
pbVar1 = (byte *)*param_1;
uVar2 = 0;
while( true ) {
if ((byte)(*pbVar1 - 0x3a) < 0xf6) {
*param_1 = pbVar1;
return uVar2 & 0xffffffff;
}
uVar2 = (uVar2 * 10 + (ulong)*pbVar1) - 0x30;
if (0x7ffffffe < ... | |
26,762 | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl... | monkey531[P]llama/common/json.hpp | json_sax_dom_callback_parser(BasicJsonType& r,
const parser_callback_t cb,
const bool allow_exceptions_ = true)
: root(r), callback(cb), allow_exceptions(allow_exceptions_)
{
keep_stack.push_back(true);
} | O0 | cpp | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ERSF_St8functionIFbiNS1_13parse_event_tESH_EEb:
sub rsp, 88h
mov [rsp+88h+var_40], rdx
mov al, cl
mo... | long long nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::json_sax_dom_call... | json_sax_dom_callback_parser:
SUB RSP,0x88
MOV qword ptr [RSP + 0x48],RDX
MOV AL,CL
MOV qword ptr [RSP + 0x80],RDI
MOV qword ptr [RSP + 0x78],RSI
MOV qword ptr [RSP + 0x70],RDX
AND AL,0x1
MOV byte ptr [RSP + 0x6f],AL
MOV RAX,qword ptr [RSP + 0x80]
MOV qword ptr [RSP + 0x40],RAX
MOV RCX,qword ptr [RSP + 0x78]
MOV qword ... |
/* nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all... | |
26,763 | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl... | monkey531[P]llama/common/json.hpp | json_sax_dom_callback_parser(BasicJsonType& r,
const parser_callback_t cb,
const bool allow_exceptions_ = true)
: root(r), callback(cb), allow_exceptions(allow_exceptions_)
{
keep_stack.push_back(true);
} | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEEC2ERSF_St8functionIFbiNS1_13parse_event_tESH_EEb:
push rbp
push r15
push r14
push r13
push r12
push... | _QWORD * nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::json_sax_dom_callba... | json_sax_dom_callback_parser:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV EBP,ECX
MOV R14,RDI
MOV qword ptr [RDI],RSI
LEA RBX,[RDI + 0x20]
LEA R15,[RDI + 0x80]
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI + 0x8],XMM0
MOVUPS xmmword ptr [RDI + 0x18],XMM0
MOVUPS xmmword ptr [RDI + 0x28],XMM0
MOVUPS xmmw... |
/* nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all... | |
26,764 | test_im2col::build_graph(ggml_context*) | llama.cpp/tests/test-backend-ops.cpp | ggml_tensor * build_graph(ggml_context * ctx) override {
ggml_tensor * input = ggml_new_tensor(ctx, type_input, 4, ne_input.data());
ggml_set_param(ctx, input);
ggml_set_name(input, "input");
ggml_tensor * kernel = ggml_new_tensor(ctx, type_kernel, 4, ne_kernel.data());
ggml_set... | O3 | cpp | test_im2col::build_graph(ggml_context*):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x38(%rdi), %esi
leaq 0x48(%rdi), %rcx
movq %rbx, %rdi
movl $0x4, %edx
callq 0x1cbe0
movq %rax, %r15
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2cc20
movq %rbx, %rdi
movq %r15, %rsi
callq 0x... | _ZN11test_im2col11build_graphEP12ggml_context:
push r15
push r14
push r13
push r12
push rbx
mov rbx, rsi
mov r14, rdi
mov esi, [rdi+38h]
lea rcx, [rdi+48h]
mov rdi, rbx
mov edx, 4
call _ggml_new_tensor
mov r15, rax
mov rdi, r14
mov rsi, rbx
call _ZN9test_case12ad... | long long test_im2col::build_graph(long long a1, long long a2)
{
long long v2; // r15
long long v3; // r12
long long v4; // 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, "input");
v3 = ggml_new_tensor(a2, *(uns... | build_graph:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
MOV ESI,dword ptr [RDI + 0x38]
LEA RCX,[RDI + 0x48]
MOV RDI,RBX
MOV EDX,0x4
CALL 0x0011cbe0
MOV R15,RAX
MOV RDI,R14
MOV RSI,RBX
CALL 0x0012cc20
MOV RDI,RBX
MOV RSI,R15
CALL 0x0011ccb0
LEA RSI,[0x168f31]
MOV RDI,R15
CALL 0x0011c690
MOV ESI... |
/* test_im2col::build_graph(ggml_context*) */
int8 __thiscall test_im2col::build_graph(test_im2col *this,ggml_context *param_1)
{
int8 uVar1;
int8 uVar2;
uVar1 = ggml_new_tensor(param_1,*(int4 *)(this + 0x38),4,this + 0x48);
test_case::add_sentinel((test_case *)this,param_1);
ggml_set_param(param_1,uVar... | |
26,765 | test_write | eloqsql/storage/maria/ma_test3.c | int test_write(MARIA_HA *file,int id,int lock_type)
{
uint i,tries,count,lock;
lock=0;
if (rnd(2) == 0 || lock_type == F_RDLCK)
{
lock=1;
if (maria_lock_database(file,F_WRLCK))
{
if (lock_type == F_RDLCK && my_errno == EDEADLK)
{
printf("%2d: write: deadlock\n",id); fflush(stdout);
r... | O3 | c | test_write:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r15d
movl %esi, %ebx
movq %rdi, %r14
callq 0x29210
testl %r15d, %r15d
setne %r12b
andb %al, %r12b
je 0x30e30
movb %r12b, -0x29(%rbp)
movl %ebx, -0x30(%rbp)
callq 0x298d0
movslq %eax, %rcx
leaq 0x3ce6bf(%... | test_write:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15d, edx
mov ebx, esi
mov r14, rdi
call _lrand48
test r15d, r15d
setnz r12b
and r12b, al
jz loc_30E30
loc_30CFB:
mov [rbp+var_29], r12b
mov [rbp+var_30], ebx
call ... | long long test_write(void *a1, int a2, int a3)
{
int v5; // eax
int v6; // r15d
int v7; // r8d
int v8; // r9d
void *v9; // rdi
int v10; // eax
int v11; // r12d
long long v12; // r15
_DWORD *v13; // rax
long long v14; // r14
int v15; // r15d
_DWORD *v16; // rax
unsigned int v17; // r12d
int ... | test_write:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15D,EDX
MOV EBX,ESI
MOV R14,RDI
CALL 0x00129210
TEST R15D,R15D
SETNZ R12B
AND R12B,AL
JZ 0x00130e30
LAB_00130cfb:
MOV byte ptr [RBP + -0x29],R12B
MOV dword ptr [RBP + -0x30],EBX
CALL 0x001298d0
MOVSXD RCX,EAX
LEA RDI,[0x4ff3d0]
... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
int4 test_write(int8 param_1,int4 param_2,int param_3)
{
int4 uVar1;
int8 uVar2;
__pid_t _Var3;
int iVar4;
long lVar5;
int *piVar6;
ulong uVar7;
int4 *puVar8;
byte bVar9;
int iVar10;
int iVar11;
lVar5 = lr... | |
26,766 | my_mb_wc_utf8mb4_no_range | eloqsql/strings/ctype-utf8.c | static int
my_mb_wc_utf8mb4_no_range(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t *pwc, const uchar *s)
{
uchar c;
c= s[0];
if (c < 0x80)
{
*pwc = c;
return 1;
}
if (c < 0xc2)
return MY_CS_ILSEQ;
if (c < 0xe0)
{
if (!IS_CONTINUATION_BYTE(s[1]))
ret... | O0 | c | my_mb_wc_utf8mb4_no_range:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x20(%rbp), %rax
movb (%rax), %al
movb %al, -0x21(%rbp)
movzbl -0x21(%rbp), %eax
cmpl $0x80, %eax
jge 0x14018d
movzbl -0x21(%rbp), %eax
movl %eax, %ecx
movq -0x18(%rbp), %rax
movq %rcx, (%rax... | my_mb_wc_utf8mb4_no_range:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov rax, [rbp+var_20]
mov al, [rax]
mov [rbp+var_21], al
movzx eax, [rbp+var_21]
cmp eax, 80h
jge short loc_14018D
movzx eax, [rbp+var_21]
mov ecx, eax
mov ... | long long my_mb_wc_utf8mb4_no_range(long long a1, unsigned long long *a2, unsigned __int8 *a3)
{
unsigned __int8 v4; // [rsp+1h] [rbp-21h]
v4 = *a3;
if ( *a3 >= 0x80u )
{
if ( v4 >= 0xC2u )
{
if ( v4 >= 0xE0u )
{
if ( v4 >= 0xF0u )
{
if ( v4 >= 0xF5u )
{... | |||
26,767 | my_mb_wc_utf8mb4_no_range | eloqsql/strings/ctype-utf8.c | static int
my_mb_wc_utf8mb4_no_range(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t *pwc, const uchar *s)
{
uchar c;
c= s[0];
if (c < 0x80)
{
*pwc = c;
return 1;
}
if (c < 0xc2)
return MY_CS_ILSEQ;
if (c < 0xe0)
{
if (!IS_CONTINUATION_BYTE(s[1]))
ret... | O3 | c | my_mb_wc_utf8mb4_no_range:
pushq %rbp
movq %rsp, %rbp
movzbl (%rsi), %ecx
testb %cl, %cl
js 0xcf3f8
movl $0x1, %eax
movq %rcx, (%rdi)
jmp 0xcf3ff
xorl %eax, %eax
cmpb $-0x3e, %cl
jae 0xcf401
popq %rbp
retq
cmpb $-0x21, %cl
ja 0xcf424
movzbl 0x1(%rsi), %edx
xorl $0x80, %edx
cmpb $0x3f, %dl
ja 0xcf3ff
andl $0x1f, %ecx
sh... | my_mb_wc_utf8mb4_no_range:
push rbp
mov rbp, rsp
movzx ecx, byte ptr [rsi]
test cl, cl
js short loc_CF3F8
mov eax, 1
loc_CF3F3:
mov [rdi], rcx
jmp short loc_CF3FF
loc_CF3F8:
xor eax, eax
cmp cl, 0C2h
jnb short loc_CF401
loc_CF3FF:
pop rbp
retn
loc_CF401:
cmp cl, 0DFh
ja ... | long long my_mb_wc_utf8mb4_no_range(unsigned long long *a1, unsigned __int8 *a2)
{
unsigned long long v2; // rcx
long long result; // rax
char v4; // dl
char v5; // si
unsigned long long v6; // rsi
char v7; // r8
char v8; // dl
char v9; // si
v2 = *a2;
if ( (v2 & 0x80u) == 0LL )
{
result = 1... | my_mb_wc_utf8mb4_no_range:
PUSH RBP
MOV RBP,RSP
MOVZX ECX,byte ptr [RSI]
TEST CL,CL
JS 0x001cf3f8
MOV EAX,0x1
LAB_001cf3f3:
MOV qword ptr [RDI],RCX
JMP 0x001cf3ff
LAB_001cf3f8:
XOR EAX,EAX
CMP CL,0xc2
JNC 0x001cf401
LAB_001cf3ff:
POP RBP
RET
LAB_001cf401:
CMP CL,0xdf
JA 0x001cf424
MOVZX EDX,byte ptr [RSI + 0x1]
XOR EDX... |
int8 my_mb_wc_utf8mb4_no_range(ulong *param_1,byte *param_2)
{
byte bVar1;
byte bVar2;
int8 uVar3;
uint uVar4;
ulong uVar5;
bVar1 = *param_2;
uVar5 = (ulong)bVar1;
if ((char)bVar1 < '\0') {
if (bVar1 < 0xc2) {
return 0;
}
uVar4 = (uint)bVar1;
if (bVar1 < 0xe0) {
if (0x3f... | |
26,768 | httplib::ClientImpl::close_socket(httplib::ClientImpl::Socket&) | hkr04[P]cpp-mcp/common/httplib.h | inline void ClientImpl::close_socket(Socket &socket) {
// If there are requests in flight in another thread, usually closing
// the socket will be fine and they will simply receive an error when
// using the closed socket, but it is still a bug since rarely the OS
// may reassign the socket id to be used for a ... | O0 | c | httplib::ClientImpl::close_socket(httplib::ClientImpl::Socket&):
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpl $-0x1, (%rax)
jne 0x123fa
jmp 0x12411
movq 0x8(%rsp), %rax
movl (%rax), %edi
callq 0x151e0
movq 0x8(%rsp), %rax
movl $0xffffffff, (%rax) # imm = 0xFFFFFFFF
addq $0x1... | _ZN7httplib10ClientImpl12close_socketERNS0_6SocketE:
sub rsp, 18h
mov [rsp+18h+var_8], rdi
mov [rsp+18h+var_10], rsi
mov rax, [rsp+18h+var_10]
cmp dword ptr [rax], 0FFFFFFFFh
jnz short loc_123FA
jmp short loc_12411
loc_123FA:
mov rax, [rsp+18h+var_10]
mov edi, [rax]; this
call _ZN... | _DWORD * httplib::ClientImpl::close_socket(long long a1, _DWORD *a2)
{
_DWORD *result; // rax
result = a2;
if ( *a2 != -1 )
{
httplib::detail::close_socket((httplib::detail *)(unsigned int)*a2, (int)a2);
result = a2;
*a2 = -1;
}
return result;
}
| close_socket:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV qword ptr [RSP + 0x8],RSI
MOV RAX,qword ptr [RSP + 0x8]
CMP dword ptr [RAX],-0x1
JNZ 0x001123fa
JMP 0x00112411
LAB_001123fa:
MOV RAX,qword ptr [RSP + 0x8]
MOV EDI,dword ptr [RAX]
CALL 0x001151e0
MOV RAX,qword ptr [RSP + 0x8]
MOV dword ptr [RAX],0xffffffff
LA... |
/* httplib::ClientImpl::close_socket(httplib::ClientImpl::Socket&) */
void __thiscall httplib::ClientImpl::close_socket(ClientImpl *this,Socket *param_1)
{
if (*(int *)param_1 != -1) {
detail::close_socket(*(int *)param_1);
*(int4 *)param_1 = 0xffffffff;
}
return;
}
| |
26,769 | type_can_convert | tsotchke[P]eshkol/src/core/utils/type_conversion.c | bool type_can_convert(Type* from, Type* to) {
if (!from || !to) return false;
// Same type
if (type_equals(from, to)) return true;
// Any type can be converted to void
if (to->kind == TYPE_VOID) return true;
// Any type can be converted to any
if (to->kind == TYPE_ANY) return ... | O1 | c | type_can_convert:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x196d3
movq %rsi, %rbx
movq %rdi, %r14
callq 0x181b4
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x196d5
movl (%rbx), %ecx
testl %ecx, %ecx
je 0x196d5
cmpl $0xc, %ecx
je 0x196d5
movl (%r14), %e... | type_can_convert:
push r14
push rbx
push rax
test rdi, rdi
setz al
test rsi, rsi
setz cl
or cl, al
jnz loc_196D3
mov rbx, rsi
mov r14, rdi
call type_equals
mov ecx, eax
mov al, 1
test cl, cl
jnz short loc_196D5
mov ecx, [rbx]
test ecx, ecx
jz short loc... | char type_can_convert(int *a1, int *a2)
{
char v2; // cl
char result; // al
int v4; // ecx
int v5; // edx
bool v6; // cl
if ( a1 == 0LL || a2 == 0LL )
return 0;
v2 = type_equals(a1, (long long)a2);
result = 1;
if ( !v2 )
{
v4 = *a2;
if ( *a2 )
{
if ( v4 != 12 )
{
... | type_can_convert:
PUSH R14
PUSH RBX
PUSH RAX
TEST RDI,RDI
SETZ AL
TEST RSI,RSI
SETZ CL
OR CL,AL
JNZ 0x001196d3
MOV RBX,RSI
MOV R14,RDI
CALL 0x001181b4
MOV ECX,EAX
MOV AL,0x1
TEST CL,CL
JNZ 0x001196d5
MOV ECX,dword ptr [RBX]
TEST ECX,ECX
JZ 0x001196d5
CMP ECX,0xc
JZ 0x001196d5
MOV EDX,dword ptr [R14]
MOV ESI,EDX
AND ESI... |
int8 type_can_convert(uint *param_1,uint *param_2)
{
uint uVar1;
uint uVar2;
char cVar3;
int8 uVar4;
if (param_2 == (uint *)0x0 || param_1 == (uint *)0x0) {
uVar4 = 0;
}
else {
cVar3 = type_equals();
uVar4 = 1;
if (((cVar3 == '\0') && (uVar1 = *param_2, uVar1 != 0)) && (uVar1 != 0xc))... | |
26,770 | type_can_convert | tsotchke[P]eshkol/src/core/utils/type_conversion.c | bool type_can_convert(Type* from, Type* to) {
if (!from || !to) return false;
// Same type
if (type_equals(from, to)) return true;
// Any type can be converted to void
if (to->kind == TYPE_VOID) return true;
// Any type can be converted to any
if (to->kind == TYPE_ANY) return ... | O3 | c | type_can_convert:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x1884c
movq %rsi, %rbx
movq %rdi, %r14
callq 0x174ec
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x1884e
movl (%rbx), %ecx
testl %ecx, %ecx
je 0x1884e
cmpl $0xc, %ecx
je 0x1884e
movl (%r14), %e... | type_can_convert:
push r14
push rbx
push rax
test rdi, rdi
setz al
test rsi, rsi
setz cl
or cl, al
jnz short loc_1884C
mov rbx, rsi
mov r14, rdi
call type_equals
mov ecx, eax
mov al, 1
test cl, cl
jnz short loc_1884E
mov ecx, [rbx]
test ecx, ecx
jz sho... | char type_can_convert(int *a1, int *a2)
{
char v2; // cl
char result; // al
int v4; // ecx
int v5; // edx
if ( a1 == 0LL || a2 == 0LL )
return 0;
v2 = type_equals(a1, a2);
result = 1;
if ( !v2 )
{
v4 = *a2;
if ( *a2 )
{
if ( v4 != 12 )
{
v5 = *a1;
if ( (*a... | type_can_convert:
PUSH R14
PUSH RBX
PUSH RAX
TEST RDI,RDI
SETZ AL
TEST RSI,RSI
SETZ CL
OR CL,AL
JNZ 0x0011884c
MOV RBX,RSI
MOV R14,RDI
CALL 0x001174ec
MOV ECX,EAX
MOV AL,0x1
TEST CL,CL
JNZ 0x0011884e
MOV ECX,dword ptr [RBX]
TEST ECX,ECX
JZ 0x0011884e
CMP ECX,0xc
JZ 0x0011884e
MOV EDX,dword ptr [R14]
MOV ESI,EDX
AND ESI... |
int8 type_can_convert(uint *param_1,uint *param_2)
{
uint uVar1;
uint uVar2;
char cVar3;
int8 uVar4;
if (param_2 == (uint *)0x0 || param_1 == (uint *)0x0) {
uVar4 = 0;
}
else {
cVar3 = type_equals();
uVar4 = 1;
if (((cVar3 == '\0') && (uVar1 = *param_2, uVar1 != 0)) && (uVar1 != 0xc))... | |
26,771 | Modbus::bytesToString[abi:cxx11](unsigned char const*, unsigned int) | serhmarch[P]ModbusBridge/modbus/src/Modbus.cpp | String bytesToString(const uint8_t* buff, uint32_t count)
{
String str;
for (uint32_t i = 0; i < count; ++i)
{
uint8_t num = buff[i];
str += hexDigit(num >> 4);
str += hexDigit(num & 0xF);
str += CharLiteral(' ');
}
return str;
} | O2 | cpp | Modbus::bytesToString[abi:cxx11](unsigned char const*, unsigned int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movl %edx, %r15d
xorl %r12d, %r12d
pushq $0x20
popq %rbp
c... | _ZN6Modbus13bytesToStringB5cxx11EPKhj:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rsi
mov rbx, rdi
lea rax, [rdi+10h]
mov [rdi], rax
and qword ptr [rdi+8], 0
mov byte ptr [rdi+10h], 0
mov r15d, edx
xor r12d, r12d
push 20h ; ' '
pop ... | long long Modbus::bytesToString[abi:cxx11](long long a1, long long a2, unsigned int a3)
{
long long v3; // r15
long long i; // r12
unsigned __int8 v5; // r13
unsigned __int8 v6; // al
unsigned __int8 v7; // r13
unsigned __int8 v8; // cl
*(_QWORD *)a1 = a1 + 16;
*(_QWORD *)(a1 + 8) = 0LL;
*(_BYTE *)(... | bytesToString[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
LEA RAX,[RDI + 0x10]
MOV qword ptr [RDI],RAX
AND qword ptr [RDI + 0x8],0x0
MOV byte ptr [RDI + 0x10],0x0
MOV R15D,EDX
XOR R12D,R12D
PUSH 0x20
POP RBP
LAB_00107317:
CMP R15,R12
JZ 0x00107376
MOV R13B,byte ptr... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* Modbus::bytesToString[abi:cxx11](unsigned char const*, unsigned int) */
uchar * Modbus::bytesToString_abi_cxx11_(uchar *param_1,uint param_2)
{
uint in_EDX;
char cVar1;
ulong uVar2;
*(uchar **)param_1 = param_1 + 0x10;
param... | |
26,772 | Modbus::bytesToString[abi:cxx11](unsigned char const*, unsigned int) | serhmarch[P]ModbusBridge/modbus/src/Modbus.cpp | String bytesToString(const uint8_t* buff, uint32_t count)
{
String str;
for (uint32_t i = 0; i < count; ++i)
{
uint8_t num = buff[i];
str += hexDigit(num >> 4);
str += hexDigit(num & 0xF);
str += CharLiteral(' ');
}
return str;
} | O3 | cpp | Modbus::bytesToString[abi:cxx11](unsigned char const*, unsigned int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
testl %edx, %edx
je 0x7fd3
movq %rsi, %r14
movl %edx, %r12d
xorl %r13d, %r... | _ZN6Modbus13bytesToStringB5cxx11EPKhj:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdi
lea r15, [rdi+10h]
mov [rdi], r15
mov qword ptr [rdi+8], 0
mov byte ptr [rdi+10h], 0
test edx, edx
jz short loc_7FD3
mov r14, rsi
mov r12d, edx
xor ... | long long Modbus::bytesToString[abi:cxx11](long long a1, long long a2, unsigned int a3)
{
long long v3; // r12
long long i; // r13
unsigned __int8 v5; // bp
unsigned __int8 v6; // al
unsigned __int8 v7; // bp
unsigned __int8 v8; // cl
*(_QWORD *)a1 = a1 + 16;
*(_QWORD *)(a1 + 8) = 0LL;
*(_BYTE *)(a1... | bytesToString[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDI
LEA R15,[RDI + 0x10]
MOV qword ptr [RDI],R15
MOV qword ptr [RDI + 0x8],0x0
MOV byte ptr [RDI + 0x10],0x0
TEST EDX,EDX
JZ 0x00107fd3
MOV R14,RSI
MOV R12D,EDX
XOR R13D,R13D
LAB_00107f76:
MOV BPL,byte ptr [R14 + R13*0x1]
M... |
/* Modbus::bytesToString[abi:cxx11](unsigned char const*, unsigned int) */
Modbus * __thiscall Modbus::bytesToString_abi_cxx11_(Modbus *this,uchar *param_1,uint param_2)
{
char cVar1;
ulong uVar2;
*(Modbus **)this = this + 0x10;
*(int8 *)(this + 8) = 0;
this[0x10] = (Modbus)0x0;
if (param_2 != 0) {
... | |
26,773 | mju_compare | aimrt_mujoco_sim/_deps/mujoco-src/src/engine/engine_util_sparse.c | static int mju_compare(const int* vec1, const int* vec2, int n) {
#ifdef mjUSEAVX
return mju_compare_avx(vec1, vec2, n);
#else
return !memcmp(vec1, vec2, n*sizeof(int));
#endif // mjUSEAVX
} | O3 | c | mju_compare:
xorl %ecx, %ecx
cmpl $0x4, %edx
jl 0xa3507
leal -0x4(%rdx), %r8d
xorl %eax, %eax
xorl %ecx, %ecx
vmovdqu (%rdi,%rcx,4), %xmm0
vpxor (%rsi,%rcx,4), %xmm0, %xmm0
vptest %xmm0, %xmm0
jne 0xa352d
addq $0x4, %rcx
cmpl %ecx, %r8d
jge 0xa34ed
pushq %rax
movl %ecx, %eax
leaq (%rdi,%rax,4), %rdi
leaq (%rsi,%rax,4),... | mju_compare:
xor ecx, ecx
cmp edx, 4
jl short loc_A3507
lea r8d, [rdx-4]
xor eax, eax
xor ecx, ecx
loc_A34ED:
vmovdqu xmm0, xmmword ptr [rdi+rcx*4]
vpxor xmm0, xmm0, xmmword ptr [rsi+rcx*4]
vptest xmm0, xmm0
jnz short locret_A352D
add rcx, 4
cmp r8d, ecx
jge short loc_A34ED
l... | _BOOL8 mju_compare(long long _RDI, long long a2, int a3)
{
_BOOL8 result; // rax
LODWORD(_RCX) = 0;
if ( a3 < 4 )
return (unsigned int)bcmp(_RDI + 4LL * (unsigned int)_RCX, a2 + 4LL * (unsigned int)_RCX, 4LL * (a3 - (int)_RCX)) == 0;
result = 0LL;
_RCX = 0LL;
while ( 1 )
{
__asm
{
vmov... | mju_compare:
XOR ECX,ECX
CMP EDX,0x4
JL 0x001a3507
LEA R8D,[RDX + -0x4]
XOR EAX,EAX
XOR ECX,ECX
LAB_001a34ed:
VMOVDQU XMM0,xmmword ptr [RDI + RCX*0x4]
VPXOR XMM0,XMM0,xmmword ptr [RSI + RCX*0x4]
VPTEST XMM0,XMM0
JNZ 0x001a352d
ADD RCX,0x4
CMP R8D,ECX
JGE 0x001a34ed
LAB_001a3507:
PUSH RAX
MOV EAX,ECX
LEA RDI,[RDI + RAX*... |
bool mju_compare(long param_1,long param_2,int param_3)
{
int1 auVar1 [16];
int iVar2;
ulong uVar3;
uVar3 = 0;
if (3 < param_3) {
uVar3 = 0;
iVar2 = 0;
do {
auVar1 = *(int1 (*) [16])(param_1 + uVar3 * 4) ^
*(int1 (*) [16])(param_2 + uVar3 * 4);
vptest_avx(auVar1,auV... | |
26,774 | rw_pr_unlock | eloqsql/mysys/thr_rwlock.c | int rw_pr_unlock(rw_pr_lock_t *rwlock)
{
if (rwlock->active_writer)
{
/* We are unlocking wr-lock. */
#ifdef SAFE_MUTEX
rwlock->writer_thread= 0;
#endif
rwlock->active_writer= FALSE;
if (rwlock->writers_waiting_readers)
{
/*
Avoid expensive cond signal in case when there is no cont... | O3 | c | rw_pr_unlock:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x0, 0x60(%rdi)
je 0x2aa20
movb $0x0, 0x60(%rbx)
cmpl $0x0, 0x5c(%rbx)
je 0x2aa2d
leaq 0x28(%rbx), %rdi
callq 0x24040
jmp 0x2aa2d
movq %rbx, %rdi
callq 0x244c0
decl 0x58(%rbx)
je 0x2aa0f
movq %rbx, %rdi
callq 0x24210
xorl %eax, %eax
ad... | rw_pr_unlock:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
cmp byte ptr [rdi+60h], 0
jz short loc_2AA20
mov byte ptr [rbx+60h], 0
loc_2AA0F:
cmp dword ptr [rbx+5Ch], 0
jz short loc_2AA2D
lea rdi, [rbx+28h]
call _pthread_cond_signal
jmp short loc_2AA2D
loc_2AA20:... | long long rw_pr_unlock(long long a1)
{
if ( *(_BYTE *)(a1 + 96) )
{
*(_BYTE *)(a1 + 96) = 0;
}
else
{
pthread_mutex_lock(a1);
if ( (*(_DWORD *)(a1 + 88))-- != 1 )
goto LABEL_6;
}
if ( *(_DWORD *)(a1 + 92) )
pthread_cond_signal(a1 + 40);
LABEL_6:
pthread_mutex_unlock(a1);
return ... | rw_pr_unlock:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
CMP byte ptr [RDI + 0x60],0x0
JZ 0x0012aa20
MOV byte ptr [RBX + 0x60],0x0
LAB_0012aa0f:
CMP dword ptr [RBX + 0x5c],0x0
JZ 0x0012aa2d
LEA RDI,[RBX + 0x28]
CALL 0x00124040
JMP 0x0012aa2d
LAB_0012aa20:
MOV RDI,RBX
CALL 0x001244c0
DEC dword ptr [RBX + 0x58]
J... |
int8 rw_pr_unlock(pthread_mutex_t *param_1)
{
int *piVar1;
if (*(char *)((long)param_1 + 0x60) == '\0') {
pthread_mutex_lock(param_1);
piVar1 = (int *)((long)param_1 + 0x58);
*piVar1 = *piVar1 + -1;
if (*piVar1 != 0) goto LAB_0012aa2d;
}
else {
*(int1 *)((long)param_1 + 0x60) = 0;
}
... | |
26,775 | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> uppercase<char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | msxemulator/build_O3/_deps/picotool-src/main.cpp | std::basic_string<T> uppercase(const std::basic_string<T>& s)
{
std::basic_string<T> s2 = s;
std::transform(s2.begin(), s2.end(), s2.begin(), toupper);
return s2;
} | O3 | cpp | std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> uppercase<char>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movq (%rsi), %rax
movq 0x8... | _Z9uppercaseIcENSt7__cxx1112basic_stringIT_St11char_traitsIS2_ESaIS2_EEERKS6_:
push r15
push r14
push r12
push rbx
push rax
mov rbx, rdi
lea rax, [rdi+10h]
mov [rdi], rax
mov rax, [rsi]
mov rdx, [rsi+8]
add rdx, rax
mov rsi, rax
call _ZNSt7__cxx1112basic_stringIcSt11char_tr... | long long * uppercase<char>(long long *a1, long long a2)
{
long long v2; // r14
long long v3; // r15
long long i; // r12
*a1 = (long long)(a1 + 2);
std::string::_M_construct<char *>((long long)a1, *(_BYTE **)a2, *(_QWORD *)a2 + *(_QWORD *)(a2 + 8));
v2 = a1[1];
if ( v2 )
{
v3 = *a1;
for ( i = 0... | uppercase<char>:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDI
LEA RAX,[RDI + 0x10]
MOV qword ptr [RDI],RAX
MOV RAX,qword ptr [RSI]
MOV RDX,qword ptr [RSI + 0x8]
ADD RDX,RAX
MOV RSI,RAX
CALL 0x0011d410
MOV R14,qword ptr [RBX + 0x8]
TEST R14,R14
JZ 0x0013b02d
MOV R15,qword ptr [RBX]
XOR R12D,R12D
LAB_0013b017... |
/* std::__cxx11::string uppercase<char>(std::__cxx11::string const&) */
string * uppercase<char>(string *param_1)
{
long lVar1;
long lVar2;
int iVar3;
long *in_RSI;
long lVar4;
*(string **)param_1 = param_1 + 0x10;
std::__cxx11::string::_M_construct<char*>(param_1,*in_RSI,in_RSI[1] + *in_RSI);
lVa... | |
26,776 | my_utf16_uni | eloqsql/strings/ctype-ucs2.c | int
my_utf16_uni(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t *pwc, const uchar *s, const uchar *e)
{
return my_mb_wc_utf16_quick(pwc, s, e);
} | O3 | c | my_utf16_uni:
pushq %rbp
movq %rsp, %rbp
leaq 0x2(%rdx), %r8
movl $0xffffff9a, %eax # imm = 0xFFFFFF9A
cmpq %rcx, %r8
ja 0x6657c
movzbl (%rdx), %edi
movl %edi, %r9d
andl $-0x4, %r9d
xorl %eax, %eax
cmpl $0xdc, %r9d
je 0x6657c
cmpl $0xd8, %r9d
jne 0x66569
leaq 0x4(%rdx), %r9
movl $0xffffff98, %eax # imm = 0x... | my_utf16_uni:
push rbp
mov rbp, rsp
lea r8, [rdx+2]
mov eax, 0FFFFFF9Ah
cmp r8, rcx
ja loc_6657C
movzx edi, byte ptr [rdx]
mov r9d, edi
and r9d, 0FFFFFFFCh
xor eax, eax
cmp r9d, 0DCh
jz short loc_6657C
cmp r9d, 0D8h
jnz short loc_66569
lea r9, [rdx+4]
mov e... | long long my_utf16_uni(long long a1, _QWORD *a2, unsigned __int8 *a3, unsigned long long a4)
{
_BYTE *v4; // r8
long long result; // rax
int v6; // edi
int v7; // r9d
unsigned int v8; // ecx
v4 = a3 + 2;
result = 4294967194LL;
if ( (unsigned long long)(a3 + 2) <= a4 )
{
v6 = *a3;
v7 = v6 & 0... | my_utf16_uni:
PUSH RBP
MOV RBP,RSP
LEA R8,[RDX + 0x2]
MOV EAX,0xffffff9a
CMP R8,RCX
JA 0x0016657c
MOVZX EDI,byte ptr [RDX]
MOV R9D,EDI
AND R9D,0xfffffffc
XOR EAX,EAX
CMP R9D,0xdc
JZ 0x0016657c
CMP R9D,0xd8
JNZ 0x00166569
LEA R9,[RDX + 0x4]
MOV EAX,0xffffff98
CMP R9,RCX
JA 0x0016657c
MOVZX ECX,byte ptr [R8]
MOV R8D,ECX
... |
int8 my_utf16_uni(int8 param_1,ulong *param_2,byte *param_3,byte *param_4)
{
byte bVar1;
byte bVar2;
int8 uVar3;
uint uVar4;
uVar3 = 0xffffff9a;
if (param_3 + 2 <= param_4) {
bVar1 = *param_3;
uVar3 = 0;
if ((bVar1 & 0xfc) != 0xdc) {
if ((bVar1 & 0xfc) == 0xd8) {
if (param_4 <... | |
26,777 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/./json.hpp | size_type size() const noexcept
{
switch (m_data.m_type)
{
case value_t::null:
{
// null values are empty
return 0;
}
case value_t::array:
{
// delegate call to array_t::size()
... | O1 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE4sizeEv:
movzx eax, byte ptr [rdi]
test eax, eax
jz short locret_2E186
cmp eax, 1
jz short loc_2E163
cmp eax, 2
jnz short loc_2E18... | 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>::size(
unsigned __int8 *a1)
{
long long result; // rax
result = *a1;
... | size:
MOVZX EAX,byte ptr [RDI]
TEST EAX,EAX
JZ 0x0012e186
CMP EAX,0x1
JZ 0x0012e163
CMP EAX,0x2
JNZ 0x0012e181
MOV RCX,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RCX + 0x8]
SUB RAX,qword ptr [RCX]
SAR RAX,0x4
RET
LAB_0012e163:
MOV RAX,qword ptr [RDI + 0x8]
MOV RCX,qword ptr [RAX + 0x8]
SUB RCX,qword ptr [RAX]
SAR RCX,0x4... |
/* 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>::size() const */
ulong __thisc... | |
26,778 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/./json.hpp | size_type size() const noexcept
{
switch (m_data.m_type)
{
case value_t::null:
{
// null values are empty
return 0;
}
case value_t::array:
{
// delegate call to array_t::size()
... | O2 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE4sizeEv:
movzx eax, byte ptr [rdi]
test eax, eax
jz short locret_2F8F4
cmp eax, 1
jz short loc_2F8DD
cmp eax, 2
jnz short loc_2F8F... | 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>::size(
unsigned __int8 *a1)
{
long long result; // rax
result = *a1;
... | size:
MOVZX EAX,byte ptr [RDI]
TEST EAX,EAX
JZ 0x0012f8f4
CMP EAX,0x1
JZ 0x0012f8dd
CMP EAX,0x2
JNZ 0x0012f8f1
MOV RCX,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RCX + 0x8]
SUB RAX,qword ptr [RCX]
SAR RAX,0x4
RET
LAB_0012f8dd:
MOV RCX,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RCX + 0x8]
SUB RAX,qword ptr [RCX]
PUSH 0x30
P... |
/* 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>::size() const */
ulong __thisc... | |
26,779 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/./json.hpp | size_type size() const noexcept
{
switch (m_data.m_type)
{
case value_t::null:
{
// null values are empty
return 0;
}
case value_t::array:
{
// delegate call to array_t::size()
... | 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... | _ZNK8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE4sizeEv:
movzx eax, byte ptr [rdi]
test eax, eax
jz short locret_2D418
cmp eax, 1
jz short loc_2D3F5
cmp eax, 2
jnz short loc_2D41... | 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>::size(
unsigned __int8 *a1)
{
long long result; // rax
result = *a1;
... | size:
MOVZX EAX,byte ptr [RDI]
TEST EAX,EAX
JZ 0x0012d418
CMP EAX,0x1
JZ 0x0012d3f5
CMP EAX,0x2
JNZ 0x0012d413
MOV RCX,qword ptr [RDI + 0x8]
MOV RAX,qword ptr [RCX + 0x8]
SUB RAX,qword ptr [RCX]
SAR RAX,0x4
RET
LAB_0012d3f5:
MOV RAX,qword ptr [RDI + 0x8]
MOV RCX,qword ptr [RAX + 0x8]
SUB RCX,qword ptr [RAX]
SAR RCX,0x4... |
/* 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>::size() const */
ulong __thisc... | |
26,780 | minja::FilterExpr::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 {
Value result;
bool first = true;
for (const auto& part : parts) {
if (!part) throw std::runtime_error("FilterExpr.part is null");
if (first) {
first = false;
result = part->ev... | O2 | cpp | minja::FilterExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq 0x678b4
movq 0x20(%r15), %rbp
movq 0x28(%r15), %rax
movq %rax, 0x8(%rsp)
movb $0x1, %al
leaq 0x48(%rsp), ... | _ZNK5minja10FilterExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0E8h
mov r14, rdx
mov r15, rsi
mov r12, rdi
call _ZN5minja5ValueC2Ev; minja::Value::Value(void)
mov rbp, [r15+20h]
mov rax, [r15+28h]
mov [r... | long long minja::FilterExpr::do_evaluate(minja::Value *a1, long long a2)
{
long long v2; // r12
void (****v3)(void); // rbp
char v4; // al
void (***v5)(void); // r13
void (****v6)(void); // rax
void (****v7)(void); // r12
std::runtime_error *exception; // r15
void (****v10)(void); // [rsp+8h] [rbp-110h... | do_evaluate:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xe8
MOV R14,RDX
MOV R15,RSI
MOV R12,RDI
CALL 0x001678b4
MOV RBP,qword ptr [R15 + 0x20]
MOV RAX,qword ptr [R15 + 0x28]
MOV qword ptr [RSP + 0x8],RAX
MOV AL,0x1
LEA R15,[RSP + 0x48]
MOV qword ptr [RSP],R12
LAB_001709db:
CMP RBP,qword ptr [RSP + 0... |
/* minja::FilterExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
FilterExpr * __thiscall minja::FilterExpr::do_evaluate(FilterExpr *this,shared_ptr *param_1)
{
int8 *puVar1;
shared_ptr *psVar2;
bool bVar3;
long lVar4;
runtime_error *this_00;
int8 *puVar5;
int8 local_108;
int8 uStack... | |
26,781 | ggml_tallocr_new | 7CodeWizard[P]stablediffusion/ggml/src/ggml-alloc.c | ggml_tallocr_t ggml_tallocr_new(void * data, size_t size, size_t alignment) {
struct ggml_backend_buffer * buffer = ggml_backend_cpu_buffer_from_ptr(data, size);
ggml_tallocr_t alloc = (ggml_tallocr_t)malloc(sizeof(struct ggml_tallocr));
*alloc = (struct ggml_tallocr) {
/*.buffer = */ buffe... | O0 | c | ggml_tallocr_new:
subq $0x1068, %rsp # imm = 0x1068
movq %rdi, 0x1060(%rsp)
movq %rsi, 0x1058(%rsp)
movq %rdx, 0x1050(%rsp)
movq 0x1060(%rsp), %rdi
movq 0x1058(%rsp), %rsi
callq 0x167c60
movq %rax, 0x1048(%rsp)
movl $0x1038, %edi # imm = 0x1038
callq 0xba00
movq %rax, 0x1040(%rsp)
movq 0x1040(%rsp),... | ggml_tallocr_new:
sub rsp, 1068h
mov [rsp+1068h+var_8], rdi
mov [rsp+1068h+var_10], rsi
mov [rsp+1068h+var_18], rdx
mov rdi, [rsp+1068h+var_8]
mov rsi, [rsp+1068h+var_10]
call ggml_backend_cpu_buffer_from_ptr
mov [rsp+1068h+var_20], rax
mov edi, 1038h
call _malloc
mov [rsp+1068... | long long ggml_tallocr_new(long long a1, long long a2, long long a3)
{
long long v4; // [rsp+0h] [rbp-1068h]
long long v5; // [rsp+8h] [rbp-1060h] BYREF
char v6; // [rsp+10h] [rbp-1058h]
long long base; // [rsp+18h] [rbp-1050h]
long long v8; // [rsp+20h] [rbp-1048h]
long long v9; // [rsp+1040h] [rbp-28h]
... | |||
26,782 | ggml_tallocr_new | 7CodeWizard[P]stablediffusion/ggml/src/ggml-alloc.c | ggml_tallocr_t ggml_tallocr_new(void * data, size_t size, size_t alignment) {
struct ggml_backend_buffer * buffer = ggml_backend_cpu_buffer_from_ptr(data, size);
ggml_tallocr_t alloc = (ggml_tallocr_t)malloc(sizeof(struct ggml_tallocr));
*alloc = (struct ggml_tallocr) {
/*.buffer = */ buffe... | O2 | c | ggml_tallocr_new:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
callq 0x9079c
movq %rax, %r14
movl $0x1038, %edi # imm = 0x1038
callq 0xa7e0
movq %rax, %r15
movq %r14, %rdi
callq 0x8fc60
movq %r14, (%r15)
movb $0x1, 0x8(%r15)
andl $0x0, 0x9(%r15)
andl $0x0, 0xc(%r15)
movq %rax, 0x10(%r15)
movq %rbx, 0x18(%... | ggml_tallocr_new:
push r15
push r14
push rbx
mov rbx, rdx
call ggml_backend_cpu_buffer_from_ptr
mov r14, rax
mov edi, 1038h
call _malloc
mov r15, rax
mov rdi, r14
call ggml_backend_buffer_get_base
mov [r15], r14
mov byte ptr [r15+8], 1
and dword ptr [r15+9], 0
and d... | long long ggml_tallocr_new(long long a1, long long a2, long long a3)
{
long long v4; // r14
long long v5; // r15
long long base; // rax
v4 = ggml_backend_cpu_buffer_from_ptr();
v5 = malloc(4152LL);
base = ggml_backend_buffer_get_base(v4);
*(_QWORD *)v5 = v4;
*(_BYTE *)(v5 + 8) = 1;
*(_DWORD *)(v5 + ... | ggml_tallocr_new:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RDX
CALL 0x0019079c
MOV R14,RAX
MOV EDI,0x1038
CALL 0x0010a7e0
MOV R15,RAX
MOV RDI,R14
CALL 0x0018fc60
MOV qword ptr [R15],R14
MOV byte ptr [R15 + 0x8],0x1
AND dword ptr [R15 + 0x9],0x0
AND dword ptr [R15 + 0xc],0x0
MOV qword ptr [R15 + 0x10],RAX
MOV qword ptr [R15 +... |
int8 * ggml_tallocr_new(int8 param_1,int8 param_2,int8 param_3)
{
int8 uVar1;
int8 *puVar2;
int8 uVar3;
uVar1 = ggml_backend_cpu_buffer_from_ptr();
puVar2 = (int8 *)malloc(0x1038);
uVar3 = ggml_backend_buffer_get_base(uVar1);
*puVar2 = uVar1;
*(int1 *)(puVar2 + 1) = 1;
*(int4 *)((long)puVar2 + 9)... | |
26,783 | my_hash_sort_bin | eloqsql/strings/ctype-bin.c | void my_hash_sort_bin(CHARSET_INFO *cs __attribute__((unused)),
const uchar *key, size_t len,ulong *nr1, ulong *nr2)
{
const uchar *end = key + len;
ulong tmp1= *nr1;
ulong tmp2= *nr2;
for (; key < end ; key++)
{
MY_HASH_ADD(tmp1, tmp2, (uint) *key);
}
*nr1= tmp1;
*nr2= tmp2;... | O0 | c | my_hash_sort_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), %rax
movq (... | my_hash_sort_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 [rbp+var_38], ... | _QWORD * my_hash_sort_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_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 ptr [RBP + -0... |
void my_hash_sort_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_40 = ((local_40 & 0x3f) + lo... | |
26,784 | MainWindow::MainWindow(QWidget*) | MarsToPluto[P]llmstudio/src/mainwindow.cpp | MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
setupUi();
loadDummyData();
applyBasicStyling(); // Apply basic dark theme
setWindowTitle("LM Studio Clone - Qt Demo");
setMinimumSize(800, 600); // Set a reasonable minimum size
} | O3 | cpp | MainWindow::MainWindow(QWidget*):
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
xorl %edx, %edx
callq 0x5130
leaq 0x8038(%rip), %rax # 0xdb28
leaq 0x10(%rax), %rcx
movq %rcx, (%rbx)
addq $0x1c8, %rax # imm = 0x1C8
movq %rax, 0x10(%rbx)
movq %rbx, %rdi
callq 0x5bbe
movq %rbx, %rdi
callq 0x5c74
c... | _ZN10MainWindowC2EP7QWidget:
push r14; Alternative name is 'MainWindow::MainWindow(QWidget *)'
push rbx
sub rsp, 38h
mov rbx, rdi
xor edx, edx
call __ZN11QMainWindowC2EP7QWidget6QFlagsIN2Qt10WindowTypeEE; QMainWindow::QMainWindow(QWidget *,QFlags<Qt::WindowType>)
lea rax, _ZTV10MainWindow; `vta... | void MainWindow::MainWindow(MainWindow *this, QWidget *a2)
{
volatile signed __int32 *v2; // [rsp+0h] [rbp-48h]
__int128 v3; // [rsp+20h] [rbp-28h] BYREF
QMainWindow::QMainWindow(this, a2, 0LL);
*(_QWORD *)this = &`vtable for'MainWindow + 2;
*((_QWORD *)this + 2) = &`vtable for'MainWindow + 57;
MainWindow... | MainWindow:
PUSH R14
PUSH RBX
SUB RSP,0x38
MOV RBX,RDI
XOR EDX,EDX
CALL 0x00105130
LEA RAX,[0x10db28]
LEA RCX,[RAX + 0x10]
MOV qword ptr [RBX],RCX
ADD RAX,0x1c8
MOV qword ptr [RBX + 0x10],RAX
LAB_00105b01:
MOV RDI,RBX
CALL 0x00105bbe
MOV RDI,RBX
CALL 0x00105c74
CALL 0x00105fb4
LAB_00105b16:
LEA RDX,[0x10a0c0]
LEA RDI,[... |
/* MainWindow::MainWindow(QWidget*) */
void __thiscall MainWindow::MainWindow(MainWindow *this,QWidget *param_1)
{
QArrayData *local_28 [3];
QMainWindow::QMainWindow((QMainWindow *)this,param_1,0);
*(int ***)this = &PTR_metaObject_0010db38;
*(int ***)(this + 0x10) = &PTR__MainWindow_0010dcf0;
... | |
26,785 | MainWindow::applyBasicStyling() | MarsToPluto[P]llmstudio/src/mainwindow.cpp | void MainWindow::applyBasicStyling()
{
// Use Fusion style for a more modern look than default Windows/macOS styles
QApplication::setStyle(QStyleFactory::create("Fusion"));
// Basic Dark Theme Palette
QPalette darkPalette;
darkPalette.setColor(QPalette::Window, QColor(53, 53, 53));
darkPalette.... | O2 | cpp | MainWindow::applyBasicStyling():
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
leaq 0x2d9a(%rip), %rsi # 0x8953
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x791c
movq %rbx, %rdi
callq 0x54c0
movq %rax, %rdi
callq 0x54b0
leaq 0x18(%rsp), %rdi
callq 0x7bd8
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x5540
leaq... | _ZN10MainWindow17applyBasicStylingEv:
push rbp
push r14
push rbx
sub rsp, 30h
lea rsi, aFusion; "Fusion"
lea rbx, [rsp+48h+var_30]
mov rdi, rbx; this
call _ZN7QStringC2EPKc; QString::QString(char const*)
mov rdi, rbx
call __ZN13QStyleFactory6createERK7QString; QStyleFactory::create(QS... | void MainWindow::applyBasicStyling(MainWindow *this)
{
long long v1; // rax
const char *v2; // rdx
int v3; // [rsp+8h] [rbp-40h] BYREF
unsigned long long v4; // [rsp+Ch] [rbp-3Ch]
__int16 v5; // [rsp+14h] [rbp-34h]
_BYTE v6[48]; // [rsp+18h] [rbp-30h] BYREF
QString::QString((QString *)v6, "Fusion");
v... | applyBasicStyling:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x30
LEA RSI,[0x108953]
LEA RBX,[RSP + 0x18]
MOV RDI,RBX
CALL 0x0010791c
LAB_00105bc6:
MOV RDI,RBX
CALL 0x001054c0
MOV RDI,RAX
CALL 0x001054b0
LAB_00105bd6:
LEA RDI,[RSP + 0x18]
CALL 0x00107bd8
LEA RBX,[RSP + 0x18]
MOV RDI,RBX
CALL 0x00105540
LEA RDX,[RSP + 0x8]
MOV... |
/* MainWindow::applyBasicStyling() */
void MainWindow::applyBasicStyling(void)
{
QStyle *pQVar1;
int4 local_40;
int8 local_3c;
int2 local_34;
QString local_30 [24];
QString::QString(local_30,"Fusion");
/* try { // try from 00105bc6 to 00105bd5 has its CatchHandler @ 00105e79 */
p... | |
26,786 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O0 | c | bf_add_epsilon:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movl %ecx, 0x4c(%rsp)
movq %r8, 0x40(%rsp)
movl %r9d, 0x3c(%rsp)
leaq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rsp), %rsi
callq 0xe5f70
movq 0x8(%rsp), %rdi
movl $0x1, %esi
c... | bf_add_epsilon:
sub rsp, 68h
mov [rsp+68h+var_8], rdi
mov [rsp+68h+var_10], rsi
mov [rsp+68h+var_18], rdx
mov [rsp+68h+var_1C], ecx
mov [rsp+68h+var_28], r8
mov [rsp+68h+var_2C], r9d
lea rax, [rsp+68h+var_58]
mov [rsp+68h+var_60], rax
mov rax, [rsp+68h+var_10]
mov rdi, [rax]
... | long long bf_add_epsilon(long long a1, long long *a2, long long a3, int a4, long long a5, unsigned int a6)
{
long long v6; // rsi
long long v7; // rdx
long long v8; // rcx
long long v9; // r8
long long v10; // r9
unsigned int v12; // [rsp+4h] [rbp-64h]
long long v13; // [rsp+10h] [rbp-58h] BYREF
int v1... | bf_add_epsilon:
SUB RSP,0x68
MOV qword ptr [RSP + 0x60],RDI
MOV qword ptr [RSP + 0x58],RSI
MOV qword ptr [RSP + 0x50],RDX
MOV dword ptr [RSP + 0x4c],ECX
MOV qword ptr [RSP + 0x40],R8
MOV dword ptr [RSP + 0x3c],R9D
LEA RAX,[RSP + 0x10]
MOV qword ptr [RSP + 0x8],RAX
MOV RAX,qword ptr [RSP + 0x58]
MOV RDI,qword ptr [RAX]
... |
int4
bf_add_epsilon(int8 param_1,int8 *param_2,long param_3,int4 param_4,
int8 param_5,int4 param_6)
{
int4 uVar1;
int1 local_58 [8];
int4 local_50;
long local_48;
int4 local_2c;
int8 local_28;
int4 local_1c;
long local_18;
int8 *local_10;
int8 local_8;
local_2c = param_6;
loc... | |
26,787 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O1 | c | bf_add_epsilon:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %r12
movq (%rsi), %rax
movq %rsp, %r13
movq %rax, (%r13)
movl $0x0, 0x8(%r13)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %r... | bf_add_epsilon:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebx, r9d
mov r14, r8
mov ebp, ecx
mov r15, rdx
mov r12, rdi
mov rax, [rsi]
mov r13, rsp
mov [r13+0], rax
mov dword ptr [r13+8], 0
mov rax, 8000000000000000h
mov [r13+1... | long long bf_add_epsilon(__int128 *a1, _QWORD *a2, long long a3, int a4, long long a5, unsigned int a6)
{
unsigned int v10; // ebx
__int128 v12; // [rsp+0h] [rbp-58h] BYREF
unsigned long long v13; // [rsp+10h] [rbp-48h]
__int128 v14; // [rsp+18h] [rbp-40h]
*(_QWORD *)&v12 = *a2;
DWORD2(v12) = 0;
v13 = 0... | |||
26,788 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O2 | c | bf_add_epsilon:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %r12
movq (%rsi), %rax
movq %rsp, %r13
movq %rax, (%r13)
andl $0x0, 0x8(%r13)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %r... | bf_add_epsilon:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebx, r9d
mov r14, r8
mov ebp, ecx
mov r15, rdx
mov r12, rdi
mov rax, [rsi]
mov r13, rsp
mov [r13+0], rax
and dword ptr [r13+8], 0
mov rax, 8000000000000000h
mov [r13+1... | long long bf_add_epsilon(long long a1, long long *a2, long long a3, int a4, long long a5, unsigned int a6)
{
unsigned int v10; // ebx
long long v12; // [rsp+0h] [rbp-58h] BYREF
int v13; // [rsp+8h] [rbp-50h]
unsigned long long v14; // [rsp+10h] [rbp-48h]
__int128 v15; // [rsp+18h] [rbp-40h]
v12 = *a2;
v... | bf_add_epsilon:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBX,R9D
MOV R14,R8
MOV EBP,ECX
MOV R15,RDX
MOV R12,RDI
MOV RAX,qword ptr [RSI]
MOV R13,RSP
MOV qword ptr [R13],RAX
AND dword ptr [R13 + 0x8],0x0
MOV RAX,-0x8000000000000000
MOV qword ptr [R13 + 0x10],RAX
XORPS XMM0,XMM0
MOVUPS xmmwor... |
int4
bf_add_epsilon(int8 param_1,int8 *param_2,long param_3,int4 param_4,
int8 param_5,int4 param_6)
{
int4 uVar1;
int8 local_58;
int4 local_50;
long local_48;
int8 local_40;
int8 uStack_38;
local_58 = *param_2;
local_50 = 0;
local_48 = -0x8000000000000000;
local_40 = 0;
uStack_... | |
26,789 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O3 | c | bf_add_epsilon:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %rsi, (%r13)
movl $0x0, 0x8(%r13)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x10(%r13)
xor... | bf_add_epsilon:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebx, r9d
mov r14, r8
mov ebp, ecx
mov r15, rdx
mov r12, rdi
mov r13, rsp
mov [r13+0], rsi
mov dword ptr [r13+8], 0
mov rax, 8000000000000000h
mov [r13+10h], rax
xorps xm... | long long bf_add_epsilon(__int128 *a1, long long a2, long long a3, int a4, long long a5, unsigned int a6)
{
unsigned int v10; // ebx
__int128 v12; // [rsp+0h] [rbp-58h] BYREF
unsigned long long v13; // [rsp+10h] [rbp-48h]
__int128 v14; // [rsp+18h] [rbp-40h]
*(_QWORD *)&v12 = a2;
DWORD2(v12) = 0;
v13 = ... | bf_add_epsilon:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBX,R9D
MOV R14,R8
MOV EBP,ECX
MOV R15,RDX
MOV R12,RDI
MOV R13,RSP
MOV qword ptr [R13],RSI
MOV dword ptr [R13 + 0x8],0x0
MOV RAX,-0x8000000000000000
MOV qword ptr [R13 + 0x10],RAX
XORPS XMM0,XMM0
MOVUPS xmmword ptr [R13 + 0x18],XMM0
... |
int4
bf_add_epsilon(int8 param_1,int8 *param_2,long param_3,int4 param_4,
int8 param_5,int4 param_6)
{
int4 uVar1;
int8 *local_58;
int4 local_50;
long local_48;
int8 local_40;
long lStack_38;
local_50 = 0;
local_48 = -0x8000000000000000;
local_40 = 0;
lStack_38 = 0;
local_58 = p... | |
26,790 | minja::FilterNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | void do_render(std::ostringstream & out, const std::shared_ptr<Context> & context) const override {
if (!filter) throw std::runtime_error("FilterNode.filter is null");
if (!body) throw std::runtime_error("FilterNode.body is null");
auto filter_value = filter->evaluate(context);
if (!filt... | O3 | cpp | minja::FilterNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x110, %rsp # imm = 0x110
movq %rsi, %rbx
movq 0x20(%rdi), %rsi
testq %rsi, %rsi
je ... | _ZNK5minja10FilterNode9do_renderERNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_7ContextEE:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 110h
mov rbx, rsi
mov rsi, [rdi+20h]
test rsi, rsi
jz loc_A442D
mov r14, rdi
cmp qword ptr [rdi+30... | long long minja::FilterNode::do_render(long long a1, long long a2)
{
void (***v3)(void); // rsi
long long v4; // rdi
signed __int32 v5; // eax
long long v6; // rdi
signed __int32 v7; // eax
long long result; // rax
long long v9; // rdi
std::runtime_error *exception; // r14
void *v11; // r14
_QWORD ... | do_render:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x110
MOV RBX,RSI
MOV RSI,qword ptr [RDI + 0x20]
TEST RSI,RSI
JZ 0x001a442d
MOV R14,RDI
CMP qword ptr [RDI + 0x30],0x0
JZ 0x001a444b
MOV R15,RDX
LEA R12,[RSP + 0xc0]
MOV RDI,R12
CALL 0x00189ab4
CMP qword ptr [R12 + 0x30],0x0
JZ 0x001a447d
MOV RSI,qword ptr... |
/* minja::FilterNode::do_render(std::__cxx11::ostringstream&, std::shared_ptr<minja::Context>
const&) const */
void minja::FilterNode::do_render(ostringstream *param_1,shared_ptr *param_2)
{
int *piVar1;
int iVar2;
runtime_error *prVar3;
vector<minja::Value,std::allocator<minja::Value>> avStack_138 [24];
... | |
26,791 | GetHostName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | ng-log[P]ng-log/src/logging.cc | static void GetHostName(string* hostname) {
#if defined(HAVE_SYS_UTSNAME_H)
struct utsname buf;
if (uname(&buf) < 0) {
// ensure null termination on failure
*buf.nodename = '\0';
}
*hostname = buf.nodename;
#elif defined(NGLOG_OS_WINDOWS)
char buf[MAX_COMPUTERNAME_LENGTH + 1];
DWORD len = MAX_COMPUT... | O0 | cpp | GetHostName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*):
pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp # imm = 0x190
movq %rdi, -0x8(%rbp)
leaq -0x18e(%rbp), %rdi
callq 0x90e0
cmpl $0x0, %eax
jge 0xd167
movb $0x0, -0x14d(%rbp)
leaq -0x18e(%rbp), %rsi
addq $0x41, %rsi
movq ... | _ZL11GetHostNamePNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
mov rbp, rsp
sub rsp, 190h
mov [rbp+var_8], rdi
lea rdi, [rbp+var_18E]
call _uname
cmp eax, 0
jge short loc_D167
mov [rbp+var_14D], 0
loc_D167:
lea rsi, [rbp+var_18E]
add rsi, 41h ; 'A'
mov rdi,... | long long GetHostName(long long a1)
{
_BYTE v2[65]; // [rsp+2h] [rbp-18Eh] BYREF
_BYTE v3[325]; // [rsp+43h] [rbp-14Dh] BYREF
long long v4; // [rsp+188h] [rbp-8h]
v4 = a1;
if ( (int)uname(v2) < 0 )
v3[0] = 0;
return std::string::operator=(v4, v3);
}
| GetHostName:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x190
MOV qword ptr [RBP + -0x8],RDI
LEA RDI,[RBP + -0x18e]
CALL 0x001090e0
CMP EAX,0x0
JGE 0x0010d167
MOV byte ptr [RBP + -0x14d],0x0
LAB_0010d167:
LEA RSI,[RBP + -0x18e]
ADD RSI,0x41
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00109a30
ADD RSP,0x190
POP RBP
RET
|
/* GetHostName(std::__cxx11::string*) */
void GetHostName(string *param_1)
{
int iVar1;
utsname local_196;
string *local_10;
local_10 = param_1;
iVar1 = uname(&local_196);
if (iVar1 < 0) {
local_196.nodename[0] = '\0';
}
std::__cxx11::string::operator=(local_10,local_196.nodename);
return;
}... | |
26,792 | GetHostName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | ng-log[P]ng-log/src/logging.cc | static void GetHostName(string* hostname) {
#if defined(HAVE_SYS_UTSNAME_H)
struct utsname buf;
if (uname(&buf) < 0) {
// ensure null termination on failure
*buf.nodename = '\0';
}
*hostname = buf.nodename;
#elif defined(NGLOG_OS_WINDOWS)
char buf[MAX_COMPUTERNAME_LENGTH + 1];
DWORD len = MAX_COMPUT... | O1 | cpp | GetHostName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*):
pushq %r15
pushq %r14
pushq %rbx
subq $0x190, %rsp # imm = 0x190
movq %rdi, %rbx
leaq 0xa(%rsp), %rdi
callq 0x70a0
testl %eax, %eax
jns 0x9566
movb $0x0, 0x4b(%rsp)
leaq 0x4b(%rsp), %r14
movq 0x8(%rbx), %r15
movq %r... | _ZL11GetHostNamePNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push r15
push r14
push rbx
sub rsp, 190h
mov rbx, rdi
lea rdi, [rsp+1A8h+var_19E]
call _uname
test eax, eax
jns short loc_9566
mov [rsp+1A8h+var_15D], 0
loc_9566:
lea r14, [rsp+1A8h+var_15D]
mov r15, [rbx+8... | long long GetHostName(long long a1)
{
long long v1; // r15
long long v2; // rax
_BYTE v4[65]; // [rsp+Ah] [rbp-19Eh] BYREF
_BYTE v5[349]; // [rsp+4Bh] [rbp-15Dh] BYREF
if ( (int)uname(v4) < 0 )
v5[0] = 0;
v1 = *(_QWORD *)(a1 + 8);
v2 = strlen(v5);
return std::string::_M_replace(a1, 0LL, v1, v5, v2... | GetHostName:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x190
MOV RBX,RDI
LEA RDI,[RSP + 0xa]
CALL 0x001070a0
TEST EAX,EAX
JNS 0x00109566
MOV byte ptr [RSP + 0x4b],0x0
LAB_00109566:
LEA R14,[RSP + 0x4b]
MOV R15,qword ptr [RBX + 0x8]
MOV RDI,R14
CALL 0x001071f0
MOV RDI,RBX
XOR ESI,ESI
MOV RDX,R15
MOV RCX,R14
MOV R8,RAX
CALL 0x0... |
/* GetHostName(std::__cxx11::string*) */
void GetHostName(string *param_1)
{
char *pcVar1;
int iVar2;
utsname local_19e;
iVar2 = uname(&local_19e);
if (iVar2 < 0) {
local_19e.nodename[0] = '\0';
}
pcVar1 = *(char **)(param_1 + 8);
strlen(local_19e.nodename);
std::__cxx11::string::_M_replace(... | |
26,793 | common_sampler::set_logits(llama_context*, int) | monkey531[P]llama/common/sampling.cpp | void set_logits(struct llama_context * ctx, int idx) {
const auto * logits = llama_get_logits_ith(ctx, idx);
const llama_model * model = llama_get_model(ctx);
const llama_vocab * vocab = llama_model_get_vocab(model);
const int n_vocab = llama_vocab_n_tokens(vocab);
cur.resize(... | O3 | cpp | common_sampler::set_logits(llama_context*, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
movl %edx, %esi
callq 0x1ada0
movq %rax, %r14
movq %r15, %rdi
callq 0x1a7b0
movq %rax, %rdi
callq 0x1b140
movq %rax, %rdi
callq 0x1b0d0
movl %eax, %ebp
leaq 0x180(%rbx)... | _ZN14common_sampler10set_logitsEP13llama_contexti:
push rbp
push r15
push r14
push rbx
push rax
mov r15, rsi
mov rbx, rdi
mov rdi, rsi
mov esi, edx
call _llama_get_logits_ith
mov r14, rax
mov rdi, r15
call _llama_get_model
mov rdi, rax
call _llama_model_get_vocab
mov ... | long long common_sampler::set_logits(long long a1, long long a2, unsigned int a3)
{
long long v6; // rsi
long long logits_ith; // r14
long long model; // rax
long long vocab; // rax
int v10; // ebp
long long result; // rax
_DWORD *v12; // rdx
long long i; // rsi
int v14; // xmm0_4
unsigned long lon... | set_logits:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV R15,RSI
MOV RBX,RDI
MOV RDI,RSI
MOV ESI,EDX
CALL 0x0011ada0
MOV R14,RAX
MOV RDI,R15
CALL 0x0011a7b0
MOV RDI,RAX
CALL 0x0011b140
MOV RDI,RAX
CALL 0x0011b0d0
MOV EBP,EAX
LEA RDI,[RBX + 0x180]
MOVSXD R15,EAX
MOV RSI,R15
CALL 0x001cf0ce
MOV RAX,qword ptr [RBX + 0... |
/* common_sampler::set_logits(llama_context*, int) */
void __thiscall common_sampler::set_logits(common_sampler *this,llama_context *param_1,int param_2)
{
int4 uVar1;
long lVar2;
uint uVar3;
long lVar4;
int8 uVar5;
int4 *puVar6;
ulong uVar7;
lVar4 = llama_get_logits_ith(param_1,param_2);
uVar5 ... | |
26,794 | testing::TestInfo* testing::RegisterTest<testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::InsertSynthetic... | AlayaLite/build_O0/_deps/googletest-src/googletest/include/gtest/gtest.h | TestInfo* RegisterTest(const char* test_suite_name, const char* test_name,
const char* type_param, const char* value_param,
const char* file, int line, Factory factory) {
using TestT = typename std::remove_pointer<decltype(factory())>::type;
class FactoryImpl : public ... | O0 | c | testing::TestInfo* testing::RegisterTest<testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::InsertSynthetic... | _ZN7testing12RegisterTestITpTnRiJEZNS_8internal34TypeParameterizedTestSuiteRegistry22CheckForInstantiationsEvE3$_0EEPNS_8TestInfoEPKcS8_S8_S8_S8_iT0_:
sub rsp, 1B8h
mov rax, qword ptr [rsp+1B8h+arg_0]
mov qword ptr [rsp+1B8h+var_148], rax; int
mov qword ptr [rsp+1B8h+var_8], rdi
mov qword ptr [rsp+1... | long long ZN7testing12RegisterTestITpTnRiJEZNS_8internal34TypeParameterizedTestSuiteRegistry22CheckForInstantiationsEvE3__0EEPNS_8TestInfoEPKcS8_S8_S8_S8_iT0_(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
int a6,
int a7)
{
int v7; // ed... | _ZN7testing12RegisterTestITpTnRiJEZNS_8internal34TypeParameterizedTestSuiteRegistry22CheckForInstantiationsEvE3$_0EEPNS_8TestInfoEPKcS8_S8_S8_S8_iT0_:
SUB RSP,0x1b8
MOV RAX,qword ptr [RSP + 0x1c0]
MOV qword ptr [RSP + 0x70],RAX
MOV qword ptr [RSP + 0x1b0],RDI
MOV qword ptr [RSP + 0x1a8],RSI
MOV qword ptr [RSP + 0x1a0],... |
int8
_ZN7testing12RegisterTestITpTnRiJEZNS_8internal34TypeParameterizedTestSuiteRegistry22CheckForInstantiationsEvE3__0EEPNS_8TestInfoEPKcS8_S8_S8_S8_iT0_
(char *param_1,int8 param_2,int8 param_3,int8 param_4,char *param_5,
int param_6,__0 *param_7)
{
char *pcVar1;
int8 uVar2;
int8 uVar3;
... | |
26,795 | lunasvg::SVGStopElement::gradientStop(float) const | dmazzella[P]pylunasvg/lunasvg/source/svgpaintelement.cpp | GradientStop SVGStopElement::gradientStop(float opacity) const
{
Color stopColor = m_stop_color.colorWithAlpha(m_stop_opacity * opacity);
GradientStop gradientStop = {
m_offset.value(), { stopColor.redF(), stopColor.greenF(), stopColor.blueF(), stopColor.alphaF() }
};
return gradientStop;
} | O3 | cpp | lunasvg::SVGStopElement::gradientStop(float) const:
mulss 0x84(%rsi), %xmm0
movl 0x80(%rsi), %ecx
movl %ecx, %eax
shrl $0x18, %eax
cvtsi2ss %eax, %xmm1
movss 0x2bfdb(%rip), %xmm2 # 0x430f4
minss %xmm0, %xmm2
xorps %xmm3, %xmm3
cmpltss %xmm3, %xmm0
andnps %xmm2, %xmm0
mulss %xmm1, %xmm0
cvttss2si %xmm0, %edx
movq %rd... | _ZNK7lunasvg14SVGStopElement12gradientStopEf:
mulss xmm0, dword ptr [rsi+84h]
mov ecx, [rsi+80h]
mov eax, ecx
shr eax, 18h
cvtsi2ss xmm1, eax
movss xmm2, cs:flt_430F4
minss xmm2, xmm0
xorps xmm3, xmm3
cmpltss xmm0, xmm3
andnps xmm0, xmm2
mulss xmm0, xmm1
cvttss2si edx, xmm0
mov rax, rdi
movss... | lunasvg::SVGStopElement * lunasvg::SVGStopElement::gradientStop(
lunasvg::SVGStopElement *this,
__m128 a2,
long long a3)
{
unsigned int v3; // ecx
__m128 v4; // xmm2
lunasvg::SVGStopElement *result; // rax
a2.m128_f32[0] = a2.m128_f32[0] * *(float *)(a3 + 132);
v3 = *(_DWORD *)(a3 + 1... | gradientStop:
MULSS XMM0,dword ptr [RSI + 0x84]
MOV ECX,dword ptr [RSI + 0x80]
MOV EAX,ECX
SHR EAX,0x18
CVTSI2SS XMM1,EAX
MOVSS XMM2,dword ptr [0x001430f4]
MINSS XMM2,XMM0
XORPS XMM3,XMM3
CMPLTSS XMM0,XMM3
ANDNPS XMM0,XMM2
MULSS XMM0,XMM1
CVTTSS2SI EDX,XMM0
MOV RAX,RDI
MOVSS XMM0,dword ptr [RSI + 0x7c]
MOV ESI,ECX
SHR ... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* lunasvg::SVGStopElement::gradientStop(float) const */
void lunasvg::SVGStopElement::gradientStop(float param_1)
{
uint uVar1;
uint6 uVar2;
long in_RSI;
int4 *in_RDI;
float fVar3;
int1 auVar4 [16];
float fVar5;
... | |
26,796 | ExampleGuardedVector<main::Payload16B>::~ExampleGuardedVector() | BadAccessGuards/benchmarks/../examples/GuardedVectorExample.h | ~ExampleGuardedVector()
{
BA_GUARD_DESTROY(BAShadow);
} | O0 | c | ExampleGuardedVector<main::Payload16B>::~ExampleGuardedVector():
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x48(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
addq $0x18, %rax
leaq -0x50(%rbp), %rcx
movq %rcx, -0x28(%rbp)
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq -0x30(%rbp), %rcx
movq %rcx,... | _ZN20ExampleGuardedVectorImED2Ev:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_48], rdi
mov rax, [rbp+var_48]
mov [rbp+var_58], rax
add rax, 18h
lea rcx, [rbp+var_50]
mov [rbp+var_28], rcx
mov [rbp+var_30], rax
mov rax, [rbp+var_28]
mov rcx, [rbp+var_30]
mov [rax], ... | long long ExampleGuardedVector<unsigned long>::~ExampleGuardedVector(long long *a1)
{
_QWORD v2[2]; // [rsp+10h] [rbp-50h] BYREF
long long v3; // [rsp+20h] [rbp-40h]
long long v4; // [rsp+28h] [rbp-38h]
_QWORD *v5; // [rsp+30h] [rbp-30h]
_QWORD *v6; // [rsp+38h] [rbp-28h]
long long v7; // [rsp+40h] [rbp-20... | ~ExampleGuardedVector:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x58],RAX
ADD RAX,0x18
LEA RCX,[RBP + -0x50]
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RCX,qword ptr [RBP + -0x30]
MOV ... |
/* ExampleGuardedVector<unsigned long>::~ExampleGuardedVector() */
void __thiscall
ExampleGuardedVector<unsigned_long>::~ExampleGuardedVector
(ExampleGuardedVector<unsigned_long> *this)
{
ExampleGuardedVector<unsigned_long> *local_58;
ExampleGuardedVector<unsigned_long> *local_50;
ulong local_48;
u... | |
26,797 | ExampleGuardedVector<main::Payload16B>::~ExampleGuardedVector() | BadAccessGuards/benchmarks/../examples/GuardedVectorExample.h | ~ExampleGuardedVector()
{
BA_GUARD_DESTROY(BAShadow);
} | O3 | c | ExampleGuardedVector<main::Payload16B>::~ExampleGuardedVector():
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
testb $0x3, %dil
jne 0x606d
movq %rbp, %rax
andq $-0x4, %rax
orq $0x2, %rax
movq %rax, 0x18(%rbx)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x6066
movq 0x10(%rbx), %rsi
sub... | _ZN20ExampleGuardedVectorImED2Ev:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+18h]
test dil, 3
jnz short loc_606D
loc_603D:
mov rax, rbp
and rax, 0FFFFFFFFFFFFFFFCh
or rax, 2
mov [rbx+18h], rax
mov rdi, [rbx]; void *
test rdi, rdi
jz short ... | void ExampleGuardedVector<unsigned long>::~ExampleGuardedVector(long long a1)
{
long long v2; // rdi
long long savedregs; // [rsp+8h] [rbp+0h] BYREF
v2 = *(_QWORD *)(a1 + 24);
if ( (v2 & 3) != 0 )
BAGuardHandleBadAccess(v2, 1LL);
*(_QWORD *)(a1 + 24) = (char *)&savedregs + 2;
if ( *(_QWORD *)a1 )
... | ~ExampleGuardedVector:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x18]
TEST DIL,0x3
JNZ 0x0010606d
LAB_0010603d:
MOV RAX,RBP
AND RAX,-0x4
OR RAX,0x2
MOV qword ptr [RBX + 0x18],RAX
MOV RDI,qword ptr [RBX]
TEST RDI,RDI
JZ 0x00106066
MOV RSI,qword ptr [RBX + 0x10]
SUB RSI,RDI
ADD RSP,0x8
... |
/* ExampleGuardedVector<unsigned long>::~ExampleGuardedVector() */
void __thiscall
ExampleGuardedVector<unsigned_long>::~ExampleGuardedVector
(ExampleGuardedVector<unsigned_long> *this)
{
void *pvVar1;
if ((*(ulong *)(this + 0x18) & 3) != 0) {
/* try { // try from 0010606d to 001... | |
26,798 | my_is_symlink | eloqsql/mysys/my_symlink.c | int my_is_symlink(const char *filename __attribute__((unused)))
{
#if defined (HAVE_LSTAT) && defined (S_ISLNK)
struct stat stat_buff;
if (lstat(filename, &stat_buff))
return 0;
MSAN_STAT_WORKAROUND(&stat_buff);
return !!S_ISLNK(stat_buff.st_mode);
#elif defined (_WIN32)
DWORD dwAttr = GetFileAttributes(f... | O0 | c | my_is_symlink:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x26480
cmpl $0x0, %eax
je 0x5bc5d
movl $0x0, -0x4(%rbp)
jmp 0x5bc7c
movl -0x88(%rbp), %eax
andl $0xf000, %eax # imm = 0xF000
cmpl $0xa000, %eax # imm = 0xA000
sete %... | my_is_symlink:
push rbp
mov rbp, rsp
sub rsp, 0A0h
mov [rbp+var_10], rdi
mov rdi, [rbp+var_10]
lea rsi, [rbp+var_A0]
call _lstat64
cmp eax, 0
jz short loc_5BC5D
mov [rbp+var_4], 0
jmp short loc_5BC7C
loc_5BC5D:
mov eax, [rbp+var_88]
and eax, 0F000h
cmp eax, 0A000h
... | _BOOL8 my_is_symlink(long long a1)
{
_BYTE v2[24]; // [rsp+0h] [rbp-A0h] BYREF
int v3; // [rsp+18h] [rbp-88h]
long long v4; // [rsp+90h] [rbp-10h]
v4 = a1;
return !(unsigned int)lstat64(a1, v2) && (v3 & 0xF000) == 40960;
}
| my_is_symlink:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x10],RDI
MOV RDI,qword ptr [RBP + -0x10]
LEA RSI,[RBP + -0xa0]
CALL 0x00126480
CMP EAX,0x0
JZ 0x0015bc5d
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0015bc7c
LAB_0015bc5d:
MOV EAX,dword ptr [RBP + -0x88]
AND EAX,0xf000
CMP EAX,0xa000
SETZ AL
XOR AL,0xff
X... |
bool my_is_symlink(char *param_1)
{
int iVar1;
stat64 local_a8;
char *local_18;
local_18 = param_1;
iVar1 = lstat64(param_1,&local_a8);
return iVar1 == 0 && (local_a8.st_mode & 0xf000) == 0xa000;
}
| |
26,799 | 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... | O0 | c | my_well_formed_char_length_ucs2:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x38(%rbp)
movq -0x28(%rbp), %rax
shlq %rax
cmpq -0x38(%rbp), %rax
ja 0x... | my_well_formed_char_length_ucs2:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
mov [rbp+var_30], r8
mov rax, [rbp+var_20]
mov rcx, [rbp+var_18]
sub rax, rcx
mov [rbp+var_38], rax
mov rax, [rbp+var_28]
shl ... | unsigned long long my_well_formed_char_length_ucs2(long long a1, long long a2, long long a3, long long a4, _QWORD *a5)
{
unsigned long long v6; // [rsp+0h] [rbp-38h]
v6 = a3 - a2;
if ( 2 * a4 > (unsigned long long)(a3 - a2) )
{
if ( (v6 & 1) != 0 )
{
*a5 = a3 - 1;
a5[1] = a3 - 1;
}
... | my_well_formed_char_length_ucs2:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],R8
MOV RAX,qword ptr [RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x18]
SUB RAX,RCX
MOV qword ptr [RBP + -0x38],RAX... |
ulong my_well_formed_char_length_ucs2
(int8 param_1,long param_2,long param_3,ulong param_4,long *param_5)
{
ulong local_10;
local_10 = param_3 - param_2;
if (param_4 * 2 < local_10 || param_4 * 2 - local_10 == 0) {
param_5[1] = 0;
*param_5 = param_2 + param_4 * 2;
local_10 = para... |
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.