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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
22,900 | nglog::(anonymous namespace)::PrettyDuration[abi:cxx11](std::chrono::duration<int, std::ratio<1l, 1l>> const&) | ng-log[P]ng-log/src/logging.cc | string PrettyDuration(const std::chrono::duration<int>& secs) {
std::stringstream result;
int mins = secs.count() / 60;
int hours = mins / 60;
mins = mins % 60;
int s = secs.count() % 60;
result.fill('0');
result << hours << ':' << setw(2) << mins << ':' << setw(2) << s;
return result.str();
} | O0 | cpp | nglog::(anonymous namespace)::PrettyDuration[abi:cxx11](std::chrono::duration<int, std::ratio<1l, 1l>> const&):
pushq %rbp
movq %rsp, %rbp
subq $0x220, %rsp # imm = 0x220
movq %rdi, -0x1d0(%rbp)
movq %rdi, %rax
movq %rax, -0x1c8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x198(%rbp), %rdi
callq... | _ZN5nglog12_GLOBAL__N_114PrettyDurationB5cxx11ERKNSt6chrono8durationIiSt5ratioILl1ELl1EEEE:
push rbp
mov rbp, rsp
sub rsp, 220h
mov [rbp+var_1D0], rdi
mov rax, rdi
mov [rbp+var_1C8], rax
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
lea rdi, [rbp+var_198]
call __ZNSt7__cxx1118basic_st... | long long nglog::`anonymous namespace'::PrettyDuration[abi:cxx11](long long a1, long long a2)
{
long long v3; // [rsp+8h] [rbp-218h]
long long v4; // [rsp+18h] [rbp-208h]
long long v5; // [rsp+20h] [rbp-200h]
long long v6; // [rsp+28h] [rbp-1F8h]
long long v7; // [rsp+38h] [rbp-1E8h]
long long v8; // [rsp+... | PrettyDuration[abi:cxx11]:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x220
MOV qword ptr [RBP + -0x1d0],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x1c8],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
LEA RDI,[RBP + -0x198]
CALL 0x0010a5b0
MOV RDI,qword ptr [RBP + -0x10]
LAB_00137da4:
CALL 0x0013bc30
MOV dword ptr [R... |
/* nglog::(anonymous namespace)::PrettyDuration[abi:cxx11](std::chrono::duration<int, std::ratio<1l,
1l> > const&) */
_anonymous_namespace_ * __thiscall
nglog::(anonymous_namespace)::PrettyDuration_abi_cxx11_
(_anonymous_namespace_ *this,duration *param_1)
{
int iVar1;
int iVar2;
int4 uVar3;
ost... | |
22,901 | SET_scan_module | xtate/src/xconf.c | static ConfRes SET_scan_module(void *conf, const char *name,
const char *value) {
XConf *xconf = (XConf *)conf;
if (xconf->echo) {
if (xconf->scanner) {
fprintf(xconf->echo, "scan-module = %s\n", xconf->scanner->name);
}
return 0;
}
xco... | O3 | c | SET_scan_module:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
movq 0x2a8(%rdi), %rdi
testq %rdi, %rdi
je 0x597d7
movq 0x4f0(%r15), %rax
testq %rax, %rax
je 0x5980a
movq (%rax), %rdx
leaq 0x2552c(%rip), %rsi # 0x7ecf8
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x15220
jmp 0x5982c
movq %rdx, %rbx
movq %rsi, %r14
movq ... | SET_scan_module:
push r15
push r14
push rbx
mov r15, rdi
mov rdi, [rdi+2A8h]
test rdi, rdi
jz short loc_597D7
mov rax, [r15+4F0h]
test rax, rax
jz short loc_5980A
mov rdx, [rax]
lea rsi, aScanModuleS; "scan-module = %s\n"
xor ebx, ebx
xor eax, eax
call _fprintf
jm... | long long SET_scan_module(
long long a1,
long long a2,
long long a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11)
{
long long v12; // rdi
const char **v13; // rax
unsigned int v14;... | SET_scan_module:
PUSH R15
PUSH R14
PUSH RBX
MOV R15,RDI
MOV RDI,qword ptr [RDI + 0x2a8]
TEST RDI,RDI
JZ 0x001597d7
MOV RAX,qword ptr [R15 + 0x4f0]
TEST RAX,RAX
JZ 0x0015980a
MOV RDX,qword ptr [RAX]
LEA RSI,[0x17ecf8]
XOR EBX,EBX
XOR EAX,EAX
CALL 0x00115220
JMP 0x0015982c
LAB_001597d7:
MOV RBX,RDX
MOV R14,RSI
MOV RDI,RD... |
int8 SET_scan_module(long param_1,int8 param_2,int8 param_3)
{
long lVar1;
int8 uVar2;
if (*(FILE **)(param_1 + 0x2a8) == (FILE *)0x0) {
lVar1 = get_scan_module_by_name(param_3);
*(long *)(param_1 + 0x4f0) = lVar1;
if (lVar1 == 0) {
LOG(0xffffffff,"fail %s: no such scan module named %s\n",p... | |
22,902 | minja::TemplateToken::typeToString[abi:cxx11](minja::TemplateToken::Type) | monkey531[P]llama/common/minja.hpp | static std::string typeToString(Type t) {
switch (t) {
case Type::Text: return "text";
case Type::Expression: return "expression";
case Type::If: return "if";
case Type::Else: return "else";
case Type::Elif: return "elif";
case Type::EndIf:... | O2 | cpp | minja::TemplateToken::typeToString[abi:cxx11](minja::TemplateToken::Type):
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x12, %esi
ja 0x8eda5
movl %esi, %eax
leaq 0x411c6(%rip), %rcx # 0xcfea8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x3670d(%rip), %rsi # 0xc53ff
jmp 0x8edac
leaq 0x4228d(... | _ZN5minja13TemplateToken12typeToStringB5cxx11ENS0_4TypeE:
push rbx
sub rsp, 10h
mov rbx, rdi
cmp esi, 12h; switch 19 cases
ja def_8ECE9; jumptable 000000000008ECE9 default case
mov eax, esi
lea rcx, jpt_8ECE9
movsxd rax, ds:(jpt_8ECE9 - 0CFEA8h)[rcx+rax*4]
add rax, rcx
jmp rax; swit... | _QWORD * minja::TemplateToken::typeToString[abi:cxx11](_QWORD *a1, int a2)
{
char *v2; // rsi
switch ( a2 )
{
case 0:
v2 = "text";
break;
case 1:
v2 = (char *)"expression";
break;
case 2:
v2 = "if";
break;
case 3:
v2 = "else";
break;
case 4:
... | typeToString[abi:cxx11]:
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
CMP ESI,0x12
JA 0x0018eda5
MOV EAX,ESI
LEA RCX,[0x1cfea8]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_0:
LEA RSI,[0x1c53ff]
JMP 0x0018edac
caseD_10:
LEA RSI,[0x1d0f8b]
JMP 0x0018edac
caseD_e:
LEA RSI,[0x1d0f5e]
JMP 0x0018edac
caseD_b... |
/* minja::TemplateToken::typeToString[abi:cxx11](minja::TemplateToken::Type) */
TemplateToken * __thiscall
minja::TemplateToken::typeToString_abi_cxx11_(TemplateToken *this,int4 param_2)
{
char *pcVar1;
allocator local_9;
switch(param_2) {
case 0:
pcVar1 = "text";
break;
case 1:
pcVar1 = "ex... | |
22,903 | plutovg_skip_ws | dmazzella[P]pylunasvg/lunasvg/plutovg/source/plutovg-utils.h | static inline bool plutovg_skip_ws(const char** begin, const char* end)
{
const char* it = *begin;
while(it < end && PLUTOVG_IS_WS(*it))
++it;
*begin = it;
return it < end;
} | O0 | c | plutovg_skip_ws:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rcx
xorl %eax, %eax
cmpq -0x10(%rbp), %rcx
movb %al, -0x19(%rbp)
jae 0x5ea4f
movq -0x18(%rbp), %rax
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x20, %e... | plutovg_skip_ws_0:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov rax, [rax]
mov [rbp+var_18], rax
loc_5E9F7:
mov rcx, [rbp+var_18]
xor eax, eax
cmp rcx, [rbp+var_10]
mov [rbp+var_19], al
jnb short loc_5EA4F
mov rax, [rbp+var_... | bool plutovg_skip_ws_0(_BYTE **a1, unsigned long long a2)
{
bool v3; // [rsp+0h] [rbp-1Ah]
bool v4; // [rsp+1h] [rbp-19h]
_BYTE *i; // [rsp+2h] [rbp-18h]
for ( i = *a1; ; ++i )
{
v4 = 0;
if ( (unsigned long long)i < a2 )
{
v3 = 1;
if ( *i != 32 )
{
v3 = 1;
if ( ... | plutovg_skip_ws:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
LAB_0015e9f7:
MOV RCX,qword ptr [RBP + -0x18]
XOR EAX,EAX
CMP RCX,qword ptr [RBP + -0x10]
MOV byte ptr [RBP + -0x19],AL
JNC 0x0015ea... |
int8 plutovg_skip_ws(int8 *param_1,char *param_2)
{
bool bVar1;
char *local_20;
local_20 = (char *)*param_1;
while( true ) {
bVar1 = false;
if ((((local_20 < param_2) && (bVar1 = true, *local_20 != ' ')) &&
(bVar1 = true, *local_20 != '\t')) && (bVar1 = true, *local_20 != '\n')) {
bVa... | |
22,904 | lunasvg::SVGLinearGradientAttributes::setDefaultValues(lunasvg::SVGLinearGradientElement const*) | dmazzella[P]pylunasvg/lunasvg/source/svgpaintelement.h | void setDefaultValues(const SVGLinearGradientElement* element) {
SVGGradientAttributes::setDefaultValues(element);
if(!m_x1) { m_x1 = element; }
if(!m_y1) { m_y1 = element; }
if(!m_x2) { m_x2 = element; }
if(!m_y2) { m_y2 = element; }
} | O0 | c | lunasvg::SVGLinearGradientAttributes::setDefaultValues(lunasvg::SVGLinearGradientElement const*):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
movq -0x10(%rbp), %rsi
callq 0x386b0
movq -0x18(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x... | _ZN7lunasvg27SVGLinearGradientAttributes16setDefaultValuesEPKNS_24SVGLinearGradientElementE:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rdi, [rbp+var_8]; this
mov [rbp+var_18], rdi
mov rsi, [rbp+var_10]; lunasvg::SVGGradientElement *
call _ZN7luna... | lunasvg::SVGLinearGradientAttributes * lunasvg::SVGLinearGradientAttributes::setDefaultValues(
lunasvg::SVGLinearGradientAttributes *this,
const lunasvg::SVGLinearGradientElement *a2)
{
lunasvg::SVGLinearGradientAttributes *result; // rax
lunasvg::SVGGradientAttributes::setDefaultValues(this, a2);
... | setDefaultValues:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x18],RDI
MOV RSI,qword ptr [RBP + -0x10]
CALL 0x001386b0
MOV RAX,qword ptr [RBP + -0x18]
CMP qword ptr [RAX + 0x20],0x0
JNZ 0x00137908
MOV RAX,qword pt... |
/* lunasvg::SVGLinearGradientAttributes::setDefaultValues(lunasvg::SVGLinearGradientElement const*)
*/
void __thiscall
lunasvg::SVGLinearGradientAttributes::setDefaultValues
(SVGLinearGradientAttributes *this,SVGLinearGradientElement *param_1)
{
SVGGradientAttributes::setDefaultValues
((S... | |
22,905 | func_gb2312_uni_onechar | eloqsql/strings/ctype-gb2312.c | static int func_gb2312_uni_onechar(int code){
if ((code>=0x2121)&&(code<=0x2658))
return(tab_gb2312_uni0[code-0x2121]);
if ((code>=0x2721)&&(code<=0x296F))
return(tab_gb2312_uni1[code-0x2721]);
if ((code>=0x3021)&&(code<=0x777E))
return(tab_gb2312_uni2[code-0x3021]);
return(0);
} | O0 | c | func_gb2312_uni_onechar:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
cmpl $0x2121, -0x8(%rbp) # imm = 0x2121
jl 0x512d4
cmpl $0x2658, -0x8(%rbp) # imm = 0x2658
jg 0x512d4
movl -0x8(%rbp), %eax
subl $0x2121, %eax # imm = 0x2121
movslq %eax, %rcx
leaq 0xc9515(%rip), %rax # 0x11a7e0
movzwl (%rax... | func_gb2312_uni_onechar:
push rbp
mov rbp, rsp
mov [rbp+var_8], edi
cmp [rbp+var_8], 2121h
jl short loc_512D4
cmp [rbp+var_8], 2658h
jg short loc_512D4
mov eax, [rbp+var_8]
sub eax, 2121h
movsxd rcx, eax
lea rax, tab_gb2312_uni0
movzx eax, word ptr [rax+rcx*2]
mov [rbp+va... | long long func_gb2312_uni_onechar(int a1)
{
if ( a1 < 8481 || a1 > 9816 )
{
if ( a1 < 10017 || a1 > 10607 )
{
if ( a1 < 12321 || a1 > 30590 )
return 0;
else
return tab_gb2312_uni2[a1 - 12321];
}
else
{
return tab_gb2312_uni1[a1 - 10017];
}
}
else
{
... | func_gb2312_uni_onechar:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x8],EDI
CMP dword ptr [RBP + -0x8],0x2121
JL 0x001512d4
CMP dword ptr [RBP + -0x8],0x2658
JG 0x001512d4
MOV EAX,dword ptr [RBP + -0x8]
SUB EAX,0x2121
MOVSXD RCX,EAX
LEA RAX,[0x21a7e0]
MOVZX EAX,word ptr [RAX + RCX*0x2]
MOV dword ptr [RBP + -0x4],EAX
J... |
int2 func_gb2312_uni_onechar(int param_1)
{
int2 uVar1;
if ((param_1 < 0x2121) || (0x2658 < param_1)) {
if ((param_1 < 0x2721) || (0x296f < param_1)) {
if ((param_1 < 0x3021) || (0x777e < param_1)) {
uVar1 = 0;
}
else {
uVar1 = *(int2 *)(tab_gb2312_uni2 + (long)(param_1 + ... | |
22,906 | dedup_selftest | xtate/src/dedup/dedup.c | int dedup_selftest() {
DedupTable *dedup;
unsigned seed = 0;
size_t i;
unsigned found_match = 0;
unsigned line = 0;
dedup = dedup_create(1000000);
/* Deterministic test.
*
* The first time we check on a socket combo, there should
* be no duplicate. The s... | O3 | c | dedup_selftest:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl $0x1, %edi
movl $0x4800008, %esi # imm = 0x4800008
callq 0x5080b
movq %rax, %rbx
movl $0x3ffff, (%rax) # imm = 0x3FFFF
movb $0x4, %al
movb %al, 0x60(%rsp)
movb %al, 0x48(%rsp)
movl $0x12345678, 0x50(%rs... | dedup_selftest:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0C8h
mov edi, 1
mov esi, 4800008h
call CALLOC
mov rbx, rax
mov dword ptr [rax], 3FFFFh
mov al, 4
mov byte ptr [rsp+0F8h+var_98], al
mov byte ptr [rsp+0F8h+var_B0], al
mov dword ptr [rs... | long long dedup_selftest(double a1, __m128i a2)
{
_DWORD *v2; // rbx
long long v3; // r8
long long v4; // r9
int is_dup; // eax
long long v6; // r9
long long v7; // r8
long long v9; // r8
int v10; // eax
int v11; // edx
int v12; // ecx
long long v13; // r8
int v14; // ebp
long long v15; // r1... | dedup_selftest:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xc8
MOV EDI,0x1
MOV ESI,0x4800008
CALL 0x0015080b
MOV RBX,RAX
MOV dword ptr [RAX],0x3ffff
MOV AL,0x4
MOV byte ptr [RSP + 0x60],AL
MOV byte ptr [RSP + 0x48],AL
MOV dword ptr [RSP + 0x50],0x12345678
MOV dword ptr [RSP + 0x38],0xabcdef0
MOV RAX... |
int8 dedup_selftest(void)
{
int iVar1;
int4 *__ptr;
int iVar2;
int iVar3;
int8 uVar4;
uint uVar5;
long lVar6;
int8 uVar7;
int8 uVar8;
int8 uVar9;
int4 local_a8;
int4 uStack_a0;
int7 uStack_97;
ulong local_90 [2];
int1 local_80;
uint local_60 [2];
ulong uStack_58;
int1 local_50;
... | |
22,907 | copy_uca_collation | eloqsql/mysys/charset.c | static void
copy_uca_collation(struct charset_info_st *to, CHARSET_INFO *from,
CHARSET_INFO *loaded)
{
to->cset= from->cset;
to->coll= from->coll;
/*
Single-level UCA collation have strnxfrm_multiple=8.
In case of a multi-level UCA collation we use strnxfrm_multiply=4.
That means MY... | O0 | c | copy_uca_collation:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0xb8(%rax), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0xb8(%rax)
movq -0x10(%rbp), %rax
movq 0xc0(%rax), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0xc0(%rax)
movq -0x18(%rbp), %rax
movz... | copy_uca_collation:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_10]
mov rcx, [rax+0B8h]
mov rax, [rbp+var_8]
mov [rax+0B8h], rcx
mov rax, [rbp+var_10]
mov rcx, [rax+0C0h]
mov rax, [rbp+var_8]
mov [rax+0C0h], ... | long long copy_uca_collation(long long a1, long long a2, long long a3)
{
long long result; // rax
int v4; // [rsp+0h] [rbp-1Ch]
*(_QWORD *)(a1 + 184) = *(_QWORD *)(a2 + 184);
*(_QWORD *)(a1 + 192) = *(_QWORD *)(a2 + 192);
if ( *(unsigned __int8 *)(a3 + 178) <= 1u )
v4 = *(_DWORD *)(a2 + 144);
else
... | copy_uca_collation:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RAX + 0xb8]
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0xb8],RCX
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RAX + 0x... |
void copy_uca_collation(long param_1,long param_2,long param_3)
{
int4 local_24;
*(int8 *)(param_1 + 0xb8) = *(int8 *)(param_2 + 0xb8);
*(int8 *)(param_1 + 0xc0) = *(int8 *)(param_2 + 0xc0);
if (*(byte *)(param_3 + 0xb2) < 2) {
local_24 = *(int4 *)(param_2 + 0x90);
}
else {
local_24 = 4;
}
... | |
22,908 | copy_uca_collation | eloqsql/mysys/charset.c | static void
copy_uca_collation(struct charset_info_st *to, CHARSET_INFO *from,
CHARSET_INFO *loaded)
{
to->cset= from->cset;
to->coll= from->coll;
/*
Single-level UCA collation have strnxfrm_multiple=8.
In case of a multi-level UCA collation we use strnxfrm_multiply=4.
That means MY... | O3 | c | copy_uca_collation:
pushq %rbp
movq %rsp, %rbp
movq 0xb8(%rsi), %rax
movq %rax, 0xb8(%rdi)
movq 0xc0(%rsi), %rax
movq %rax, 0xc0(%rdi)
movl $0x4, %eax
cmpb $0x1, 0xb2(%rdx)
ja 0xa61b3
movl 0x90(%rsi), %eax
movl %eax, 0x90(%rdi)
movq 0xa0(%rsi), %rax
movq %rax, 0xa0(%rdi)
movq 0xa8(%rsi), %rax
movq %rax, 0xa8(%rdi)
movl... | copy_uca_collation:
push rbp
mov rbp, rsp
mov rax, [rsi+0B8h]
mov [rdi+0B8h], rax
mov rax, [rsi+0C0h]
mov [rdi+0C0h], rax
mov eax, 4
cmp byte ptr [rdx+0B2h], 1
ja short loc_A61B3
mov eax, [rsi+90h]
loc_A61B3:
mov [rdi+90h], eax
mov rax, [rsi+0A0h]
mov [rdi+0A0h], rax
... | char copy_uca_collation(long long a1, long long a2, long long a3)
{
int v3; // eax
char result; // al
*(_QWORD *)(a1 + 184) = *(_QWORD *)(a2 + 184);
*(_QWORD *)(a1 + 192) = *(_QWORD *)(a2 + 192);
v3 = 4;
if ( *(_BYTE *)(a3 + 178) <= 1u )
v3 = *(_DWORD *)(a2 + 144);
*(_DWORD *)(a1 + 144) = v3;
*(_Q... | copy_uca_collation:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RSI + 0xb8]
MOV qword ptr [RDI + 0xb8],RAX
MOV RAX,qword ptr [RSI + 0xc0]
MOV qword ptr [RDI + 0xc0],RAX
MOV EAX,0x4
CMP byte ptr [RDX + 0xb2],0x1
JA 0x001a61b3
MOV EAX,dword ptr [RSI + 0x90]
LAB_001a61b3:
MOV dword ptr [RDI + 0x90],EAX
MOV RAX,qword ptr [RSI ... |
void copy_uca_collation(long param_1,long param_2,long param_3)
{
int4 uVar1;
*(int8 *)(param_1 + 0xb8) = *(int8 *)(param_2 + 0xb8);
*(int8 *)(param_1 + 0xc0) = *(int8 *)(param_2 + 0xc0);
uVar1 = 4;
if (*(byte *)(param_3 + 0xb2) < 2) {
uVar1 = *(int4 *)(param_2 + 0x90);
}
*(int4 *)(param_1 + 0x90... | |
22,909 | lunasvg::parseUrl[abi:cxx11](std::basic_string_view<char, std::char_traits<char>>) | dmazzella[P]pylunasvg/lunasvg/source/svglayoutstate.cpp | static std::string parseUrl(std::string_view input)
{
std::string value;
if(!parseUrlValue(input, value) || !input.empty())
value.clear();
return value;
} | O1 | cpp | lunasvg::parseUrl[abi:cxx11](std::basic_string_view<char, std::char_traits<char>>):
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rsp, %rdi
movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
leaq 0x10(%rbx), %r15
movq %r15, (%rbx)
movq $0x0, 0x8(%rbx)
movb $0x0, 0x10(%rbx)
movq %rbx, %rsi
callq 0x16e40
cm... | _ZN7lunasvgL8parseUrlB5cxx11ESt17basic_string_viewIcSt11char_traitsIcEE:
push r15
push r14
push rbx
sub rsp, 10h
mov rbx, rdi
mov rdi, rsp
mov [rdi], rsi
mov [rdi+8], rdx
lea r15, [rbx+10h]
mov [rbx], r15
mov qword ptr [rbx+8], 0
mov byte ptr [rbx+10h], 0
mov rsi, rbx
ca... | long long lunasvg::parseUrl[abi:cxx11](long long a1, long long a2, long long a3)
{
unsigned __int8 v3; // al
_QWORD v5[5]; // [rsp+0h] [rbp-28h] BYREF
v5[0] = a2;
v5[1] = a3;
*(_QWORD *)a1 = a1 + 16;
*(_QWORD *)(a1 + 8) = 0LL;
*(_BYTE *)(a1 + 16) = 0;
v3 = lunasvg::parseUrlValue(v5, a1);
if ( ((v5[0... | parseUrl[abi:cxx11]:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
MOV RDI,RSP
MOV qword ptr [RDI],RSI
MOV qword ptr [RDI + 0x8],RDX
LEA R15,[RBX + 0x10]
MOV qword ptr [RBX],R15
MOV qword ptr [RBX + 0x8],0x0
MOV byte ptr [RBX + 0x10],0x0
LAB_00116bef:
MOV RSI,RBX
CALL 0x00116e40
LAB_00116bf7:
CMP qword ptr [RSP],... |
/* lunasvg::parseUrl[abi:cxx11](std::basic_string_view<char, std::char_traits<char> >) */
string * lunasvg::parseUrl_abi_cxx11_(string *param_1,long param_2,int8 param_3)
{
byte bVar1;
long local_28;
int8 local_20;
*(string **)param_1 = param_1 + 0x10;
*(int8 *)(param_1 + 8) = 0;
param_1[0x10] = (stri... | |
22,910 | mi_status | eloqsql/storage/myisam/mi_info.c | int mi_status(MI_INFO *info, register MI_ISAMINFO *x, uint flag)
{
MY_STAT state;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("mi_status");
x->recpos = info->lastpos;
if (flag == HA_STATUS_POS)
DBUG_RETURN(0); /* Compatible with ISAM */
if (!(flag & HA_STATUS_NO_LOCK))
{
mysql_mutex_lock(&share->... | O3 | c | mi_status:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq (%rdi), %r13
movq 0x170(%rdi), %rax
movq %rax, 0x10(%rsi)
cmpl $0x1, %edx
je 0x7dc40
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
testb $0x2, %r14b
jne 0x7da7a
leaq 0x480(%r13), %r12
cmpq $0x0, 0x4c0(%... | mi_status:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0E8h
mov r13, [rdi]
mov rax, [rdi+170h]
mov [rsi+10h], rax
cmp edx, 1
jz loc_7DC40
mov r14d, edx
mov rbx, rsi
mov r15, rdi
test r14b, 2
jnz short loc_7DA7A
lea r12... | long long mi_status(_DWORD *a1, long long a2, int a3)
{
long long v3; // r13
char v4; // r14
unsigned long long v5; // rcx
long long v6; // rdx
long long v7; // rax
unsigned long long v8; // rax
long long v9; // rax
unsigned int v10; // r15d
long long v11; // rax
int v12; // eax
long long v13; //... | mi_status:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xe8
MOV R13,qword ptr [RDI]
MOV RAX,qword ptr [RDI + 0x170]
MOV qword ptr [RSI + 0x10],RAX
CMP EDX,0x1
JZ 0x0017dc40
MOV R14D,EDX
MOV RBX,RSI
MOV R15,RDI
TEST R14B,0x2
JNZ 0x0017da7a
LEA R12,[R13 + 0x480]
CMP qword ptr [R13 + 0x4c0],0... |
int8 mi_status(long *param_1,ulong *param_2,uint param_3)
{
pthread_mutex_t *__mutex;
long lVar1;
int4 uVar2;
ulong uVar3;
ulong uVar4;
long lVar5;
ulong uVar6;
int1 local_110 [72];
int1 local_c8 [88];
ulong local_70;
int local_34;
lVar1 = *param_1;
param_2[2] = param_1[0x2e];
if (param... | |
22,911 | my_wc_mb_bin | eloqsql/strings/ctype-bin.c | int my_wc_mb_bin(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc, uchar *s, uchar *e)
{
if (s >= e)
return MY_CS_TOOSMALL;
if (wc < 256)
{
s[0]= (char) wc;
return 1;
}
return MY_CS_ILUNI;
} | O0 | c | my_wc_mb_bin:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
jb 0x3cd67
movl $0xffffff9b, -0x4(%rbp) # imm = 0xFFFFFF9B
jmp 0x3cd8d
cmpq $0x100, -0x18(%rbp) # imm = 0x100
jae 0x3cd86
movq -0x18(%rbp... | my_wc_mb_bin:
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 rax, [rbp+var_20]
cmp rax, [rbp+var_28]
jb short loc_3CD67
mov [rbp+var_4], 0FFFFFF9Bh
jmp short loc_3CD8D
loc_3CD67:
cmp [rbp+var_18], 100h
jnb... | long long my_wc_mb_bin(long long a1, unsigned long long a2, _BYTE *a3, unsigned long long a4)
{
if ( (unsigned long long)a3 < a4 )
{
if ( a2 >= 0x100 )
{
return 0;
}
else
{
*a3 = a2;
return 1;
}
}
else
{
return (unsigned int)-101;
}
}
| my_wc_mb_bin:
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 RAX,qword ptr [RBP + -0x20]
CMP RAX,qword ptr [RBP + -0x28]
JC 0x0013cd67
MOV dword ptr [RBP + -0x4],0xffffff9b
JMP 0x0013cd8d
LAB_0013cd67:
CMP qword pt... |
int4 my_wc_mb_bin(int8 param_1,ulong param_2,int1 *param_3,int1 *param_4)
{
int4 local_c;
if (param_3 < param_4) {
if (param_2 < 0x100) {
*param_3 = (char)param_2;
local_c = 1;
}
else {
local_c = 0;
}
}
else {
local_c = 0xffffff9b;
}
return local_c;
}
| |
22,912 | nglog::tools::GetHex(char const*, char const*, unsigned long*) | ng-log[P]ng-log/src/symbolize.cc | static char* GetHex(const char* start, const char* end, uint64_t* hex) {
*hex = 0;
const char* p;
for (p = start; p < end; ++p) {
int ch = *p;
if ((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') ||
(ch >= 'a' && ch <= 'f')) {
*hex = (*hex << 4U) |
(ch < 'A' ? static_cast<ui... | O0 | cpp | nglog::tools::GetHex(char const*, char const*, unsigned long*):
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq $0x0, (%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x10(%rbp), %rax
jae 0x4a9ce
... | _ZN5nglog5toolsL6GetHexEPKcS2_Pm:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_18]
mov qword ptr [rax], 0
mov rax, [rbp+var_8]
mov [rbp+var_20], rax
loc_4A937:
mov rax, [rbp+var_20]
cmp rax, [rbp+var_... | nglog::tools * nglog::tools::GetHex(nglog::tools *this, nglog::tools *a2, char *a3, unsigned long long *a4)
{
long long v5; // [rsp+8h] [rbp-38h]
int v6; // [rsp+1Ch] [rbp-24h]
nglog::tools *i; // [rsp+20h] [rbp-20h]
*(_QWORD *)a3 = 0LL;
for ( i = this; i < a2; i = (nglog::tools *)((char *)i + 1) )
{
v... | GetHex:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x20],RAX
LAB_0014a937:
MOV RAX,qword ptr [RBP + -0x20]
CMP RAX,qword ptr ... |
/* nglog::tools::GetHex(char const*, char const*, unsigned long*) */
char * nglog::tools::GetHex(char *param_1,char *param_2,ulong *param_3)
{
uint uVar1;
ulong local_40;
char *local_28;
*param_3 = 0;
for (local_28 = param_1;
(local_28 < param_2 &&
((((uVar1 = (uint)*local_28, 0x2f < (int)uV... | |
22,913 | nglog::tools::GetHex(char const*, char const*, unsigned long*) | ng-log[P]ng-log/src/symbolize.cc | static char* GetHex(const char* start, const char* end, uint64_t* hex) {
*hex = 0;
const char* p;
for (p = start; p < end; ++p) {
int ch = *p;
if ((ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') ||
(ch >= 'a' && ch <= 'f')) {
*hex = (*hex << 4U) |
(ch < 'A' ? static_cast<ui... | O2 | cpp | nglog::tools::GetHex(char const*, char const*, unsigned long*):
pushq %rax
andq $0x0, (%rdx)
xorl %eax, %eax
movabsq $0x3f0000003f, %rcx # imm = 0x3F0000003F
cmpq %rsi, %rdi
jae 0x1c68a
movb (%rdi), %r8b
leal -0x30(%r8), %r9d
cmpb $0xa, %r9b
jb 0x1c660
movzbl %r8b, %r9d
addl $-0x41, %r9d
cmpl $0x25, %r9d
ja 0x1c68a... | _ZN5nglog5toolsL6GetHexEPKcS2_Pm:
push rax
and qword ptr [rdx], 0
xor eax, eax
mov rcx, 3F0000003Fh
loc_1C63A:
cmp rdi, rsi
jnb short loc_1C68A
mov r8b, [rdi]
lea r9d, [r8-30h]
cmp r9b, 0Ah
jb short loc_1C660
movzx r9d, r8b
add r9d, 0FFFFFFBFh
cmp r9d, 25h ; '%'
ja ... | nglog::tools * nglog::tools::GetHex(nglog::tools *this, nglog::tools *a2, char *a3, unsigned long long *a4)
{
long long v4; // rax
long long v5; // rcx
unsigned __int8 v6; // r8
unsigned long long v7; // r9
long long v8; // rax
long long v9; // r9
*(_QWORD *)a3 = 0LL;
v4 = 0LL;
v5 = 0x3F0000003FLL;
... | GetHex:
PUSH RAX
AND qword ptr [RDX],0x0
XOR EAX,EAX
MOV RCX,0x3f0000003f
LAB_0011c63a:
CMP RDI,RSI
JNC 0x0011c68a
MOV R8B,byte ptr [RDI]
LEA R9D,[R8 + -0x30]
CMP R9B,0xa
JC 0x0011c660
MOVZX R9D,R8B
ADD R9D,-0x41
CMP R9D,0x25
JA 0x0011c68a
BT RCX,R9
JNC 0x0011c68a
LAB_0011c660:
MOVSX R9D,R8B
SHL RAX,0x4
LEA R10D,[R9 + ... |
/* nglog::tools::GetHex(char const*, char const*, unsigned long*) */
byte * nglog::tools::GetHex(char *param_1,char *param_2,ulong *param_3)
{
byte bVar1;
ulong uVar2;
ulong uVar3;
*param_3 = 0;
uVar2 = 0;
while ((param_1 < param_2 &&
((bVar1 = *param_1, (byte)(bVar1 - 0x30) < 10 ||
... | |
22,914 | LefDefParser::lefrSettings::lefrSettings() | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefrSettings.cpp | lefrSettings::lefrSettings()
: DisPropStrProcess(0),
CaseSensitive(FALSE),
CaseSensitiveSet(FALSE),
CommentChar('#'),
DeltaNumberLines(10000),
AntennaInoutWarnings(999),
AntennaInputWarnings(999),
AntennaOutputWarnings(999),
ArrayWarnings(999),
CaseSensitiveWarnings(999),
CorrectionTableWarnings(999... | O3 | cpp | LefDefParser::lefrSettings::lefrSettings():
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x8(%rdi), %rcx
xorl %eax, %eax
movl %eax, 0x8(%rdi)
movq %rax, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movb $0x23, 0x30(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%rdi)
movl %eax, 0x4... | _ZN12LefDefParser12lefrSettingsC2Ev:
push r15; Alternative name is 'LefDefParser::lefrSettings::lefrSettings(void)'
push r14
push rbx
mov rbx, rdi
lea rcx, [rdi+8]
xor eax, eax
mov [rdi+8], eax
mov [rdi+10h], rax
mov [rdi+18h], rcx
mov [rdi+20h], rcx
mov [rdi+28h], rax
mov b... | long long LefDefParser::lefrSettings::lefrSettings(LefDefParser::lefrSettings *this)
{
*((_DWORD *)this + 2) = 0;
*((_QWORD *)this + 2) = 0LL;
*((_QWORD *)this + 3) = (char *)this + 8;
*((_QWORD *)this + 4) = (char *)this + 8;
*((_QWORD *)this + 5) = 0LL;
*((_BYTE *)this + 48) = 35;
*(_OWORD *)((char *)t... | lefrSettings:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RDI
LEA RCX,[RDI + 0x8]
XOR EAX,EAX
MOV dword ptr [RDI + 0x8],EAX
MOV qword ptr [RDI + 0x10],RAX
MOV qword ptr [RDI + 0x18],RCX
MOV qword ptr [RDI + 0x20],RCX
MOV qword ptr [RDI + 0x28],RAX
MOV byte ptr [RDI + 0x30],0x23
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI + 0x38],XM... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* LefDefParser::lefrSettings::lefrSettings() */
void __thiscall LefDefParser::lefrSettings::lefrSettings(lefrSettings *this)
{
int8 uVar1;
int8 uVar2;
*(int4 *)(this + 8) = 0;
*(int8 *)(this + 0x10) = 0;
*(lefrSettings... | |
22,915 | evmone::advanced::(anonymous namespace)::op_sstore(evmone::advanced::Instruction const*, evmone::advanced::AdvancedExecutionState&) | corpus-core[P]colibri-stateless/build_O3/_deps/evmone_external-src/lib/evmone/advanced_instructions.cpp | const Instruction* op_sstore(const Instruction* instr, AdvancedExecutionState& state) noexcept
{
const auto gas_left_correction = state.current_block_cost - instr->arg.number;
state.gas_left += gas_left_correction;
const auto status = instr::impl<OP_SSTORE>(state);
if (status != EVMC_SUCCESS)
r... | O3 | cpp | evmone::advanced::(anonymous namespace)::op_sstore(evmone::advanced::Instruction const*, evmone::advanced::AdvancedExecutionState&):
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl 0x230(%rsi), %r15d
subq 0x8(%rdi), %r15
movq 0x220(%rsi), %rsi
addq %r15, %rsi
movq %rsi, 0x220(%r14)
movq 0x228(%r14... | _ZN6evmone8advanced12_GLOBAL__N_19op_sstoreEPKNS0_11InstructionERNS0_22AdvancedExecutionStateE:
push r15
push r14
push rbx
mov r14, rsi
mov rbx, rdi
mov r15d, [rsi+230h]
sub r15, [rdi+8]
mov rsi, [rsi+220h]
add rsi, r15
mov [r14+220h], rsi
mov rdi, [r14+228h]
mov rdx, r14
ca... | long long evmone::advanced::`anonymous namespace'::op_sstore(long long a1, long long a2)
{
long long v3; // r15
long long v4; // rsi
int v5; // eax
long long v6; // rdx
long long v8; // rdx
v3 = *(unsigned int *)(a2 + 560) - *(_QWORD *)(a1 + 8);
v4 = v3 + *(_QWORD *)(a2 + 544);
*(_QWORD *)(a2 + 544) =... | op_sstore:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
MOV R15D,dword ptr [RSI + 0x230]
SUB R15,qword ptr [RDI + 0x8]
MOV RSI,qword ptr [RSI + 0x220]
ADD RSI,R15
MOV qword ptr [R14 + 0x220],RSI
MOV RDI,qword ptr [R14 + 0x228]
MOV RDX,R14
CALL 0x0014b6f9
MOV qword ptr [R14 + 0x220],RDX
ADD qword ptr [R14 + 0x228]... |
/* evmone::advanced::(anonymous namespace)::op_sstore(evmone::advanced::Instruction const*,
evmone::advanced::AdvancedExecutionState&) */
Instruction *
evmone::advanced::(anonymous_namespace)::op_sstore
(Instruction *param_1,AdvancedExecutionState *param_2)
{
uint uVar1;
int iVar2;
long extraout_R... | |
22,916 | my_get_err_msg | eloqsql/mysys/my_error.c | const char *my_get_err_msg(uint nr)
{
const char *format;
struct my_err_head *meh_p;
/* Search for the range this error is in. */
for (meh_p= my_errmsgs_list; meh_p; meh_p= meh_p->meh_next)
if (nr <= meh_p->meh_last)
break;
/*
If we found the range this error number is in, get the format strin... | O3 | c | my_get_err_msg:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %edi, %ebx
leaq 0x2f3408(%rip), %r14 # 0x3ae148
xorl %eax, %eax
movq (%r14), %r14
testq %r14, %r14
je 0xbad76
cmpl %ebx, 0x14(%r14)
jb 0xbad42
cmpl %ebx, 0x10(%r14)
ja 0xbad74
movl %ebx, %edi
callq *0x8(%r14)
subl 0x10(%r14), %ebx
movq (%rax,%rbx,... | my_get_err_msg:
push rbp
mov rbp, rsp
push r14
push rbx
mov ebx, edi
lea r14, my_errmsgs_list
xor eax, eax
loc_BAD42:
mov r14, [r14]
test r14, r14
jz short loc_BAD76
cmp [r14+14h], ebx
jb short loc_BAD42
cmp [r14+10h], ebx
ja short loc_BAD74
mov edi, ebx
call ... | _BYTE * my_get_err_msg(unsigned int a1)
{
long long **v1; // r14
_BYTE *result; // rax
_BYTE *v3; // rcx
v1 = &my_errmsgs_list;
result = 0LL;
while ( 1 )
{
v1 = (long long **)*v1;
if ( !v1 )
break;
if ( *((_DWORD *)v1 + 5) >= a1 )
{
if ( *((_DWORD *)v1 + 4) > a1 )
retu... | my_get_err_msg:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV EBX,EDI
LEA R14,[0x4ae148]
XOR EAX,EAX
LAB_001bad42:
MOV R14,qword ptr [R14]
TEST R14,R14
JZ 0x001bad76
CMP dword ptr [R14 + 0x14],EBX
JC 0x001bad42
CMP dword ptr [R14 + 0x10],EBX
JA 0x001bad74
MOV EDI,EBX
CALL qword ptr [R14 + 0x8]
SUB EBX,dword ptr [R14 + 0x1... |
char * my_get_err_msg(uint param_1)
{
char *pcVar1;
long lVar2;
int **ppuVar3;
ppuVar3 = &my_errmsgs_list;
do {
ppuVar3 = (int **)*ppuVar3;
if (ppuVar3 == (int **)0x0) {
return (char *)0x0;
}
} while (*(uint *)((long)ppuVar3 + 0x14) < param_1);
if (*(uint *)(ppuVar3 + 2) <= param_1)... | |
22,917 | stbiw__jpg_writeBits | dmazzella[P]pylunasvg/lunasvg/plutovg/source/plutovg-stb-image-write.h | static void stbiw__jpg_writeBits(stbi__write_context *s, int *bitBufP, int *bitCntP, const unsigned short *bs) {
int bitBuf = *bitBufP, bitCnt = *bitCntP;
bitCnt += bs[1];
bitBuf |= bs[0] << (24 - bitCnt);
while(bitCnt >= 8) {
unsigned char c = (bitBuf >> 16) & 255;
stbiw__putc(s, c);
if(c... | O1 | c | stbiw__jpg_writeBits:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movzwl 0x2(%rcx), %ebx
movq %rdx, 0x10(%rsp)
addl (%rdx), %ebx
movq %rsi, %r14
movzwl (%rcx), %ebp
movb $0x18, %cl
subb %bl, %cl
shll %cl, %ebp
orl (%rsi), %ebp
cmpl $0x8, %ebx
jl 0x1b3c1
movq %rdi, %r15
leaq 0xe(%r... | stbiw__jpg_writeBits:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
movzx ebx, word ptr [rcx+2]
mov [rsp+48h+var_38], rdx
add ebx, [rdx]
mov r14, rsi
movzx ebp, word ptr [rcx]
mov cl, 18h
sub cl, bl
shl ebp, cl
or ebp, [rsi]
cmp ebx, 8
jl ... | long long stbiw__jpg_writeBits(long long a1, int *a2, _DWORD *a3, unsigned __int16 *a4)
{
int v4; // ebx
int v5; // ebx
int v6; // ebp
long long result; // rax
bool v8; // cc
char v9; // [rsp+Eh] [rbp-3Ah] BYREF
char v10; // [rsp+Fh] [rbp-39h] BYREF
_DWORD *v11; // [rsp+10h] [rbp-38h]
v4 = a4[1];
... | stbiw__jpg_writeBits:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOVZX EBX,word ptr [RCX + 0x2]
MOV qword ptr [RSP + 0x10],RDX
ADD EBX,dword ptr [RDX]
MOV R14,RSI
MOVZX EBP,word ptr [RCX]
MOV CL,0x18
SUB CL,BL
SHL EBP,CL
OR EBP,dword ptr [RSI]
CMP EBX,0x8
JL 0x0011b3c1
MOV R15,RDI
LEA R12,[RSP +... |
void stbiw__jpg_writeBits(int8 *param_1,uint *param_2,int *param_3,ushort *param_4)
{
bool bVar1;
int iVar2;
int iVar3;
uint uVar4;
int1 local_3a;
int1 local_39;
int *local_38;
iVar2 = (uint)param_4[1] + *param_3;
uVar4 = (uint)*param_4 << (0x18U - (char)iVar2 & 0x1f) | *param_2;
local_38 = par... | |
22,918 | vemit_tap | eloqsql/unittest/mytap/tap.c | static void
vemit_tap(int pass, char const *fmt, va_list ap)
{
fprintf(tapout, "%sok %d%s",
pass ? "" : "not ",
++g_test.last,
(fmt && *fmt) ? " - " : "");
if (fmt && *fmt)
vfprintf(tapout, fmt, ap);
fflush(tapout);
} | O0 | c | vemit_tap:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq 0xe666(%rip), %rax # 0xffd0
movq (%rax), %rax
movq %rax, -0x30(%rbp)
movl -0x4(%rbp), %edx
leaq 0xb82c(%rip), %rax # 0xd1a7
leaq 0xb7a9(%rip), %rcx # 0xd12b
cmpl $0x0, %edx
cmov... | vemit_tap:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_4], edi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, cs:stdout_ptr
mov rax, [rax]
mov [rbp+var_30], rax
mov edx, [rbp+var_4]
lea rax, aNot; "not "
lea rcx, a1D+6; ""
cmp edx, 0
cmovnz rax, rcx
mov ... | long long vemit_tap(int a1, _BYTE *a2, long long a3)
{
const char *v3; // rax
const char *v4; // r8
int v6; // [rsp+10h] [rbp-20h]
bool v7; // [rsp+17h] [rbp-19h]
v3 = "not ";
if ( a1 )
v3 = "";
v6 = ++dword_17C9C;
v7 = 0;
if ( a2 )
v7 = *a2 != 0;
v4 = "";
if ( v7 )
v4 = " - ";
fpr... | vemit_tap:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [0x0010ffd0]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x30],RAX
MOV EDX,dword ptr [RBP + -0x4]
LEA RAX,[0x10d1a7]
LEA RCX,[0x10d12b]
CMP EDX,0x0
CMOVNZ RAX,R... |
void vemit_tap(int param_1,char *param_2,__gnuc_va_list param_3)
{
int *puVar1;
int *puVar2;
bool bVar3;
puVar1 = &DAT_0010d1a7;
if (param_1 != 0) {
puVar1 = &DAT_0010d12b;
}
DAT_00117c9c = DAT_00117c9c + 1;
bVar3 = false;
if (param_2 != (char *)0x0) {
bVar3 = *param_2 != '\0';
}
puVa... | |
22,919 | my_large_free | eloqsql/mysys/my_largepage.c | void my_large_free(void *ptr, size_t size)
{
DBUG_ENTER("my_large_free");
/*
The following implementations can only fail if ptr was not allocated with
my_large_malloc(), i.e. my_malloc_lock() was used so we should free it
with my_free_lock()
For ASAN, we need to explicitly unpoison this memory reg... | O3 | c | my_large_free:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x29220
testl %eax, %eax
je 0x76fbc
callq 0x29050
movl (%rax), %r8d
movl $0x80, %esi
movl $0x24, %edi
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x6bbb7
popq %rbx
popq %r14
popq %... | my_large_free:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rsi
mov r14, rdi
call _munmap
test eax, eax
jz short loc_76FBC
call ___errno_location
mov r8d, [rax]
mov esi, 80h
mov edi, 24h ; '$'
mov rdx, r14
mov rcx, rbx
xor eax, eax
pop rbx
pop r14
p... | unsigned long long my_large_free(long long a1, long long a2)
{
unsigned long long result; // rax
unsigned int *v3; // rax
result = munmap(a1, a2);
if ( (_DWORD)result )
{
v3 = (unsigned int *)__errno_location(a1);
return my_error(0x24u, 128LL, a1, a2, *v3);
}
return result;
}
| my_large_free:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
CALL 0x00129220
TEST EAX,EAX
JZ 0x00176fbc
CALL 0x00129050
MOV R8D,dword ptr [RAX]
MOV ESI,0x80
MOV EDI,0x24
MOV RDX,R14
MOV RCX,RBX
XOR EAX,EAX
POP RBX
POP R14
POP RBP
JMP 0x0016bbb7
LAB_00176fbc:
POP RBX
POP R14
POP RBP
RET
|
void my_large_free(void *param_1,size_t param_2)
{
int iVar1;
int *piVar2;
iVar1 = munmap(param_1,param_2);
if (iVar1 != 0) {
piVar2 = __errno_location();
my_error(0x24,0x80,param_1,param_2,*piVar2);
return;
}
return;
}
| |
22,920 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | llama.cpp/common/json.hpp | reference operator[](typename object_t::key_type key)
{
// implicitly convert null value to an empty object
if (is_null())
{
m_data.m_type = value_t::object;
m_data.m_value.object = create<object_t>();
assert_invariant();
}
// operator[] o... | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixES9_:
push rbp; void *
push r15; int
push r14; __int64
push rbx; int
sub rsp, 28h
mov rbx, rsi
mov r14, rdi
mov al, [rdi]
test ... | 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>::operator[](
long long a1,
long long *a2)
{
char v2; // al
long ... | operator[]:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x28
MOV RBX,RSI
MOV R14,RDI
MOV AL,byte ptr [RDI]
TEST AL,AL
JNZ 0x001c8974
MOV byte ptr [R14],0x1
MOV EDI,0x20
CALL 0x00121200
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RAX],XMM0
MOV qword ptr [RAX + 0x10],0x0
MOV qword ptr [R14 + 0x8],RAX
MOV RDI,R14
MOV ESI,0x1
CALL... |
/* 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>::operator[](std::__cxx11::strin... | |
22,921 | nlohmann::json_abi_v3_11_3::detail::serializer<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::... | monkey531[P]llama/common/json.hpp | static std::string hex_bytes(std::uint8_t byte)
{
std::string result = "FF";
constexpr const char* nibble_to_hex = "0123456789ABCDEF";
result[0] = nibble_to_hex[byte / 16];
result[1] = nibble_to_hex[byte % 16];
return result;
} | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::serializer<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::... | _ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE9hex_bytesEh:
push r14
push rbx
push rax
mov ebx, esi
mov r14, rdi
lea rsi, aInvalidStringS_0+41h; "FF"
lea ... | _QWORD * nlohmann::json_abi_v3_11_3::detail::serializer<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>>::hex_bytes(
_QWORD *a1,
... | hex_bytes:
PUSH R14
PUSH RBX
PUSH RAX
MOV EBX,ESI
MOV R14,RDI
LEA RSI,[0x1b174a]
LEA RDX,[RSP + 0x7]
CALL 0x00128b3c
MOV EAX,EBX
SHR EAX,0x4
LEA RCX,[0x1b69f9]
MOV AL,byte ptr [RAX + RCX*0x1]
MOV RDX,qword ptr [R14]
MOV byte ptr [RDX],AL
AND EBX,0xf
MOV AL,byte ptr [RBX + RCX*0x1]
MOV RCX,qword ptr [R14]
MOV byte ptr [... |
/* nlohmann::json_abi_v3_11_3::detail::serializer<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
... | |
22,922 | minja::Parser::parseDictionary() | monkey531[P]llama/common/minja.hpp | std::shared_ptr<Expression> parseDictionary() {
if (consumeToken("{").empty()) return nullptr;
std::vector<std::pair<std::shared_ptr<Expression>, std::shared_ptr<Expression>>> elements;
if (!consumeToken("}").empty()) {
return std::make_shared<DictExpr>(get_location(), std::move(ele... | O3 | cpp | minja::Parser::parseDictionary():
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %r14
movq %rdi, %r12
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x64613(%rip), %rsi # 0xeea9d
leaq 0x6460d(%rip), %rdx # 0xeea9e
movq %rsp, %rdi
callq 0x21540
leaq 0x20(%rsp), %... | _ZN5minja6Parser15parseDictionaryEv:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 78h
mov r14, rsi
mov r12, rdi
lea rax, [rsp+0A8h+var_98]
mov [rax-10h], rax
lea rsi, asc_EEA9D; "{"
lea rdx, asc_EEA9D+1; ""
mov rdi, rsp
call _ZNSt7__cxx1112basic_str... | minja::Parser * minja::Parser::parseDictionary(minja::Parser *this, _QWORD *a2)
{
minja::Parser *v2; // r12
long long v3; // rbx
long long v4; // rbx
long long v5; // r12
volatile signed __int32 *v6; // r15
long long v7; // r15
long long v8; // rbx
long long v9; // r12
long long v10; // rbx
long lon... | parseDictionary:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x78
MOV R14,RSI
MOV R12,RDI
LEA RAX,[RSP + 0x10]
MOV qword ptr [RAX + -0x10],RAX
LAB_0018a483:
LEA RSI,[0x1eea9d]
LEA RDX,[0x1eea9e]
MOV RDI,RSP
CALL 0x00121540
LAB_0018a499:
LEA RDI,[RSP + 0x20]
MOV RDX,RSP
MOV RSI,R14
MOV ECX,0x1
CALL 0x0... |
/* minja::Parser::parseDictionary() */
int8 * minja::Parser::parseDictionary(void)
{
int8 uVar1;
int8 *puVar2;
runtime_error *this;
int8 *puVar3;
long lVar4;
int8 *in_RSI;
int8 *in_RDI;
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *this_00;
long *local_a8 [2];
long local_98 [2];
long *local_88;... | |
22,923 | my_xml_enter | eloqsql/strings/xml.c | static int my_xml_enter(MY_XML_PARSER *st, const char *str, size_t len)
{
if (my_xml_attr_ensure_space(st, len + 1 /* the separator char */))
return MY_XML_ERROR;
if (st->attr.end > st->attr.start)
{
st->attr.end[0]= '/';
st->attr.end++;
}
memcpy(st->attr.end, str, len);
st->attr.end+= len;
s... | O3 | c | my_xml_enter:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x120(%rdi), %rdi
movq 0x110(%rbx), %rcx
movq 0x118(%rbx), %rax
movq %rdi, %r12
subq %rax, %r12
addq %r12, %rdx
addq $0x2, %rdx
cmpq %rcx, %rdx
jbe 0xd7d51
leaq 0x2(%r14), %rax
movq ... | my_xml_enter:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
mov r14, rdx
mov r15, rsi
mov rbx, rdi
mov rdi, [rdi+120h]
mov rcx, [rbx+110h]
mov rax, [rbx+118h]
mov r12, rdi
sub r12, rax
add rdx, r12
add rdx, 2
cmp rdx, rcx
jbe loc_D7D51
lea ... | long long my_xml_enter(long long a1, long long a2, long long a3)
{
_BYTE *v6; // rdi
unsigned long long v7; // rcx
unsigned long long v8; // rax
_BYTE *v9; // r12
bool v10; // cc
long long v11; // rdx
long long v12; // rsi
long long v13; // rax
_BYTE *v14; // r12
_BYTE *v15; // rcx
long long ( *v... | my_xml_enter:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x120]
MOV RCX,qword ptr [RBX + 0x110]
MOV RAX,qword ptr [RBX + 0x118]
MOV R12,RDI
SUB R12,RAX
ADD RDX,R12
ADD RDX,0x2
CMP RDX,RCX
JBE 0x001d7d51
LEA RAX,[R14 + 0x2]
MOV RDX,-0x3
SUB RDX,R... |
int8 my_xml_enter(byte *param_1,void *param_2,size_t param_3)
{
ulong uVar1;
code *UNRECOVERED_JUMPTABLE;
int1 *puVar2;
void *__dest;
int8 uVar3;
long lVar4;
long lVar5;
int1 *__dest_00;
__dest_00 = *(int1 **)(param_1 + 0x120);
uVar1 = *(ulong *)(param_1 + 0x110);
puVar2 = *(int1 **)(param_1 ... | |
22,924 | lshift | eloqsql/strings/dtoa.c | static Bigint *lshift(Bigint *b, int k, Stack_alloc *alloc)
{
int i, k1, n, n1;
Bigint *b1;
ULong *x, *x1, *xe, z;
n= k >> 5;
k1= b->k;
n1= n + b->wds + 1;
for (i= b->maxwds; n1 > i; i<<= 1)
k1++;
b1= Balloc(k1, alloc);
x1= b1->p.x;
for (i= 0; i < n; i++)
*x1++= 0;
x= b->p.x;
xe= x + b-... | O0 | c | lshift:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl -0xc(%rbp), %eax
sarl $0x5, %eax
movl %eax, -0x24(%rbp)
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x20(%rbp)
movl -0x24(%rbp), %eax
movq -0x8(%rbp), %rcx
addl 0x14(%rcx), %eax
addl $0... | lshift:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_18], rdx
mov eax, [rbp+var_C]
sar eax, 5
mov [rbp+var_24], eax
mov rax, [rbp+var_8]
mov eax, [rax+8]
mov [rbp+var_20], eax
mov eax, [rbp+var_24]
mov rcx, [rbp+var_8]
a... | long long lshift(unsigned long long a1, int a2, unsigned long long *a3)
{
int *v3; // rax
int *v4; // rax
int *v5; // rax
int *v6; // rax
int v7; // ecx
int *v8; // rax
int v10; // [rsp+4h] [rbp-4Ch]
unsigned long long v11; // [rsp+8h] [rbp-48h]
int *v12; // [rsp+10h] [rbp-40h]
int *v13; // [rsp+18... | lshift:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV EAX,dword ptr [RBP + -0xc]
SAR EAX,0x5
MOV dword ptr [RBP + -0x24],EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
MOV dword ptr [RBP + -0x20],EAX
MOV EAX,dword pt... |
int8 * lshift(int8 *param_1,uint param_2,int8 param_3)
{
sbyte sVar1;
int iVar2;
int8 *puVar3;
uint *puVar4;
uint *puVar5;
uint *puVar6;
uint local_54;
uint *local_48;
uint *local_40;
int local_30;
int local_28;
int local_24;
local_28 = *(int *)(param_1 + 1);
iVar2 = ((int)param_2 >> 5)... | |
22,925 | lshift | eloqsql/strings/dtoa.c | static Bigint *lshift(Bigint *b, int k, Stack_alloc *alloc)
{
int i, k1, n, n1;
Bigint *b1;
ULong *x, *x1, *xe, z;
n= k >> 5;
k1= b->k;
n1= n + b->wds + 1;
for (i= b->maxwds; n1 > i; i<<= 1)
k1++;
b1= Balloc(k1, alloc);
x1= b1->p.x;
for (i= 0; i < n; i++)
*x1++= 0;
x= b->p.x;
xe= x + b-... | O3 | c | lshift:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %r15d
movq %rdi, %r14
movl %esi, %r12d
shrl $0x5, %r12d
movl 0x8(%rdi), %edi
movl 0xc(%r14), %eax
movl 0x14(%r14), %ebx
addl %r12d, %ebx
cmpl %eax, %ebx
jl 0x5826d
incl %edi
addl %eax, %eax
jmp 0x58263
... | lshift:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r15d, esi
mov r14, rdi
mov r12d, esi
shr r12d, 5
mov edi, [rdi+8]
mov eax, [r14+0Ch]
mov ebx, [r14+14h]
add ebx, r12d
loc_58263:
cmp ebx, eax
jl short loc_5826D
... | long long lshift(unsigned long long a1, unsigned int a2, unsigned long long *a3)
{
char v3; // r15
int v5; // edi
int v6; // eax
int v7; // ebx
long long v8; // rax
int *v9; // r13
long long v10; // r12
int *v11; // rdx
unsigned long long v12; // rsi
int v13; // r15d
int v14; // edi
unsigned in... | lshift:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R15D,ESI
MOV R14,RDI
MOV R12D,ESI
SHR R12D,0x5
MOV EDI,dword ptr [RDI + 0x8]
MOV EAX,dword ptr [R14 + 0xc]
MOV EBX,dword ptr [R14 + 0x14]
ADD EBX,R12D
LAB_00158263:
CMP EBX,EAX
JL 0x0015826d
INC EDI
ADD EAX,EAX
JMP 0x00158263
LAB... |
int8 * lshift(int8 *param_1,uint param_2,int8 param_3)
{
uint *puVar1;
sbyte sVar2;
int iVar3;
int8 *puVar4;
uint *puVar5;
int iVar6;
uint uVar7;
ulong uVar8;
uint *__s;
iVar6 = *(int *)((long)param_1 + 0x14) + (param_2 >> 5);
for (iVar3 = *(int *)((long)param_1 + 0xc); iVar3 <= iVar6; iVar3 ... | |
22,926 | mcp::tool_builder::with_string_param(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) | hkr04[P]cpp-mcp/src/mcp_tool.cpp | tool_builder& tool_builder::with_string_param(const std::string& name,
const std::string& description,
bool required) {
return add_param(name, description, "string", required);
} | O3 | cpp | mcp::tool_builder::with_string_param(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %ebp
mov... | _ZN3mcp12tool_builder17with_string_paramERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_b:
push rbp; int
push r15; int
push r14; int
push r13; char
push r12; int
push rbx; __int64
sub rsp, 28h
mov ebp, ecx
mov r14, rdx
mov r15, rsi
mov rbx, rdi
lea r13, [rsp+58h+var_4... | long long mcp::tool_builder::with_string_param(long long a1, long long a2, long long a3, char a4)
{
void *v7[2]; // [rsp+8h] [rbp-50h] BYREF
_QWORD v8[8]; // [rsp+18h] [rbp-40h] BYREF
v7[0] = v8;
std::string::_M_construct<char const*>((long long)v7, "string", (long long)"");
mcp::tool_builder::add_param(a1,... | with_string_param:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBP,ECX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
LEA R13,[RSP + 0x18]
MOV qword ptr [R13 + -0x10],R13
LEA RSI,[0x156312]
LEA RDX,[0x156318]
LEA R12,[RSP + 0x8]
MOV RDI,R12
CALL 0x0010f902
LAB_001548d3:
MOV RDI,RBX
MOV RSI,R15
MOV RDX,R... |
/* mcp::tool_builder::with_string_param(std::__cxx11::string const&, std::__cxx11::string const&,
bool) */
tool_builder * __thiscall
mcp::tool_builder::with_string_param
(tool_builder *this,string *param_1,string *param_2,bool param_3)
{
long *local_50 [2];
long local_40 [2];
local_50[0] = loca... | |
22,927 | my_interval_timer | eloqsql/mysys/my_getsystime.c | ulonglong my_interval_timer()
{
#ifdef HAVE_CLOCK_GETTIME
struct timespec tp;
clock_gettime(CLOCK_MONOTONIC, &tp);
return tp.tv_sec*1000000000ULL+tp.tv_nsec;
#elif defined(HAVE_GETHRTIME)
return gethrtime();
#elif defined(_WIN32)
DBUG_ASSERT(query_performance_frequency);
LARGE_INTEGER t_cnt;
QueryPerforma... | O0 | c | my_interval_timer:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x1, %edi
leaq -0x10(%rbp), %rsi
callq 0x252c0
imulq $0x3b9aca00, -0x10(%rbp), %rax # imm = 0x3B9ACA00
addq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| my_interval_timer:
push rbp
mov rbp, rsp
sub rsp, 10h
mov edi, 1
lea rsi, [rbp+var_10]
call _clock_gettime
imul rax, [rbp+var_10], 3B9ACA00h
add rax, [rbp+var_8]
add rsp, 10h
pop rbp
retn
| long long my_interval_timer()
{
_QWORD v1[2]; // [rsp+0h] [rbp-10h] BYREF
clock_gettime(1LL, v1);
return v1[1] + 1000000000LL * v1[0];
}
| my_interval_timer:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV EDI,0x1
LEA RSI,[RBP + -0x10]
CALL 0x001252c0
IMUL RAX,qword ptr [RBP + -0x10],0x3b9aca00
ADD RAX,qword ptr [RBP + -0x8]
ADD RSP,0x10
POP RBP
RET
|
long my_interval_timer(void)
{
timespec local_18;
clock_gettime(1,&local_18);
return local_18.tv_sec * 1000000000 + local_18.tv_nsec;
}
| |
22,928 | LefDefParser::lefwLayerRoutingMaxwidth(double) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefwWriter.cpp | int
lefwLayerRoutingMaxwidth(double width)
{
if (!lefwFile)
return LEFW_UNINITIALIZED;
if (lefwState != LEFW_LAYERROUTING_START &&
lefwState != LEFW_LAYERROUTING)
return LEFW_BAD_ORDER;
if (!lefwIsRouting)
return LEFW_BAD_DATA; // only routing calls this func
if (prtSem... | O0 | cpp | LefDefParser::lefwLayerRoutingMaxwidth(double):
subq $0x18, %rsp
movsd %xmm0, 0x8(%rsp)
leaq 0x20a4f(%rip), %rax # 0x32e00
cmpq $0x0, (%rax)
jne 0x123c4
movl $0x1, 0x14(%rsp)
jmp 0x124b4
leaq 0x20c85(%rip), %rax # 0x33050
cmpl $0x7, (%rax)
je 0x123e9
leaq 0x20c79(%rip), %rax # 0x33050
cmpl $0x1f, (%rax)
je ... | _ZN12LefDefParser24lefwLayerRoutingMaxwidthEd:
sub rsp, 18h
movsd [rsp+18h+var_10], xmm0
lea rax, _ZN12LefDefParser8lefwFileE; LefDefParser::lefwFile
cmp qword ptr [rax], 0
jnz short loc_123C4
mov [rsp+18h+var_4], 1
jmp loc_124B4
loc_123C4:
lea rax, _ZN12LefDefParser9lefwStateE; LefDefPars... | long long LefDefParser::lefwLayerRoutingMaxwidth(
LefDefParser *this,
double a2,
long long a3,
int a4,
int a5,
int a6,
int a7)
{
if ( *(_QWORD *)&LefDefParser::lefwFile )
{
if ( LefDefParser::lefwState == 7 || LefDefParser::lefwState == 31 )
{
i... | lefwLayerRoutingMaxwidth:
SUB RSP,0x18
MOVSD qword ptr [RSP + 0x8],XMM0
LEA RAX,[0x132e00]
CMP qword ptr [RAX],0x0
JNZ 0x001123c4
MOV dword ptr [RSP + 0x14],0x1
JMP 0x001124b4
LAB_001123c4:
LEA RAX,[0x133050]
CMP dword ptr [RAX],0x7
JZ 0x001123e9
LEA RAX,[0x133050]
CMP dword ptr [RAX],0x1f
JZ 0x001123e9
MOV dword ptr [... |
/* LefDefParser::lefwLayerRoutingMaxwidth(double) */
int4 LefDefParser::lefwLayerRoutingMaxwidth(double param_1)
{
int4 local_4;
if (lefwFile == (_IO_FILE *)0x0) {
local_4 = 1;
}
else if ((lefwState == 7) || (lefwState == 0x1f)) {
if (lefwIsRouting == 0) {
local_4 = 3;
}
else {
... | |
22,929 | pvio_socket_set_timeout | eloqsql/libmariadb/plugins/pvio/pvio_socket.c | my_bool pvio_socket_set_timeout(MARIADB_PVIO *pvio, enum enum_pvio_timeout type, int timeout)
{
struct st_pvio_socket *csock= NULL;
if (!pvio)
return 1;
csock= (struct st_pvio_socket *)pvio->data;
pvio->timeout[type]= (timeout > 0) ? timeout * 1000 : -1;
if (csock)
return pvio_socket_change_timeout(pv... | O3 | c | pvio_socket_set_timeout:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
je 0x31449
movl %edx, %eax
imull $0x3e8, %edx, %edx # imm = 0x3E8
testl %eax, %eax
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmovgl %edx, %eax
movl %esi, %ecx
cmpq $0x0, (%rdi)
movl %eax, 0x24(%rdi,%rcx,4)
je 0x3144d
popq %rbp
jmp 0x320a0
m... | pvio_socket_set_timeout:
push rbp
mov rbp, rsp
test rdi, rdi
jz short loc_31449
mov eax, edx
imul edx, 3E8h
test eax, eax
mov eax, 0FFFFFFFFh
cmovg eax, edx
mov ecx, esi
cmp qword ptr [rdi], 0
mov [rdi+rcx*4+24h], eax
jz short loc_3144D
pop rbp
jmp pvio_socket_cha... | char pvio_socket_set_timeout(_QWORD *a1, unsigned int a2, int a3)
{
int v4; // edx
bool v5; // cc
int v6; // eax
bool v7; // zf
if ( !a1 )
return 1;
v4 = 1000 * a3;
v5 = a3 <= 0;
v6 = -1;
if ( !v5 )
v6 = v4;
v7 = *a1 == 0LL;
*((_DWORD *)a1 + a2 + 9) = v6;
if ( v7 )
return 0;
else... | pvio_socket_set_timeout:
PUSH RBP
MOV RBP,RSP
TEST RDI,RDI
JZ 0x00131449
MOV EAX,EDX
IMUL EDX,EDX,0x3e8
TEST EAX,EAX
MOV EAX,0xffffffff
CMOVG EAX,EDX
MOV ECX,ESI
CMP qword ptr [RDI],0x0
MOV dword ptr [RDI + RCX*0x4 + 0x24],EAX
JZ 0x0013144d
POP RBP
JMP 0x001320a0
LAB_00131449:
MOV AL,0x1
JMP 0x0013144f
LAB_0013144d:
XO... |
int8 pvio_socket_set_timeout(long *param_1,uint param_2,int param_3)
{
long lVar1;
int iVar2;
int8 uVar3;
if (param_1 == (long *)0x0) {
uVar3 = 1;
}
else {
iVar2 = -1;
if (0 < param_3) {
iVar2 = param_3 * 1000;
}
lVar1 = *param_1;
*(int *)((long)param_1 + (ulong)param_2 * ... | |
22,930 | my_coll_parser_scan_shift | eloqsql/strings/ctype-uca.c | static int
my_coll_parser_scan_shift(MY_COLL_RULE_PARSER *p)
{
if (my_coll_parser_curr(p)->term == MY_COLL_LEXEM_SHIFT)
{
my_coll_rule_shift_at_level(&p->rule, my_coll_parser_curr(p)->diff);
return my_coll_parser_scan(p);
}
return 0;
} | O3 | c | my_coll_parser_scan_shift:
xorl %eax, %eax
cmpl $0x1, (%rdi)
jne 0x3f976
movl 0x20(%rdi), %eax
decl %eax
cmpl $0x3, %eax
ja 0x3f949
leaq 0x1a4418(%rip), %rcx # 0x1e3d10
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
incl 0xd0(%rdi)
movl $0x0, 0xdc(%rdi)
movq $0x0, 0xd4(%rdi)
jmp 0x3f949
incl 0xd8(%rdi)
movl $... | my_coll_parser_scan_shift:
xor eax, eax
cmp dword ptr [rdi], 1
jnz locret_3F976
mov eax, [rdi+20h]
dec eax; switch 4 cases
cmp eax, 3
ja short def_3F8FF; jumptable 000000000003F8FF default case
lea rcx, jpt_3F8FF
movsxd rax, ds:(jpt_3F8FF - 1E3D10h)[rcx+rax*4]
add rax, rcx
jmp ... | long long my_coll_parser_scan_shift(long long a1)
{
long long result; // rax
__int128 v2; // xmm0
result = 0LL;
if ( *(_DWORD *)a1 == 1 )
{
switch ( *(_DWORD *)(a1 + 32) )
{
case 1:
++*(_DWORD *)(a1 + 208);
*(_DWORD *)(a1 + 220) = 0;
*(_QWORD *)(a1 + 212) = 0LL;
... | my_coll_parser_scan_shift:
XOR EAX,EAX
CMP dword ptr [RDI],0x1
JNZ 0x0013f976
MOV EAX,dword ptr [RDI + 0x20]
DEC EAX
CMP EAX,0x3
JA 0x0013f949
LEA RCX,[0x2e3d10]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_1:
INC dword ptr [RDI + 0xd0]
MOV dword ptr [RDI + 0xdc],0x0
MOV qword ptr [RDI + 0xd4... |
int8 my_coll_parser_scan_shift(int *param_1)
{
int8 uVar1;
uVar1 = 0;
if (*param_1 == 1) {
switch(param_1[8]) {
case 1:
param_1[0x34] = param_1[0x34] + 1;
param_1[0x37] = 0;
param_1[0x35] = 0;
param_1[0x36] = 0;
break;
case 2:
param_1[0x35] = param_1[0x35] + 1;... | |
22,931 | minja::UnaryOpExpr::UnaryOpExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, minja::UnaryOpExpr::Op) | monkey531[P]llama/common/minja.hpp | UnaryOpExpr(const Location & location, std::shared_ptr<Expression> && e, Op o)
: Expression(location), expr(std::move(e)), op(o) {} | O2 | cpp | minja::UnaryOpExpr::UnaryOpExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, minja::UnaryOpExpr::Op):
pushq %r15
pushq %r14
pushq %rbx
movl %ecx, %ebx
movq %rdx, %r14
movq %rdi, %r15
callq 0x5f8a0
leaq 0x7ac71(%rip), %rax # 0xda4e8
addq $0x10, %rax
movq %rax, (%r15)
andq $0x0, 0x28(%r15)
movups (%r... | _ZN5minja11UnaryOpExprC2ERKNS_8LocationEOSt10shared_ptrINS_10ExpressionEENS0_2OpE:
push r15
push r14
push rbx
mov ebx, ecx
mov r14, rdx
mov r15, rdi
call _ZN5minja10ExpressionC2ERKNS_8LocationE; minja::Expression::Expression(minja::Location const&)
lea rax, _ZTVN5minja11UnaryOpExprE; `vtable... | long long * minja::UnaryOpExpr::UnaryOpExpr(long long a1, long long a2, __int128 *a3, int a4)
{
long long *result; // rax
__int128 v7; // xmm0
minja::Expression::Expression();
result = &`vtable for'minja::UnaryOpExpr + 2;
*(_QWORD *)a1 = &`vtable for'minja::UnaryOpExpr + 2;
*(_QWORD *)(a1 + 40) = 0LL;
v7... | UnaryOpExpr:
PUSH R15
PUSH R14
PUSH RBX
MOV EBX,ECX
MOV R14,RDX
MOV R15,RDI
CALL 0x0015f8a0
LEA RAX,[0x1da4e8]
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
MOV dword ptr [R15 +... |
/* minja::UnaryOpExpr::UnaryOpExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&,
minja::UnaryOpExpr::Op) */
void __thiscall
minja::UnaryOpExpr::UnaryOpExpr
(UnaryOpExpr *this,Location *param_1,int8 *param_2,int4 param_4)
{
int8 uVar1;
Expression::Expression((Expression *)this,para... | |
22,932 | ma_update_blob_record | eloqsql/storage/maria/ma_dynrec.c | my_bool _ma_update_blob_record(MARIA_HA *info, MARIA_RECORD_POS pos,
const uchar *oldrec __attribute__ ((unused)),
const uchar *record)
{
uchar *rec_buff;
int error;
ulong reclength,reclength2,extra;
my_bool buff_alloced;
extra= (ALIGN_SIZE(MARIA_... | O3 | c | ma_update_blob_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq (%rdi), %rax
movq 0x3a0(%rax), %r12
movq %rcx, %rsi
callq 0x478fa
leaq (%r12,%rax), %rsi
addq $0x5c, %... | _ma_update_blob_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r15, rcx
mov rbx, rsi
mov r14, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov rax, [rdi]
mov r12, [rax+3A0h]
mov rsi, rcx
call _ma_calc_total_blob_lengt... | long long ma_update_blob_record(long long a1, long long a2, long long a3, unsigned __int8 *a4)
{
long long v6; // r12
unsigned long long v7; // rsi
unsigned long long v8; // rax
bool v9; // cc
unsigned long long v10; // rax
char *v11; // r12
long long v12; // rax
unsigned int v13; // eax
unsigned lon... | _ma_update_blob_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R15,RCX
MOV RBX,RSI
MOV R14,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RDI]
MOV R12,qword ptr [RAX + 0x3a0]
MOV RSI,RCX
CALL 0x001478fa
LEA RSI,[R12 + RAX*0x1]
ADD RSI,0x5c
... |
ulong _ma_update_blob_record(long *param_1,int8 param_2,int8 param_3,int8 param_4)
{
long lVar1;
char cVar2;
int iVar3;
long lVar4;
ulong uVar5;
int1 *puVar6;
int4 *puVar7;
int7 uVar8;
ulong *puVar9;
long in_FS_OFFSET;
ulong local_48;
int4 local_3c;
long local_38;
puVar9 = &local_48;
... | |
22,933 | CLI::App::_process_help_flags(bool, bool) const | MikePodsytnik[P]TCRtrie/build_O0/_deps/cli11-src/include/CLI/impl/App_inl.hpp | CLI11_INLINE void App::_process_help_flags(bool trigger_help, bool trigger_all_help) const {
const Option *help_ptr = get_help_ptr();
const Option *help_all_ptr = get_help_all_ptr();
if(help_ptr != nullptr && help_ptr->count() > 0)
trigger_help = true;
if(help_all_ptr != nullptr && help_all_ptr... | O0 | cpp | CLI::App::_process_help_flags(bool, bool) const:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movb %dl, %al
movb %sil, %cl
movq %rdi, -0x8(%rbp)
andb $0x1, %cl
movb %cl, -0x9(%rbp)
andb $0x1, %al
movb %al, -0xa(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
callq 0x270a0
movq -0x58(%rbp), %rdi
movq %rax, -0x18(%rbp)... | _ZNK3CLI3App19_process_help_flagsEbb:
push rbp
mov rbp, rsp
sub rsp, 70h
mov al, dl
mov cl, sil
mov [rbp+var_8], rdi
and cl, 1
mov [rbp+var_9], cl
and al, 1
mov [rbp+var_A], al
mov rdi, [rbp+var_8]; this
mov [rbp+var_58], rdi
call _ZNK3CLI3App12get_help_ptrEv; CLI::App:... | long long CLI::App::_process_help_flags(CLI::App *this, char a2, char a3)
{
long long result; // rax
CLI::App **v4; // rax
CLI::CallForHelp *v5; // [rsp+8h] [rbp-68h]
CLI::CallForAllHelp *exception; // [rsp+10h] [rbp-60h]
long long v7; // [rsp+38h] [rbp-38h] BYREF
_QWORD v8[2]; // [rsp+40h] [rbp-30h] BYREF... | _process_help_flags:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV AL,DL
MOV CL,SIL
MOV qword ptr [RBP + -0x8],RDI
AND CL,0x1
MOV byte ptr [RBP + -0x9],CL
AND AL,0x1
MOV byte ptr [RBP + -0xa],AL
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x58],RDI
CALL 0x001270a0
MOV RDI,qword ptr [RBP + -0x58]
MOV qword ptr [RBP + -... |
/* CLI::App::_process_help_flags(bool, bool) const */
void __thiscall CLI::App::_process_help_flags(App *this,bool param_1,bool param_2)
{
bool bVar1;
long lVar2;
ulong uVar3;
int8 *puVar4;
CallForAllHelp *this_00;
CallForHelp *this_01;
int8 local_40;
int8 local_38;
vector<CLI::App*,std::allocator<... | |
22,934 | mysql_fetch_row_start | eloqsql/libmariadb/libmariadb/mariadb_async.c | int STDCALL
mysql_fetch_row_start(MYSQL_ROW *ret, MYSQL_RES *result)
{
MK_ASYNC_START_BODY(
mysql_fetch_row,
result->handle,
{
WIN_SET_NONBLOCKING(result->handle)
parms.result= result;
},
NULL,
r_ptr,
/*
If we already fetched all rows from server (eg. mysql_store_result()),
then result->ha... | O3 | c | mysql_fetch_row_start:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x78(%rsi), %rax
testq %rax, %rax
je 0x2c99a
movq 0x480(%rax), %rax
movq 0x28(%rax), %r15
leaq -0x20(%rbp), %rdx
movq %r14, (%rdx)
movb $0x1, 0x14(%r15)
leaq 0x38(%r15), %rdi
leaq 0xa1(%rip... | mysql_fetch_row_start:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
mov rax, [rsi+78h]
test rax, rax
jz short loc_2C99A
mov rax, [rax+480h]
mov r15, [rax+28h]
lea rdx, [rbp+var_20]
mov [rdx], r14
mov byte ptr [r15+14h], 1
... | long long mysql_fetch_row_start(long long *a1, long long a2)
{
long long v2; // rax
long long v3; // rax
unsigned int *v4; // r15
int v5; // eax
long long v7; // r15
long long v8[4]; // [rsp+0h] [rbp-20h] BYREF
v8[0] = v2;
v3 = *(_QWORD *)(a2 + 120);
if ( v3 )
{
v4 = *(unsigned int **)(*(_QWOR... | mysql_fetch_row_start:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr [RSI + 0x78]
TEST RAX,RAX
JZ 0x0012c99a
MOV RAX,qword ptr [RAX + 0x480]
MOV R15,qword ptr [RAX + 0x28]
LEA RDX,[RBP + -0x20]
MOV qword ptr [RDX],R14
MOV byte ptr [R15 + 0x14],0x1
LEA RDI,[R15 + 0x38... |
int4 mysql_fetch_row_start(int8 *param_1,long param_2)
{
int4 *puVar1;
int iVar2;
int8 uVar3;
if (*(long *)(param_2 + 0x78) == 0) {
uVar3 = mysql_fetch_row(param_2);
*param_1 = uVar3;
}
else {
puVar1 = *(int4 **)(*(long *)(*(long *)(param_2 + 0x78) + 0x480) + 0x28);
*(int1 *)(puVar1 + 5... | |
22,935 | inline_mysql_cond_signal | eloqsql/include/mysql/psi/mysql_thread.h | static inline int inline_mysql_cond_signal(
mysql_cond_t *that)
{
int result;
#ifdef HAVE_PSI_COND_INTERFACE
if (psi_likely(that->m_psi != NULL))
PSI_COND_CALL(signal_cond)(that->m_psi);
#endif
result= pthread_cond_signal(&that->m_cond);
return result;
} | O0 | c | inline_mysql_cond_signal:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x30(%rax)
setne %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
setne %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xe75bb
leaq 0x1dfff9(%rip), %rax # 0x2c75a0
movq (%rax),... | inline_mysql_cond_signal_2:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
cmp qword ptr [rax+30h], 0
setnz al
and al, 1
movzx eax, al
cmp eax, 0
setnz al
and al, 1
movzx eax, al
cdqe
cmp rax, 0
jz short loc_E75BB
lea rax, PSI_server
... | long long inline_mysql_cond_signal_2(long long a1)
{
if ( *(_QWORD *)(a1 + 48) )
((void ( *)(_QWORD))PSI_server[46])(*(_QWORD *)(a1 + 48));
return (unsigned int)pthread_cond_signal(a1);
}
| inline_mysql_cond_signal:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
CMP qword ptr [RAX + 0x30],0x0
SETNZ AL
AND AL,0x1
MOVZX EAX,AL
CMP EAX,0x0
SETNZ AL
AND AL,0x1
MOVZX EAX,AL
CDQE
CMP RAX,0x0
JZ 0x001e75bb
LEA RAX,[0x3c75a0]
MOV RAX,qword ptr [RAX]
MOV RAX,qword p... |
int inline_mysql_cond_signal(pthread_cond_t *param_1)
{
int iVar1;
if (param_1[1].__align != 0) {
(**(code **)(PSI_server + 0x170))(param_1[1].__align);
}
iVar1 = pthread_cond_signal(param_1);
return iVar1;
}
| |
22,936 | THD::restore_sub_statement_state(Sub_statement_state*) | eloqsql/sql/sql_class.cc | void THD::restore_sub_statement_state(Sub_statement_state *backup)
{
DBUG_ENTER("THD::restore_sub_statement_state");
#ifndef EMBEDDED_LIBRARY
/* BUG#33029, if we are replicating from a buggy master, restore
auto_inc_intervals_forced so that the top statement can use the
INSERT_ID value set before this sta... | O0 | cpp | THD::restore_sub_statement_state(Sub_statement_state*):
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x4cf740
testb $0x1, %al
jne 0x54bb43
jmp 0x54bb5f
movq -0x20(%rbp), %rsi
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
addq $0x3a... | _ZN3THD27restore_sub_statement_stateEP19Sub_statement_state:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rdi, [rbp+var_8]; THD *
mov [rbp+var_20], rdi
call _Z28rpl_master_erroneous_autoincP3THD; rpl_master_erroneous_autoinc(THD *)
test al, 1
jnz ... | THD * THD::restore_sub_statement_state(THD *this, Sub_statement_state *a2)
{
THD *result; // rax
_QWORD *i; // [rsp+8h] [rbp-18h]
if ( (rpl_master_erroneous_autoinc(this) & 1) != 0 )
Discrete_intervals_list::swap((Sub_statement_state *)((char *)a2 + 32), (THD *)((char *)this + 15008));
if ( **((_QWORD **)t... | __cxx_global_var_init.7:
PUSH RBP
MOV RBP,RSP
LEA RDI,[0x16d0404]
MOV ESI,0x2000000
CALL 0x0058cc10
POP RBP
RET
|
void __cxx_global_var_init_7(void)
{
date_conv_mode_t::date_conv_mode_t((date_conv_mode_t *)&TIME_INVALID_DATES,0x2000000);
return;
}
| |
22,937 | my_rw_init | eloqsql/mysys/thr_rwlock.c | int my_rw_init(my_rw_lock_t *rwp)
{
pthread_condattr_t cond_attr;
pthread_mutex_init( &rwp->lock, MY_MUTEX_INIT_FAST);
pthread_condattr_init( &cond_attr );
pthread_cond_init( &rwp->readers, &cond_attr );
pthread_cond_init( &rwp->writers, &cond_attr );
pthread_condattr_destroy(&cond_attr);
rwp->state = 0... | O0 | c | my_rw_init:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x3b54d9(%rip), %rsi # 0x410620
callq 0x264f0
leaq -0xc(%rbp), %rdi
callq 0x260a0
movq -0x8(%rbp), %rdi
addq $0x28, %rdi
leaq -0xc(%rbp), %rsi
callq 0x263e0
movq -0x8(%rbp), %rdi
addq $0x58, %rdi
leaq -0xc(%rbp),... | my_rw_init:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]
lea rsi, my_fast_mutexattr
call _pthread_mutex_init
lea rdi, [rbp+var_C]
call _pthread_condattr_init
mov rdi, [rbp+var_8]
add rdi, 28h ; '('
lea rsi, [rbp+var_C]
call _pthread_cond_in... | long long my_rw_init(long long a1)
{
_BYTE v2[4]; // [rsp+4h] [rbp-Ch] BYREF
long long v3; // [rsp+8h] [rbp-8h]
v3 = a1;
pthread_mutex_init(a1, &my_fast_mutexattr);
pthread_condattr_init(v2);
pthread_cond_init(v3 + 40, v2);
pthread_cond_init(v3 + 88, v2);
pthread_condattr_destroy(v2);
*(_DWORD *)(v3... | my_rw_init:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
LEA RSI,[0x510620]
CALL 0x001264f0
LEA RDI,[RBP + -0xc]
CALL 0x001260a0
MOV RDI,qword ptr [RBP + -0x8]
ADD RDI,0x28
LEA RSI,[RBP + -0xc]
CALL 0x001263e0
MOV RDI,qword ptr [RBP + -0x8]
ADD RDI,0x58
LEA RSI,[RBP + ... |
int8 my_rw_init(pthread_mutex_t *param_1)
{
pthread_condattr_t local_14;
pthread_mutex_t *local_10;
local_10 = param_1;
pthread_mutex_init(param_1,(pthread_mutexattr_t *)&my_fast_mutexattr);
pthread_condattr_init(&local_14);
pthread_cond_init((pthread_cond_t *)(local_10 + 1),&local_14);
pthread_cond_... | |
22,938 | 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 0xbc80cd(%rip), %rax # 0xc7a550
movq (%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xb24eb
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_B248A:
cmp [rbp+var_18], 0
jz short loc_B24EB
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,[0xd7a550]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
LAB_001b248a:
CMP qword ptr [RBP + -0x18],0x0
JZ 0x001b24eb
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... | |
22,939 | ma_bitmap_unpin_all | eloqsql/storage/maria/ma_bitmap.c | static void _ma_bitmap_unpin_all(MARIA_SHARE *share)
{
MARIA_FILE_BITMAP *bitmap= &share->bitmap;
MARIA_PINNED_PAGE *page_link= ((MARIA_PINNED_PAGE*)
dynamic_array_ptr(&bitmap->pinned_pages, 0));
MARIA_PINNED_PAGE *pinned_page= page_link + bitmap->pinned_pages.elements;
DBUG_ENT... | O3 | c | ma_bitmap_unpin_all:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0xb58(%rdi), %eax
testq %rax, %rax
je 0x3fd67
movq 0xb50(%rbx), %r14
shlq $0x3, %rax
leaq (%rax,%rax,2), %r15
movq 0x600(%rbx), %rdi
movq -0x18(%r14,%r15), %rsi
movl -0x10(%r14,%r15), %edx
movl $0x3, %ecx
xo... | _ma_bitmap_unpin_all:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rbx, rdi
mov eax, [rdi+0B58h]
test rax, rax
jz short loc_3FD67
mov r14, [rbx+0B50h]
shl rax, 3
lea r15, [rax+rax*2]
loc_3FD38:
mov rdi, [rbx+600h]
mov rsi, [r14+r15-18h]
mov edx... | long long ma_bitmap_unpin_all(long long a1)
{
long long result; // rax
long long v2; // r14
long long v3; // r15
result = *(unsigned int *)(a1 + 2904);
if ( *(_DWORD *)(a1 + 2904) )
{
v2 = *(_QWORD *)(a1 + 2896);
v3 = 24 * result;
do
{
result = pagecache_unlock_by_link(
... | _ma_bitmap_unpin_all:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV EAX,dword ptr [RDI + 0xb58]
TEST RAX,RAX
JZ 0x0013fd67
MOV R14,qword ptr [RBX + 0xb50]
SHL RAX,0x3
LEA R15,[RAX + RAX*0x2]
LAB_0013fd38:
MOV RDI,qword ptr [RBX + 0x600]
MOV RSI,qword ptr [R14 + R15*0x1 + -0x18]
MOV EDX,dword ... |
void _ma_bitmap_unpin_all(long param_1)
{
long lVar1;
long lVar2;
if ((ulong)*(uint *)(param_1 + 0xb58) != 0) {
lVar1 = *(long *)(param_1 + 0xb50);
lVar2 = (ulong)*(uint *)(param_1 + 0xb58) * 0x18;
do {
pagecache_unlock_by_link
(*(int8 *)(param_1 + 0x600),*(int8 *)(lVar1 + -... | |
22,940 | test_if_hard_path | eloqsql/mysys/my_getwd.c | int test_if_hard_path(register const char *dir_name)
{
if (dir_name[0] == FN_HOMELIB && dir_name[1] == FN_LIBCHAR)
return (home_dir != NullS && test_if_hard_path(home_dir));
if (dir_name[0] == FN_LIBCHAR)
return (TRUE);
#ifdef FN_DEVCHAR
return (strchr(dir_name,FN_DEVCHAR) != 0);
#else
return FALSE;
#en... | O3 | c | test_if_hard_path:
pushq %rbp
movq %rsp, %rbp
leaq 0xb6d837(%rip), %rax # 0xc12028
movq (%rax), %rax
movb (%rdi), %cl
cmpb $0x7e, %cl
jne 0xa480d
cmpb $0x2f, 0x1(%rdi)
jne 0xa480d
movq %rax, %rdi
testq %rax, %rax
jne 0xa47f4
xorl %eax, %eax
jmp 0xa4815
xorl %eax, %eax
cmpb $0x2f, %cl
sete %al
popq %rbp
retq
| test_if_hard_path:
push rbp
mov rbp, rsp
lea rax, home_dir
mov rax, [rax]
loc_A47F4:
mov cl, [rdi]
cmp cl, 7Eh ; '~'
jnz short loc_A480D
cmp byte ptr [rdi+1], 2Fh ; '/'
jnz short loc_A480D
mov rdi, rax
test rax, rax
jnz short loc_A47F4
xor eax, eax
jmp short loc_A48... | _BOOL8 test_if_hard_path(_BYTE *a1)
{
while ( *a1 == 126 && a1[1] == 47 )
{
a1 = (_BYTE *)home_dir;
if ( !home_dir )
return 0LL;
}
return *a1 == 47;
}
| test_if_hard_path:
PUSH RBP
MOV RBP,RSP
LEA RAX,[0xd12028]
MOV RAX,qword ptr [RAX]
LAB_001a47f4:
MOV CL,byte ptr [RDI]
CMP CL,0x7e
JNZ 0x001a480d
CMP byte ptr [RDI + 0x1],0x2f
JNZ 0x001a480d
MOV RDI,RAX
TEST RAX,RAX
JNZ 0x001a47f4
XOR EAX,EAX
JMP 0x001a4815
LAB_001a480d:
XOR EAX,EAX
CMP CL,0x2f
SETZ AL
LAB_001a4815:
PO... |
bool test_if_hard_path(char *param_1)
{
while ((*param_1 == '~' && (param_1[1] == '/'))) {
param_1 = home_dir;
if (home_dir == (char *)0x0) {
return false;
}
}
return *param_1 == '/';
}
| |
22,941 | my_init_mysys_psi_keys | eloqsql/mysys/my_init.c | void my_init_mysys_psi_keys()
{
const char* category= "mysys";
int count;
count= sizeof(all_mysys_mutexes)/sizeof(all_mysys_mutexes[0]);
mysql_mutex_register(category, all_mysys_mutexes, count);
count= sizeof(all_mysys_conds)/sizeof(all_mysys_conds[0]);
mysql_cond_register(category, all_mysys_conds, count... | O3 | c | my_init_mysys_psi_keys:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0x2efd9f(%rip), %r14 # 0x3aea18
movq (%r14), %rax
leaq 0x4192b(%rip), %rbx # 0x1005ae
leaq 0x2ef536(%rip), %rsi # 0x3ae1c0
movq %rbx, %rdi
movl $0x13, %edx
callq *(%rax)
movq (%r14), %rax
leaq 0x2ef6f2(%rip), %rsi # 0x3ae390
movq... | my_init_mysys_psi_keys:
push rbp
mov rbp, rsp
push r14
push rbx
lea r14, PSI_server
mov rax, [r14]
lea rbx, aMysys; "mysys"
lea rsi, all_mysys_mutexes
mov rdi, rbx
mov edx, 13h
call qword ptr [rax]
mov rax, [r14]
lea rsi, all_mysys_conds
mov rdi, rbx
mov edx, 7
ca... | long long my_init_mysys_psi_keys()
{
((void ( *)(const char *, _UNKNOWN **, long long))*PSI_server)("mysys", &all_mysys_mutexes, 19LL);
((void ( *)(const char *, _UNKNOWN **, long long))PSI_server[2])("mysys", &all_mysys_conds, 7LL);
((void ( *)(const char *, _UNKNOWN **, long long))PSI_server[1])("mysys", &all_m... | my_init_mysys_psi_keys:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
LEA R14,[0x4aea18]
MOV RAX,qword ptr [R14]
LEA RBX,[0x2005ae]
LEA RSI,[0x4ae1c0]
MOV RDI,RBX
MOV EDX,0x13
CALL qword ptr [RAX]
MOV RAX,qword ptr [R14]
LEA RSI,[0x4ae390]
MOV RDI,RBX
MOV EDX,0x7
CALL qword ptr [RAX + 0x10]
MOV RAX,qword ptr [R14]
LEA RSI,[0x... |
void my_init_mysys_psi_keys(void)
{
(**(code **)PSI_server)("mysys",all_mysys_mutexes,0x13);
(**(code **)(PSI_server + 0x10))("mysys",all_mysys_conds,7);
(**(code **)(PSI_server + 8))("mysys",all_mysys_rwlocks,1);
(**(code **)(PSI_server + 0x18))("mysys",all_mysys_threads,1);
(**(code **)(PSI_server + 0x20)... | |
22,942 | bitmap_union | eloqsql/mysys/my_bitmap.c | void bitmap_union(MY_BITMAP *map, const MY_BITMAP *map2)
{
my_bitmap_map *to= map->bitmap, *from= map2->bitmap, *end;
DBUG_ASSERT(map->bitmap);
DBUG_ASSERT(map2->bitmap);
DBUG_ASSERT(map->n_bits == map2->n_bits);
end= map->last_word_ptr;
while (to <= end)
*to++ |= *from++;
} | O0 | c | bitmap_union:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0xeee14
jmp 0xeee16
jmp 0xeee18
jmp 0xeee1a
jmp 0xeee1c
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq... | bitmap_union:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov rax, [rax]
mov [rbp+var_18], rax
mov rax, [rbp+var_10]
mov rax, [rax]
mov [rbp+var_20], rax
jmp short $+2
loc_EEE14:
jmp short $+2
loc_EEE16:
jmp short $+2
loc_EEE18... | _DWORD * bitmap_union(_QWORD *a1, int **a2)
{
_DWORD *result; // rax
int *v3; // rax
int v4; // ecx
_DWORD *v5; // rax
unsigned long long v6; // [rsp+0h] [rbp-28h]
int *v7; // [rsp+8h] [rbp-20h]
_DWORD *v8; // [rsp+10h] [rbp-18h]
v8 = (_DWORD *)*a1;
v7 = *a2;
v6 = a1[1];
while ( 1 )
{
resul... | bitmap_union:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x20],RAX
JMP 0x001eee14
LAB_001eee14:
JMP 0x001eee16
LAB... |
void bitmap_union(int8 *param_1,int8 *param_2)
{
uint *puVar1;
uint *local_28;
uint *local_20;
puVar1 = (uint *)param_1[1];
local_28 = (uint *)*param_2;
local_20 = (uint *)*param_1;
while (local_20 <= puVar1) {
*local_20 = *local_28 | *local_20;
local_28 = local_28 + 1;
local_20 = local_2... | |
22,943 | common_context_params_to_llama(common_params const&) | monkey531[P]llama/common/common.cpp | struct llama_context_params common_context_params_to_llama(const common_params & params) {
auto cparams = llama_context_default_params();
cparams.n_ctx = params.n_ctx;
cparams.n_seq_max = params.n_parallel;
cparams.n_batch = params.n_batch;
cparams.n_ubatch = ... | O2 | cpp | common_context_params_to_llama(common_params const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x260c0
movl 0x18(%r14), %eax
movl %eax, 0xc(%rbx)
movq 0x4(%r14), %rax
movq %rax, (%rbx)
movl 0xc(%r14), %eax
movl %eax, 0x8(%rbx)
movl 0x274(%r14), %eax
movl %eax, 0x10(%rbx)
movl 0x488(%r14), ... | _Z30common_context_params_to_llamaRK13common_params:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
call _llama_context_default_params
mov eax, [r14+18h]
mov [rbx+0Ch], eax
mov rax, [r14+4]
mov [rbx], rax
mov eax, [r14+0Ch]
mov [rbx+8], eax
mov eax, [r14+274h]
mov ... | const common_params * common_context_params_to_llama(const common_params *a1, long long a2)
{
int v2; // eax
int v3; // ecx
llama_context_default_params(a1);
*((_DWORD *)a1 + 3) = *(_DWORD *)(a2 + 24);
*(_QWORD *)a1 = *(_QWORD *)(a2 + 4);
*((_DWORD *)a1 + 2) = *(_DWORD *)(a2 + 12);
v2 = *(_DWORD *)(a2 + ... | common_context_params_to_llama:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
CALL 0x001260c0
MOV EAX,dword ptr [R14 + 0x18]
MOV dword ptr [RBX + 0xc],EAX
MOV RAX,qword ptr [R14 + 0x4]
MOV qword ptr [RBX],RAX
MOV EAX,dword ptr [R14 + 0xc]
MOV dword ptr [RBX + 0x8],EAX
MOV EAX,dword ptr [R14 + 0x274]
MOV dword ptr ... |
/* common_context_params_to_llama(common_params const&) */
common_params * common_context_params_to_llama(common_params *param_1)
{
int iVar1;
int8 uVar2;
int iVar3;
long in_RSI;
llama_context_default_params();
*(int4 *)(param_1 + 0xc) = *(int4 *)(in_RSI + 0x18);
*(int8 *)param_1 = *(int8 *)(in_RSI ... | |
22,944 | ma_read_rnd_pack_record | eloqsql/storage/maria/ma_packrec.c | int _ma_read_rnd_pack_record(MARIA_HA *info,
uchar *buf,
register MARIA_RECORD_POS filepos,
my_bool skip_deleted_blocks)
{
File file;
MARIA_BLOCK_INFO block_info;
MARIA_SHARE *share= info->s;
DBUG_ENTER("_ma_read_rnd_pack_record");
if (filepos >= info->state->data... | O3 | c | ma_read_rnd_pack_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq 0x20(%rdi), %rax
cmpq %rdx, 0x28(%rax)
jbe 0x65148
movl %ecx, %r13d
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
testb $0x2, 0x61c(%rdi)
jne 0x65... | _ma_read_rnd_pack_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0C8h
mov rax, fs:28h
mov [rbp+var_30], rax
mov rax, [rdi+20h]
cmp [rax+28h], rdx
jbe short loc_65148
mov r13d, ecx
mov r15, rdx
mov rbx, rsi
mov r14, rdi
te... | long long ma_read_rnd_pack_record(long long a1, long long a2, unsigned long long a3, char a4)
{
long long v7; // r14
unsigned int v8; // r9d
long long v10; // rdx
long long v11; // rsi
long long v12; // r13
long long v13; // rax
long long v14; // rax
int v15; // r9d
long long v16; // rax
long long ... | _ma_read_rnd_pack_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xc8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RDI + 0x20]
CMP qword ptr [RAX + 0x28],RDX
JBE 0x00165148
MOV R13D,ECX
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
TEST byte ptr [RDI + 0x61c],0... |
ulong _ma_read_rnd_pack_record(long *param_1,int8 param_2,ulong param_3,char param_4)
{
char cVar1;
int iVar2;
int4 *puVar3;
uint *puVar4;
long lVar5;
ulong uVar6;
int4 uVar7;
long lVar8;
long in_FS_OFFSET;
int1 local_f0 [72];
long local_a8;
long local_a0;
int4 local_94;
int1 local_90 [24]... | |
22,945 | translog_sync_files | eloqsql/storage/maria/ma_loghandler.c | static my_bool translog_sync_files(uint32 min, uint32 max,
my_bool sync_dir)
{
uint fn;
my_bool rc= 0;
ulonglong flush_interval;
DBUG_ENTER("translog_sync_files");
DBUG_PRINT("info", ("min: %lu max: %lu sync dir: %d",
(ulong) min, (ulong) max, (int) s... | O3 | c | translog_sync_files:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %edx, -0x30(%rbp)
movl %esi, %r14d
movl %edi, %r15d
cmpl $0x0, 0xbb33e9(%rip) # 0xc01994
je 0x4e5ce
callq 0x9f488
shrq $0x3, %rax
movabsq $0x20c49ba5e353f7cf, %rcx # imm = 0x20C49BA5E353F7CF
m... | translog_sync_files:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov [rbp+var_30], edx
mov r14d, esi
mov r15d, edi
cmp cs:group_commit_wait, 0
jz short loc_4E5CE
call my_interval_timer
shr rax, 3
mov rcx, 20C49BA5E353F7CFh
mul... | char translog_sync_files(unsigned int a1, unsigned int a2, int a3)
{
unsigned int v3; // r15d
unsigned int v4; // ebx
long long v5; // rax
char result; // al
long long logfile_by_number; // rax
long long v8; // r13
unsigned int v9; // ebx
long long v10; // rax
int v11; // eax
_BYTE v12[72]; // [rsp... | translog_sync_files:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV dword ptr [RBP + -0x30],EDX
MOV R14D,ESI
MOV R15D,EDI
CMP dword ptr [0x00d01994],0x0
JZ 0x0014e5ce
CALL 0x0019f488
SHR RAX,0x3
MOV RCX,0x20c49ba5e353f7cf
MUL RCX
SHR RDX,0x4
MOV qword ptr [0x00d01980],RDX
LAB_0014e5c... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
ulong translog_sync_files(uint param_1,uint param_2,int4 param_3)
{
int4 uVar1;
uint uVar2;
ulong uVar3;
long lVar4;
long lVar5;
int1 local_80 [72];
int4 local_38;
uint local_34;
local_38 = param_3;
if (group_... | |
22,946 | my_casedn_8bit | eloqsql/strings/ctype-simple.c | size_t my_casedn_8bit(CHARSET_INFO * cs, const char *src, size_t srclen,
char *dst, size_t dstlen __attribute__((unused)))
{
const char *end= src + srclen;
register const uchar *map=cs->to_lower;
DBUG_ASSERT(srclen <= dstlen);
for ( ; src != end ; src++)
*dst++= (char) map[(uchar) *src... | O0 | c | my_casedn_8bit:
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 -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq %rax, -0x38(%rbp)
jmp 0x49ad2
jmp 0x49ad4
movq... | my_casedn_8bit:
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_8]
mov rax, [rax+48h]
mov [rbp+var_38],... | long long my_casedn_8bit(long long a1, unsigned __int8 *a2, long long a3, _BYTE *a4)
{
_BYTE *v4; // rax
long long v6; // [rsp+0h] [rbp-38h]
unsigned __int8 *v8; // [rsp+28h] [rbp-10h]
v8 = a2;
v6 = *(_QWORD *)(a1 + 72);
while ( v8 != &a2[a3] )
{
v4 = a4++;
*v4 = *(_BYTE *)(v6 + *v8++);
}
re... | my_casedn_8bit:
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 + -0x8... |
long my_casedn_8bit(long param_1,byte *param_2,long param_3,int1 *param_4)
{
long lVar1;
int1 *local_28;
byte *local_18;
lVar1 = *(long *)(param_1 + 0x48);
local_28 = param_4;
for (local_18 = param_2; local_18 != param_2 + param_3; local_18 = local_18 + 1) {
*local_28 = *(int1 *)(lVar1 + (ulong)*lo... | |
22,947 | my_strndup | eloqsql/mysys/my_malloc.c | char *my_strndup(PSI_memory_key key, const char *from, size_t length, myf my_flags)
{
char *ptr;
DBUG_ENTER("my_strndup");
if ((ptr= (char*) my_malloc(key, length+1, my_flags)))
{
memcpy(ptr, from, length);
ptr[length]= 0;
}
DBUG_RETURN(ptr);
} | O0 | c | my_strndup:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl -0x4(%rbp), %edi
movq -0x18(%rbp), %rsi
addq $0x1, %rsi
movq -0x20(%rbp), %rdx
callq 0x5b620
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x5bb62
movq -0x28(%rbp), %rdi
mo... | my_strndup:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_4], edi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov edi, [rbp+var_4]
mov rsi, [rbp+var_18]
add rsi, 1
mov rdx, [rbp+var_20]
call my_malloc
mov [rbp+var_28], rax
cmp rax, 0
jz ... | long long my_strndup(unsigned int a1, long long a2, long long a3, int a4)
{
long long v5; // [rsp+8h] [rbp-28h]
v5 = my_malloc(a1, a3 + 1, a4);
if ( v5 )
{
memcpy(v5, a2, a3);
*(_BYTE *)(v5 + a3) = 0;
}
return v5;
}
| my_strndup:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV EDI,dword ptr [RBP + -0x4]
MOV RSI,qword ptr [RBP + -0x18]
ADD RSI,0x1
MOV RDX,qword ptr [RBP + -0x20]
CALL 0x0015b620
MOV qword ptr [RBP + -0x... |
void * my_strndup(int4 param_1,void *param_2,size_t param_3,int8 param_4)
{
void *__dest;
__dest = (void *)my_malloc(param_1,param_3 + 1,param_4);
if (__dest != (void *)0x0) {
memcpy(__dest,param_2,param_3);
*(int1 *)((long)__dest + param_3) = 0;
}
return __dest;
}
| |
22,948 | mbr_join_square | eloqsql/storage/myisam/rt_split.c | static double mbr_join_square(const double *a, const double *b, int n_dim)
{
const double *end = a + n_dim * 2;
double square = 1.0;
do
{
square *=
((a[1] < b[1]) ? b[1] : a[1]) - ((a[0] > b[0]) ? b[0] : a[0]);
a += 2;
b += 2;
}while (a != end);
/* Check if not finite (i.e. infinity or... | O0 | c | mbr_join_square:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movl -0x14(%rbp), %ecx
shll %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movsd 0x82d1a(%rip), %xmm0 # 0x158c58
movsd %xmm0, -0x28(%rbp)
movq -0x8(%rbp... | mbr_join_square_0:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov rax, [rbp+var_8]
mov ecx, [rbp+var_14]
shl ecx, 1
movsxd rcx, ecx
shl rcx, 3
add rax, rcx
mov [rbp+var_20], rax
movsd xmm0, cs:qword_158C58
movsd [rbp+var_28], xm... | double mbr_join_square_0(double *a1, double *a2, int a3)
{
double v4; // [rsp+0h] [rbp-40h]
double v5; // [rsp+10h] [rbp-30h]
double v6; // [rsp+18h] [rbp-28h]
double *v8; // [rsp+38h] [rbp-8h]
v8 = a1;
v6 = 1.0;
do
{
if ( a2[1] <= v8[1] )
v5 = v8[1];
else
v5 = a2[1];
if ( *v8 ... | mbr_join_square:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RBP + -0x14]
SHL ECX,0x1
MOVSXD RCX,ECX
SHL RCX,0x3
ADD RAX,RCX
MOV qword ptr [RBP + -0x20],RAX
MOVSD XMM0,qword ptr [0x00258c58]
MOVSD q... |
double mbr_join_square(double *param_1,double *param_2,int param_3)
{
double local_48;
double local_38;
double local_30;
double *local_18;
double *local_10;
local_30 = DAT_00258c58;
local_18 = param_2;
local_10 = param_1;
do {
if (local_18[1] <= local_10[1]) {
local_38 = local_10[1];
... | |
22,949 | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl... | monkey531[P]llama/common/json.hpp | bool start_array(std::size_t len)
{
const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discarded);
keep_stack.push_back(keep);
auto val = handle_value(BasicJsonType::value_t::array, true);
ref_stack.push_back(val.second);
// check arr... | 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_IhSaIhEEvEEE11start_arrayEm:
sub rsp, 0A8h
mov qword ptr [rsp+0A8h+var_8], rdi
mov [rsp+0A8h+var_10], rsi
mov ... | start_array:
SUB RSP,0xa8
MOV qword ptr [RSP + 0xa0],RDI
MOV qword ptr [RSP + 0x98],RSI
MOV RDI,qword ptr [RSP + 0xa0]
MOV qword ptr [RSP + 0x20],RDI
MOV RAX,RDI
ADD RAX,0x80
MOV qword ptr [RSP + 0x18],RAX
ADD RDI,0x8
CALL 0x001c5b50
MOV RDI,qword ptr [RSP + 0x18]
MOV RCX,qword ptr [RSP + 0x20]
MOV ESI,EAX
ADD RCX,0xa8... |
/* 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... | ||
22,950 | minja::chat_template::try_raw_render(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<uns... | monkey531[P]llama/common/chat-template.hpp | std::string try_raw_render(
const nlohmann::ordered_json & messages,
const nlohmann::ordered_json & tools,
bool add_generation_prompt,
const nlohmann::ordered_json & extra_context = nlohmann::ordered_json()) const
{
try {
auto prompt = apply(messages, tools, add_g... | O3 | cpp | minja::chat_template::try_raw_render(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<uns... | _ZNK5minja13chat_template14try_raw_renderERKN8nlohmann16json_abi_v3_11_310basic_jsonINS2_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS2_14adl_serializerES5_IhSaIhEEvEESH_bSH_:
push r14
push rbx
push rax
mov rbx, rdi
mov [rsp+18h+var_18], 0
call _ZNK5minja13chat_... | long long minja::chat_template::try_raw_render(long long a1)
{
minja::chat_template::apply(a1);
return a1;
}
| try_raw_render:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
LAB_0017f615:
MOV dword ptr [RSP],0x0
CALL 0x001a1ebc
LAB_0017f621:
MOV RAX,RBX
ADD RSP,0x8
POP RBX
POP R14
RET
|
/* minja::chat_template::try_raw_render(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> >, ... | |
22,951 | ma_calc_length_for_store_length | eloqsql/storage/maria/ma_blockrec.c | uint ma_calc_length_for_store_length(ulong nr)
{
if (nr < 251)
return 1;
if (nr < 65536)
{
if (nr <= 255)
return 2;
return 3;
}
if (nr < 16777216)
return 4;
return 5;
} | O0 | c | ma_calc_length_for_store_length:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
cmpq $0xfb, -0x10(%rbp)
jae 0x5600b
movl $0x1, -0x4(%rbp)
jmp 0x5604b
cmpq $0x10000, -0x10(%rbp) # imm = 0x10000
jae 0x56031
cmpq $0xff, -0x10(%rbp)
ja 0x56028
movl $0x2, -0x4(%rbp)
jmp 0x5604b
movl $0x3, -0x4(%rbp)
jmp 0x5604b
cmpq $0... | ma_calc_length_for_store_length:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
cmp [rbp+var_10], 0FBh
jnb short loc_5600B
mov [rbp+var_4], 1
jmp short loc_5604B
loc_5600B:
cmp [rbp+var_10], 10000h
jnb short loc_56031
cmp [rbp+var_10], 0FFh
ja short loc_56028
mov [rbp+var_4]... | long long ma_calc_length_for_store_length(unsigned long long a1)
{
if ( a1 >= 0xFB )
{
if ( a1 >= 0x10000 )
{
if ( a1 >= 0x1000000 )
return 5;
else
return 4;
}
else if ( a1 > 0xFF )
{
return 3;
}
else
{
return 2;
}
}
else
{
retur... | ma_calc_length_for_store_length:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
CMP qword ptr [RBP + -0x10],0xfb
JNC 0x0015600b
MOV dword ptr [RBP + -0x4],0x1
JMP 0x0015604b
LAB_0015600b:
CMP qword ptr [RBP + -0x10],0x10000
JNC 0x00156031
CMP qword ptr [RBP + -0x10],0xff
JA 0x00156028
MOV dword ptr [RBP + -0x4],0... |
int4 ma_calc_length_for_store_length(ulong param_1)
{
int4 local_c;
if (param_1 < 0xfb) {
local_c = 1;
}
else if (param_1 < 0x10000) {
if (param_1 < 0x100) {
local_c = 2;
}
else {
local_c = 3;
}
}
else if (param_1 < 0x1000000) {
local_c = 4;
}
else {
local_c ... | |
22,952 | std::vector<std::shared_ptr<ftxui::Node>, std::allocator<std::shared_ptr<ftxui::Node>>> ftxui::unpack<std::shared_ptr<ftxui::Node>, std::shared_ptr<ftxui::Node>>(std::shared_ptr<ftxui::Node>, std::shared_ptr<ftxui::Node>) | Andrewchistyakov[P]flashcards_lyc/build_O1/_deps/ftxui-src/include/ftxui/dom/take_any_args.hpp | Elements unpack(Args... args) {
std::vector<Element> vec;
(Merge(vec, std::move(args)), ...);
return vec;
} | O1 | cpp | std::vector<std::shared_ptr<ftxui::Node>, std::allocator<std::shared_ptr<ftxui::Node>>> ftxui::unpack<std::shared_ptr<ftxui::Node>, std::shared_ptr<ftxui::Node>>(std::shared_ptr<ftxui::Node>, std::shared_ptr<ftxui::Node>):
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx... | _ZN5ftxui6unpackIJSt10shared_ptrINS_4NodeEES3_S3_EEESt6vectorIS3_SaIS3_EEDpT_:
push r15
push r14
push rbx
sub rsp, 30h
mov r14, rcx
mov r15, rdx
mov rbx, rdi
xor ecx, ecx
mov [rdi+10h], rcx
xorps xmm0, xmm0
movups xmmword ptr [rdi], xmm0
mov rdx, [rsi]
lea rax, [rsp+48h+var_2... | long long ftxui::unpack<std::shared_ptr<ftxui::Node>,std::shared_ptr<ftxui::Node>,std::shared_ptr<ftxui::Node>>(
long long a1,
long long *a2,
long long *a3,
long long *a4)
{
volatile signed __int32 *v6; // rdx
volatile signed __int32 *v7; // rcx
volatile signed __int32 *v8; // rcx... | unpack<std::shared_ptr<ftxui::Node>,std::shared_ptr<ftxui::Node>,std::shared_ptr<ftxui::Node>>:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV R14,RCX
MOV R15,RDX
MOV RBX,RDI
XOR ECX,ECX
MOV qword ptr [RDI + 0x10],RCX
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI],XMM0
MOV RDX,qword ptr [RSI]
LEA RAX,[RSP + 0x20]
MOV qword ptr ... |
/* std::vector<std::shared_ptr<ftxui::Node>, std::allocator<std::shared_ptr<ftxui::Node> > >
ftxui::unpack<std::shared_ptr<ftxui::Node>, std::shared_ptr<ftxui::Node>,
std::shared_ptr<ftxui::Node> >(std::shared_ptr<ftxui::Node>, std::shared_ptr<ftxui::Node>,
std::shared_ptr<ftxui::Node>) */
ftxui * __thiscall... | |
22,953 | nglog::VADoRawLog(char**, unsigned long*, char const*, __va_list_tag*) | ng-log[P]ng-log/src/raw_logging.cc | inline static bool VADoRawLog(char** buf, size_t* size, const char* format,
va_list ap) {
#if defined(__GNUC__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wformat-nonliteral"
#endif
int n = std::vsnprintf(*buf, *size, format, ap);
#if defined(__GNUC__)
# pragma GCC... | O0 | cpp | nglog::VADoRawLog(char**, unsigned long*, char const*, __va_list_tag*):
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rsi
movq -0x20(%rbp), %rdx
movq -0... | _ZN5nglogL10VADoRawLogEPPcPmPKcP13__va_list_tag:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
mov rax, [rbp+var_10]
mov rdi, [rax]
mov rax, [rbp+var_18]
mov rsi, [rax]
mov rdx, [rbp+var_20]
mov ... | char nglog::VADoRawLog(nglog *this, char **a2, unsigned long long *a3, const char *a4, __va_list_tag *a5)
{
int v6; // [rsp+4h] [rbp-2Ch]
v6 = vsnprintf(*(_QWORD *)this, *a2, a3, a4);
if ( v6 < 0 || v6 > (unsigned long long)*a2 )
return 0;
*a2 -= v6;
*(_QWORD *)this += v6;
return 1;
}
| VADoRawLog:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,qword ptr [RAX]
MOV RDX,qword ptr [RBP + -0x20]
MO... |
/* nglog::VADoRawLog(char**, unsigned long*, char const*, __va_list_tag*) */
int1 nglog::VADoRawLog(char **param_1,ulong *param_2,char *param_3,__va_list_tag *param_4)
{
int iVar1;
int1 local_9;
iVar1 = vsnprintf(*param_1,*param_2,param_3,param_4);
if ((iVar1 < 0) || (*param_2 < (ulong)(long)iVar1)) {
... | |
22,954 | lefSpacing(LefDefParser::lefiSpacing*, char*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lefdiff/diffLefRW.cpp | void lefSpacing(lefiSpacing* spacing, char *inName) {
fprintf(fout, "%s SAMENET %s %s %g ", inName, spacing->name1(),
spacing->name2(), chkNum(spacing->distance()));
if (spacing->hasStack())
fprintf(fout, " STACK");
fprintf(fout,"\n");
return;
} | O3 | cpp | lefSpacing(LefDefParser::lefiSpacing*, char*):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x742bb(%rip), %r15 # 0x773f0
callq 0x12326
movq %rax, %r12
movq %rbx, %rdi
callq 0x1232c
movq %rax, %r13
movq %rbx, %rdi
callq 0x12332
movapd 0x47eb8(%rip), %xmm1 # 0x4b010
... | _Z10lefSpacingPN12LefDefParser11lefiSpacingEPc:
push r15
push r14
push r13
push r12
push rbx
mov r14, rsi
mov rbx, rdi
mov r15, cs:fout
call _ZNK12LefDefParser11lefiSpacing5name1Ev; LefDefParser::lefiSpacing::name1(void)
mov r12, rax
mov rdi, rbx; this
call _ZNK12LefDefParser11l... | long long lefSpacing(LefDefParser::lefiSpacing *this, char *a2, double a3)
{
long long v3; // r15
const char *v4; // r12
const char *v5; // r13
v3 = fout;
v4 = (const char *)LefDefParser::lefiSpacing::name1(this);
v5 = (const char *)LefDefParser::lefiSpacing::name2(this);
LefDefParser::lefiSpacing::dist... | lefSpacing:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
MOV R15,qword ptr [0x001773f0]
CALL 0x00112326
MOV R12,RAX
MOV RDI,RBX
CALL 0x0011232c
MOV R13,RAX
MOV RDI,RBX
CALL 0x00112332
MOVAPD XMM1,xmmword ptr [0x0014b010]
ANDPD XMM1,XMM0
UCOMISD XMM1,qword ptr [0x0014b090]
JBE 0x0010319d
CVTTSD2S... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* lefSpacing(LefDefParser::lefiSpacing*, char*) */
void lefSpacing(lefiSpacing *param_1,char *param_2)
{
FILE *__stream;
int iVar1;
int8 uVar2;
int8 uVar3;
double dVar4;
__stream = fout;
uVar2 = LefDefParser::lefiS... | |
22,955 | js_std_dump_error1 | bluesky950520[P]quickjs/quickjs-libc.c | void js_std_dump_error1(JSContext *ctx, JSValue exception_val)
{
JSValue val;
BOOL is_error;
is_error = JS_IsError(ctx, exception_val);
js_dump_obj(ctx, stderr, exception_val);
if (is_error) {
val = JS_GetPropertyStr(ctx, exception_val, "stack");
if (!JS_IsUndefined(val)) {
... | O0 | c | js_std_dump_error1:
subq $0x48, %rsp
movq %rsi, 0x38(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
callq 0x3e490
movl %eax, 0x1c(%rsp)
movq 0x30(%rsp), %rdi
movq 0x125501(%rip), %rax # 0x13cff8
movq (%rax), %rsi
movq 0x38(%rsp), %rdx
movq 0x40(%rs... | js_std_dump_error1:
sub rsp, 48h
mov [rsp+48h+var_10], rsi
mov [rsp+48h+var_8], rdx
mov [rsp+48h+var_18], rdi
mov rdi, [rsp+48h+var_18]
mov rsi, [rsp+48h+var_10]
mov rdx, [rsp+48h+var_8]
call JS_IsError
mov [rsp+48h+var_2C], eax
mov rdi, [rsp+48h+var_18]
mov rax, cs:stderr_ptr... | long long js_std_dump_error1(long long a1, long long a2, long long a3)
{
long long result; // rax
long long v4; // rdx
long long PropertyStr; // [rsp+8h] [rbp-40h]
int IsError; // [rsp+1Ch] [rbp-2Ch]
long long v7; // [rsp+28h] [rbp-20h]
IsError = JS_IsError(a1, a2, a3);
result = js_dump_obj(a1, stderr, ... | js_std_dump_error1:
SUB RSP,0x48
MOV qword ptr [RSP + 0x38],RSI
MOV qword ptr [RSP + 0x40],RDX
MOV qword ptr [RSP + 0x30],RDI
MOV RDI,qword ptr [RSP + 0x30]
MOV RSI,qword ptr [RSP + 0x38]
MOV RDX,qword ptr [RSP + 0x40]
CALL 0x0013e490
MOV dword ptr [RSP + 0x1c],EAX
MOV RDI,qword ptr [RSP + 0x30]
MOV RAX,qword ptr [0x00... |
void js_std_dump_error1(int8 param_1,int8 param_2,int8 param_3)
{
int iVar1;
int8 uVar2;
int8 uVar3;
int1 auVar4 [16];
iVar1 = JS_IsError(param_1,param_2,param_3);
js_dump_obj(param_1,*(int8 *)PTR_stderr_0023cff8,param_2,param_3);
if (iVar1 != 0) {
auVar4 = JS_GetPropertyStr(param_1,param_2,param... | |
22,956 | js_std_dump_error1 | bluesky950520[P]quickjs/quickjs-libc.c | void js_std_dump_error1(JSContext *ctx, JSValue exception_val)
{
JSValue val;
BOOL is_error;
is_error = JS_IsError(ctx, exception_val);
js_dump_obj(ctx, stderr, exception_val);
if (is_error) {
val = JS_GetPropertyStr(ctx, exception_val, "stack");
if (!JS_IsUndefined(val)) {
... | O1 | c | js_std_dump_error1:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x2b53b
movl %eax, %ebp
movq 0xb8b4a(%rip), %r12 # 0xd1ff8
movq (%r12), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r14, %rcx
callq 0x19516
testl %ebp, %ebp
je 0x1950d
leaq 0x8652f(%rip), ... | js_std_dump_error1:
push rbp
push r15
push r14
push r12
push rbx
mov r14, rdx
mov r15, rsi
mov rbx, rdi
call JS_IsError
mov ebp, eax
mov r12, cs:stderr_ptr
mov rsi, [r12]
mov rdi, rbx
mov rdx, r15
mov rcx, r14
call js_dump_obj
test ebp, ebp
jz short loc_1... | long long js_std_dump_error1(long long a1, long long a2, long long a3)
{
int IsError; // ebp
long long result; // rax
long long PropertyStr; // rax
long long v7; // rdx
long long v8; // r14
IsError = JS_IsError(a1, a2);
result = js_dump_obj(a1, stderr, a2, a3);
if ( IsError )
{
PropertyStr = JS_... | js_std_dump_error1:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
CALL 0x0012b53b
MOV EBP,EAX
MOV R12,qword ptr [0x001d1ff8]
MOV RSI,qword ptr [R12]
MOV RDI,RBX
MOV RDX,R15
MOV RCX,R14
CALL 0x00119516
TEST EBP,EBP
JZ 0x0011950d
LEA RCX,[0x19f9fa]
MOV RDI,RBX
MOV RSI,R15
MOV RDX,R14
CA... |
void js_std_dump_error1(int8 param_1,int8 param_2,int8 param_3)
{
int8 uVar1;
int *puVar2;
int iVar3;
int8 extraout_RDX;
iVar3 = JS_IsError();
puVar2 = PTR_stderr_001d1ff8;
js_dump_obj(param_1,*(int8 *)PTR_stderr_001d1ff8,param_2,param_3);
if (iVar3 != 0) {
uVar1 = JS_GetPropertyStr(param_1,par... | |
22,957 | js_std_dump_error1 | bluesky950520[P]quickjs/quickjs-libc.c | void js_std_dump_error1(JSContext *ctx, JSValue exception_val)
{
JSValue val;
BOOL is_error;
is_error = JS_IsError(ctx, exception_val);
js_dump_obj(ctx, stderr, exception_val);
if (is_error) {
val = JS_GetPropertyStr(ctx, exception_val, "stack");
if (!JS_IsUndefined(val)) {
... | O2 | c | js_std_dump_error1:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x24d24
movl %eax, %ebp
movq 0xab070(%rip), %r12 # 0xbeff8
movq (%r12), %rsi
movq %rbx, %rdi
movq %r15, %rdx
movq %r14, %rcx
callq 0x13ff0
testl %ebp, %ebp
je 0x13fe7
leaq 0x71a3e(%rip), ... | js_std_dump_error1:
push rbp
push r15
push r14
push r12
push rbx
mov r14, rdx
mov r15, rsi
mov rbx, rdi
call JS_IsError
mov ebp, eax
mov r12, cs:stderr_ptr
mov rsi, [r12]
mov rdi, rbx
mov rdx, r15
mov rcx, r14
call js_dump_obj
test ebp, ebp
jz short loc_1... | long long js_std_dump_error1(long long a1, long long a2, long long a3)
{
int IsError; // ebp
long long result; // rax
long long PropertyStr; // rax
long long v7; // rdx
long long v8; // r14
IsError = JS_IsError(a1, a2);
result = js_dump_obj(a1, stderr, a2, a3);
if ( IsError )
{
PropertyStr = JS_... | js_std_dump_error1:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
CALL 0x00124d24
MOV EBP,EAX
MOV R12,qword ptr [0x001beff8]
MOV RSI,qword ptr [R12]
MOV RDI,RBX
MOV RDX,R15
MOV RCX,R14
CALL 0x00113ff0
TEST EBP,EBP
JZ 0x00113fe7
LEA RCX,[0x1859e3]
MOV RDI,RBX
MOV RSI,R15
MOV RDX,R14
CA... |
void js_std_dump_error1(int8 param_1,int8 param_2,int8 param_3)
{
int8 uVar1;
int *puVar2;
int iVar3;
int8 extraout_RDX;
iVar3 = JS_IsError();
puVar2 = PTR_stderr_001beff8;
js_dump_obj(param_1,*(int8 *)PTR_stderr_001beff8,param_2,param_3);
if (iVar3 != 0) {
uVar1 = JS_GetPropertyStr(param_1,par... | |
22,958 | init_events_statements_history_long(unsigned long) | eloqsql/storage/perfschema/pfs_events_statements.cc | int init_events_statements_history_long(size_t events_statements_history_long_sizing)
{
events_statements_history_long_size= events_statements_history_long_sizing;
events_statements_history_long_full= false;
PFS_atomic::store_u32(&events_statements_history_long_index.m_u32, 0);
if (events_statements_history_lo... | O3 | cpp | init_events_statements_history_long(unsigned long):
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, 0x38de1f(%rip) # 0x3d2c00
movb $0x0, 0x38df18(%rip) # 0x3d2d00
xorl %ebx, %ebx
xorl %eax, %eax
xchgl %eax, 0x38df4e(%rip) # 0x3d2d40
testq %rdi, %rdi
je 0x44f31
movq %rdi, %rsi
... | _Z35init_events_statements_history_longm:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov cs:events_statements_history_long_size, rdi
mov cs:events_statements_history_long_full, 0
xor ebx, ebx
xor eax, eax
xchg eax, cs:events_statements_history_long_index
test rdi,... | long long init_events_statements_history_long(unsigned long long a1)
{
unsigned int v1; // ebx
long long v2; // rax
long long v3; // rcx
long long v4; // rdx
unsigned long long v5; // rsi
long long v6; // rdi
int v7; // r8d
events_statements_history_long_size = a1;
events_statements_history_long_ful... | init_events_statements_history_long:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV qword ptr [0x004d2c00],RDI
MOV byte ptr [0x004d2d00],0x0
XOR EBX,EBX
XOR EAX,EAX
XCHG dword ptr [0x004d2d40],EAX
TEST RDI,RDI
JZ 0x00144f31
MOV RSI,RDI
LEA RDI,[0x4ce0c0]
MOV EDX,0x590
MOV ECX,0x20
CALL 0x00130f01
MOV qwor... |
/* init_events_statements_history_long(unsigned long) */
int4 init_events_statements_history_long(ulong param_1)
{
int8 *puVar1;
ulong uVar2;
long lVar3;
long lVar4;
long lVar5;
long lVar6;
int4 uVar7;
ulong uVar8;
events_statements_history_long_full = 0;
LOCK();
events_statements_history_lo... | |
22,959 | my_strnncollsp_tis620 | eloqsql/strings/ctype-tis620.c | static
int my_strnncollsp_tis620(CHARSET_INFO * cs __attribute__((unused)),
const uchar *a0, size_t a_length,
const uchar *b0, size_t b_length)
{
uchar buf[80], *end, *a, *b, *alloced= NULL;
size_t length;
int res= 0;
a= buf;
if ((a_length + b_length +2) > (int) sizeof(buf))
alloced= a= (uchar*... | O3 | c | my_strnncollsp_tis620:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r8, %r14
movq %rcx, -0x90(%rbp)
movq %rdx, %r15
movq %rsi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
leaq (%rdx,%r8), %rsi
addq $0x2, %rsi
cmpq $0x51, %rsi
jb 0x7020c
movl $0x8, %edx
xor... | my_strnncollsp_tis620:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 68h
mov r14, r8
mov [rbp+var_90], rcx
mov r15, rdx
mov rbx, rsi
mov rax, fs:28h
mov [rbp+var_30], rax
lea rsi, [rdx+r8]
add rsi, 2
cmp rsi, 51h ; 'Q'
jb s... | long long my_strnncollsp_tis620(long long a1, long long a2, unsigned long long a3, long long a4, unsigned long long a5)
{
unsigned long long v8; // rsi
unsigned __int8 *v9; // r12
unsigned long long v10; // rax
unsigned __int8 *v11; // rcx
int v12; // r13d
int v13; // edx
unsigned int v14; // r13d
long... | my_strnncollsp_tis620:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV R14,R8
MOV qword ptr [RBP + -0x90],RCX
MOV R15,RDX
MOV RBX,RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
LEA RSI,[RDX + R8*0x1]
ADD RSI,0x2
CMP RSI,0x51
JC 0x0017020c
MOV EDX,0x8
XOR EDI,EDI
CALL ... |
int my_strnncollsp_tis620
(int8 param_1,void *param_2,ulong param_3,void *param_4,ulong param_5)
{
byte *pbVar1;
byte bVar2;
byte *__dest;
byte *pbVar3;
ulong uVar4;
int iVar5;
long in_FS_OFFSET;
byte *local_90;
byte local_88 [80];
long local_38;
local_38 = *(long *)(in_FS_OFFSE... | |
22,960 | host_selfdestruct | corpus-core[P]colibri-stateless/src/chains/eth/verifier/call_evmone.c | static void host_selfdestruct(void* context, const evmc_address* addr, const evmc_address* beneficiary) {
evmone_context_t* ctx = (evmone_context_t*) context;
debug_print_address("selfdestruct account", addr);
debug_print_address("selfdestruct beneficiary", beneficiary);
bool created;
changed_a... | O2 | c | host_selfdestruct:
pushq %rbx
subq $0x10, %rsp
leaq 0xf(%rsp), %rdx
callq 0x27e33
movq %rax, %rbx
movq 0x50(%rbx), %rdi
testq %rdi, %rdi
je 0x27b19
movq 0x40(%rdi), %rax
movq %rax, 0x50(%rbx)
callq 0x4a0e0
jmp 0x27b01
movb $0x1, 0x58(%rbx)
addq $0x10, %rsp
popq %rbx
retq
| host_selfdestruct:
push rbx
sub rsp, 10h
lea rdx, [rsp+18h+var_9]
call create_changed_account
mov rbx, rax
loc_27B01:
mov rdi, [rbx+50h]
test rdi, rdi
jz short loc_27B19
mov rax, [rdi+40h]
mov [rbx+50h], rax
call safe_free
jmp short loc_27B01
loc_27B19:
mov byte ptr [rbx... | long long host_selfdestruct(long long a1, long long a2)
{
long long result; // rax
long long v3; // rbx
long long v4; // rdi
_BYTE v5[9]; // [rsp+Fh] [rbp-9h] BYREF
result = create_changed_account(a1, a2, v5);
v3 = result;
while ( 1 )
{
v4 = *(_QWORD *)(v3 + 80);
if ( !v4 )
break;
*(... | host_selfdestruct:
PUSH RBX
SUB RSP,0x10
LEA RDX,[RSP + 0xf]
CALL 0x00127e33
MOV RBX,RAX
LAB_00127b01:
MOV RDI,qword ptr [RBX + 0x50]
TEST RDI,RDI
JZ 0x00127b19
MOV RAX,qword ptr [RDI + 0x40]
MOV qword ptr [RBX + 0x50],RAX
CALL 0x0014a0e0
JMP 0x00127b01
LAB_00127b19:
MOV byte ptr [RBX + 0x58],0x1
ADD RSP,0x10
POP RBX
R... |
void host_selfdestruct(int8 param_1,int8 param_2)
{
long lVar1;
int1 local_9;
lVar1 = create_changed_account(param_1,param_2,&local_9);
while (*(long *)(lVar1 + 0x50) != 0) {
*(int8 *)(lVar1 + 0x50) = *(int8 *)(*(long *)(lVar1 + 0x50) + 0x40);
safe_free();
}
*(int1 *)(lVar1 + 0x58) = 1;
retur... | |
22,961 | host_selfdestruct | corpus-core[P]colibri-stateless/src/chains/eth/verifier/call_evmone.c | static void host_selfdestruct(void* context, const evmc_address* addr, const evmc_address* beneficiary) {
evmone_context_t* ctx = (evmone_context_t*) context;
debug_print_address("selfdestruct account", addr);
debug_print_address("selfdestruct beneficiary", beneficiary);
bool created;
changed_a... | O3 | c | host_selfdestruct:
pushq %rbx
subq $0x10, %rsp
leaq 0xf(%rsp), %rdx
callq 0x27f55
movq %rax, %rbx
movq 0x50(%rax), %rdi
testq %rdi, %rdi
je 0x27bbf
movq 0x40(%rdi), %rax
movq %rax, 0x50(%rbx)
callq 0x50f4c
movq 0x50(%rbx), %rdi
jmp 0x27ba7
movb $0x1, 0x58(%rbx)
addq $0x10, %rsp
popq %rbx
retq
| host_selfdestruct:
push rbx
sub rsp, 10h
lea rdx, [rsp+18h+var_9]
call create_changed_account
mov rbx, rax
mov rdi, [rax+50h]
loc_27BA7:
test rdi, rdi
jz short loc_27BBF
mov rax, [rdi+40h]
mov [rbx+50h], rax
call safe_free
mov rdi, [rbx+50h]
jmp short loc_27BA7
loc_27BBF... | long long host_selfdestruct(long long a1, long long a2)
{
long long result; // rax
long long v3; // rbx
long long i; // rdi
_BYTE v5[9]; // [rsp+Fh] [rbp-9h] BYREF
result = create_changed_account(a1, a2, v5);
v3 = result;
for ( i = *(_QWORD *)(result + 80); i; i = *(_QWORD *)(v3 + 80) )
{
*(_QWORD... | host_selfdestruct:
PUSH RBX
SUB RSP,0x10
LEA RDX,[RSP + 0xf]
CALL 0x00127f55
MOV RBX,RAX
MOV RDI,qword ptr [RAX + 0x50]
LAB_00127ba7:
TEST RDI,RDI
JZ 0x00127bbf
MOV RAX,qword ptr [RDI + 0x40]
MOV qword ptr [RBX + 0x50],RAX
CALL 0x00150f4c
MOV RDI,qword ptr [RBX + 0x50]
JMP 0x00127ba7
LAB_00127bbf:
MOV byte ptr [RBX + 0... |
void host_selfdestruct(int8 param_1,int8 param_2)
{
long lVar1;
long lVar2;
int1 local_9;
lVar1 = create_changed_account(param_1,param_2,&local_9);
lVar2 = *(long *)(lVar1 + 0x50);
while (lVar2 != 0) {
*(int8 *)(lVar1 + 0x50) = *(int8 *)(lVar2 + 0x40);
safe_free();
lVar2 = *(long *)(lVar1 +... | |
22,962 | ma_checkpoint_init | eloqsql/storage/maria/ma_checkpoint.c | int ma_checkpoint_init(ulong interval)
{
int res= 0;
DBUG_ENTER("ma_checkpoint_init");
if (ma_service_thread_control_init(&checkpoint_control))
res= 1;
else if (interval > 0)
{
size_t intv= interval;
compile_time_assert(sizeof(void *) >= sizeof(ulong));
if ((res= mysql_thread_create(key_thread... | O3 | c | ma_checkpoint_init:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x314378(%rip), %rdi # 0x3851d8
callq 0x716f4
movl $0x1, %r14d
testl %eax, %eax
jne 0x70eb5
testq %rbx, %rbx
je 0x70ea9
leaq 0x38e26d(%rip), %rax # 0x3ff0e8
movl (%rax), %edi
leaq 0x3161cc(%rip), %rax # 0x387050
movq (%ra... | ma_checkpoint_init:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdi
lea rdi, checkpoint_control
call ma_service_thread_control_init
mov r14d, 1
test eax, eax
jnz short loc_70EB5
test rbx, rbx
jz short loc_70EA9
lea rax, key_thread_checkpoint
mov edi, [rax]
lea ... | long long ma_checkpoint_init(long long a1)
{
unsigned int v1; // r14d
unsigned int v2; // eax
v1 = 1;
if ( !(unsigned int)ma_service_thread_control_init(&checkpoint_control) )
{
if ( a1 )
{
v1 = 0;
v2 = ((long long ( *)(_QWORD, void *, _QWORD, long long ( *)(), long long))PSI_server[24])... | ma_checkpoint_init:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDI
LEA RDI,[0x4851d8]
CALL 0x001716f4
MOV R14D,0x1
TEST EAX,EAX
JNZ 0x00170eb5
TEST RBX,RBX
JZ 0x00170ea9
LEA RAX,[0x4ff0e8]
MOV EDI,dword ptr [RAX]
LEA RAX,[0x487050]
MOV RAX,qword ptr [RAX]
LEA RSI,[0x4851d8]
LEA RCX,[0x170ebd]
XOR R14D,R14D
XOR EDX,... |
int ma_checkpoint_init(long param_1)
{
int iVar1;
int iVar2;
iVar1 = ma_service_thread_control_init(checkpoint_control);
iVar2 = 1;
if (iVar1 == 0) {
if (param_1 == 0) {
iVar2 = 0;
}
else {
iVar2 = (**(code **)(PSI_server + 0xc0))
(key_thread_checkpoint,che... | |
22,963 | OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/surfaceFactory.cpp | SurfaceFactory::~SurfaceFactory() {
#ifdef _BFR_DEBUG_TOP_TYPE_STATS
// DEBUG - report and reset inventory:
printf("SurfaceFactory destructor:\n");
printf(" __numLinearPatches = %6d\n", __numLinearPatches);
printf(" __numExpRegularPatches = %6d\n", __numExpRegularPatches);
printf(" __numRegularPatches ... | O0 | cpp | OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory():
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
ud2
nopw (%rax,%rax)
| _ZN10OpenSubdiv6v3_6_03Bfr14SurfaceFactoryD0Ev:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
ud2
| void __noreturn OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory(
OpenSubdiv::v3_6_0::Bfr::SurfaceFactory *this)
{
BUG();
}
| |||
22,964 | OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/surfaceFactory.cpp | SurfaceFactory::~SurfaceFactory() {
#ifdef _BFR_DEBUG_TOP_TYPE_STATS
// DEBUG - report and reset inventory:
printf("SurfaceFactory destructor:\n");
printf(" __numLinearPatches = %6d\n", __numLinearPatches);
printf(" __numExpRegularPatches = %6d\n", __numExpRegularPatches);
printf(" __numRegularPatches ... | O1 | cpp | OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory():
retq
nop
| _ZN10OpenSubdiv6v3_6_03Bfr14SurfaceFactoryD2Ev:
retn; Alternative name is 'OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory()'
| void OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory(OpenSubdiv::v3_6_0::Bfr::SurfaceFactory *this)
{
;
}
| ~SurfaceFactory:
RET
|
/* OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory() */
void __thiscall OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory(SurfaceFactory *this)
{
return;
}
| |
22,965 | OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/surfaceFactory.cpp | SurfaceFactory::~SurfaceFactory() {
#ifdef _BFR_DEBUG_TOP_TYPE_STATS
// DEBUG - report and reset inventory:
printf("SurfaceFactory destructor:\n");
printf(" __numLinearPatches = %6d\n", __numLinearPatches);
printf(" __numExpRegularPatches = %6d\n", __numExpRegularPatches);
printf(" __numRegularPatches ... | O2 | cpp | OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory():
ud2
| _ZN10OpenSubdiv6v3_6_03Bfr14SurfaceFactoryD0Ev:
ud2
| void __noreturn OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory(
OpenSubdiv::v3_6_0::Bfr::SurfaceFactory *this)
{
BUG();
}
| ~SurfaceFactory:
UD2
|
/* OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory() */
void __thiscall OpenSubdiv::v3_6_0::Bfr::SurfaceFactory::~SurfaceFactory(SurfaceFactory *this)
{
code *pcVar1;
/* WARNING: Does not return */
pcVar1 = (code *)invalidInstructionException();
(*pcVar1)();
}
| |
22,966 | 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>::update(nlohmann::... | llama.cpp/common/json.hpp | void update(const_iterator first, const_iterator last, bool merge_objects = false)
{
// implicitly convert null value to an empty object
if (is_null())
{
m_data.m_type = value_t::object;
m_data.m_value.object = create<object_t>();
assert_invariant();
... | 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>::update(nlohmann::... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE6updateENS0_6detail9iter_implIKSD_EESH_b:
push rbp; void *
push r15; int
push r14; __int64
push r13; int
push r12; void *
push rbx; int
sub rsp, 38h... | 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>::update(
long long a1,
long long a2,
_QWORD *a3,
char a4)
{
char v6; // al
long... | update:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV EBP,ECX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
MOV AL,byte ptr [RDI]
TEST AL,AL
JNZ 0x0019052b
MOV byte ptr [RBX],0x1
MOV EDI,0x30
CALL 0x00121220
LEA RCX,[RAX + 0x8]
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RAX],XMM0
XOR EDX,EDX
MOV qword ptr [RAX ... |
/* 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>::update(nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann... | |
22,967 | ma_setup_live_state | eloqsql/storage/maria/ma_state.c | my_bool _ma_setup_live_state(MARIA_HA *info)
{
TRN *trn;
MARIA_SHARE *share= info->s;
MARIA_USED_TABLES *tables;
MARIA_STATE_HISTORY *history;
DBUG_ENTER("_ma_setup_live_state");
DBUG_PRINT("enter", ("info: %p", info));
DBUG_ASSERT(share->lock_key_trees);
if (maria_create_trn_hook(info))
DBUG_RETU... | O3 | c | ma_setup_live_state:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r12
leaq 0x3b9e59(%rip), %rax # 0x3fcaf8
callq *(%rax)
movb $0x1, %r15b
testl %eax, %eax
jne 0x42dd2
movq 0x8(%rbx), %rax
leaq 0x58(%rax), %r13
movq %r13, %r14
movq (%r14), ... | _ma_setup_live_state:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdi
mov r12, [rdi]
lea rax, maria_create_trn_hook
call qword ptr [rax]
mov r15b, 1
test eax, eax
jnz loc_42DD2
mov rax, [rbx+8]
lea r13, [rax+58h]
mov ... | long long ma_setup_live_state(long long *a1)
{
unsigned int v1; // r15d
long long v2; // r12
_QWORD *v3; // r13
_QWORD *v4; // r14
_QWORD *v5; // rax
long long *v6; // r15
__int128 v7; // xmm1
__int128 v8; // xmm2
long long v9; // rax
__int128 v10; // xmm0
__int128 v11; // xmm1
long long v13; /... | _ma_setup_live_state:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV R12,qword ptr [RDI]
LEA RAX,[0x4fcaf8]
CALL qword ptr [RAX]
MOV R15B,0x1
TEST EAX,EAX
JNZ 0x00142dd2
MOV RAX,qword ptr [RBX + 0x8]
LEA R13,[RAX + 0x58]
MOV R14,R13
LAB_00142cb7:
MOV R14,qword ptr [R14]
TEST ... |
ulong _ma_setup_live_state(long *param_1)
{
pthread_mutex_t *__mutex;
long lVar1;
long lVar2;
long lVar3;
long lVar4;
long lVar5;
long lVar6;
int iVar7;
long *plVar8;
int8 unaff_R15;
ulong uVar9;
long *plVar10;
lVar1 = *param_1;
iVar7 = (*maria_create_trn_hook)();
uVar9 = CONCAT71((in... | |
22,968 | minja::Parser::peekSymbols(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const | 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::Parser::peekSymbols(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r... | _ZN5minja9MacroNodeC2ERKNS_8LocationEOSt10shared_ptrINS_12VariableExprEEOSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_INS_10ExpressionEEESaISI_EEOS4_INS_12TemplateNodeEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, rdi
lea rax, _Z... | long long minja::MacroNode::MacroNode(long long a1, _QWORD *a2, __int128 *a3, long long a4, __int128 *a5, int a6)
{
long long v6; // rax
__int128 v7; // xmm0
long long v8; // rdx
__int128 v9; // xmm1
long long v10; // rsi
long long result; // rax
unsigned long long v12; // rcx
long long v13; // rbp
u... | MacroNode:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
LEA RAX,[0x228fc8]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RAX,qword ptr [RSI]
MOV qword ptr [RDI + 0x8],RAX
MOV RAX,qword ptr [RSI + 0x8]
MOV qword ptr [RDI + 0x10],RAX
TEST RAX,RAX
JZ 0x0019e258
MOV RDI,qword ptr [0x00229f80]
C... |
/* minja::MacroNode::MacroNode(minja::Location const&, std::shared_ptr<minja::VariableExpr>&&,
std::vector<std::pair<std::__cxx11::string, std::shared_ptr<minja::Expression> >,
std::allocator<std::pair<std::__cxx11::string, std::shared_ptr<minja::Expression> > > >&&,
std::shared_ptr<minja::TemplateNode>&&) */... | |
22,969 | translog_lock | eloqsql/storage/maria/ma_loghandler.c | void translog_lock()
{
uint8 current_buffer;
DBUG_ENTER("translog_lock");
/*
Locking the loghandler mean locking current buffer, but it can change
during locking, so we should check it
*/
for (;;)
{
/*
log_descriptor.bc.buffer_no is only one byte so its reading is
an atomic operat... | O3 | c | translog_lock:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movzbl 0xbb6520(%rip), %r15d # 0xbff446
leaq 0x3b5893(%rip), %r14 # 0x3fe7c0
imulq $0x100120, %r15, %rax # imm = 0x100120
leaq (%rax,%r14), %rbx
addq $0x2f8, %rbx # imm = 0x2F8
movq %rbx, %rdi
callq 0x48fb3
cmpb %r15... | translog_lock:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
movzx r15d, byte ptr cs:xmmword_BFF440+6
lea r14, log_descriptor
imul rax, r15, 100120h
lea rbx, [rax+r14]
add rbx, 2F8h
mov rdi, rbx
call translog_buffer_lock
cmp byte ptr cs:xmmword_BFF440+6, r15b
j... | long long translog_lock()
{
char v0; // r15
long long *v1; // rbx
long long result; // rax
char v3; // r12
v0 = BYTE6(xmmword_BFF440);
v1 = &log_descriptor[131108 * BYTE6(xmmword_BFF440) + 95];
result = translog_buffer_lock(v1);
if ( BYTE6(xmmword_BFF440) != v0 )
{
do
{
if ( *(long long... | translog_lock:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOVZX R15D,byte ptr [0x00cff446]
LEA R14,[0x4fe7c0]
IMUL RAX,R15,0x100120
LEA RBX,[RAX + R14*0x1]
ADD RBX,0x2f8
MOV RDI,RBX
CALL 0x00148fb3
CMP byte ptr [0x00cff446],R15B
JNZ 0x00148f59
LAB_00148f50:
POP RBX
POP R12
POP R14
POP R15
POP RBP
RET
LAB_... |
void translog_lock(void)
{
byte bVar1;
int *puVar2;
bVar1 = DAT_00cff446;
puVar2 = &DAT_004feab8 + (ulong)DAT_00cff446 * 0x100120;
translog_buffer_lock(puVar2);
if (DAT_00cff446 != bVar1) {
do {
if (*(long *)((long)&Elf64_Phdr_ARRAY_00100040[2].p_filesz + (long)puVar2) != 0) {
(**(cod... | |
22,970 | std::pair<bool, 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::allo... | monkey531[P]llama/common/./json.hpp | std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
{
JSON_ASSERT(!keep_stack.empty());
// do not handle this value if we know it would be added to a discarded
// container
if (!keep_stack.back())
{
return {false, nullptr};
... | O0 | cpp | std::pair<bool, 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::allo... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE12handle_valueIRSB_EESt4pairIbPSF_EOT_b:
sub rsp, 148h
mov al, dl
mov [rsp+148h+var_18], rdi
mov [... | char nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::handle_value<std::stri... | handle_value<std::__cxx11::string&>:
SUB RSP,0x148
MOV AL,DL
MOV qword ptr [RSP + 0x130],RDI
MOV qword ptr [RSP + 0x128],RSI
AND AL,0x1
MOV byte ptr [RSP + 0x127],AL
MOV RDI,qword ptr [RSP + 0x130]
MOV qword ptr [RSP + 0x40],RDI
ADD RDI,0x20
CALL 0x001b9100
XOR AL,0xff
TEST AL,0x1
JNZ 0x001bfe20
JMP 0x001bfe22
LAB_001b... |
/* std::pair<bool, 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>*>
nlohmann::... | |
22,971 | std::pair<bool, 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::allo... | monkey531[P]llama/common/./json.hpp | std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
{
JSON_ASSERT(!keep_stack.empty());
// do not handle this value if we know it would be added to a discarded
// container
if (!keep_stack.back())
{
return {false, nullptr};
... | O1 | cpp | std::pair<bool, 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::allo... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE12handle_valueIRlEESt4pairIbPSF_EOT_b:
push rbp
push r15
push r14
push rbx
sub rsp, 48h
mov eb... | 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>>::handle_value<long... | handle_value<long&>:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x48
MOV EBP,EDX
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x30]
MOV ECX,dword ptr [RDI + 0x38]
CMP qword ptr [RDI + 0x20],RAX
SETZ DL
TEST ECX,ECX
SETZ DIL
AND DIL,DL
CMP DIL,0x1
JZ 0x0014d0a2
MOV ECX,ECX
MOV R15,-0x8000000000000000
LEA RDX,[RCX + -0x1]
ADD R... |
/* std::pair<bool, 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>*>
nlohmann::... | |
22,972 | std::pair<bool, 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::allo... | monkey531[P]llama/common/./json.hpp | std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
{
JSON_ASSERT(!keep_stack.empty());
// do not handle this value if we know it would be added to a discarded
// container
if (!keep_stack.back())
{
return {false, nullptr};
... | O2 | cpp | std::pair<bool, 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::allo... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE12handle_valueIDnEESt4pairIbPSF_EOT_b:
push rbp
push r15
push r14
push rbx
sub rsp, 38h
mov eb... | 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>>::handle_value<decl... | |||
22,973 | Trie::Trie() | MikePodsytnik[P]TCRtrie/src/Trie.cpp | Trie::Trie() : root_(nullptr) {} | O3 | cpp | Trie::Trie():
movabsq $0x400000004, %rax # imm = 0x400000004
movq %rax, (%rdi)
movb $0x0, 0x8(%rdi)
movl $0x20, 0xc(%rdi)
leaq 0x40(%rdi), %rax
movq %rax, 0x10(%rdi)
movq $0x1, 0x18(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
movl $0x3f800000, 0x30(%rdi) # imm = 0x3F800000
movups %xmm0, 0x38(%rdi)
movups %xm... | _ZN4TrieC2Ev:
mov rax, 400000004h
mov [rdi], rax
mov byte ptr [rdi+8], 0
mov dword ptr [rdi+0Ch], 20h ; ' '
lea rax, [rdi+40h]
mov [rdi+10h], rax
mov qword ptr [rdi+18h], 1
xorps xmm0, xmm0
movups xmmword ptr [rdi+20h], xmm0
mov dword ptr [rdi+30h], 3F800000h
movups xmmword ptr [rdi+... | void Trie::Trie(Trie *this)
{
*(_QWORD *)this = 0x400000004LL;
*((_BYTE *)this + 8) = 0;
*((_DWORD *)this + 3) = 32;
*((_QWORD *)this + 2) = (char *)this + 64;
*((_QWORD *)this + 3) = 1LL;
*((_OWORD *)this + 2) = 0LL;
*((_DWORD *)this + 12) = 1065353216;
*(_OWORD *)((char *)this + 56) = 0LL;
*(_OWORD... | Trie:
MOV RAX,0x400000004
MOV qword ptr [RDI],RAX
MOV byte ptr [RDI + 0x8],0x0
MOV dword ptr [RDI + 0xc],0x20
LEA RAX,[RDI + 0x40]
MOV qword ptr [RDI + 0x10],RAX
MOV qword ptr [RDI + 0x18],0x1
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI + 0x20],XMM0
MOV dword ptr [RDI + 0x30],0x3f800000
MOVUPS xmmword ptr [RDI + 0x38],XMM0... |
/* Trie::Trie() */
void __thiscall Trie::Trie(Trie *this)
{
*(int8 *)this = 0x400000004;
this[8] = (Trie)0x0;
*(int4 *)(this + 0xc) = 0x20;
*(Trie **)(this + 0x10) = this + 0x40;
*(int8 *)(this + 0x18) = 1;
*(int8 *)(this + 0x20) = 0;
*(int8 *)(this + 0x28) = 0;
*(int4 *)(this + 0x30) = 0x3f800000;
... | |
22,974 | httpparse_get_multipart_separator | navaro[P]qoraal-tictactoe/build_O3/_deps/qoraal_http-src/src/httpparse.c | char*
httpparse_get_multipart_separator( const HTTP_HEADER_T* headers,int headers_count)
{
char * separator = 0 ;
int i ;
// multipart/form-data; boundary=-------------------------7df19e1f9006a2
for (i=0; i<headers_count; i++) {
if (strcmp(headers[i].key, HTTP_HEADER_KEY_CONTENT_TYPE) == 0) {
... | O3 | c | httpparse_get_multipart_separator:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %esi, %esi
jle 0x1ec72
movq %rdi, %r14
movl %esi, %r12d
shlq $0x4, %r12
xorl %ebx, %ebx
leaq 0x13cfb(%rip), %r15 # 0x3294f
xorl %r13d, %r13d
movq (%r14,%r13), %rdi
movq %r15, %rsi
ca... | httpparse_get_multipart_separator:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
test esi, esi
jle short loc_1EC72
mov r14, rdi
mov r12d, esi
shl r12, 4
xor ebx, ebx
lea r15, aContentType; "Content-Type"
xor r13d, r13d
loc_1EC57:
mov ... | char * httpparse_get_multipart_separator(
long long a1,
int a2,
__m128 a3,
__m128 a4,
__m128 a5,
__m128 a6,
double a7,
double a8,
__m128 a9,
__m128 a10)
{
char v10; // al
char *v11; // rbx
long long v12; // r13
long long v13; // r14... | httpparse_get_multipart_separator:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
TEST ESI,ESI
JLE 0x0011ec72
MOV R14,RDI
MOV R12D,ESI
SHL R12,0x4
XOR EBX,EBX
LEA R15,[0x13294f]
XOR R13D,R13D
LAB_0011ec57:
MOV RDI,qword ptr [R14 + R13*0x1]
MOV RSI,R15
CALL 0x00106320
TEST EAX,EAX
JZ 0x0011ec... |
char * httpparse_get_multipart_separator(long param_1,uint param_2)
{
char *__haystack;
int iVar1;
char *pcVar2;
char *pcVar3;
long lVar4;
if (0 < (int)param_2) {
lVar4 = 0;
do {
iVar1 = strcmp(*(char **)(param_1 + lVar4),s_Content_Type_0013294f);
if (iVar1 == 0) {
__haystac... | |
22,975 | my_rw_trywrlock | eloqsql/mysys/thr_rwlock.c | int my_rw_trywrlock(my_rw_lock_t *rwp)
{
int res;
pthread_mutex_lock(&rwp->lock);
if (rwp->state)
res= EBUSY; /* Can't get lock */
else
{
res=0;
rwp->state = -1;
#ifdef SAFE_MUTEX
rwp->write_thread= pthread_self();
#endif
}
pthread_mutex_unlock(&rwp->lock);
return(res);
} | O0 | c | my_rw_trywrlock:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x264b0
movq -0x8(%rbp), %rax
cmpl $0x0, 0x88(%rax)
je 0x5f99b
movl $0x10, -0xc(%rbp)
jmp 0x5f9b0
movl $0x0, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x88(%rax) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %r... | my_rw_trywrlock:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]
call _pthread_mutex_lock
mov rax, [rbp+var_8]
cmp dword ptr [rax+88h], 0
jz short loc_5F99B
mov [rbp+var_C], 10h
jmp short loc_5F9B0
loc_5F99B:
mov [rbp+var_C], 0
mov rax, [rb... | long long my_rw_trywrlock(long long a1)
{
unsigned int v2; // [rsp+4h] [rbp-Ch]
pthread_mutex_lock(a1);
if ( *(_DWORD *)(a1 + 136) )
{
v2 = 16;
}
else
{
v2 = 0;
*(_DWORD *)(a1 + 136) = -1;
}
pthread_mutex_unlock(a1);
return v2;
}
| my_rw_trywrlock:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x001264b0
MOV RAX,qword ptr [RBP + -0x8]
CMP dword ptr [RAX + 0x88],0x0
JZ 0x0015f99b
MOV dword ptr [RBP + -0xc],0x10
JMP 0x0015f9b0
LAB_0015f99b:
MOV dword ptr [RBP + -0xc],0x0
MOV RAX,qword ptr [RBP ... |
int4 my_rw_trywrlock(pthread_mutex_t *param_1)
{
int4 local_14;
pthread_mutex_lock(param_1);
if (*(int *)((long)param_1 + 0x88) == 0) {
local_14 = 0;
*(int4 *)((long)param_1 + 0x88) = 0xffffffff;
}
else {
local_14 = 0x10;
}
pthread_mutex_unlock(param_1);
return local_14;
}
| |
22,976 | my_well_formed_char_length_8bit | eloqsql/strings/ctype-simple.c | size_t
my_well_formed_char_length_8bit(CHARSET_INFO *cs __attribute__((unused)),
const char *start, const char *end,
size_t nchars, MY_STRCOPY_STATUS *status)
{
size_t nbytes= (size_t) (end - start);
size_t res= MY_MIN(nbytes, nchars);
status->m_well... | O0 | c | my_well_formed_char_length_8bit:
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 -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x20(%rbp), %rax
jae 0x7beeb
movq... | my_well_formed_char_length_8bit:
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_18]
mov rcx, [rbp+var_10]
sub rax, rcx
mov [rbp+var_30], rax
mov rax, [rbp+var_30]
cmp r... | unsigned long long my_well_formed_char_length_8bit(
long long a1,
long long a2,
long long a3,
unsigned long long a4,
_QWORD *a5)
{
unsigned long long v6; // [rsp+0h] [rbp-40h]
if ( a3 - a2 >= a4 )
v6 = a4;
else
v6 = a3 - a2;
a5[1] = 0LL;
*a5 = v6 + a2;
retur... | my_well_formed_char_length_8bit:
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 + -0x18]
MOV RCX,qword ptr [RBP + -0x10]
SUB RAX,RCX
MOV qword ptr [RBP + -0x30],RAX
... |
ulong my_well_formed_char_length_8bit
(int8 param_1,long param_2,long param_3,ulong param_4,long *param_5)
{
ulong local_48;
local_48 = param_4;
if ((ulong)(param_3 - param_2) < param_4) {
local_48 = param_3 - param_2;
}
param_5[1] = 0;
*param_5 = param_2 + local_48;
return local_... | |
22,977 | js_load_file | bluesky950520[P]quickjs/quickjs-libc.c | uint8_t *js_load_file(JSContext *ctx, size_t *pbuf_len, const char *filename)
{
FILE *f;
uint8_t *buf;
size_t buf_len;
long lret;
f = fopen(filename, "rb");
if (!f)
return NULL;
if (fseek(f, 0, SEEK_END) < 0)
goto fail;
lret = ftell(f);
if (lret < 0)
goto fai... | O0 | c | js_load_file:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x28(%rsp), %rdi
leaq 0xf967d(%rip), %rsi # 0x1082ac
callq 0xe7b0
movq %rax, 0x20(%rsp)
cmpq $0x0, 0x20(%rsp)
jne 0xec4f
movq $0x0, 0x40(%rsp)
jmp 0xeda0
movq 0x20(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $... | js_load_file:
sub rsp, 48h
mov [rsp+48h+var_10], rdi
mov [rsp+48h+var_18], rsi
mov [rsp+48h+var_20], rdx
mov rdi, [rsp+48h+var_20]
lea rsi, unk_1082AC
call _fopen
mov [rsp+48h+var_28], rax
cmp [rsp+48h+var_28], 0
jnz short loc_EC4F
mov [rsp+48h+var_8], 0
jmp loc_EDA0
loc_E... | long long js_load_file(long long a1, long long *a2, long long a3)
{
long long v4; // [rsp+8h] [rbp-40h]
long long v5; // [rsp+18h] [rbp-30h]
long long v6; // [rsp+20h] [rbp-28h]
v6 = fopen(a3, &unk_1082AC);
if ( !v6 )
return 0LL;
if ( (int)fseek(v6, 0LL, 2LL) >= 0 )
{
v4 = ftell(v6);
if ( v4... | js_load_file:
SUB RSP,0x48
MOV qword ptr [RSP + 0x38],RDI
MOV qword ptr [RSP + 0x30],RSI
MOV qword ptr [RSP + 0x28],RDX
MOV RDI,qword ptr [RSP + 0x28]
LEA RSI,[0x2082ac]
CALL 0x0010e7b0
MOV qword ptr [RSP + 0x20],RAX
CMP qword ptr [RSP + 0x20],0x0
JNZ 0x0010ec4f
MOV qword ptr [RSP + 0x40],0x0
JMP 0x0010eda0
LAB_0010ec4... |
void * js_load_file(long param_1,size_t *param_2,char *param_3)
{
int iVar1;
FILE *__stream;
size_t __n;
int *piVar2;
size_t sVar3;
void *local_30;
__stream = fopen(param_3,"rb");
if (__stream != (FILE *)0x0) {
iVar1 = fseek(__stream,0,2);
if ((-1 < iVar1) && (__n = ftell(__stream), -1 < (l... | |
22,978 | js_load_file | bluesky950520[P]quickjs/quickjs-libc.c | uint8_t *js_load_file(JSContext *ctx, size_t *pbuf_len, const char *filename)
{
FILE *f;
uint8_t *buf;
size_t buf_len;
long lret;
f = fopen(filename, "rb");
if (!f)
return NULL;
if (fseek(f, 0, SEEK_END) < 0)
goto fail;
lret = ftell(f);
if (lret < 0)
goto fai... | O3 | c | js_load_file:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x88c3e(%rip), %rsi # 0x9d1c8
movq %rdx, %rdi
callq 0xe7c0
testq %rax, %rax
je 0x14674
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0xe6c0
testl %eax, %eax
js 0x1466c
movq %rbx, %rdi
ca... | js_load_file:
push r15
push r14
push r13
push r12
push rbx
mov r15, rsi
mov r14, rdi
lea rsi, unk_9D1C8
mov rdi, rdx
call _fopen
test rax, rax
jz loc_14674
mov rbx, rax
mov rdi, rax
xor esi, esi
mov edx, 2
call _fseek
test eax, eax
js loc_1466C
mov ... | long long js_load_file(long long a1, long long *a2, long long a3)
{
long long v3; // rax
long long v4; // rbx
long long v5; // rax
long long v6; // r12
long long v7; // rax
long long v8; // r13
v3 = fopen(a3, &unk_9D1C8);
if ( !v3 )
return 0LL;
v4 = v3;
if ( (int)fseek(v3, 0LL, 2LL) < 0 || (v5... | js_load_file:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV R15,RSI
MOV R14,RDI
LEA RSI,[0x19d1c8]
MOV RDI,RDX
CALL 0x0010e7c0
TEST RAX,RAX
JZ 0x00114674
MOV RBX,RAX
MOV RDI,RAX
XOR ESI,ESI
MOV EDX,0x2
CALL 0x0010e6c0
TEST EAX,EAX
JS 0x0011466c
MOV RDI,RBX
CALL 0x0010e550
TEST RAX,RAX
JS 0x0011466c
MOV R12,RAX
MOV R... |
void * js_load_file(long param_1,size_t *param_2,char *param_3)
{
int iVar1;
FILE *__stream;
size_t __n;
int *piVar2;
void *__ptr;
size_t sVar3;
__stream = fopen(param_3,"rb");
if (__stream != (FILE *)0x0) {
iVar1 = fseek(__stream,0,2);
if ((-1 < iVar1) && (__n = ftell(__stream), -1 < (long... | |
22,979 | minja::VariableExpr::~VariableExpr() | monkey531[P]llama/common/minja.hpp | VariableExpr(const Location & location, const std::string& n)
: Expression(location), name(n) {} | O3 | cpp | minja::VariableExpr::~VariableExpr():
pushq %rbx
movq %rdi, %rbx
leaq 0x91f71(%rip), %rax # 0x129dc0
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x20(%rdi), %rdi
leaq 0x30(%rbx), %rax
cmpq %rax, %rdi
je 0x97e6e
movq (%rax), %rsi
incq %rsi
callq 0x1a8e0
leaq 0x91543(%rip), %rax # 0x1293b8
addq $0x10, %rax
movq %rax,... | _ZN5minja12VariableExprD0Ev:
push rbx
mov rbx, rdi
lea rax, _ZTVN5minja12VariableExprE; `vtable for'minja::VariableExpr
add rax, 10h
mov [rdi], rax
mov rdi, [rdi+20h]; void *
lea rax, [rbx+30h]
cmp rdi, rax
jz short loc_97E6E
mov rsi, [rax]
inc rsi; unsigned __int64
call _... | void minja::VariableExpr::~VariableExpr(minja::VariableExpr *this)
{
char *v2; // rdi
volatile signed __int32 *v3; // rdi
*(_QWORD *)this = &`vtable for'minja::VariableExpr + 2;
v2 = (char *)*((_QWORD *)this + 4);
if ( v2 != (char *)this + 48 )
operator delete(v2, *((_QWORD *)this + 6) + 1LL);
*(_QWOR... | ~VariableExpr:
PUSH RBX
MOV RBX,RDI
LEA RAX,[0x229dc0]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RDI,qword ptr [RDI + 0x20]
LEA RAX,[RBX + 0x30]
CMP RDI,RAX
JZ 0x00197e6e
MOV RSI,qword ptr [RAX]
INC RSI
CALL 0x0011a8e0
LAB_00197e6e:
LEA RAX,[0x2293b8]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
MOV RDI,qword ptr [RBX + 0x10]
T... |
/* minja::VariableExpr::~VariableExpr() */
void __thiscall minja::VariableExpr::~VariableExpr(VariableExpr *this)
{
*(int ***)this = &PTR_do_evaluate_00229dd0;
if (*(VariableExpr **)(this + 0x20) != this + 0x30) {
operator_delete(*(VariableExpr **)(this + 0x20),*(long *)(this + 0x30) + 1);
}
*(int ***)th... | |
22,980 | nlohmann::json_abi_v3_11_3::detail::lexer_base<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::... | monkey531[P]llama/common/json.hpp | static const char* token_type_name(const token_type t) noexcept
{
switch (t)
{
case token_type::uninitialized:
return "<uninitialized>";
case token_type::literal_true:
return "true literal";
case token_type::literal_false:
... | O1 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer_base<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::... | _ZN8nlohmann16json_abi_v3_11_36detail10lexer_baseINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE15token_type_nameENSG_10token_typeE:
cmp edi, 10h
ja short loc_6E87C
mov eax, edi
lea rcx, unk_FDFF8
movsxd rax, d... | const char * nlohmann::json_abi_v3_11_3::detail::lexer_base<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>>::token_type_name(
unsigned... | token_type_name:
CMP EDI,0x10
JA 0x0016e87c
MOV EAX,EDI
LEA RCX,[0x1fdff8]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
RET
LAB_0016e87c:
LEA RAX,[0x1fd222]
RET
|
/* nlohmann::json_abi_v3_11_3::detail::lexer_base<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
... | |
22,981 | nlohmann::json_abi_v3_11_3::detail::lexer_base<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::... | monkey531[P]llama/common/json.hpp | static const char* token_type_name(const token_type t) noexcept
{
switch (t)
{
case token_type::uninitialized:
return "<uninitialized>";
case token_type::literal_true:
return "true literal";
case token_type::literal_false:
... | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer_base<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::... | _ZN8nlohmann16json_abi_v3_11_36detail10lexer_baseINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE15token_type_nameENSG_10token_typeE:
cmp edi, 10h
ja short loc_50B84
mov eax, edi
lea rcx, unk_BDFB8
movsxd rax, d... | const char * nlohmann::json_abi_v3_11_3::detail::lexer_base<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>>::token_type_name(
unsigned... | token_type_name:
CMP EDI,0x10
JA 0x00150b84
MOV EAX,EDI
LEA RCX,[0x1bdfb8]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
RET
LAB_00150b84:
LEA RAX,[0x1bd1e4]
RET
|
/* nlohmann::json_abi_v3_11_3::detail::lexer_base<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
... | |
22,982 | ma_bin_search | eloqsql/storage/maria/ma_search.c | int _ma_bin_search(const MARIA_KEY *key, const MARIA_PAGE *ma_page,
uint32 comp_flag, uchar **ret_pos,
uchar *buff __attribute__((unused)), my_bool *last_key)
{
int UNINIT_VAR(flag);
uint page_flag;
uint start, mid, end, save_end, totlength, nod_flag;
uint not_used[2];
MA... | O3 | c | ma_bin_search:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movq %rcx, %r14
movl %edx, %r10d
movq %rdi, %r9
testb $0x2, 0x2c(%rsi)
jne 0x6c872
movq 0x8(%r9), %rdx
movq (%rdx), %rcx
movl 0x20(%rsi), %eax
movl 0x28(%rsi), %edi
movq %rdx, -0x40(%rbp)
mov... | _ma_bin_search:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov rbx, r9
mov r14, rcx
mov r10d, edx
mov r9, rdi
test byte ptr [rsi+2Ch], 2
jnz loc_6C872
mov rdx, [r9+8]
mov rcx, [rdx]
mov eax, [rsi+20h]
mov edi, [rsi+28h... | long long ma_bin_search(_QWORD *a1, long long a2, unsigned int a3, _QWORD *a4, long long a5, bool *a6)
{
_QWORD *v7; // r14
unsigned int v8; // r10d
_QWORD *v9; // r9
long long *v10; // rdx
long long v11; // rcx
int v12; // eax
long long v13; // rdi
unsigned int v14; // r13d
long long v15; // r12
u... | _ma_bin_search:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV RBX,R9
MOV R14,RCX
MOV R10D,EDX
MOV R9,RDI
TEST byte ptr [RSI + 0x2c],0x2
JNZ 0x0016c872
MOV RDX,qword ptr [R9 + 0x8]
MOV RCX,qword ptr [RDX]
MOV EAX,dword ptr [RSI + 0x20]
MOV EDI,dword ptr [RSI + 0x28]
MOV qword ptr [RB... |
void _ma_bin_search(int8 *param_1,long param_2,int4 param_3,long *param_4,
int8 param_5,int8 param_6)
{
uint uVar1;
int iVar2;
uint uVar3;
uint uVar4;
long lVar5;
uint uVar6;
int1 local_60 [8];
int8 local_58;
long *local_50;
long *local_48;
long local_40;
uint local_38;
ui... | |
22,983 | 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... | |
22,984 | common_sampler_free(common_sampler*) | monkey531[P]llama/common/sampling.cpp | void common_sampler_free(struct common_sampler * gsmpl) {
if (gsmpl) {
llama_sampler_free(gsmpl->grmr);
llama_sampler_free(gsmpl->chain);
delete gsmpl;
}
} | O3 | cpp | common_sampler_free(common_sampler*):
testq %rdi, %rdi
je 0xcd096
pushq %rbx
movq %rdi, %rbx
movq 0x138(%rdi), %rdi
callq 0x1a750
movq 0x140(%rbx), %rdi
callq 0x1a750
movq 0x180(%rbx), %rdi
testq %rdi, %rdi
je 0xcd065
movq 0x190(%rbx), %rsi
subq %rdi, %rsi
callq 0x1a8c0
movq 0x168(%rbx), %rdi
testq %rdi, %rdi
je 0xcd08... | _Z19common_sampler_freeP14common_sampler:
test rdi, rdi
jz short locret_CD096
push rbx
mov rbx, rdi
mov rdi, [rdi+138h]
call _llama_sampler_free
mov rdi, [rbx+140h]
call _llama_sampler_free
mov rdi, [rbx+180h]; void *
test rdi, rdi
jz short loc_CD065
mov rsi, [rbx+190h]
sub ... | void common_sampler_free(common_params_sampling *this)
{
void *v2; // rdi
void *v3; // rdi
if ( this )
{
llama_sampler_free(*((_QWORD *)this + 39));
llama_sampler_free(*((_QWORD *)this + 40));
v2 = (void *)*((_QWORD *)this + 48);
if ( v2 )
operator delete(v2, *((_QWORD *)this + 50) - (_Q... | common_sampler_free:
TEST RDI,RDI
JZ 0x001cd096
PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x138]
CALL 0x0011a750
MOV RDI,qword ptr [RBX + 0x140]
CALL 0x0011a750
MOV RDI,qword ptr [RBX + 0x180]
TEST RDI,RDI
JZ 0x001cd065
MOV RSI,qword ptr [RBX + 0x190]
SUB RSI,RDI
CALL 0x0011a8c0
LAB_001cd065:
MOV RDI,qword ptr [RBX... |
/* common_sampler_free(common_sampler*) */
void common_sampler_free(common_sampler *param_1)
{
void *pvVar1;
if (param_1 != (common_sampler *)0x0) {
llama_sampler_free(*(int8 *)(param_1 + 0x138));
llama_sampler_free(*(int8 *)(param_1 + 0x140));
pvVar1 = *(void **)(param_1 + 0x180);
if (pvVar1 ... | |
22,985 | blst_p1_serialize | corpus-core[P]colibri-stateless/build_O2/_deps/blst-src/src/e1.c | void blst_p1_serialize(unsigned char out[96], const POINTonE1 *in)
{ POINTonE1_Serialize(out, in); } | O2 | c | blst_p1_serialize:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x60(%rsi), %rdi
pushq $0x30
popq %rsi
callq 0x510f5
testq %rax, %rax
je 0x5137c
pushq $0x60
popq %rsi
movq %rbx, %rdi
callq 0x512c5
movb $0x40, (%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
movq %r14, %... | blst_p1_serialize:
push rbp
mov rbp, rsp
push r14
push rbx
mov r14, rsi
mov rbx, rdi
lea rdi, [rsi+60h]
push 30h ; '0'
pop rsi
call vec_is_zero
test rax, rax
jz short loc_5137C
push 60h ; '`'
pop rsi
mov rdi, rbx
call bytes_zero
mov byte ptr [rbx], 40h ; '@'
... | long long blst_p1_serialize(_BYTE *a1, long long a2)
{
long long result; // rax
if ( !vec_is_zero(a2 + 96, 0x30uLL) )
return POINTonE1_Serialize_BE(a1, a2);
result = bytes_zero((long long)a1, 96LL);
*a1 = 64;
return result;
}
| blst_p1_serialize:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
LEA RDI,[RSI + 0x60]
PUSH 0x30
POP RSI
CALL 0x001510f5
TEST RAX,RAX
JZ 0x0015137c
PUSH 0x60
POP RSI
MOV RDI,RBX
CALL 0x001512c5
MOV byte ptr [RBX],0x40
POP RBX
POP R14
POP RBP
RET
LAB_0015137c:
MOV RDI,RBX
MOV RSI,R14
POP RBX
POP R14
POP ... |
void blst_p1_serialize(int1 *param_1,long param_2)
{
long lVar1;
lVar1 = vec_is_zero(param_2 + 0x60,0x30);
if (lVar1 != 0) {
bytes_zero(param_1,0x60);
*param_1 = 0x40;
return;
}
POINTonE1_Serialize_BE(param_1,param_2);
return;
}
| |
22,986 | ggml_concat | ngxson[P]ggml-easy/ggml/src/ggml.c | struct ggml_tensor * ggml_concat(
struct ggml_context * ctx,
struct ggml_tensor * a,
struct ggml_tensor * b,
int dim) {
GGML_ASSERT(dim >= 0 && dim < GGML_MAX_DIMS);
GGML_ASSERT(a->type == b->type);
int64_t ne[GGML_MAX_DIMS];
for (int d = 0; d < GGML_MAX_DIMS; ++d) {... | O2 | c | ggml_concat:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpl $0x4, %ecx
jae 0x20ebd
movq %rdx, %rbx
movq %rsi, %r14
movl (%rsi), %esi
cmpl (%rdx), %esi
jne 0x20ed9
movl %ecx, %ebp
movl %ecx, %eax
leaq (,%rax,8), %rcx
xorl %edx, %edx
cmpq $0x20, %rdx
je 0x20e70
cmpq %rdx, %rcx
jne 0x20e5a
movq 0x10(%rbx,%rax,8), ... | ggml_concat:
push rbp
push r14
push rbx
sub rsp, 20h
cmp ecx, 4
jnb loc_20EBD
mov rbx, rdx
mov r14, rsi
mov esi, [rsi]
cmp esi, [rdx]
jnz loc_20ED9
mov ebp, ecx
mov eax, ecx
lea rcx, ds:0[rax*8]
xor edx, edx
loc_20E3F:
cmp rdx, 20h ; ' '
jz short loc_20E... | long long ggml_concat(
long long a1,
unsigned int *a2,
_DWORD *a3,
unsigned int a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)
{
... | ggml_concat:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x20
CMP ECX,0x4
JNC 0x00120ebd
MOV RBX,RDX
MOV R14,RSI
MOV ESI,dword ptr [RSI]
CMP ESI,dword ptr [RDX]
JNZ 0x00120ed9
MOV EBP,ECX
MOV EAX,ECX
LEA RCX,[RAX*0x8]
XOR EDX,EDX
LAB_00120e3f:
CMP RDX,0x20
JZ 0x00120e70
CMP RCX,RDX
JNZ 0x00120e5a
MOV R8,qword ptr [RBX + RAX*0x8... |
void ggml_concat(int8 param_1,int *param_2,int *param_3,uint param_4)
{
int iVar1;
long lVar2;
ulong uVar3;
char *pcVar4;
long lVar5;
int8 uVar6;
long local_38 [4];
if (param_4 < 4) {
iVar1 = *param_2;
if (iVar1 == *param_3) {
uVar3 = (ulong)param_4;
lVar5 = 0;
do {
... | |
22,987 | rak_string_new | fabiosvm[P]rak/src/string.c | RakString *rak_string_new(RakError *err)
{
RakString *str = rak_memory_alloc(sizeof(*str), err);
if (!rak_is_ok(err)) return NULL;
rak_string_init(str, err);
if (rak_is_ok(err)) return str;
rak_memory_free(str);
return NULL;
} | O3 | c | rak_string_new:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x18, %edi
movq %r14, %rsi
callq 0x74a4
cmpb $0x1, (%r14)
jne 0x7e18
movq %rax, %rbx
movl $0x0, (%rax)
movl $0x8, %edi
movq %r14, %rsi
callq 0x74a4
cmpb $0x1, (%r14)
jne 0x7e10
movq $0x8, 0x8(%rbx)
movq %rax, 0x10(%rbx)
jmp 0x7e1a
movq %rbx, %rdi
ca... | rak_string_new:
push r14
push rbx
push rax
mov r14, rdi
mov edi, 18h
mov rsi, r14
call rak_memory_alloc
cmp byte ptr [r14], 1
jnz short loc_7E18
mov rbx, rax
mov dword ptr [rax], 0
mov edi, 8
mov rsi, r14
call rak_memory_alloc
cmp byte ptr [r14], 1
jnz short lo... | long long rak_string_new(_BYTE *a1)
{
_DWORD *v1; // rax
long long v2; // rbx
long long v3; // rax
v1 = (_DWORD *)rak_memory_alloc(24LL, a1);
if ( *a1 != 1 )
return 0LL;
v2 = (long long)v1;
*v1 = 0;
v3 = rak_memory_alloc(8LL, a1);
if ( *a1 != 1 )
{
rak_memory_free(v2);
return 0LL;
}
... | rak_string_new:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RDI
MOV EDI,0x18
MOV RSI,R14
CALL 0x001074a4
CMP byte ptr [R14],0x1
JNZ 0x00107e18
MOV RBX,RAX
MOV dword ptr [RAX],0x0
MOV EDI,0x8
MOV RSI,R14
CALL 0x001074a4
CMP byte ptr [R14],0x1
JNZ 0x00107e10
MOV qword ptr [RBX + 0x8],0x8
MOV qword ptr [RBX + 0x10],RAX
JMP 0x00107... |
int4 * rak_string_new(char *param_1)
{
int4 *__ptr;
int8 uVar1;
__ptr = (int4 *)rak_memory_alloc(0x18,param_1);
if (*param_1 == '\x01') {
*__ptr = 0;
uVar1 = rak_memory_alloc(8,param_1);
if (*param_1 == '\x01') {
*(int8 *)(__ptr + 2) = 8;
*(int8 *)(__ptr + 4) = uVar1;
return _... | |
22,988 | testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned int, int>(char const*, char const*, unsigned int const&, int const&) | AlayaLite/build_O3/_deps/googletest-src/googletest/include/gtest/gtest.h | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression, const T1& lhs,
const T2& rhs) {
return EqFailure(lhs_expression, rhs_expression,
FormatForComparisonFailureMessage(lhs, rhs),
... | O3 | c | testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned int, int>(char const*, char const*, unsigned int const&, int const&):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rcx, %rsi
callq 0x22e84
le... | _ZN7testing8internal18CmpHelperEQFailureIjiEENS_15AssertionResultEPKcS4_RKT_RKT0_:
push r15
push r14
push r12
push rbx
sub rsp, 48h
mov r12, r8
mov r14, rdx
mov r15, rsi
mov rbx, rdi
lea rdi, [rsp+68h+var_40]
mov rsi, rcx
call _ZN7testing13PrintToStringIjEENSt7__cxx1112basic_s... | long long testing::internal::CmpHelperEQFailure<unsigned int,int>(
long long a1,
long long a2,
long long a3,
unsigned int *a4,
unsigned int *a5)
{
void *v8[2]; // [rsp+8h] [rbp-60h] BYREF
long long v9; // [rsp+18h] [rbp-50h] BYREF
void *v10[2]; // [rsp+28h] [rbp-40h] BYREF... | CmpHelperEQFailure<unsigned_int,int>:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV R12,R8
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
LEA RDI,[RSP + 0x28]
MOV RSI,RCX
CALL 0x00122e84
LAB_0012c0a6:
LEA RDI,[RSP + 0x8]
MOV RSI,R12
CALL 0x00129898
LAB_0012c0b3:
LEA RCX,[RSP + 0x28]
LEA R8,[RSP + 0x8]
MOV RDI,RBX
MOV RSI,R... |
/* testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned int, int>(char const*,
char const*, unsigned int const&, int const&) */
internal * __thiscall
testing::internal::CmpHelperEQFailure<unsigned_int,int>
(internal *this,char *param_1,char *param_2,uint *param_3,int *param_4)
{
lon... | |
22,989 | end_pagecache | eloqsql/storage/maria/ma_pagecache.c | void end_pagecache(PAGECACHE *pagecache, my_bool cleanup)
{
DBUG_ENTER("end_pagecache");
DBUG_PRINT("enter", ("key_cache: %p", pagecache));
if (!pagecache->inited)
DBUG_VOID_RETURN;
if (pagecache->disk_blocks > 0)
{
#ifndef DBUG_OFF
check_pagecache_is_cleaned_up(pagecache);
#endif
if (pagecache... | O0 | c | end_pagecache:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
jmp 0x2c5b4
movq -0x8(%rbp), %rax
cmpb $0x0, 0x1a8(%rax)
jne 0x2c5c8
jmp 0x2c5c3
jmp 0x2c682
movq -0x8(%rbp), %rax
cmpq $0x0, 0x40(%rax)
jle 0x2c63e
movq -0x8(%rbp), %rax
cmpq $0x0, 0xb0(%rax)
je 0x2c626... | end_pagecache:
push rbp
mov rbp, rsp
sub rsp, 10h
mov al, sil
mov [rbp+var_8], rdi
mov [rbp+var_9], al
jmp short $+2
loc_2C5B4:
mov rax, [rbp+var_8]
cmp byte ptr [rax+1A8h], 0
jnz short loc_2C5C8
jmp short $+2
loc_2C5C3:
jmp loc_2C682
loc_2C5C8:
mov rax, [rbp+var_8]
cm... | long long end_pagecache(long long a1, char a2)
{
long long result; // rax
result = a1;
if ( *(_BYTE *)(a1 + 424) )
{
result = a1;
if ( *(long long *)(a1 + 64) > 0 )
{
if ( *(_QWORD *)(a1 + 176) )
{
my_large_free(*(_QWORD *)(a1 + 176), *(_QWORD *)a1);
*(_QWORD *)(a1 + 17... | end_pagecache:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV AL,SIL
MOV qword ptr [RBP + -0x8],RDI
MOV byte ptr [RBP + -0x9],AL
JMP 0x0012c5b4
LAB_0012c5b4:
MOV RAX,qword ptr [RBP + -0x8]
CMP byte ptr [RAX + 0x1a8],0x0
JNZ 0x0012c5c8
JMP 0x0012c5c3
LAB_0012c5c3:
JMP 0x0012c682
LAB_0012c5c8:
MOV RAX,qword ptr [RBP + -0x8]
CMP q... |
void end_pagecache(int8 *param_1,char param_2)
{
if (*(char *)(param_1 + 0x35) != '\0') {
if (0 < (long)param_1[8]) {
if (param_1[0x16] != 0) {
my_large_free(param_1[0x16],*param_1);
param_1[0x16] = 0;
my_free(param_1[0x15]);
param_1[0x15] = 0;
}
param_1[8] = 0x... | |
22,990 | google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal() const | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.cc | void FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal() const {
auto* map = new FieldsByNameMap;
for (Symbol symbol : symbols_by_parent_) {
const FieldDescriptor* field = symbol.field_descriptor();
if (!field) continue;
(*map)[{FindParentForFieldsByMap(field), field->camelcase_name().c_str()... | O0 | cpp | google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal() const:
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x20(%rsp)
movl $0x38, %edi
callq 0x13450
movq %rax, %rdi
movq %rdi, 0x18(%rsp)
callq 0x33790
movq 0x18(%rsp), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x78(%rsp)
... | _ZNK6google8protobuf20FileDescriptorTables38FieldsByCamelcaseNamesLazyInitInternalEv:
sub rsp, 88h
mov [rsp+88h+var_8], rdi
mov rax, [rsp+88h+var_8]
mov [rsp+88h+var_68], rax
mov edi, 38h ; '8'; unsigned __int64
call __Znwm; operator new(ulong)
mov rdi, rax
mov [rsp+88h+var_70], rdi
call ... | long long google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal(
google::protobuf::FileDescriptorTables *this)
{
long long v1; // rax
long long v3; // [rsp+8h] [rbp-80h]
google::protobuf::FieldDescriptor *v4; // [rsp+10h] [rbp-78h]
long long v5; // [rsp+18h] [rbp-70h]
long lo... | FieldsByCamelcaseNamesLazyInitInternal:
SUB RSP,0x88
MOV qword ptr [RSP + 0x80],RDI
MOV RAX,qword ptr [RSP + 0x80]
MOV qword ptr [RSP + 0x20],RAX
MOV EDI,0x38
CALL 0x00113450
MOV RDI,RAX
MOV qword ptr [RSP + 0x18],RDI
CALL 0x00133790
MOV RCX,qword ptr [RSP + 0x18]
MOV RAX,qword ptr [RSP + 0x20]
MOV qword ptr [RSP + 0x7... |
/* google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal() const */
void __thiscall
google::protobuf::FileDescriptorTables::FieldsByCamelcaseNamesLazyInitInternal
(FileDescriptorTables *this)
{
unordered_map<std::pair<void_const*,google::protobuf::stringpiece_internal::StringPiec... | |
22,991 | nglog::ErrnoLogMessage::ErrnoLogMessage(char const*, int, nglog::LogSeverity, long, void (nglog::LogMessage::*)()) | ng-log[P]ng-log/src/logging.cc | ErrnoLogMessage::ErrnoLogMessage(const char* file, int line,
LogSeverity severity, int64 ctr,
void (LogMessage::*send_method)())
: LogMessage(file, line, severity, ctr, send_method) {} | O1 | cpp | nglog::ErrnoLogMessage::ErrnoLogMessage(char const*, int, nglog::LogSeverity, long, void (nglog::LogMessage::*)()):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, (%rsp)
movl %ecx, %ebp
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movq 0x40(%rsp), %r13
movq 0x48(%rsp), %rbx
m... | _ZN5nglog15ErrnoLogMessageC2EPKciNS_11LogSeverityElMNS_10LogMessageEFvvE:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov [rsp+38h+var_38], r8
mov ebp, ecx
mov r14d, edx
mov r15, rsi
mov r12, rdi
mov r13, [rsp+38h+arg_0]
mov rbx, [rsp+38h+arg_8]
mov ... | long long nglog::ErrnoLogMessage::ErrnoLogMessage(
_QWORD *a1,
nglog::tools *a2,
int a3,
unsigned int a4,
long long a5,
long long a6,
long long a7,
long long a8)
{
long long result; // rax
*a1 = 0LL;
nglog::LogMessageTime::LogMessageTime((nglog::Lo... | ErrnoLogMessage:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV qword ptr [RSP],R8
MOV EBP,ECX
MOV R14D,EDX
MOV R15,RSI
MOV R12,RDI
MOV R13,qword ptr [RSP + 0x40]
MOV RBX,qword ptr [RSP + 0x48]
MOV qword ptr [RDI],0x0
ADD RDI,0x10
CALL 0x0010e208
MOV RDI,R12
MOV RSI,R15
MOV EDX,R14D
MOV ECX,EBP
MOV ... |
/* nglog::ErrnoLogMessage::ErrnoLogMessage(char const*, int, nglog::LogSeverity, long, void
(nglog::LogMessage::*)()) */
void __thiscall
nglog::ErrnoLogMessage::ErrnoLogMessage
(ErrnoLogMessage *this,int8 param_1,int4 param_2,int4 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8)
{... | |
22,992 | std::vector<double, std::allocator<double>> findPeaks::apply_mask<double>(std::vector<double, std::allocator<double>> const&, std::vector<bool, std::allocator<bool>> const&) | giladroyz[P]FindPeaks/src/cpp/find_peaks.cpp | std::vector<T> apply_mask(const std::vector<T> &vec, const std::vector<bool> &mask) {
std::vector<T> result;
for (size_t p = 0; p < vec.size(); p++)
if (mask[p]) result.push_back(vec[p]);
return result;
} | O0 | cpp | std::vector<double, std::allocator<double>> findPeaks::apply_mask<double>(std::vector<double, std::allocator<double>> const&, std::vector<bool, std::allocator<bool>> const&):
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x48(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(... | _ZN9findPeaks10apply_maskIdEESt6vectorIT_SaIS2_EERKS4_RKS1_IbSaIbEE:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_48], rdi
mov rax, rdi
mov [rbp+var_40], rax
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_19], 0
call _ZNSt6vectorIdSaIdEEC2Ev; s... | long long findPeaks::apply_mask<double>(long long a1, _QWORD *a2, long long a3)
{
long long v3; // rax
unsigned long long i; // [rsp+38h] [rbp-28h]
std::vector<double>::vector(a1);
for ( i = 0LL; i < std::vector<double>::size(a2); ++i )
{
if ( (std::vector<bool>::operator[](a3, i) & 1) != 0 )
{
... | apply_mask<double>:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x40],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV byte ptr [RBP + -0x19],0x0
CALL 0x00107640
MOV qword ptr [RBP + -0x28],0x0
LAB_00107990:
MO... |
/* WARNING: Removing unreachable block (ram,0x00107a16) */
/* std::vector<double, std::allocator<double> > findPeaks::apply_mask<double>(std::vector<double,
std::allocator<double> > const&, std::vector<bool, std::allocator<bool> > const&) */
findPeaks * __thiscall
findPeaks::apply_mask<double>(findPeaks *this,vect... | |
22,993 | minja::Value::Value(std::shared_ptr<std::function<minja::Value (std::shared_ptr<minja::Context> const&, minja::ArgumentsValue&)>> const&) | monkey531[P]llama/common/minja.hpp | Value(const std::shared_ptr<CallableType> & callable) : object_(std::make_shared<ObjectType>()), callable_(callable) {} | O3 | cpp | minja::Value::Value(std::shared_ptr<std::function<minja::Value (std::shared_ptr<minja::Context> const&, minja::ArgumentsValue&)>> const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movl $0x30, %edi
callq 0x1b8f0
movabsq $0x100000001... | _ZN5minja5ValueC2ERKSt10shared_ptrISt8functionIFS0_RKS1_INS_7ContextEERNS_14ArgumentsValueEEEE:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
xorps xmm0, xmm0
movups xmmword ptr [rdi+10h], xmm0
movups xmmword ptr [rdi], xmm0
mov edi, 30h ; '0'; unsigned __int64
call __Znwm; operator n... | long long minja::Value::Value(long long a1, _QWORD *a2)
{
long long v2; // rax
long long result; // rax
*(_OWORD *)(a1 + 16) = 0LL;
*(_OWORD *)a1 = 0LL;
v2 = operator new(0x30uLL);
*(_QWORD *)(v2 + 8) = 0x100000001LL;
*(_QWORD *)v2 = &`vtable for'std::_Sp_counted_ptr_inplace<nlohmann::json_abi_v3_11_3::... | Value:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RDI + 0x10],XMM0
MOVUPS xmmword ptr [RDI],XMM0
LAB_0019bf30:
MOV EDI,0x30
CALL 0x0011b8f0
LAB_0019bf3a:
MOV RCX,0x100000001
MOV qword ptr [RAX + 0x8],RCX
LEA RCX,[0x22f438]
ADD RCX,0x10
MOV qword ptr [RAX],RCX
MOV RCX,RAX
ADD ... |
/* minja::Value::Value(std::shared_ptr<std::function<minja::Value (std::shared_ptr<minja::Context>
const&, minja::ArgumentsValue&)> > const&) */
void __thiscall minja::Value::Value(Value *this,shared_ptr *param_1)
{
long lVar1;
int8 *puVar2;
bool bVar3;
*(int8 *)(this + 0x10) = 0;
*(int8 *)(this + 0x... | |
22,994 | warnAboutARBClipControl | aimrt_mujoco_sim/_deps/mujoco-src/src/render/render_gl2.c | static void warnAboutARBClipControl(void) {
// not thread safe, but the consequence is just too many log lines
static int warned = 0;
if (!warned) {
warned = 1;
mju_warning("ARB_clip_control unavailable while mjDEPTH_ZEROFAR requested, "
"depth accuracy will be limited");
}
} | O0 | c | warnAboutARBClipControl:
pushq %rax
cmpl $0x0, 0x18ca38(%rip) # 0x610bb0
jne 0x484192
movl $0x1, 0x18ca2c(%rip) # 0x610bb0
leaq 0xaeae9(%rip), %rdi # 0x532c74
movb $0x0, %al
callq 0x493f0
popq %rax
retq
nopw %cs:(%rax,%rax)
| warnAboutARBClipControl:
push rax
cmp cs:warnAboutARBClipControl_warned, 0
jnz short loc_484192
mov cs:warnAboutARBClipControl_warned, 1
lea rdi, aArbClipControl; "ARB_clip_control unavailable while mjDE"...
mov al, 0
call _mju_warning
loc_484192:
pop rax
retn
| void __spoils<rdx,rcx,r8,r9,r10,r11,xmm4,xmm5> warnAboutARBClipControl(
long long a1,
int a2,
int a3,
int a4,
int a5,
int a6)
{
if ( !warnAboutARBClipControl_warned )
{
warnAboutARBClipControl_warned = 1;
mju_warning(
(unsigned int)"ARB_clip_control una... | __copy_move_a<true,std::pair<int,int>*,__gnu_cxx::__normal_iterator<std::pair<int,int>*,std::vector<std::pair<int,int>,std::allocator<std::pair<int,int>>>>>:
SUB RSP,0x48
MOV qword ptr [RSP + 0x38],RDX
MOV qword ptr [RSP + 0x30],RDI
MOV qword ptr [RSP + 0x28],RSI
MOV RAX,qword ptr [RSP + 0x38]
MOV qword ptr [RSP + 0x20... |
/* __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int>,
std::allocator<std::pair<int, int> > > > std::__copy_move_a<true, std::pair<int, int>*,
__gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int>,
std::allocator<std::pair<int, int> > > > >(std::pai... | |
22,995 | my_mb_wc_gb2312 | eloqsql/strings/ctype-gb2312.c | static int
my_mb_wc_gb2312(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)
{
pwc[0]=hi;
return 1;
}
if (s+2>e)
return MY_CS_TOOSMALL2;
if (!IS_MB2_CHAR(hi, s[1]))
... | O3 | c | my_mb_wc_gb2312:
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rcx, %rdx
jae 0x379ac
movsbq (%rdx), %rdi
testq %rdi, %rdi
js 0x37988
movq %rdi, (%rsi)
movl $0x1, %eax
retq
leaq 0x2(%rdx), %r8
movl $0xffffff9a, %eax # imm = 0xFFFFFF9A
cmpq %rcx, %r8
ja 0x379ac
leal 0x5f(%rdi), %ecx
xorl %eax, %eax
cmpb $0x... | my_mb_wc_gb2312:
mov eax, 0FFFFFF9Bh
cmp rdx, rcx
jnb short locret_379AC
movsx rdi, byte ptr [rdx]
test rdi, rdi
js short loc_37988
mov [rsi], rdi
mov eax, 1
retn
loc_37988:
lea r8, [rdx+2]
mov eax, 0FFFFFF9Ah
cmp r8, rcx
ja short locret_379AC
lea ecx, [rdi+5Fh]
xor ... | long long my_mb_wc_gb2312(long long a1, long long *a2, char *a3, unsigned long long a4)
{
long long result; // rax
long long v5; // rdi
unsigned __int16 v6; // cx
int v7; // eax
long long v8; // rax
unsigned __int16 *v9; // rcx
long long v10; // rcx
result = 4294967195LL;
if ( (unsigned long long)a3... | my_mb_wc_gb2312:
MOV EAX,0xffffff9b
CMP RDX,RCX
JNC 0x001379ac
MOVSX RDI,byte ptr [RDX]
TEST RDI,RDI
JS 0x00137988
MOV qword ptr [RSI],RDI
MOV EAX,0x1
RET
LAB_00137988:
LEA R8,[RDX + 0x2]
MOV EAX,0xffffff9a
CMP R8,RCX
JA 0x001379ac
LEA ECX,[RDI + 0x5f]
XOR EAX,EAX
CMP CL,0x56
JA 0x001379ac
MOVZX ECX,byte ptr [RDX + 0x1... |
int8 my_mb_wc_gb2312(int8 param_1,ulong *param_2,char *param_3,char *param_4)
{
char cVar1;
ushort uVar2;
uint uVar3;
ulong uVar4;
int1 *puVar5;
if (param_4 <= param_3) {
return 0xffffff9b;
}
cVar1 = *param_3;
if (-1 < (long)cVar1) {
*param_2 = (long)cVar1;
return 1;
}
if (param_4... | |
22,996 | mi_kpointer | eloqsql/storage/myisam/mi_search.c | void _mi_kpointer(register MI_INFO *info, register uchar *buff, my_off_t pos)
{
pos/=MI_MIN_KEY_BLOCK_LENGTH;
switch (info->s->base.key_reflength) {
#if SIZEOF_OFF_T > 4
case 7: mi_int7store(buff,pos); break;
case 6: mi_int6store(buff,pos); break;
case 5: mi_int5store(buff,pos); break;
#else
case 7: *buff++... | O3 | c | mi_kpointer:
movq (%rdi), %rax
movl 0x17c(%rax), %ecx
decl %ecx
cmpl $0x6, %ecx
ja 0xa0163
movq %rdx, %rax
shrq $0xa, %rax
leaq 0x65d81(%rip), %rdi # 0x105e0c
movslq (%rdi,%rcx,4), %rcx
addq %rdi, %rcx
jmpq *%rcx
movb %al, 0x1(%rsi)
shrq $0x12, %rdx
jmp 0xa015d
movb %al, 0x4(%rsi)
movq %rdx, %rax
shrq $0x2a, %rax
m... | _mi_kpointer:
mov rax, [rdi]
mov ecx, [rax+17Ch]
dec ecx; switch 7 cases
cmp ecx, 6
ja def_A0092; jumptable 00000000000A0092 default case
mov rax, rdx
shr rax, 0Ah
lea rdi, jpt_A0092
movsxd rcx, ds:(jpt_A0092 - 105E0Ch)[rdi+rcx*4]
add rcx, rdi
jmp rcx; switch jump
loc_A0094:
mo... | unsigned long long mi_kpointer(long long a1, _BYTE *a2, unsigned long long a3)
{
unsigned long long result; // rax
unsigned long long v4; // rdx
result = a3 >> 10;
switch ( *(_DWORD *)(*(_QWORD *)a1 + 380LL) )
{
case 1:
goto LABEL_9;
case 2:
a2[1] = result;
v4 = a3 >> 18;
got... | _mi_kpointer:
MOV RAX,qword ptr [RDI]
MOV ECX,dword ptr [RAX + 0x17c]
DEC ECX
CMP ECX,0x6
JA 0x001a0163
MOV RAX,RDX
SHR RAX,0xa
LEA RDI,[0x205e0c]
MOVSXD RCX,dword ptr [RDI + RCX*0x4]
ADD RCX,RDI
switchD:
JMP RCX
caseD_2:
MOV byte ptr [RSI + 0x1],AL
SHR RDX,0x12
JMP 0x001a015d
caseD_5:
MOV byte ptr [RSI + 0x4],AL
MOV R... |
void _mi_kpointer(long *param_1,byte *param_2,ulong param_3)
{
byte bVar1;
bVar1 = (byte)(param_3 >> 10);
switch(*(int4 *)(*param_1 + 0x17c)) {
case 1:
break;
case 2:
param_2[1] = bVar1;
bVar1 = (byte)(param_3 >> 0x12);
break;
case 3:
param_2[2] = bVar1;
param_2[1] = (byte)(para... | |
22,997 | update_dynamic_record | eloqsql/storage/myisam/mi_dynrec.c | static int update_dynamic_record(MI_INFO *info, my_off_t filepos, uchar *record,
ulong reclength)
{
int flag;
uint error;
ulong length;
MI_BLOCK_INFO block_info;
DBUG_ENTER("update_dynamic_record");
flag=block_info.second_read=0;
/*
Check if we have enough room for the record.
First we do ... | O3 | c | update_dynamic_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq %rsi, -0xf0(%rbp)
movq %rdx, -0x110(%rbp)
movq %rcx, -0x108(%rbp)
xorl %eax, %eax
movl %eax, -0x38(%rb... | update_dynamic_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0F8h
mov r13, rcx
mov r14, rsi
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov [rbp+var_F0], rsi
mov [rbp+var_110], rdx
mov [rbp+var_108], rcx
xor eax, ... | long long update_dynamic_record(long long *a1, long long a2, long long a3, unsigned long long a4)
{
unsigned long long v4; // r13
long long v5; // r14
unsigned long long v6; // r12
const char *v7; // rsi
unsigned long long v8; // rdx
long long v9; // rax
unsigned long long v10; // r13
long long v11; //... | update_dynamic_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xf8
MOV R13,RCX
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV qword ptr [RBP + -0xf0],RSI
MOV qword ptr [RBP + -0x110],RDX
MOV qword ptr [RBP + -0x108],RCX
XOR EAX,EAX
MOV dword pt... |
int8 update_dynamic_record(long *param_1,long param_2,int8 param_3,ulong param_4)
{
char cVar1;
int iVar2;
uint uVar3;
long lVar4;
int4 *puVar5;
ulong uVar6;
ulong uVar7;
ulong uVar8;
long lVar9;
int8 uVar10;
long in_FS_OFFSET;
int8 local_118;
ulong local_110;
ulong local_108;
int4 local... | |
22,998 | js_os_chdir | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_os_chdir(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
const char *target;
int err;
target = JS_ToCString(ctx, argv[0]);
if (!target)
return JS_EXCEPTION;
err = js_get_errno(chdir(target));
JS_FreeCString(ctx, target);
retu... | O0 | c | js_os_chdir:
subq $0x68, %rsp
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rdi, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movq %r8, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
callq 0x147e0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x198f2
movl $0x0, 0x38(%rsp)
movq $0x... | js_os_chdir:
sub rsp, 68h
mov [rsp+68h+var_40], rsi
mov [rsp+68h+var_38], rdx
mov [rsp+68h+var_48], rdi
mov [rsp+68h+var_4C], ecx
mov [rsp+68h+var_58], r8
mov rdi, [rsp+68h+var_48]
mov rax, [rsp+68h+var_58]
mov rsi, [rax]
mov rdx, [rax+8]
call JS_ToCString
mov [rsp+68h+var... | long long js_os_chdir(long long a1, long long a2, long long a3, long long a4, long long *a5)
{
int v5; // eax
int errno; // [rsp+4h] [rbp-64h]
long long v8; // [rsp+8h] [rbp-60h]
long long v9; // [rsp+38h] [rbp-30h]
long long v10; // [rsp+58h] [rbp-10h]
v8 = JS_ToCString(a1, *a5, a5[1]);
if ( v8 )
{
... | js_os_chdir:
SUB RSP,0x68
MOV qword ptr [RSP + 0x28],RSI
MOV qword ptr [RSP + 0x30],RDX
MOV qword ptr [RSP + 0x20],RDI
MOV dword ptr [RSP + 0x1c],ECX
MOV qword ptr [RSP + 0x10],R8
MOV RDI,qword ptr [RSP + 0x20]
MOV RAX,qword ptr [RSP + 0x10]
MOV RSI,qword ptr [RAX]
MOV RDX,qword ptr [RAX + 0x8]
CALL 0x001147e0
MOV qwor... |
int1 [16] js_os_chdir(int8 param_1)
{
int1 auVar1 [16];
int iVar2;
char *__path;
int8 *in_R8;
int4 local_30;
int4 uStack_2c;
int8 local_28;
int4 uStack_c;
__path = (char *)JS_ToCString(param_1,*in_R8,in_R8[1]);
if (__path == (char *)0x0) {
local_30 = 0;
local_28 = 6;
}
else {
i... | |
22,999 | js_os_chdir | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_os_chdir(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
const char *target;
int err;
target = JS_ToCString(ctx, argv[0]);
if (!target)
return JS_EXCEPTION;
err = js_get_errno(chdir(target));
JS_FreeCString(ctx, target);
retu... | O2 | c | js_os_chdir:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%r8), %rsi
movq 0x8(%r8), %rdx
callq 0x11a6c
testq %rax, %rax
je 0x141a1
movq %rax, %r14
movq %rax, %rdi
callq 0xe260
movslq %eax, %rdi
callq 0x113ab
movq %rax, %r15
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1b057
movl %r15d, %eax
xorl %edx, %edx
jmp 0x1... | js_os_chdir:
push r15
push r14
push rbx
mov rbx, rdi
mov rsi, [r8]
mov rdx, [r8+8]
call JS_ToCString
test rax, rax
jz short loc_141A1
mov r14, rax
mov rdi, rax
call _chdir
movsxd rdi, eax
call js_get_errno
mov r15, rax
mov rdi, rbx
mov rsi, r14
call JS_FreeC... | long long js_os_chdir(long long a1, long long a2, long long a3, long long a4, long long *a5)
{
long long v5; // rax
long long v6; // r14
int v7; // eax
unsigned int errno; // r15d
v5 = JS_ToCString(a1, *a5, a5[1]);
if ( !v5 )
return 0LL;
v6 = v5;
v7 = chdir(v5);
errno = js_get_errno(v7);
JS_Fr... | js_os_chdir:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RDI
MOV RSI,qword ptr [R8]
MOV RDX,qword ptr [R8 + 0x8]
CALL 0x00111a6c
TEST RAX,RAX
JZ 0x001141a1
MOV R14,RAX
MOV RDI,RAX
CALL 0x0010e260
MOVSXD RDI,EAX
CALL 0x001113ab
MOV R15,RAX
MOV RDI,RBX
MOV RSI,R14
CALL 0x0011b057
MOV EAX,R15D
XOR EDX,EDX
JMP 0x001141a6
LAB_001141... |
int4 js_os_chdir(int8 param_1)
{
int iVar1;
int4 uVar2;
char *__path;
int8 *in_R8;
__path = (char *)JS_ToCString(param_1,*in_R8,in_R8[1]);
if (__path == (char *)0x0) {
uVar2 = 0;
}
else {
iVar1 = chdir(__path);
uVar2 = js_get_errno((long)iVar1);
JS_FreeCString(param_1,__path);
}
... |
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.