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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
62,100 | mysql_data_seek | eloqsql/libmariadb/libmariadb/mariadb_lib.c | void STDCALL
mysql_data_seek(MYSQL_RES *result, unsigned long long row)
{
MYSQL_ROWS *tmp=0;
if (result->data)
for (tmp=result->data->data; row-- && tmp ; tmp = tmp->next) ;
result->current_row=0;
result->data_cursor = tmp;
} | O0 | c | mysql_data_seek:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x3a6ed
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rcx
movq %rcx, %rax
addq $-0x1, %rax
movq %rax, -... | mysql_data_seek:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], 0
mov rax, [rbp+var_8]
cmp qword ptr [rax+18h], 0
jz short loc_3A6ED
mov rax, [rbp+var_8]
mov rax, [rax+18h]
mov rax, [rax]
mov [rbp+var_18], rax
loc_3A6AE:
mov rcx, [r... | long long mysql_data_seek(long long a1, long long a2)
{
long long v2; // rcx
long long result; // rax
bool v4; // [rsp+1h] [rbp-19h]
_QWORD *i; // [rsp+2h] [rbp-18h]
i = 0LL;
if ( *(_QWORD *)(a1 + 24) )
{
for ( i = **(_QWORD ***)(a1 + 24); ; i = (_QWORD *)*i )
{
v2 = a2--;
v4 = 0;
... | mysql_data_seek:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],0x0
MOV RAX,qword ptr [RBP + -0x8]
CMP qword ptr [RAX + 0x18],0x0
JZ 0x0013a6ed
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x1... |
void mysql_data_seek(long param_1,long param_2)
{
int8 *local_20;
long local_18;
local_20 = (int8 *)0x0;
if (*(long *)(param_1 + 0x18) != 0) {
local_18 = param_2;
for (local_20 = (int8 *)**(int8 **)(param_1 + 0x18);
local_18 != 0 && local_20 != (int8 *)0x0; local_20 = (int8 *)*local_20) {
... | |
62,101 | format_literal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | monkey531[P]llama/common/json-schema-to-grammar.cpp | static std::string format_literal(const std::string & literal) {
std::string escaped = replacePattern(literal, GRAMMAR_LITERAL_ESCAPE_RE, [&](const std::smatch & match) {
char c = match.str()[0];
return GRAMMAR_LITERAL_ESCAPES.at(c);
});
return "\"" + escaped + "\"";
} | O1 | cpp | format_literal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rcx
movaps %xmm0, (%rcx)
leaq 0x2f9(%rip), %rax # 0x9a8b0
movq %rax, ... | _ZL14format_literalRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov [rsp+0B8h+var_38], rdi
xorps xmm0, xmm0
lea rcx, [rsp+0B8h+var_58]
movaps xmmword ptr [rcx], xmm0
lea rax, _ZNSt17_Function_handlerIFNSt7... | long long format_literal(long long a1, long long a2)
{
long long *v2; // r14
long long v3; // r15
_QWORD *v4; // rdx
long long **v5; // rax
long long v6; // rbx
long long v7; // rax
_OWORD *v8; // rcx
__int128 v10; // [rsp+0h] [rbp-B8h] BYREF
__int128 v11; // [rsp+10h] [rbp-A8h] BYREF
void *v12; //... | format_literal:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV qword ptr [RSP + 0x80],RDI
XORPS XMM0,XMM0
LEA RCX,[RSP + 0x60]
MOVAPS xmmword ptr [RCX],XMM0
LEA RAX,[0x19a8b0]
MOV qword ptr [RCX + 0x18],RAX
LEA RAX,[0x19a920]
MOV qword ptr [RCX + 0x10],RAX
MOV R12,RSP
MOVAPS xmmword ptr [R12 + 0... |
/* format_literal(std::__cxx11::string const&) */
string * format_literal(string *param_1)
{
string *psVar1;
bool bVar2;
ulong *puVar3;
int8 *puVar4;
long *plVar5;
ulong *in_RSI;
ulong uVar6;
long lVar7;
long *local_b8;
long lStack_b0;
long local_a8 [2];
int1 *local_98;
ulong local_90;
in... | |
62,102 | ma_kpointer | eloqsql/storage/maria/ma_search.c | void _ma_kpointer(register MARIA_HA *info, register uchar *buff, my_off_t pos)
{
pos/=maria_block_size;
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++=0;
... | O0 | c | ma_kpointer:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq 0x212295(%rip), %rax # 0x2879d0
movq (%rax), %rcx
movq -0x18(%rbp), %rax
xorl %edx, %edx
divq %rcx
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movl 0x3e4(%rax), %eax
de... | _ma_kpointer:
push rbp
mov rbp, rsp
sub rsp, 70h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
lea rax, maria_block_size
mov rcx, [rax]
mov rax, [rbp+var_18]
xor edx, edx
div rcx
mov [rbp+var_18], rax
mov rax, [rbp+var_8]
mov rax, [rax]
mov e... | _BYTE * ma_kpointer(long long a1, _BYTE *a2, unsigned long long a3)
{
unsigned long long v3; // rdx
_BYTE *result; // rax
unsigned long long v6; // [rsp+58h] [rbp-18h]
v3 = a3 % *(_QWORD *)&maria_block_size;
v6 = a3 / *(_QWORD *)&maria_block_size;
switch ( *(_DWORD *)(*(_QWORD *)a1 + 996LL) )
{
case ... | _ma_kpointer:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
LEA RAX,[0x3879d0]
MOV RCX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x18]
XOR EDX,EDX
DIV RCX
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [... |
void _ma_kpointer(long *param_1,int1 *param_2,ulong param_3)
{
int1 uVar1;
int1 uVar2;
int1 uVar3;
int1 uVar4;
int1 uVar5;
int1 uVar6;
param_3 = param_3 / maria_block_size;
uVar1 = (int1)param_3;
uVar2 = (int1)(param_3 >> 8);
uVar3 = (int1)(param_3 >> 0x10);
uVar4 = (int1)(param_3 >> 0x18);
... | |
62,103 | File::GetThemeDir(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | Dolphin-anty/Source/Core/Common/FileUtil.cpp | std::string GetThemeDir(const std::string& theme_name)
{
std::string dir = File::GetUserPath(D_THEMES_IDX) + theme_name + "/";
if (Exists(dir))
return dir;
// If the theme doesn't exist in the user dir, load from shared directory
dir = GetSysDirectory() + THEMES_DIR "/" + theme_name + "/";
if (Exists(dir... | O3 | cpp | File::GetThemeDir(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq 0x36658(%rip), %rsi # 0x53ec0
movq 0x36659(%r... | _ZN4File11GetThemeDirERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov r14, rsi
mov rbx, rdi
lea r13, [rsp+0B8h+var_80]
mov [r13-10h], r13
mov rsi, cs:qword_53EC0
mov rdx, cs:qword_53EC8
add r... | long long File::GetThemeDir(long long a1, _BYTE **a2)
{
_QWORD *v3; // rax
const char *v4; // rsi
__int128 *v5; // rcx
_QWORD *v7; // rax
__int128 *v8; // rcx
_QWORD *v9; // rax
__int128 *v10; // rcx
char *v11; // [rsp+8h] [rbp-B0h] BYREF
long long v12; // [rsp+10h] [rbp-A8h]
__int128 v13; // [rsp+... | GetThemeDir:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV R14,RSI
MOV RBX,RDI
LEA R13,[RSP + 0x38]
MOV qword ptr [R13 + -0x10],R13
MOV RSI,qword ptr [0x00153ec0]
MOV RDX,qword ptr [0x00153ec8]
ADD RDX,RSI
LEA R15,[RSP + 0x28]
MOV RDI,R15
CALL 0x0010d778
MOV RSI,qword ptr [R14]
MOV RDX,qword pt... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* File::GetThemeDir(std::__cxx11::string const&) */
File * __thiscall File::GetThemeDir(File *this,string *param_1)
{
long *plVar1;
long *plVar2;
long *local_b0;
long local_a8;
long local_a0;
long lStack_98;
long *loc... | |
62,104 | translog_flush | eloqsql/storage/maria/ma_loghandler.c | my_bool translog_flush(TRANSLOG_ADDRESS lsn)
{
struct timespec abstime;
ulonglong UNINIT_VAR(flush_interval);
ulonglong time_spent;
LSN sent_to_disk= LSN_IMPOSSIBLE;
TRANSLOG_ADDRESS flush_horizon;
my_bool rc= 0;
my_bool hgroup_commit_at_start;
DBUG_ENTER("translog_flush");
DBUG_PRINT("enter", ("Flush... | O3 | c | translog_flush:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq %rdi, -0x38(%rbp)
movq $0x0, -0x48(%rbp)
cmpq $0x0, 0xbc9149(%rip) # 0xc00c38
jne 0x37f01
leaq 0xbc90fc(%rip), %rdi # 0xc00bf8
callq 0x29200
cmpq %rbx, 0xbc9080(%rip) # 0xc00b... | translog_flush:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov rbx, rdi
mov [rbp+var_38], rdi
mov [rbp+var_48], 0
cmp cs:qword_C00C38, 0
jnz loc_37F01
lea rdi, unk_C00BF8
call _pthread_mutex_lock
loc_37B01:
cmp cs:qword_C00B88... | long long translog_flush(long long a1)
{
void *v1; // rbx
long long v2; // r14
long long v3; // rax
long long v4; // r14
long long v5; // rax
char v6; // r14
unsigned long long v7; // r12
long long v8; // rbx
long long *v9; // rdi
unsigned long long v10; // rdx
unsigned long long v11; // rcx
un... | translog_flush:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV RBX,RDI
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x48],0x0
CMP qword ptr [0x00d00c38],0x0
JNZ 0x00137f01
LEA RDI,[0xd00bf8]
CALL 0x00129200
LAB_00137b01:
CMP qword ptr [0x00d00b88],RBX
JGE 0x00137da5
CMP byte... |
int4 translog_flush(long param_1)
{
pthread_t __thread1;
int4 uVar1;
int iVar2;
int4 uVar3;
pthread_t __thread2;
ulong uVar4;
long lVar5;
ulong uVar6;
char cVar7;
long lVar8;
bool bVar9;
timespec local_60;
long local_50;
ulong local_48;
int8 local_40;
char local_31;
local_50 = 0;
... | |
62,105 | infer_variable_def | tsotchke[P]eshkol/src/frontend/type_inference/inference.c | static Type* infer_variable_def(TypeInferenceContext* context, AstNode* node) {
assert(node->type == AST_VARIABLE_DEF);
// Infer the type of the value
Type* value_type = type_inference_infer_node(context, node->as.variable_def.value);
// Add the variable to the context
type_inference_add_n... | O0 | c | infer_variable_def:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x1c, (%rax)
jne 0xe6fb
jmp 0xe71a
leaq 0x1b04f(%rip), %rdi # 0x29751
leaq 0x1a82b(%rip), %rsi # 0x28f34
movl $0x27e, %edx # imm = 0x27E
leaq 0x1b05b(%rip), %rcx ... | infer_variable_def:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
cmp dword ptr [rax], 1Ch
jnz short loc_E6FB
jmp short loc_E71A
loc_E6FB:
lea rdi, aNodeTypeAstVar; "node->type == AST_VARIABLE_DEF"
lea rsi, aWorkspaceLlm4b_... | long long infer_variable_def(long long *a1, long long a2)
{
long long v3; // [rsp+8h] [rbp-18h]
if ( *(_DWORD *)a2 != 28 )
__assert_fail(
"node->type == AST_VARIABLE_DEF",
"/workspace/llm4binary/github/2025_star3/tsotchke[P]eshkol/src/frontend/type_inference/inference.c",
638LL,
"Type ... | infer_variable_def:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
CMP dword ptr [RAX],0x1c
JNZ 0x0010e6fb
JMP 0x0010e71a
LAB_0010e6fb:
LEA RDI,[0x129751]
LEA RSI,[0x128f34]
MOV EDX,0x27e
LEA RCX,[0x129770]
CALL 0x00102160
LAB_0010e71a:
M... |
int8 infer_variable_def(int8 param_1,int *param_2)
{
int8 uVar1;
if (*param_2 == 0x1c) {
uVar1 = type_inference_infer_node(param_1,*(int8 *)(param_2 + 0x14));
type_inference_add_node(param_1,param_2,uVar1);
return uVar1;
}
/* WARNING: Subroutine does not return */
__assert_f... | |
62,106 | utf8_decode_buf8 | bluesky950520[P]quickjs/cutils.c | size_t utf8_decode_buf8(uint8_t *dest, size_t dest_len, const char *src, size_t src_len)
{
const uint8_t *p, *p_end;
size_t i;
p = (const uint8_t *)src;
p_end = p + src_len;
for (i = 0; p < p_end; i++) {
uint32_t c = *p++;
if (c >= 0xC0)
c = (c << 6) + *p++ - ((0xC0 << 6... | O2 | c | utf8_decode_buf8:
addq %rdx, %rcx
xorl %eax, %eax
cmpq %rcx, %rdx
jae 0x19d8f
movb (%rdx), %r8b
cmpb $-0x40, %r8b
jb 0x19d7e
shlb $0x6, %r8b
addb 0x1(%rdx), %r8b
addq $0x2, %rdx
addb $-0x80, %r8b
jmp 0x19d81
incq %rdx
cmpq %rsi, %rax
jae 0x19d8a
movb %r8b, (%rdi,%rax)
incq %rax
jmp 0x19d5e
cmpq %rsi, %rax
jae 0x19d99
a... | utf8_decode_buf8:
add rcx, rdx
xor eax, eax
loc_19D5E:
cmp rdx, rcx
jnb short loc_19D8F
mov r8b, [rdx]
cmp r8b, 0C0h
jb short loc_19D7E
shl r8b, 6
add r8b, [rdx+1]
add rdx, 2
add r8b, 80h
jmp short loc_19D81
loc_19D7E:
inc rdx
loc_19D81:
cmp rax, rsi
jnb shor... | unsigned long long utf8_decode_buf8(long long a1, unsigned long long a2, char *a3, long long a4)
{
char *v4; // rcx
unsigned long long result; // rax
char v6; // r8
char v7; // r8
_BYTE *v8; // rdi
v4 = &a3[a4];
result = 0LL;
while ( a3 < v4 )
{
v6 = *a3;
if ( (unsigned __int8)*a3 < 0xC0u )
... | utf8_decode_buf8:
ADD RCX,RDX
XOR EAX,EAX
LAB_00119d5e:
CMP RDX,RCX
JNC 0x00119d8f
MOV R8B,byte ptr [RDX]
CMP R8B,0xc0
JC 0x00119d7e
SHL R8B,0x6
ADD R8B,byte ptr [RDX + 0x1]
ADD RDX,0x2
ADD R8B,0x80
JMP 0x00119d81
LAB_00119d7e:
INC RDX
LAB_00119d81:
CMP RAX,RSI
JNC 0x00119d8a
MOV byte ptr [RDI + RAX*0x1],R8B
LAB_00119d... |
void utf8_decode_buf8(long param_1,ulong param_2,byte *param_3,long param_4)
{
byte *pbVar1;
ulong uVar2;
byte *pbVar3;
int1 *puVar4;
byte bVar5;
pbVar3 = param_3 + param_4;
uVar2 = 0;
while (param_3 < pbVar3) {
bVar5 = *param_3;
if (bVar5 < 0xc0) {
param_3 = param_3 + 1;
}
el... | |
62,107 | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | monkey531[P]llama/common/json.hpp | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O0 | cpp | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | |||
62,108 | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | monkey531[P]llama/common/json.hpp | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O2 | cpp | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA10_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA10_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA10_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... |
string * _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA10_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | |
62,109 | get_receipts | corpus-core[P]colibri-stateless/src/chains/eth/proofer/proof_logs.c | static c4_status_t get_receipts(proofer_ctx_t* ctx, proof_logs_block_t* blocks) {
c4_status_t status = C4_SUCCESS;
uint8_t tmp[100] = {0};
buffer_t buf = stack_buffer(tmp);
for (proof_logs_block_t* block = blocks; block; block = block->next) {
buffer_reset(&buf);
json_t block_number = json... | O0 | c | get_receipts:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
movl $0x64, %edx
callq 0x5110
movl $0x0, -0x98(%rbp)
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movl $0xffffff9c, -0x88(%rbp) # imm = 0xFFFFFF9C
movq -... | get_receipts:
push rbp
mov rbp, rsp
sub rsp, 0E0h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_1C], 0
lea rdi, [rbp+var_80]
xor esi, esi
mov edx, 64h ; 'd'
call _memset
mov [rbp+var_98], 0
lea rax, [rbp+var_80]
mov [rbp+var_90], rax
mov [rbp+var_88], 0FF... | long long get_receipts(long long a1, _QWORD *a2)
{
int v2; // ecx
int v3; // r8d
int v4; // r9d
long long v5; // rax
int v6; // edx
int v7; // r8d
int v8; // r9d
int v9; // edx
int v10; // r8d
int v11; // r9d
int BlockReceipts; // [rsp+20h] [rbp-C0h]
int block_for_eth; // [rsp+24h] [rbp-BCh]
... | get_receipts:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xe0
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],0x0
LEA RDI,[RBP + -0x80]
XOR ESI,ESI
MOV EDX,0x64
CALL 0x00105110
MOV dword ptr [RBP + -0x98],0x0
LEA RAX,[RBP + -0x80]
MOV qword ptr [RBP + -0x90],RAX
MOV dword ptr [RBP + -0x88]... |
int4 get_receipts(int8 param_1,int8 *param_2)
{
int iVar1;
int8 uVar2;
int1 local_c0 [24];
int8 *local_a8;
int4 local_a0 [2];
int1 *local_98;
int4 local_90;
int1 local_88 [100];
int4 local_24;
int8 *local_20;
int8 local_18;
local_24 = 0;
local_20 = param_2;
local_18 = param_1;
memset(... | |
62,110 | void nlohmann::json_abi_v3_11_3::detail::from_json<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::... | msxemulator/build_O0/_deps/picotool-src/lib/nlohmann_json/single_include/nlohmann/json.hpp | inline void from_json(const BasicJsonType& j, ArithmeticType& val)
{
switch (static_cast<value_t>(j))
{
case value_t::number_unsigned:
{
val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>());
break;
}
ca... | O0 | cpp | void nlohmann::json_abi_v3_11_3::detail::from_json<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::... | _ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEtTnNSt9enable_ifIXaaaaaaaasr3std13is_arithmeticIT0_EE5valuentsr3std7is_sameISH_NT_17number_unsigned_tEEE5valuentsr3std7is_sameISH_NSI_16number_inte... | long long ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEtTnNSt9enable_ifIXaaaaaaaasr3std13is_arithmeticIT0_EE5valuentsr3std7is_sameISH_NT_17number_unsigned_tEEE5valuentsr3std7is_sameISH_NSI_16n... | _ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEtTnNSt9enable_ifIXaaaaaaaasr3std13is_arithmeticIT0_EE5valuentsr3std7is_sameISH_NT_17number_unsigned_tEEE5valuentsr3std7is_sameISH_NSI_16number_inte... |
void _ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEtTnNSt9enable_ifIXaaaaaaaasr3std13is_arithmeticIT0_EE5valuentsr3std7is_sameISH_NT_17number_unsigned_tEEE5valuentsr3std7is_sameISH_NSI_16numbe... | |
62,111 | nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<... | monkey531[P]llama/common/json.hpp | std::pair<iterator, bool> emplace(const key_type& key, T&& t)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return {it, false};
}
}
Container::emplace_back(key, std::forward<T>(t));
... | O2 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEE7emplaceERSJ_OSF_:
push r15
push r14
push r12
push rbx
push rax
mov r15, rdx
mov r12... | long long nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,minja::Value,std::less<nlohmann::json_abi_v3... | emplace:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV R12,RSI
MOV R14,RDI
MOV RBX,qword ptr [RDI]
LAB_0016a824:
CMP RBX,qword ptr [R14 + 0x8]
JZ 0x0016a83f
MOV RDI,RBX
MOV RSI,R12
CALL 0x00168d34
TEST AL,AL
JNZ 0x0016a859
ADD RBX,0x60
JMP 0x0016a824
LAB_0016a83f:
MOV RDI,R14
MOV RSI,R12
MOV RDX,R15
CALL... |
/* nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> ... | |
62,112 | nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<... | monkey531[P]llama/common/json.hpp | std::pair<iterator, bool> emplace(const key_type& key, T&& t)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return {it, false};
}
}
Container::emplace_back(key, std::forward<T>(t));
... | O3 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEE7emplaceERSJ_OSF_:
push r15
push r14
push r12
push rbx
push rax
mov r15, rdx
mov r12... | long long nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,minja::Value,std::less<nlohmann::json_abi_v3... | emplace:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV R12,RSI
MOV R14,RDI
MOV RBX,qword ptr [RDI]
CMP RBX,qword ptr [RDI + 0x8]
JZ 0x0018f625
LAB_0018f60c:
MOV RDI,RBX
MOV RSI,R12
CALL 0x0018d950
TEST AL,AL
JNZ 0x0018f63f
ADD RBX,0x60
CMP RBX,qword ptr [R14 + 0x8]
JNZ 0x0018f60c
LAB_0018f625:
MOV RDI,R1... |
/* nlohmann::json_abi_v3_11_3::ordered_map<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> ... | |
62,113 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | JSON_HEDLEY_WARN_UNUSED_RESULT
static basic_json parse(InputType&& i,
const parser_callback_t cb = nullptr,
const bool allow_exceptions = true,
const bool ignore_comments = false)
{
basic_json result;
parser(deta... | O1 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE5parseIS9_EESD_OT_St8functionIFbiNS0_6detail13parse_event_tERSD_EEbb:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0E8... | 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>::parse<std::string>(
long long a1,
long long *a2,
long long ... | parse<std::__cxx11::string>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xe8
MOV EBP,R8D
MOV R14D,ECX
MOV R13,RDX
MOV R12,RSI
MOV RBX,RDI
MOV byte ptr [RDI],0x0
MOV qword ptr [RDI + 0x8],0x0
MOV ESI,0x1
CALL 0x0013dcd2
MOV RDI,RBX
MOV ESI,0x1
CALL 0x0013dcd2
MOV R15,qword ptr [R12]
MOV R12,qword ptr ... |
/* 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::json_abi_v3_11_3::bas... | |
62,114 | vec_is_equal | corpus-core[P]colibri-stateless/build_O2/_deps/blst-src/src/vect.h | static inline bool_t vec_is_equal(const void *a, const void *b, size_t num)
{
const limb_t *ap = (const limb_t *)a;
const limb_t *bp = (const limb_t *)b;
limb_t acc;
size_t i;
#ifndef __BLST_NO_ASM__
bool_t vec_is_equal_16x(const void *a, const void *b, size_t num);
if ((num & 15) == 0)
... | O2 | c | vec_is_equal:
pushq %rbp
movq %rsp, %rbp
testb $0xf, %dl
je 0x52054
shrq $0x3, %rdx
xorl %eax, %eax
xorl %ecx, %ecx
cmpq %rcx, %rdx
je 0x52042
movq (%rsi,%rcx,8), %r8
xorq (%rdi,%rcx,8), %r8
orq %r8, %rax
incq %rcx
jmp 0x5202d
movq %rax, %rcx
notq %rcx
decq %rax
andq %rcx, %rax
shrq $0x3f, %rax
popq %rbp
retq
popq %rbp... | vec_is_equal:
push rbp
mov rbp, rsp
test dl, 0Fh
jz short loc_52054
shr rdx, 3
xor eax, eax
xor ecx, ecx
loc_5202D:
cmp rdx, rcx
jz short loc_52042
mov r8, [rsi+rcx*8]
xor r8, [rdi+rcx*8]
or rax, r8
inc rcx
jmp short loc_5202D
loc_52042:
mov rcx, rax
not ... | unsigned long long vec_is_equal(long long a1, long long a2, unsigned long long a3)
{
unsigned long long v3; // rdx
long long v4; // rax
long long i; // rcx
if ( (a3 & 0xF) == 0 )
return vec_is_equal_16x();
v3 = a3 >> 3;
v4 = 0LL;
for ( i = 0LL; v3 != i; ++i )
v4 |= *(_QWORD *)(a1 + 8 * i) ^ *(_Q... | vec_is_equal:
PUSH RBP
MOV RBP,RSP
TEST DL,0xf
JZ 0x00152054
SHR RDX,0x3
XOR EAX,EAX
XOR ECX,ECX
LAB_0015202d:
CMP RDX,RCX
JZ 0x00152042
MOV R8,qword ptr [RSI + RCX*0x8]
XOR R8,qword ptr [RDI + RCX*0x8]
OR RAX,R8
INC RCX
JMP 0x0015202d
LAB_00152042:
MOV RCX,RAX
NOT RCX
DEC RAX
AND RAX,RCX
SHR RAX,0x3f
POP RBP
RET
LAB_0... |
ulong vec_is_equal(long param_1,long param_2,ulong param_3)
{
ulong uVar1;
ulong uVar2;
if ((param_3 & 0xf) != 0) {
uVar1 = 0;
for (uVar2 = 0; param_3 >> 3 != uVar2; uVar2 = uVar2 + 1) {
uVar1 = uVar1 | *(ulong *)(param_2 + uVar2 * 8) ^ *(ulong *)(param_1 + uVar2 * 8);
}
return (uVar1 -... | |
62,115 | nglog::internal::CheckOpMessageBuilder::NewString[abi:cxx11]() | ng-log[P]ng-log/src/logging.cc | std::unique_ptr<string> CheckOpMessageBuilder::NewString() {
*stream_ << ")";
return std::make_unique<std::string>(stream_->str());
} | O3 | cpp | nglog::internal::CheckOpMessageBuilder::NewString[abi:cxx11]():
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rdi
leaq 0x13eb0(%rip), %rsi # 0x2207b
movl $0x1, %edx
callq 0x75d0
movq (%r14), %rsi
addq $0x8, %rsi
leaq 0x8(%rsp), %rdi
callq 0x7850
movl $0x20, %edi
callq 0x8e60
m... | _ZN5nglog8internal21CheckOpMessageBuilder9NewStringB5cxx11Ev:
push r14
push rbx
sub rsp, 28h
mov r14, rsi
mov rbx, rdi
mov rdi, [rsi]
lea rsi, aInitializelogg+1Ah; ")"
mov edx, 1
call __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l; std::__ostream_insert<c... | long long * nglog::internal::CheckOpMessageBuilder::NewString[abi:cxx11](long long *a1, _QWORD *a2)
{
long long v2; // rax
_QWORD v4[2]; // [rsp+8h] [rbp-30h] BYREF
__int128 v5; // [rsp+18h] [rbp-20h] BYREF
std::__ostream_insert<char,std::char_traits<char>>(*a2, ")", 1LL);
std::stringbuf::str(v4, *a2 + 8LL);... | NewString[abi:cxx11]:
PUSH R14
PUSH RBX
SUB RSP,0x28
MOV R14,RSI
MOV RBX,RDI
MOV RDI,qword ptr [RSI]
LEA RSI,[0x12207b]
MOV EDX,0x1
CALL 0x001075d0
MOV RSI,qword ptr [R14]
ADD RSI,0x8
LEA RDI,[RSP + 0x8]
CALL 0x00107850
LAB_0010e1e6:
MOV EDI,0x20
CALL 0x00108e60
LAB_0010e1f0:
MOV RCX,RAX
ADD RCX,0x10
MOV qword ptr [RAX... |
/* nglog::internal::CheckOpMessageBuilder::NewString[abi:cxx11]() */
void nglog::internal::CheckOpMessageBuilder::NewString_abi_cxx11_(void)
{
long *plVar1;
int8 *in_RSI;
int8 *in_RDI;
long *local_30;
long local_28;
long local_20;
long lStack_18;
std::__ostream_insert<char,std::char_traits<char>>(... | |
62,116 | ggml_opt_free | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-opt.cpp | void ggml_opt_free(ggml_opt_context_t opt_ctx) {
if (opt_ctx == nullptr) {
return;
}
ggml_backend_buffer_free(opt_ctx->buf_static);
ggml_backend_buffer_free(opt_ctx->buf_static_cpu);
ggml_free(opt_ctx->ctx_static);
ggml_free(opt_ctx->ctx_static_cpu);
delete opt_ctx;
} | O1 | cpp | ggml_opt_free:
testq %rdi, %rdi
je 0x2b8b2
pushq %rbx
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
callq 0x18d80
movq 0x40(%rbx), %rdi
callq 0x18d80
movq 0x18(%rbx), %rdi
callq 0x17270
movq 0x20(%rbx), %rdi
callq 0x17270
movl $0x1448, %esi # imm = 0x1448
movq %rbx, %rdi
popq %rbx
jmp 0x180e0
retq
| ggml_opt_free:
test rdi, rdi
jz short locret_2B8B2
push rbx
mov rbx, rdi
mov rdi, [rdi+38h]; void *
call _ggml_backend_buffer_free
mov rdi, [rbx+40h]; void *
call _ggml_backend_buffer_free
mov rdi, [rbx+18h]
call _ggml_free
mov rdi, [rbx+20h]
call _ggml_free
mov esi, 1448h... | void ggml_opt_free(void **a1)
{
if ( a1 )
{
ggml_backend_buffer_free(a1[7]);
ggml_backend_buffer_free(a1[8]);
ggml_free(a1[3]);
ggml_free(a1[4]);
operator delete(a1, 0x1448uLL);
}
}
| ggml_opt_free:
TEST RDI,RDI
JZ 0x0012b8b2
PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x38]
CALL 0x00118d80
MOV RDI,qword ptr [RBX + 0x40]
CALL 0x00118d80
MOV RDI,qword ptr [RBX + 0x18]
CALL 0x00117270
MOV RDI,qword ptr [RBX + 0x20]
CALL 0x00117270
MOV ESI,0x1448
MOV RDI,RBX
POP RBX
JMP 0x001180e0
LAB_0012b8b2:
RET
|
void ggml_opt_free(void *param_1)
{
if (param_1 != (void *)0x0) {
ggml_backend_buffer_free(*(int8 *)((long)param_1 + 0x38));
ggml_backend_buffer_free(*(int8 *)((long)param_1 + 0x40));
ggml_free(*(int8 *)((long)param_1 + 0x18));
ggml_free(*(int8 *)((long)param_1 + 0x20));
operator_delete(param_1,... | |
62,117 | ggml_opt_free | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-opt.cpp | void ggml_opt_free(ggml_opt_context_t opt_ctx) {
if (opt_ctx == nullptr) {
return;
}
ggml_backend_buffer_free(opt_ctx->buf_static);
ggml_backend_buffer_free(opt_ctx->buf_static_cpu);
ggml_free(opt_ctx->ctx_static);
ggml_free(opt_ctx->ctx_static_cpu);
delete opt_ctx;
} | O2 | cpp | ggml_opt_free:
testq %rdi, %rdi
je 0x2f911
pushq %rbx
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
callq 0x1fa90
movq 0x40(%rbx), %rdi
callq 0x1fa90
movq 0x18(%rbx), %rdi
callq 0x1d420
movq 0x20(%rbx), %rdi
callq 0x1d420
movl $0x1448, %esi # imm = 0x1448
movq %rbx, %rdi
popq %rbx
jmp 0x1e850
retq
| ggml_opt_free:
test rdi, rdi
jz short locret_2F911
push rbx
mov rbx, rdi
mov rdi, [rdi+38h]; void *
call _ggml_backend_buffer_free
mov rdi, [rbx+40h]; void *
call _ggml_backend_buffer_free
mov rdi, [rbx+18h]
call _ggml_free
mov rdi, [rbx+20h]
call _ggml_free
mov esi, 1448h... | void ggml_opt_free(void *a1, long long a2)
{
if ( a1 )
{
ggml_backend_buffer_free(*((void **)a1 + 7));
ggml_backend_buffer_free(*((void **)a1 + 8));
ggml_free(*((_QWORD *)a1 + 3), a2);
ggml_free(*((_QWORD *)a1 + 4), a2);
operator delete(a1, 0x1448uLL);
}
}
| ggml_opt_free:
TEST RDI,RDI
JZ 0x0012f911
PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x38]
CALL 0x0011fa90
MOV RDI,qword ptr [RBX + 0x40]
CALL 0x0011fa90
MOV RDI,qword ptr [RBX + 0x18]
CALL 0x0011d420
MOV RDI,qword ptr [RBX + 0x20]
CALL 0x0011d420
MOV ESI,0x1448
MOV RDI,RBX
POP RBX
JMP 0x0011e850
LAB_0012f911:
RET
|
void ggml_opt_free(void *param_1)
{
if (param_1 != (void *)0x0) {
ggml_backend_buffer_free(*(int8 *)((long)param_1 + 0x38));
ggml_backend_buffer_free(*(int8 *)((long)param_1 + 0x40));
ggml_free(*(int8 *)((long)param_1 + 0x18));
ggml_free(*(int8 *)((long)param_1 + 0x20));
operator_delete(param_1,... | |
62,118 | ggml_opt_free | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-opt.cpp | void ggml_opt_free(ggml_opt_context_t opt_ctx) {
if (opt_ctx == nullptr) {
return;
}
ggml_backend_buffer_free(opt_ctx->buf_static);
ggml_backend_buffer_free(opt_ctx->buf_static_cpu);
ggml_free(opt_ctx->ctx_static);
ggml_free(opt_ctx->ctx_static_cpu);
delete opt_ctx;
} | O3 | cpp | ggml_opt_free:
testq %rdi, %rdi
je 0x2a327
pushq %rbx
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
callq 0x17d70
movq 0x40(%rbx), %rdi
callq 0x17d70
movq 0x18(%rbx), %rdi
callq 0x16270
movq 0x20(%rbx), %rdi
callq 0x16270
movl $0x1448, %esi # imm = 0x1448
movq %rbx, %rdi
popq %rbx
jmp 0x170d0
retq
| ggml_opt_free:
test rdi, rdi
jz short locret_2A327
push rbx
mov rbx, rdi
mov rdi, [rdi+38h]; void *
call _ggml_backend_buffer_free
mov rdi, [rbx+40h]; void *
call _ggml_backend_buffer_free
mov rdi, [rbx+18h]
call _ggml_free
mov rdi, [rbx+20h]
call _ggml_free
mov esi, 1448h... | void ggml_opt_free(void **a1)
{
if ( a1 )
{
ggml_backend_buffer_free(a1[7]);
ggml_backend_buffer_free(a1[8]);
ggml_free(a1[3]);
ggml_free(a1[4]);
operator delete(a1, 0x1448uLL);
}
}
| ggml_opt_free:
TEST RDI,RDI
JZ 0x0012a327
PUSH RBX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x38]
CALL 0x00117d70
MOV RDI,qword ptr [RBX + 0x40]
CALL 0x00117d70
MOV RDI,qword ptr [RBX + 0x18]
CALL 0x00116270
MOV RDI,qword ptr [RBX + 0x20]
CALL 0x00116270
MOV ESI,0x1448
MOV RDI,RBX
POP RBX
JMP 0x001170d0
LAB_0012a327:
RET
|
void ggml_opt_free(void *param_1)
{
if (param_1 != (void *)0x0) {
ggml_backend_buffer_free(*(int8 *)((long)param_1 + 0x38));
ggml_backend_buffer_free(*(int8 *)((long)param_1 + 0x40));
ggml_free(*(int8 *)((long)param_1 + 0x18));
ggml_free(*(int8 *)((long)param_1 + 0x20));
operator_delete(param_1,... | |
62,119 | del | eloqsql/storage/myisam/mi_delete.c | static int del(register MI_INFO *info, register MI_KEYDEF *keyinfo, uchar *key,
uchar *anc_buff, my_off_t leaf_page, uchar *leaf_buff,
uchar *keypos, /* Pos to where deleted key was */
my_off_t next_block,
uchar *ret_key) /* key before keypos in anc_buff */
{
int ret_value,length;
... | O3 | c | del:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x538, %rsp # imm = 0x538
movq %r9, %r14
movq %r8, -0x518(%rbp)
movq %rcx, -0x510(%rbp)
movq %rdx, -0x520(%rbp)
movq %rsi, %rbx
movq %rdi, %r15
movq 0x10(%rbp), %rax
movq %rax, -0x500(%rbp)
movq %fs:0x28, %rax
movq %... | del_0:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 538h
mov r14, r9
mov [rbp+var_518], r8
mov [rbp+var_510], rcx
mov [rbp+var_520], rdx
mov rbx, rsi
mov r15, rdi
mov rax, [rbp+arg_0]
mov [rbp+var_500], rax
mov rax, fs:28h
mov ... | long long del_0(
_BYTE *a1,
long long a2,
long long a3,
_BYTE *a4,
long long a5,
char *a6,
_BYTE *a7,
long long a8,
long long a9)
{
char *v12; // r12
long long last_key; // rax
unsigned int v14; // r13d
long long v16; // rdi
long long v1... | del:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x538
MOV R14,R9
MOV qword ptr [RBP + -0x518],R8
MOV qword ptr [RBP + -0x510],RCX
MOV qword ptr [RBP + -0x520],RDX
MOV RBX,RSI
MOV R15,RDI
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x500],RAX
MOV RAX,qword ptr FS:[0x28]
MOV qword ... |
uint del(long *param_1,long param_2,int8 param_3,byte *param_4,ulong param_5,ushort *param_6,
byte *param_7,int8 param_8,byte *param_9)
{
byte *pbVar1;
byte bVar2;
byte bVar3;
int8 uVar4;
ushort uVar5;
int iVar6;
uint uVar7;
long lVar8;
long lVar9;
long lVar10;
byte *pbVar11;
int1 *puV... | |
62,120 | TerminalSupportsColor() | ng-log[P]ng-log/src/logging.cc | static bool TerminalSupportsColor() {
bool term_supports_color = false;
#ifdef NGLOG_OS_WINDOWS
// on Windows TERM variable is usually not set, but the console does
// support colors.
term_supports_color = true;
#else
// On non-Windows platforms, we rely on the TERM variable.
const char* const term = getenv... | O0 | cpp | TerminalSupportsColor():
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb $0x0, -0x1(%rbp)
leaq 0x418c0(%rip), %rdi # 0x51233
callq 0x98d0
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0xfaca
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
je 0xfaca
movq -0x10(%rbp), %rdi
leaq 0x40398(%rip), %rsi ... | _ZL21TerminalSupportsColorv:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_1], 0
lea rdi, aSigterm+3; "TERM"
call _getenv
mov [rbp+var_10], rax
cmp [rbp+var_10], 0
jz loc_FACA
mov rax, [rbp+var_10]
movsx eax, byte ptr [rax]
cmp eax, 0
jz loc_FACA
mov rdi, [rbp+var... | char TerminalSupportsColor(void)
{
char v1; // [rsp+Fh] [rbp-11h]
_BYTE *v2; // [rsp+10h] [rbp-10h]
char v3; // [rsp+1Fh] [rbp-1h]
v3 = 0;
v2 = (_BYTE *)getenv("TERM");
if ( v2 && *v2 )
{
v1 = 1;
if ( (unsigned int)strcmp(v2, "xterm") )
{
v1 = 1;
if ( (unsigned int)strcmp(v2, "xte... | TerminalSupportsColor:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV byte ptr [RBP + -0x1],0x0
LEA RDI,[0x151233]
CALL 0x001098d0
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JZ 0x0010faca
MOV RAX,qword ptr [RBP + -0x10]
MOVSX EAX,byte ptr [RAX]
CMP EAX,0x0
JZ 0x0010faca
MOV RDI,qword ptr [RBP + -0x10]
LEA R... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* TerminalSupportsColor() */
byte TerminalSupportsColor(void)
{
int iVar1;
char *__s1;
byte local_19;
byte local_9;
local_9 = 0;
__s1 = getenv("TERM");
if ((__s1 != (char *)0x0) && (*__s1 != '\0')) {
iVar1 = strcmp(__s... | |
62,121 | minja::SetNode::SetNode(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>... | monkey531[P]llama/common/minja.hpp | SetNode(const Location & location, const std::string & ns, const std::vector<std::string> & vns, std::shared_ptr<Expression> && v)
: TemplateNode(location), ns(ns), var_names(vns), value(std::move(v)) {} | O1 | cpp | minja::SetNode::SetNode(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>... | _ZN5minja7SetNodeC2ERKNS_8LocationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS9_SaIS9_EEOSt10shared_ptrINS_10ExpressionEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, r8
mov r15, rcx
mov rbx, rdi
lea r13, _ZTVN5minja12TemplateNodeE... | long long minja::SetNode::SetNode(long long a1, _QWORD *a2, long long a3, _QWORD *a4, __int128 *a5)
{
long long v7; // rax
long long result; // rax
__int128 v9; // xmm0
*(_QWORD *)a1 = &`vtable for'minja::TemplateNode + 2;
*(_QWORD *)(a1 + 8) = *a2;
v7 = a2[1];
*(_QWORD *)(a1 + 16) = v7;
if ( v7 )
{... | SetNode:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,R8
MOV R15,RCX
MOV RBX,RDI
LEA R13,[0x1ee148]
ADD R13,0x10
MOV qword ptr [RDI],R13
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 0x0018302d
MOV RCX,qword p... |
/* minja::SetNode::SetNode(minja::Location const&, std::__cxx11::string const&,
std::vector<std::__cxx11::string, std::allocator<std::__cxx11::string > > const&,
std::shared_ptr<minja::Expression>&&) */
void __thiscall
minja::SetNode::SetNode
(SetNode *this,Location *param_1,string *param_2,vector *pa... | |
62,122 | minja::SetNode::SetNode(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>... | monkey531[P]llama/common/minja.hpp | SetNode(const Location & location, const std::string & ns, const std::vector<std::string> & vns, std::shared_ptr<Expression> && v)
: TemplateNode(location), ns(ns), var_names(vns), value(std::move(v)) {} | O2 | cpp | minja::SetNode::SetNode(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, 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>>... | _ZN5minja7SetNodeC2ERKNS_8LocationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS9_SaIS9_EEOSt10shared_ptrINS_10ExpressionEE:
push r15
push r14
push r13
push r12
push rbx
mov r14, r8
mov r15, rcx
mov r13, rdx
mov rbx, rdi
call _ZN5minja12TemplateNodeC2ERKNS_8Locati... | long long minja::SetNode::SetNode(long long a1, _QWORD *a2, long long a3, _QWORD *a4, __int128 *a5)
{
long long result; // rax
__int128 v8; // xmm0
minja::TemplateNode::TemplateNode((_QWORD *)a1, a2);
*(_QWORD *)a1 = &`vtable for'minja::SetNode + 2;
std::string::basic_string(a1 + 32);
result = std::vector... | SetNode:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV R14,R8
MOV R15,RCX
MOV R13,RDX
MOV RBX,RDI
CALL 0x0016ef5e
LEA RAX,[0x1db4c8]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
LEA R12,[RBX + 0x20]
LAB_0017159c:
MOV RDI,R12
MOV RSI,R13
CALL 0x00121960
LEA RDI,[RBX + 0x40]
LAB_001715ab:
MOV RSI,R15
CALL 0x00135ebc
LAB_00171... |
/* minja::SetNode::SetNode(minja::Location const&, std::__cxx11::string const&,
std::vector<std::__cxx11::string, std::allocator<std::__cxx11::string > > const&,
std::shared_ptr<minja::Expression>&&) */
void __thiscall
minja::SetNode::SetNode
(SetNode *this,Location *param_1,string *param_2,vector *pa... | |
62,123 | my_strcasecmp_utf8mb3 | eloqsql/strings/ctype-utf8.c | static
int my_strcasecmp_utf8mb3(CHARSET_INFO *cs, const char *s, const char *t)
{
MY_UNICASE_INFO *uni_plane= cs->caseinfo;
while (s[0] && t[0])
{
my_wc_t s_wc,t_wc;
if ((uchar) s[0] < 128)
{
/*
s[0] is between 0 and 127.
It represents a single byte character.
Conv... | O0 | c | my_strcasecmp_utf8mb3:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x78(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x41(%rbp)
je 0x6f241
movq -0x... | my_strcasecmp_utf8mb3:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov rax, [rbp+var_10]
mov rax, [rax+78h]
mov [rbp+var_28], rax
loc_6F220:
mov rax, [rbp+var_18]
movsx ecx, byte ptr [rax]
xor eax, eax
cmp ecx, 0
m... | long long my_strcasecmp_utf8mb3(long long a1, _BYTE *a2, _BYTE *a3, long long a4, long long a5, long long a6)
{
bool v7; // [rsp+Fh] [rbp-41h]
int v8; // [rsp+10h] [rbp-40h]
int v9; // [rsp+14h] [rbp-3Ch]
long long v10; // [rsp+18h] [rbp-38h] BYREF
long long v11; // [rsp+20h] [rbp-30h] BYREF
long long v12;... | my_strcasecmp_utf8mb3:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x78]
MOV qword ptr [RBP + -0x28],RAX
LAB_0016f220:
MOV RAX,qword ptr [RBP + -0x18]
MOVSX ECX,byte ptr [RAX]
X... |
int my_strcasecmp_utf8mb3(long param_1,byte *param_2,byte *param_3)
{
int iVar1;
bool bVar2;
ulong local_40;
ulong local_38;
int8 local_30;
byte *local_28;
byte *local_20;
long local_18;
local_30 = *(int8 *)(param_1 + 0x78);
local_28 = param_3;
local_20 = param_2;
local_18 = param_1;
do {... | |
62,124 | my_strcasecmp_utf8mb3 | eloqsql/strings/ctype-utf8.c | static
int my_strcasecmp_utf8mb3(CHARSET_INFO *cs, const char *s, const char *t)
{
MY_UNICASE_INFO *uni_plane= cs->caseinfo;
while (s[0] && t[0])
{
my_wc_t s_wc,t_wc;
if ((uchar) s[0] < 128)
{
/*
s[0] is between 0 and 127.
It represents a single byte character.
Conv... | O3 | c | my_strcasecmp_utf8mb3:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r13
movb (%rsi), %al
testb %al, %al
je 0x55064
movq %rsi, %r14
movq 0x78(%rdi), %r15
leaq 0x2f48e7(%rip), %r12 # 0x349880
cmpb $0x0, (%r13)
je 0x5505f
testb %al, %al
js 0x54fbd
movzbl... | my_strcasecmp_utf8mb3:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r13, rdx
mov al, [rsi]
test al, al
jz loc_55064
mov r14, rsi
mov r15, [rdi+78h]
lea r12, my_unicase_default_page00
loc_54F99:
cmp byte ptr [r13+0], 0
jz ... | long long my_strcasecmp_utf8mb3(long long a1, unsigned __int8 *a2, unsigned __int8 *a3)
{
unsigned __int8 v4; // al
unsigned __int8 *v5; // r14
long long v6; // r15
unsigned long long v7; // rbx
int v8; // eax
long long v9; // rax
long long v10; // rax
unsigned long long v11; // rax
int v12; // eax
... | my_strcasecmp_utf8mb3:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R13,RDX
MOV AL,byte ptr [RSI]
TEST AL,AL
JZ 0x00155064
MOV R14,RSI
MOV R15,qword ptr [RDI + 0x78]
LEA R12,[0x449880]
LAB_00154f99:
CMP byte ptr [R13],0x0
JZ 0x0015505f
TEST AL,AL
JS 0x00154fbd
MOVZX EAX,AL
LEA RAX,... |
int my_strcasecmp_utf8mb3(long param_1,byte *param_2,byte *param_3)
{
long lVar1;
long lVar2;
byte bVar3;
uint uVar4;
int iVar5;
ulong uVar6;
ulong local_40;
ulong local_38;
bVar3 = *param_2;
if (bVar3 == 0) {
uVar4 = 0;
}
else {
lVar1 = *(long *)(param_1 + 0x78);
do {
if ... | |
62,125 | bf_log | bluesky950520[P]quickjs/libbf.c | int bf_log(bf_t *r, const bf_t *a, limb_t prec, bf_flags_t flags)
{
bf_context_t *s = r->ctx;
bf_t T_s, *T = &T_s;
assert(r != a);
if (a->len == 0) {
if (a->expn == BF_EXP_NAN) {
bf_set_nan(r);
return 0;
} else if (a->expn == BF_EXP_INF) {
if (a->sign... | O0 | c | bf_log:
subq $0x68, %rsp
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq %rdx, 0x48(%rsp)
movl %ecx, 0x44(%rsp)
movq 0x58(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x38(%rsp)
leaq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x50(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0xed756
movq 0x50(%rsp), %rax
movabsq $0x7ffffffffffff... | bf_log:
sub rsp, 68h
mov [rsp+68h+var_10], rdi
mov [rsp+68h+var_18], rsi
mov [rsp+68h+var_20], rdx
mov [rsp+68h+var_24], ecx
mov rax, [rsp+68h+var_10]
mov rax, [rax]
mov [rsp+68h+var_30], rax
lea rax, [rsp+68h+var_58]
mov [rsp+68h+var_60], rax
mov rax, [rsp+68h+var_18]
cmp ... | long long bf_log(_QWORD *a1, long long a2, long long a3, unsigned int a4)
{
long long v4; // rdx
long long v5; // rcx
long long v6; // r8
long long v7; // r9
long long v8; // rdx
long long v9; // rcx
long long v10; // r8
long long v11; // r9
long long v13[5]; // [rsp+10h] [rbp-58h] BYREF
long long ... | bf_log:
SUB RSP,0x68
MOV qword ptr [RSP + 0x58],RDI
MOV qword ptr [RSP + 0x50],RSI
MOV qword ptr [RSP + 0x48],RDX
MOV dword ptr [RSP + 0x44],ECX
MOV RAX,qword ptr [RSP + 0x58]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RSP + 0x38],RAX
LEA RAX,[RSP + 0x10]
MOV qword ptr [RSP + 0x8],RAX
MOV RAX,qword ptr [RSP + 0x50]
CMP qwo... |
int4 bf_log(int8 *param_1,long param_2,int8 param_3,int4 param_4)
{
int iVar1;
int1 local_58 [40];
int8 local_30;
int4 local_24;
int8 local_20;
long local_18;
int8 *local_10;
int4 local_4;
local_30 = *param_1;
local_24 = param_4;
local_20 = param_3;
local_18 = param_2;
local_10 = param_1;... | |
62,126 | bf_log | bluesky950520[P]quickjs/libbf.c | int bf_log(bf_t *r, const bf_t *a, limb_t prec, bf_flags_t flags)
{
bf_context_t *s = r->ctx;
bf_t T_s, *T = &T_s;
assert(r != a);
if (a->len == 0) {
if (a->expn == BF_EXP_NAN) {
bf_set_nan(r);
return 0;
} else if (a->expn == BF_EXP_INF) {
if (a->sign... | O1 | c | bf_log:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movabsq $0x7fffffffffffffff, %r13 # imm = 0x7FFFFFFFFFFFFFFF
movq (%rdi), %rax
cmpq $0x0, 0x18(%rsi)
je 0x8a535
cmpl $0x0, 0x8(%r14)
je 0x8a57d
cmpq $0x0, 0x18(%rbx)
je 0x8a520
movq 0x20(%rbx), %rs... | bf_log:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r14, rsi
mov rbx, rdi
mov r13, 7FFFFFFFFFFFFFFFh
mov rax, [rdi]
cmp qword ptr [rsi+18h], 0
jz short loc_8A535
cmp dword ptr [r14+8], 0
jz short loc_8A57D
cmp qword ptr [rbx+18h], 0
... | long long bf_log(_QWORD *a1, long long a2, long long a3, unsigned int a4)
{
long long v4; // r13
_QWORD *v5; // rax
unsigned int v6; // ebx
long long v7; // rcx
long long v11; // rcx
_QWORD *v12; // [rsp+0h] [rbp-58h] BYREF
int v13; // [rsp+8h] [rbp-50h]
unsigned long long v14; // [rsp+10h] [rbp-48h]
... | bf_log:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R14,RSI
MOV RBX,RDI
MOV R13,0x7fffffffffffffff
MOV RAX,qword ptr [RDI]
CMP qword ptr [RSI + 0x18],0x0
JZ 0x0018a535
CMP dword ptr [R14 + 0x8],0x0
JZ 0x0018a57d
CMP qword ptr [RBX + 0x18],0x0
JZ 0x0018a520
LAB_0018a508:
MOV RSI,qword ptr [RBX... |
int8 bf_log(long *param_1,long param_2,int8 param_3,int4 param_4)
{
int iVar1;
long lVar2;
int8 uVar3;
long lVar4;
int8 *local_58;
int4 local_50;
int8 local_48;
int8 local_40;
long lStack_38;
lVar4 = 0x7fffffffffffffff;
local_58 = (int8 *)*param_1;
if (*(long *)(param_2 + 0x18) == 0) {
... | |
62,127 | safe_lexcstrdup_root | eloqsql/mysys/my_alloc.c | LEX_CSTRING safe_lexcstrdup_root(MEM_ROOT *root, const LEX_CSTRING str)
{
LEX_CSTRING res;
if (str.length)
res.str= strmake_root(root, str.str, str.length);
else
res.str= (const char *)"";
res.length= str.length;
return res;
} | O0 | c | safe_lexcstrdup_root:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rsi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x6aff2
movq -0x28(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x6af10
movq %rax, -0x10(%rbp)
jmp 0x6affd
leaq 0x4a6e6(%rip), %rax # 0x... | safe_lexcstrdup_root:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_20], rsi
mov [rbp+var_18], rdx
mov [rbp+var_28], rdi
cmp [rbp+var_18], 0
jz short loc_6AFF2
mov rdi, [rbp+var_28]
mov rsi, [rbp+var_20]
mov rdx, [rbp+var_18]
call strmake_root
mov [rbp+var_10], rax
j... | char * safe_lexcstrdup_root(_QWORD **a1, long long a2, long long a3)
{
if ( a3 )
return strmake_root(a1, a2, a3);
else
return "";
}
| safe_lexcstrdup_root:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x28],RDI
CMP qword ptr [RBP + -0x18],0x0
JZ 0x0016aff2
MOV RDI,qword ptr [RBP + -0x28]
MOV RSI,qword ptr [RBP + -0x20]
MOV RDX,qword ptr [RBP + -0x18]
CALL 0x0016af10
MOV qword ... |
int1 [16] safe_lexcstrdup_root(int8 param_1,int8 param_2,long param_3)
{
int1 auVar1 [16];
int *local_18;
if (param_3 == 0) {
local_18 = &DAT_001b56df;
}
else {
local_18 = (int *)strmake_root(param_1,param_2,param_3);
}
auVar1._8_8_ = param_3;
auVar1._0_8_ = local_18;
return auVar1;
}
| |
62,128 | inline_mysql_cond_broadcast | eloqsql/include/mysql/psi/mysql_thread.h | static inline int inline_mysql_cond_broadcast(
mysql_cond_t *that)
{
int result;
#ifdef HAVE_PSI_COND_INTERFACE
if (psi_likely(that->m_psi != NULL))
PSI_COND_CALL(broadcast_cond)(that->m_psi);
#endif
result= pthread_cond_broadcast(&that->m_cond);
return result;
} | O0 | c | inline_mysql_cond_broadcast:
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 0x5f39b
leaq 0x261dd1(%rip), %rax # 0x2c1158
movq (%ra... | inline_mysql_cond_broadcast_1:
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_5F39B
lea rax, PSI_serv... | long long inline_mysql_cond_broadcast_1(long long a1)
{
if ( *(_QWORD *)(a1 + 48) )
((void ( *)(_QWORD))PSI_server[47])(*(_QWORD *)(a1 + 48));
return (unsigned int)pthread_cond_broadcast(a1);
}
| inline_mysql_cond_broadcast:
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 0x0015f39b
LEA RAX,[0x3c1158]
MOV RAX,qword ptr [RAX]
MOV RAX,qwor... |
int inline_mysql_cond_broadcast(pthread_cond_t *param_1)
{
int iVar1;
if (param_1[1].__align != 0) {
(**(code **)(PSI_server + 0x178))(param_1[1].__align);
}
iVar1 = pthread_cond_broadcast(param_1);
return iVar1;
}
| |
62,129 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | reference operator[](size_type idx)
{
// implicitly convert null value to an empty array
if (is_null())
{
m_data.m_type = value_t::array;
m_data.m_value.array = create<array_t>();
assert_invariant();
}
// operator[] only works for arrays
... | O2 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEixEm:
push rbp; char
push r14; int
push rbx; int
sub rsp, 30h
mov r14, rsi
mov rbx, rdi
mov al, [rdi]
test al, al
jnz short lo... | 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,
unsigned long long a2)
{
char v3; // al... | operator[]:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV R14,RSI
MOV RBX,RDI
MOV AL,byte ptr [RDI]
TEST AL,AL
JNZ 0x00166de9
MOV byte ptr [RBX],0x2
CALL 0x0014d21c
MOV qword ptr [RBX + 0x8],RAX
PUSH 0x1
POP RSI
MOV RDI,RBX
CALL 0x001418da
MOV AL,byte ptr [RBX]
LAB_00166de9:
CMP AL,0x2
JNZ 0x00166e32
MOV RDI,qword ptr [R... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>::operator[](unsigned long) */
... | |
62,130 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | reference operator[](size_type idx)
{
// implicitly convert null value to an empty array
if (is_null())
{
m_data.m_type = value_t::array;
m_data.m_value.array = create<array_t>();
assert_invariant();
}
// operator[] only works for arrays
... | 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_IhSaIhEEvEixEm:
push rbp; char
push r14; int
push rbx; __int64
sub rsp, 30h
mov rbx, rsi
mov r14, rdi
mov al, [rdi]
test al, al
jnz shor... | 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,
unsigned long long a2)
{
char v3; // al... | operator[]:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV RBX,RSI
MOV R14,RDI
MOV AL,byte ptr [RDI]
TEST AL,AL
JNZ 0x00173092
MOV byte ptr [R14],0x2
MOV EDI,0x18
CALL 0x0011a720
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 0x001426... |
/* 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[](unsigned long) */
... | |
62,131 | MNN::IfParam::UnPackTo(MNN::IfParamT*, std::__1::function<void (void**, unsigned long)> const*) const | mnn-tts/MNN/schema/current/MNN_generated.h | inline void IfParam::UnPackTo(IfParamT *_o, const flatbuffers::resolver_function_t *_resolver) const {
(void)_o;
(void)_resolver;
{ auto _e = then_graph(); if (_e) _o->then_graph = _e->str(); };
{ auto _e = else_graph(); if (_e) _o->else_graph = _e->str(); };
{ auto _e = aliases_inputs(); if (_e) { _o->aliase... | O0 | c | MNN::IfParam::UnPackTo(MNN::IfParamT*, std::__1::function<void (void**, unsigned long)> const*) const:
subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rdx, 0xa0(%rsp)
movq 0xb0(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x54fb0
movq %rax, 0x98(%rsp)
cmpq $0x0, 0x98(%rsp)
je 0x7eafb
movq 0x98(%rsp), %rsi... | _ZNK3MNN7IfParam8UnPackToEPNS_8IfParamTEPKNSt3__18functionIFvPPvmEEE:
sub rsp, 0B8h
mov [rsp+0B8h+var_8], rdi
mov [rsp+0B8h+var_10], rsi
mov [rsp+0B8h+var_18], rdx
mov rdi, [rsp+0B8h+var_8]; this
mov [rsp+0B8h+var_90], rdi
call _ZNK3MNN7IfParam10then_graphEv; MNN::IfParam::then_graph(void)
mo... | unsigned int * MNN::IfParam::UnPackTo(MNN::IfParam *a1, long long a2, long long a3)
{
unsigned int v3; // eax
long long v4; // rax
MNN::StringVecT *v5; // rax
long long v6; // rax
unsigned int *result; // rax
unsigned int v8; // eax
unsigned int v9; // ecx
long long v10; // rax
MNN::StringVecT *v11; /... | UnPackTo:
SUB RSP,0xb8
MOV qword ptr [RSP + 0xb0],RDI
MOV qword ptr [RSP + 0xa8],RSI
MOV qword ptr [RSP + 0xa0],RDX
MOV RDI,qword ptr [RSP + 0xb0]
MOV qword ptr [RSP + 0x28],RDI
CALL 0x00154fb0
MOV qword ptr [RSP + 0x98],RAX
CMP qword ptr [RSP + 0x98],0x0
JZ 0x0017eafb
MOV RSI,qword ptr [RSP + 0x98]
LEA RDI,[RSP + 0x80... |
/* MNN::IfParam::UnPackTo(MNN::IfParamT*, std::function<void (void**, unsigned long)> const*) const
*/
void __thiscall MNN::IfParam::UnPackTo(IfParam *this,IfParamT *param_1,function *param_2)
{
uint uVar1;
uint uVar2;
vector<std::unique_ptr<MNN::StringVecT,std::default_delete<MNN::StringVecT>>,std::alloca... | |
62,132 | gguf_add_tensor | Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp | void gguf_add_tensor(
struct gguf_context * ctx,
const struct ggml_tensor * tensor) {
GGML_ASSERT(tensor);
if (gguf_find_tensor(ctx, tensor->name) != -1) {
GGML_ABORT("duplicate tensor name: %s", tensor->name);
}
struct gguf_tensor_info ti;
ti.t = *tensor;
ti.offset... | O0 | cpp | gguf_add_tensor:
pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp # imm = 0x180
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x8e48b
leaq 0x34158(%rip), %rdi # 0xc25c9
movl $0x442, %esi # imm = 0x442
leaq 0x2318c(%rip), %rdx # 0xb1609
leaq 0x25934(%rip), %rcx # 0... | gguf_add_tensor:
push rbp
mov rbp, rsp
sub rsp, 180h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
cmp [rbp+var_10], 0
jnz short loc_8E48B
lea rdi, aWorkspaceLlm4b_5; "/workspace/llm4binary/github/2025_star3"...
mov esi, 442h
lea rdx, aGgmlAssertSFai; "GGML_ASSERT(%s) failed"
lea ... | long long gguf_add_tensor(long long a1, long long a2)
{
long long v2; // rdx
unsigned int *v3; // rax
long long v4; // rax
long long v6; // [rsp+8h] [rbp-178h]
long long v7; // [rsp+10h] [rbp-170h]
_BYTE v8[336]; // [rsp+18h] [rbp-168h] BYREF
long long v9; // [rsp+168h] [rbp-18h]
long long v10; // [rsp... | gguf_add_tensor:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x180
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
CMP qword ptr [RBP + -0x10],0x0
JNZ 0x0018e48b
LEA RDI,[0x1c25c9]
MOV ESI,0x442
LEA RDX,[0x1b1609]
LEA RCX,[0x1b3db8]
MOV AL,0x0
CALL 0x00148a00
LAB_0018e48b:
MOV RDI,qword ptr [RBP + -0x8]
MOV RSI,qword p... |
void gguf_add_tensor(long param_1,void *param_2)
{
long lVar1;
ulong uVar2;
int8 uVar3;
long local_178;
gguf_tensor_info local_170 [336];
long local_20;
void *local_18;
long local_10;
local_18 = param_2;
local_10 = param_1;
if (param_2 == (void *)0x0) {
ggml_abort("/workspace/llm4binary/g... | |
62,133 | my_tosort_utf16 | eloqsql/strings/ctype-ucs2.c | static inline void
my_tosort_utf16(MY_UNICASE_INFO *uni_plane, my_wc_t *wc)
{
if (*wc <= uni_plane->maxchar)
{
MY_UNICASE_CHARACTER *page;
if ((page= uni_plane->page[*wc >> 8]))
*wc= page[*wc & 0xFF].sort;
}
else
{
*wc= MY_CS_REPLACEMENT_CHARACTER;
}
} | O0 | c | my_tosort_utf16:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq -0x8(%rbp), %rcx
cmpq (%rcx), %rax
ja 0xae7c4
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
shrq $0x8, %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x... | my_tosort_utf16:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
mov rax, [rax]
mov rcx, [rbp+var_8]
cmp rax, [rcx]
ja short loc_AE7C4
mov rax, [rbp+var_8]
mov rax, [rax+8]
mov rcx, [rbp+var_10]
mov rcx, [rcx]
shr rcx, 8
mov ... | _QWORD * my_tosort_utf16(_QWORD *a1, _QWORD *a2)
{
_QWORD *result; // rax
_QWORD *v3; // [rsp+0h] [rbp-18h]
if ( *a2 > *a1 )
{
result = a2;
*a2 = 65533LL;
}
else
{
result = *(_QWORD **)(a1[1] + 8LL * (*a2 >> 8));
v3 = result;
if ( result )
{
result = a2;
*a2 = *((unsig... | my_tosort_utf16:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RCX,qword ptr [RBP + -0x8]
CMP RAX,qword ptr [RCX]
JA 0x001ae7c4
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RCX,qword ptr [RBP + -0x10]
M... |
void my_tosort_utf16(ulong *param_1,ulong *param_2)
{
long lVar1;
if (*param_1 < *param_2) {
*param_2 = 0xfffd;
}
else {
lVar1 = *(long *)(param_1[1] + (*param_2 >> 8) * 8);
if (lVar1 != 0) {
*param_2 = (ulong)*(uint *)(lVar1 + (*param_2 & 0xff) * 0xc + 8);
}
}
return;
}
| |
62,134 | mi_store_blob_length | eloqsql/storage/myisam/mi_dynrec.c | void _mi_store_blob_length(uchar *pos,uint pack_length,uint length)
{
switch (pack_length) {
case 1:
*pos= (uchar) length;
break;
case 2:
int2store(pos,length);
break;
case 3:
int3store(pos,length);
break;
case 4:
int4store(pos,length);
default:
break;
}
return;
} | O3 | c | mi_store_blob_length:
pushq %rbp
movq %rsp, %rbp
decl %esi
cmpl $0x3, %esi
ja 0x41faa
leaq 0x70c13(%rip), %rax # 0xb2b9c
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movb %dl, (%rdi)
jmp 0x41faa
movb %dl, (%rdi)
movb %dh, 0x1(%rdi)
shrl $0x10, %edx
movb %dl, 0x2(%rdi)
jmp 0x41faa
movl %edx, (%rdi)
jmp 0x41... | _mi_store_blob_length:
push rbp
mov rbp, rsp
dec esi; switch 4 cases
cmp esi, 3
ja short def_41F90; jumptable 0000000000041F90 default case
lea rax, jpt_41F90
movsxd rcx, ds:(jpt_41F90 - 0B2B9Ch)[rax+rsi*4]
add rcx, rax
jmp rcx; switch jump
loc_41F92:
mov [rdi], dl; jumptable 000000... | void mi_store_blob_length(_BYTE *a1, int a2, int a3)
{
switch ( a2 )
{
case 1:
*a1 = a3;
break;
case 2:
*(_WORD *)a1 = a3;
break;
case 3:
*(_WORD *)a1 = a3;
a1[2] = BYTE2(a3);
break;
case 4:
*(_DWORD *)a1 = a3;
break;
default:
return;
... | _mi_store_blob_length:
PUSH RBP
MOV RBP,RSP
DEC ESI
CMP ESI,0x3
JA 0x00141faa
LEA RAX,[0x1b2b9c]
MOVSXD RCX,dword ptr [RAX + RSI*0x4]
ADD RCX,RAX
switchD:
JMP RCX
caseD_1:
MOV byte ptr [RDI],DL
JMP 0x00141faa
caseD_3:
MOV byte ptr [RDI],DL
MOV byte ptr [RDI + 0x1],DH
SHR EDX,0x10
MOV byte ptr [RDI + 0x2],DL
JMP 0x00141... |
void _mi_store_blob_length(int4 *param_1,int4 param_2,int4 param_3)
{
switch(param_2) {
case 1:
*(char *)param_1 = (char)param_3;
break;
case 2:
*(short *)param_1 = (short)param_3;
break;
case 3:
*(char *)param_1 = (char)param_3;
*(char *)((long)param_1 + 1) = (char)((uint)param_3 >> 8... | |
62,135 | add_cfg_dir | eloqsql/libmariadb/libmariadb/ma_default.c | static int add_cfg_dir(char **cfg_dirs, const char *directory)
{
int i;
for (i = 0; i < MAX_CONFIG_DIRS && cfg_dirs[i]; i++)
if (!strcmp(cfg_dirs[i], directory)) /* already present */
return 0;
if (i < MAX_CONFIG_DIRS) {
cfg_dirs[i]= strdup(directory);
return 0;
}
return 1;
} | O3 | c | add_cfg_dir:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
movq (%rbx,%r15,8), %rdi
testq %rdi, %rdi
je 0x35708
movq %r14, %rsi
callq 0x13640
testl %eax, %eax
je 0x35714
incq %r15
cmpq $0x6, %r15
jne 0x356e3
movl $0x1, %eax
jmp 0x35716
movq %r14... | add_cfg_dir:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
xor r15d, r15d
loc_356E3:
mov rdi, [rbx+r15*8]
test rdi, rdi
jz short loc_35708
mov rsi, r14
call _strcmp
test eax, eax
jz short loc_35714
inc r15
cmp r15, 6... | long long add_cfg_dir(long long a1, long long a2)
{
long long v3; // r15
long long v4; // rdi
v3 = 0LL;
while ( 1 )
{
v4 = *(_QWORD *)(a1 + 8 * v3);
if ( !v4 )
break;
if ( !(unsigned int)strcmp(v4, a2) )
return 0LL;
if ( ++v3 == 6 )
return 1LL;
}
*(_QWORD *)(a1 + 8 * v3... | add_cfg_dir:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
XOR R15D,R15D
LAB_001356e3:
MOV RDI,qword ptr [RBX + R15*0x8]
TEST RDI,RDI
JZ 0x00135708
MOV RSI,R14
CALL 0x00113640
TEST EAX,EAX
JZ 0x00135714
INC R15
CMP R15,0x6
JNZ 0x001356e3
MOV EAX,0x1
JMP 0x00135716
LAB_00135708:
MOV RD... |
int8 add_cfg_dir(long param_1,char *param_2)
{
int iVar1;
char *pcVar2;
long lVar3;
lVar3 = 0;
while( true ) {
pcVar2 = *(char **)(param_1 + lVar3 * 8);
if (pcVar2 == (char *)0x0) {
pcVar2 = strdup(param_2);
*(char **)(param_1 + lVar3 * 8) = pcVar2;
return 0;
}
iVar1 = s... | |
62,136 | my_hash_free_elements | eloqsql/mysys/hash.c | static inline void my_hash_free_elements(HASH *hash)
{
uint records= hash->records;
if (records == 0)
return;
/*
Set records to 0 early to guard against anyone looking at the structure
during the free process
*/
hash->records= 0;
if (hash->free)
{
HASH_LINK *data=dynamic_element(&hash->a... | O0 | c | my_hash_free_elements:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movl %eax, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0x2c25f
jmp 0x2c2bd
movq -0x8(%rbp), %rax
movq $0x0, 0x18(%rax)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x60(%rax)
je 0x2c2bd
movq -0x8(%rbp), %ra... | my_hash_free_elements:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov rax, [rax+18h]
mov [rbp+var_C], eax
cmp [rbp+var_C], 0
jnz short loc_2C25F
jmp short loc_2C2BD
loc_2C25F:
mov rax, [rbp+var_8]
mov qword ptr [rax+18h], 0
mov rax, [r... | unsigned long long my_hash_free_elements(unsigned long long a1)
{
unsigned long long result; // rax
unsigned long long v2; // rcx
unsigned long long v3; // [rsp+0h] [rbp-20h]
unsigned long long v4; // [rsp+8h] [rbp-18h]
unsigned int v5; // [rsp+14h] [rbp-Ch]
result = *(_QWORD *)(a1 + 24);
v5 = result;
... | my_hash_free_elements:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV dword ptr [RBP + -0xc],EAX
CMP dword ptr [RBP + -0xc],0x0
JNZ 0x0012c25f
JMP 0x0012c2bd
LAB_0012c25f:
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x18],0x0
MO... |
void my_hash_free_elements(long param_1)
{
ulong uVar1;
ulong uVar2;
ulong uVar3;
ulong local_20;
uVar1 = *(ulong *)(param_1 + 0x18);
if (((int)uVar1 != 0) && (*(int8 *)(param_1 + 0x18) = 0, *(long *)(param_1 + 0x60) != 0)) {
uVar2 = *(ulong *)(param_1 + 0x28);
local_20 = uVar2;
do {
... | |
62,137 | bf_atan2_internal | bluesky950520[P]quickjs/libbf.c | static int bf_atan2_internal(bf_t *r, const bf_t *y, limb_t prec, void *opaque)
{
bf_context_t *s = r->ctx;
const bf_t *x = opaque;
bf_t T_s, *T = &T_s;
limb_t prec1;
int ret;
if (y->expn == BF_EXP_NAN || x->expn == BF_EXP_NAN) {
bf_set_nan(r);
return 0;
}
/* compute at... | O2 | c | bf_atan2_internal:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq 0x10(%rsi), %rdx
cmpq %rax, %rdx
je 0x79a3f
movq %rcx, %r12
movq 0x10(%rcx), %rcx
cmpq %rax, %rcx
jne 0x79a4e
movq %r14,... | bf_atan2_internal:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov rbx, rdx
mov r14, rdi
mov rax, 7FFFFFFFFFFFFFFFh
mov rdx, [rsi+10h]
cmp rdx, rax
jz short loc_79A3F
mov r12, rcx
mov rcx, [rcx+10h]
cmp rcx, rax
jnz short loc_79A4E
lo... | long long bf_atan2_internal(long long *a1, long long a2, long long a3, long long a4)
{
long long v5; // rdx
long long v7; // rcx
unsigned int v8; // ebp
long long v9; // rbx
__int128 v11; // [rsp+0h] [rbp-58h] BYREF
unsigned long long v12; // [rsp+10h] [rbp-48h]
__int128 v13; // [rsp+18h] [rbp-40h]
v5... | bf_atan2_internal:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV RBX,RDX
MOV R14,RDI
MOV RAX,0x7fffffffffffffff
MOV RDX,qword ptr [RSI + 0x10]
CMP RDX,RAX
JZ 0x00179a3f
MOV R12,RCX
MOV RCX,qword ptr [RCX + 0x10]
CMP RCX,RAX
JNZ 0x00179a4e
LAB_00179a3f:
MOV RDI,R14
CALL 0x0017317d
XOR EBP,EBP
JM... |
/* WARNING: Removing unreachable block (ram,0x00179aae) */
/* WARNING: Removing unreachable block (ram,0x00179ab3) */
uint bf_atan2_internal(int8 *param_1,long param_2,long param_3,long param_4)
{
uint uVar1;
int8 local_58;
uint local_50;
int8 local_48;
int8 local_40;
int8 uStack_38;
if ((*(long *)(... | |
62,138 | bf_atan2_internal | bluesky950520[P]quickjs/libbf.c | static int bf_atan2_internal(bf_t *r, const bf_t *y, limb_t prec, void *opaque)
{
bf_context_t *s = r->ctx;
const bf_t *x = opaque;
bf_t T_s, *T = &T_s;
limb_t prec1;
int ret;
if (y->expn == BF_EXP_NAN || x->expn == BF_EXP_NAN) {
bf_set_nan(r);
return 0;
}
/* compute at... | O3 | c | bf_atan2_internal:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r12
movq %rdx, %r14
movq %rdi, %rbx
movabsq $0x7fffffffffffffff, %r13 # imm = 0x7FFFFFFFFFFFFFFF
movq (%rdi), %rcx
movq 0x10(%rsi), %rdx
cmpq %r13, %rdx
je 0x93c98
movq 0x10(%r12), %rax
cmpq %r13, %rax
jne ... | bf_atan2_internal:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r12, rcx
mov r14, rdx
mov rbx, rdi
mov r13, 7FFFFFFFFFFFFFFFh
mov rcx, [rdi]
mov rdx, [rsi+10h]
cmp rdx, r13
jz short loc_93C98
mov rax, [r12+10h]
cmp rax, r13
jnz ... | long long bf_atan2_internal(__int128 *a1, long long a2, long long a3, long long a4)
{
long long v6; // rdx
long long v7; // rax
unsigned int v8; // ebp
long long v10; // r14
__int128 v11; // [rsp+0h] [rbp-58h] BYREF
unsigned long long v12; // [rsp+10h] [rbp-48h]
__int128 v13; // [rsp+18h] [rbp-40h]
v6... | bf_atan2_internal:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R12,RCX
MOV R14,RDX
MOV RBX,RDI
MOV R13,0x7fffffffffffffff
MOV RCX,qword ptr [RDI]
MOV RDX,qword ptr [RSI + 0x10]
CMP RDX,R13
JZ 0x00193c98
MOV RAX,qword ptr [R12 + 0x10]
CMP RAX,R13
JNZ 0x00193cd5
LAB_00193c98:
CMP qword ptr [RBX... |
/* WARNING: Removing unreachable block (ram,0x00193d37) */
/* WARNING: Removing unreachable block (ram,0x00193d3c) */
uint bf_atan2_internal(long *param_1,long param_2,long param_3,long param_4)
{
uint uVar1;
long lVar2;
int8 *local_58;
uint local_50;
int8 local_48;
int8 local_40;
long lStack_38;
... | |
62,139 | resize_queue | eloqsql/mysys/queues.c | int resize_queue(QUEUE *queue, uint max_elements)
{
uchar **new_root;
DBUG_ENTER("resize_queue");
if (queue->max_elements == max_elements)
DBUG_RETURN(0);
if ((new_root= (uchar **) my_realloc(key_memory_QUEUE, (void *)queue->root,
(max_elements + 1)* sizeof(void*),
... | O3 | c | resize_queue:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
cmpl %esi, 0x14(%rdi)
je 0xa6a47
movl %esi, %r15d
movq %rdi, %r14
leaq 0xb67d3d(%rip), %rax # 0xc0e750
movl (%rax), %edi
movq (%r14), %rsi
leal 0x1(%r15), %edx
shlq $0x3, %rdx
movl $0x10, %ecx
callq 0xa481c
testq %ra... | resize_queue:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
xor ebx, ebx
cmp [rdi+14h], esi
jz short loc_A6A47
mov r15d, esi
mov r14, rdi
lea rax, key_memory_QUEUE
mov edi, [rax]
mov rsi, [r14]
lea edx, [r15+1]
shl rdx, 3
mov ecx, 10h
call m... | long long resize_queue(long long a1, unsigned int a2)
{
unsigned int v2; // ebx
long long v3; // rax
v2 = 0;
if ( *(_DWORD *)(a1 + 20) != a2 )
{
v3 = my_realloc(key_memory_QUEUE, *(_QWORD *)a1, (const char *)(8LL * (a2 + 1)), 16);
if ( v3 )
{
if ( *(_DWORD *)(a1 + 16) > a2 )
*(_DWO... | resize_queue:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
XOR EBX,EBX
CMP dword ptr [RDI + 0x14],ESI
JZ 0x001a6a47
MOV R15D,ESI
MOV R14,RDI
LEA RAX,[0xd0e750]
MOV EDI,dword ptr [RAX]
MOV RSI,qword ptr [R14]
LEA EDX,[R15 + 0x1]
SHL RDX,0x3
MOV ECX,0x10
CALL 0x001a481c
TEST RAX,RAX
JZ 0x001a6a42
CMP dword pt... |
int8 resize_queue(long *param_1,uint param_2)
{
long lVar1;
int8 uVar2;
uVar2 = 0;
if (*(uint *)((long)param_1 + 0x14) != param_2) {
lVar1 = my_realloc(key_memory_QUEUE,*param_1,(ulong)(param_2 + 1) << 3,0x10);
if (lVar1 == 0) {
uVar2 = 1;
}
else {
if (param_2 < *(uint *)(param_... | |
62,140 | js_number_isSafeInteger | bluesky950520[P]quickjs/quickjs.c | static JSValue js_number_isSafeInteger(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
double d;
if (!JS_IsNumber(argv[0]))
return JS_FALSE;
if (unlikely(JS_ToFloat64(ctx, &d, argv[0])))
return JS_EXCEPTION;
return js_bool(is_safe_integ... | O0 | c | js_number_isSafeInteger:
subq $0x48, %rsp
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rdi, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movq %r8, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rax), %rsi
callq 0x506d0
cmpl $0x0, %eax
jne 0xd23c5
movl $0x0, 0x38(%rsp)
movq $0x1, 0x40(%rsp)
jmp 0xd2426
movq 0x20(... | js_number_isSafeInteger:
sub rsp, 48h
mov [rsp+48h+var_20], rsi
mov [rsp+48h+var_18], rdx
mov [rsp+48h+var_28], rdi
mov [rsp+48h+var_2C], ecx
mov [rsp+48h+var_38], r8
mov rax, [rsp+48h+var_38]
mov rdi, [rax]
mov rsi, [rax+8]
call JS_IsNumber
cmp eax, 0
jnz short loc_D23C5
... | long long js_number_isSafeInteger(long long a1, long long a2, long long a3, int a4, long long *a5)
{
int v5; // eax
long long v6; // rdx
double v8; // [rsp+8h] [rbp-40h] BYREF
long long *v9; // [rsp+10h] [rbp-38h]
int v10; // [rsp+1Ch] [rbp-2Ch]
long long v11; // [rsp+20h] [rbp-28h]
long long v12; // [rs... | js_number_isSafeInteger:
SUB RSP,0x48
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 RAX,qword ptr [RSP + 0x10]
MOV RDI,qword ptr [RAX]
MOV RSI,qword ptr [RAX + 0x8]
CALL 0x001506d0
CMP EAX,0x0
JNZ 0x001d23c5
... |
int1 [16]
js_number_isSafeInteger
(int8 param_1,int8 param_2,int8 param_3,int4 param_4,
int8 *param_5)
{
int iVar1;
int4 uVar2;
int1 auVar3 [16];
int8 local_40;
int8 *local_38;
int4 local_2c;
int8 local_28;
int8 local_20;
int8 local_18;
int4 local_10;
int4 uStack_c;
int8 l... | |
62,141 | js_number_isSafeInteger | bluesky950520[P]quickjs/quickjs.c | static JSValue js_number_isSafeInteger(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
double d;
if (!JS_IsNumber(argv[0]))
return JS_FALSE;
if (unlikely(JS_ToFloat64(ctx, &d, argv[0])))
return JS_EXCEPTION;
return js_bool(is_safe_integ... | O1 | c | js_number_isSafeInteger:
pushq %rbp
pushq %rbx
subq $0x38, %rsp
movq 0x8(%r8), %rcx
pushq $0x1
popq %rbx
cmpl $0x7, %ecx
je 0x12744
testl %ecx, %ecx
jne 0x127bf
movq (%r8), %rdx
leaq 0x8(%rsp), %rsi
callq 0x27681
testl %eax, %eax
jne 0x127bc
movq 0x8(%rsp), %xmm0
movdqa %xmm0, 0x10(%rsp)
movq %xmm0, %rax
movdqa 0x8c002... | js_number_isSafeInteger:
push rbp
push rbx
sub rsp, 38h
mov rcx, [r8+8]
push 1
pop rbx
cmp ecx, 7
jz short loc_12744
test ecx, ecx
jnz short loc_127BF
loc_12744:
mov rdx, [r8]
lea rsi, [rsp+48h+var_40]
call JS_ToFloat64
test eax, eax
jnz short loc_127BC
movq xmm... | long long js_number_isSafeInteger(long long a1, long long a2, long long a3, long long a4, _QWORD *a5)
{
long long v5; // rcx
bool v6; // bp
double v7; // xmm0_8
long long v9; // [rsp+8h] [rbp-40h] BYREF
__m128i v10; // [rsp+10h] [rbp-38h]
__m128i v11; // [rsp+20h] [rbp-28h]
v5 = a5[1];
if ( (_DWORD)v5... | js_number_isSafeInteger:
PUSH RBP
PUSH RBX
SUB RSP,0x38
MOV RCX,qword ptr [R8 + 0x8]
PUSH 0x1
POP RBX
CMP ECX,0x7
JZ 0x00112744
TEST ECX,ECX
JNZ 0x001127bf
LAB_00112744:
MOV RDX,qword ptr [R8]
LEA RSI,[RSP + 0x8]
CALL 0x00127681
TEST EAX,EAX
JNZ 0x001127bc
MOVQ XMM0,qword ptr [RSP + 0x8]
MOVDQA xmmword ptr [RSP + 0x10]... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
bool js_number_isSafeInteger(int8 param_1)
{
bool bVar1;
int iVar2;
int8 *in_R8;
double dVar3;
double local_40;
double local_38;
int8 uStack_30;
double local_28;
int8 uStack_20;
if ((((int)in_R8[1] == 7) || ((... | |
62,142 | add_compiled_collation | eloqsql/mysys/charset.c | void add_compiled_collation(struct charset_info_st *cs)
{
DBUG_ASSERT(cs->number < array_elements(all_charsets));
all_charsets[cs->number]= cs;
cs->state|= MY_CS_AVAILABLE;
if ((my_hash_insert(&charset_name_hash, (uchar*) cs)))
{
#ifndef DBUG_OFF
CHARSET_INFO *org= (CHARSET_INFO*) my_hash_search(&charset_... | O0 | c | add_compiled_collation:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
jmp 0x2f7be
movq -0x8(%rbp), %rdx
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, %ecx
leaq 0x35edbf(%rip), %rax # 0x38e590
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %ecx
orl $0x200, %ecx # im... | add_compiled_collation:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
jmp short $+2
loc_2F7BE:
mov rdx, [rbp+var_8]
mov rax, [rbp+var_8]
mov eax, [rax]
mov ecx, eax
lea rax, all_charsets
mov [rax+rcx*8], rdx
mov rax, [rbp+var_8]
mov ecx, [rax+0Ch]
or ecx... | long long add_compiled_collation(unsigned int *a1)
{
all_charsets[*a1] = a1;
a1[3] |= 0x200u;
return my_hash_insert(&charset_name_hash, a1);
}
| add_compiled_collation:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
JMP 0x0012f7be
LAB_0012f7be:
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
MOV ECX,EAX
LEA RAX,[0x48e590]
MOV qword ptr [RAX + RCX*0x8],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [R... |
void add_compiled_collation(uint *param_1)
{
(&all_charsets)[*param_1] = param_1;
param_1[3] = param_1[3] | 0x200;
my_hash_insert(charset_name_hash,param_1);
return;
}
| |
62,143 | add_compiled_collation | eloqsql/mysys/charset.c | void add_compiled_collation(struct charset_info_st *cs)
{
DBUG_ASSERT(cs->number < array_elements(all_charsets));
all_charsets[cs->number]= cs;
cs->state|= MY_CS_AVAILABLE;
if ((my_hash_insert(&charset_name_hash, (uchar*) cs)))
{
#ifndef DBUG_OFF
CHARSET_INFO *org= (CHARSET_INFO*) my_hash_search(&charset_... | O3 | c | add_compiled_collation:
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rsi
movl (%rdi), %eax
leaq 0x340543(%rip), %rcx # 0x369990
movq %rdi, (%rcx,%rax,8)
orb $0x2, 0xd(%rdi)
leaq 0x344534(%rip), %rdi # 0x36d990
popq %rbp
jmp 0x2ae12
| add_compiled_collation:
push rbp
mov rbp, rsp
mov rsi, rdi
mov eax, [rdi]
lea rcx, all_charsets
mov [rcx+rax*8], rdi
or byte ptr [rdi+0Dh], 2
lea rdi, charset_name_hash
pop rbp
jmp my_hash_insert
| long long add_compiled_collation(unsigned int *a1)
{
all_charsets[*a1] = a1;
*((_BYTE *)a1 + 13) |= 2u;
return my_hash_insert(&charset_name_hash, a1);
}
| add_compiled_collation:
PUSH RBP
MOV RBP,RSP
MOV RSI,RDI
MOV EAX,dword ptr [RDI]
LEA RCX,[0x469990]
MOV qword ptr [RCX + RAX*0x8],RDI
OR byte ptr [RDI + 0xd],0x2
LEA RDI,[0x46d990]
POP RBP
JMP 0x0012ae12
|
void add_compiled_collation(uint *param_1)
{
(&all_charsets)[*param_1] = param_1;
*(byte *)((long)param_1 + 0xd) = *(byte *)((long)param_1 + 0xd) | 2;
my_hash_insert(charset_name_hash,param_1);
return;
}
| |
62,144 | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | monkey531[P]llama/common/json.hpp | std::string exception_message(const token_type expected, const std::string& context)
{
std::string error_msg = "syntax error ";
if (!context.empty())
{
error_msg += concat("while parsing ", context, ' ');
}
error_msg += "- ";
if (last_token == token_typ... | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | _ZN8nlohmann16json_abi_v3_11_36detail6parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE17exception_messageENS1_10lexer_baseISF_E10token_typeERKSB_:
push ... | _QWORD * nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterato... | exception_message:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x58
MOV R15,RCX
MOV EBP,EDX
MOV R14,RSI
MOV RBX,RDI
LEA RSI,[0x1cf365]
LEA RDX,[RSP + 0x10]
CALL 0x0012b096
CMP qword ptr [R15 + 0x8],0x0
JZ 0x0016706a
LEA RCX,[RSP + 0x38]
MOV byte ptr [RCX],0x20
LAB_0016703f:
LEA RSI,[0x1cf373]
LEA RDI,[RSP + 0x10]
MOV R... |
/* nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
cha... | |
62,145 | string_parse_kv_override(char const*, std::vector<llama_model_kv_override, std::allocator<llama_model_kv_override>>&) | monkey531[P]llama/common/common.cpp | bool string_parse_kv_override(const char * data, std::vector<llama_model_kv_override> & overrides) {
const char * sep = strchr(data, '=');
if (sep == nullptr || sep - data >= 128) {
LOG_ERR("%s: malformed KV override '%s'\n", __func__, data);
return false;
}
llama_model_kv_override kvo;
... | O0 | cpp | string_parse_kv_override(char const*, std::vector<llama_model_kv_override, std::allocator<llama_model_kv_override>>&):
subq $0x128, %rsp # imm = 0x128
movq %rdi, 0x118(%rsp)
movq %rsi, 0x110(%rsp)
movq 0x118(%rsp), %rdi
movl $0x3d, %esi
callq 0x5a980
movq %rax, 0x108(%rsp)
cmpq $0x0, 0x108(%rsp)
je 0xed4b7
m... | _Z24string_parse_kv_overridePKcRSt6vectorI23llama_model_kv_overrideSaIS2_EE:
sub rsp, 128h
mov [rsp+128h+var_10], rdi
mov [rsp+128h+var_18], rsi
mov rdi, [rsp+128h+var_10]
mov esi, 3Dh ; '='
call _strchr
mov [rsp+128h+var_20], rax
cmp [rsp+128h+var_20], 0
jz short loc_ED4B7
mov r... | char string_parse_kv_override(long long a1, long long a2)
{
int v2; // eax
int v3; // r9d
int v4; // eax
int v5; // r9d
int v6; // eax
int v7; // r9d
int v8; // eax
int v9; // r9d
int v11; // [rsp+0h] [rbp-128h] BYREF
_BYTE v12[132]; // [rsp+4h] [rbp-124h] BYREF
long long v13[15]; // [rsp+88h] [r... | string_parse_kv_override:
SUB RSP,0x128
MOV qword ptr [RSP + 0x118],RDI
MOV qword ptr [RSP + 0x110],RSI
MOV RDI,qword ptr [RSP + 0x118]
MOV ESI,0x3d
CALL 0x0015a980
MOV qword ptr [RSP + 0x108],RAX
CMP qword ptr [RSP + 0x108],0x0
JZ 0x001ed4b7
MOV RAX,qword ptr [RSP + 0x108]
MOV RCX,qword ptr [RSP + 0x118]
SUB RAX,RCX
C... |
/* string_parse_kv_override(char const*, std::vector<llama_model_kv_override,
std::allocator<llama_model_kv_override> >&) */
int1 string_parse_kv_override(char *param_1,vector *param_2)
{
int iVar1;
int8 uVar2;
size_t sVar3;
int4 local_128;
char acStack_124 [132];
double local_a0 [15];
int1 local_21... | |
62,146 | my_strcasecmp_utf8mb4 | eloqsql/strings/ctype-utf8.c | static int
my_strcasecmp_utf8mb4(CHARSET_INFO *cs, const char *s, const char *t)
{
MY_UNICASE_INFO *uni_plane= cs->caseinfo;
while (s[0] && t[0])
{
my_wc_t s_wc,t_wc;
if ((uchar) s[0] < 128)
{
/*
s[0] is between 0 and 127.
It represents a single byte character.
Conv... | O0 | c | my_strcasecmp_utf8mb4:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x78(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x41(%rbp)
je 0x32c71
movq -0x... | my_strcasecmp_utf8mb4:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov rax, [rbp+var_10]
mov rax, [rax+78h]
mov [rbp+var_28], rax
loc_32C50:
mov rax, [rbp+var_18]
movsx ecx, byte ptr [rax]
xor eax, eax
cmp ecx, 0
m... | long long my_strcasecmp_utf8mb4(long long a1, unsigned __int8 *a2, unsigned __int8 *a3)
{
bool v4; // [rsp+Fh] [rbp-41h]
int v5; // [rsp+10h] [rbp-40h]
int v6; // [rsp+14h] [rbp-3Ch]
unsigned long long v7; // [rsp+18h] [rbp-38h] BYREF
unsigned long long v8; // [rsp+20h] [rbp-30h] BYREF
_QWORD *v9; // [rsp+... | my_strcasecmp_utf8mb4:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x78]
MOV qword ptr [RBP + -0x28],RAX
LAB_00132c50:
MOV RAX,qword ptr [RBP + -0x18]
MOVSX ECX,byte ptr [RAX]
X... |
int my_strcasecmp_utf8mb4(long param_1,byte *param_2,byte *param_3)
{
int iVar1;
bool bVar2;
ulong local_40;
ulong local_38;
int8 local_30;
byte *local_28;
byte *local_20;
long local_18;
local_30 = *(int8 *)(param_1 + 0x78);
local_28 = param_3;
local_20 = param_2;
local_18 = param_1;
do {... | |
62,147 | skip_trailing_space | eloqsql/strings/strings_def.h | static inline const uchar *skip_trailing_space(const uchar *ptr,size_t len)
{
const uchar *end= ptr + len;
if (len > 20)
{
const uchar *end_words= (const uchar *)(intptr)
(((ulonglong)(intptr)end) / SIZEOF_INT * SIZEOF_INT);
const uchar *start_words= (const uchar *)(intptr)
((((ulonglong)(in... | O0 | c | skip_trailing_space:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
addq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x14, -0x10(%rbp)
jbe 0x6722a
movq -0x18(%rbp), %rax
shrq $0x2, %rax
shlq $0x2, %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
addq $0x4, %rax
subq $0... | skip_trailing_space_3:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
add rax, [rbp+var_10]
mov [rbp+var_18], rax
cmp [rbp+var_10], 14h
jbe loc_6722A
mov rax, [rbp+var_18]
shr rax, 2
shl rax, 2
mov [rbp+var_20], rax
mov rax, [... | unsigned long long skip_trailing_space_3(unsigned long long a1, unsigned long long a2)
{
bool v3; // [rsp+1h] [rbp-2Bh]
bool v4; // [rsp+2h] [rbp-2Ah]
bool v5; // [rsp+3h] [rbp-29h]
unsigned long long v6; // [rsp+4h] [rbp-28h]
unsigned long long v7; // [rsp+Ch] [rbp-20h]
unsigned long long v8; // [rsp+14h]... | skip_trailing_space:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x18],RAX
CMP qword ptr [RBP + -0x10],0x14
JBE 0x0016722a
MOV RAX,qword ptr [RBP + -0x18]
SHR RAX,0x2
SHL RAX,0x2
MOV qword ptr [R... |
ulong skip_trailing_space(ulong param_1,ulong param_2)
{
ulong uVar1;
ulong uVar2;
bool bVar3;
ulong local_20;
local_20 = param_1 + param_2;
if (0x14 < param_2) {
uVar1 = local_20 & 0xfffffffffffffffc;
uVar2 = param_1 + 3 & 0xfffffffffffffffc;
if (param_1 < uVar1) {
while( true ) {
... | |
62,148 | facebook::yoga::Style::computeRightEdge(std::array<facebook::yoga::StyleValueHandle, 9ul> const&, facebook::yoga::Direction) const | yoga-mod/yoga/../yoga/style/Style.h | Style::Length computeRightEdge(const Edges& edges, Direction layoutDirection)
const {
if (layoutDirection == Direction::LTR &&
edges[yoga::to_underlying(Edge::End)].isDefined()) {
return pool_.getLength(edges[yoga::to_underlying(Edge::End)]);
} else if (
layoutDirection == Direction:... | O3 | c | facebook::yoga::Style::computeRightEdge(std::array<facebook::yoga::StyleValueHandle, 9ul> const&, facebook::yoga::Direction) const:
pushq %rbp
movq %rsp, %rbp
cmpl $0x2, %edx
je 0x79700
cmpl $0x1, %edx
jne 0x79708
movzwl 0xa(%rsi), %eax
jmp 0x79704
movzwl 0x8(%rsi), %eax
testb $0x7, %al
jne 0x79710
movzwl 0x4(%rsi), %e... | _ZNK8facebook4yoga5Style16computeRightEdgeERKSt5arrayINS0_16StyleValueHandleELm9EENS0_9DirectionE:
push rbp
mov rbp, rsp
cmp edx, 2
jz short loc_79700
cmp edx, 1
jnz short loc_79708
movzx eax, word ptr [rsi+0Ah]
jmp short loc_79704
loc_79700:
movzx eax, word ptr [rsi+8]
loc_79704:
test ... | long long facebook::yoga::Style::computeRightEdge(long long a1, unsigned __int16 *a2, int a3)
{
unsigned int v3; // eax
long long v4; // rdi
long long v5; // rsi
if ( a3 == 2 )
{
v3 = a2[4];
}
else
{
if ( a3 != 1 )
goto LABEL_6;
v3 = a2[5];
}
if ( (v3 & 7) != 0 )
{
LABEL_7:
... | computeRightEdge:
PUSH RBP
MOV RBP,RSP
CMP EDX,0x2
JZ 0x00179700
CMP EDX,0x1
JNZ 0x00179708
MOVZX EAX,word ptr [RSI + 0xa]
JMP 0x00179704
LAB_00179700:
MOVZX EAX,word ptr [RSI + 0x8]
LAB_00179704:
TEST AL,0x7
JNZ 0x00179710
LAB_00179708:
MOVZX EAX,word ptr [RSI + 0x4]
TEST AL,0x7
JZ 0x0017972d
LAB_00179710:
ADD RDI,0x6... |
/* facebook::yoga::Style::computeRightEdge(std::array<facebook::yoga::StyleValueHandle, 9ul> const&,
facebook::yoga::Direction) const */
ulong __thiscall facebook::yoga::Style::computeRightEdge(Style *this,long param_1,int param_3)
{
ushort uVar1;
ulong uVar2;
if (param_3 == 2) {
uVar1 = *(ushort *)(... | |
62,149 | utf8_encode_len | bluesky950520[P]quickjs/cutils.c | size_t utf8_encode_len(uint32_t c)
{
if (c < 0x80)
return 1;
if (c < 0x800)
return 2;
if (c < 0x10000)
return 3;
if (c < 0x110000)
return 4;
return 3;
} | O0 | c | utf8_encode_len:
movl %edi, -0xc(%rsp)
cmpl $0x80, -0xc(%rsp)
jae 0x1d6c9
movq $0x1, -0x8(%rsp)
jmp 0x1d711
cmpl $0x800, -0xc(%rsp) # imm = 0x800
jae 0x1d6de
movq $0x2, -0x8(%rsp)
jmp 0x1d711
cmpl $0x10000, -0xc(%rsp) # imm = 0x10000
jae 0x1d6f3
movq $0x3, -0x8(%rsp)
jmp 0x1d711
cmpl $0x110000, -0xc(%rsp) # i... | utf8_encode_len:
mov [rsp+var_C], edi
cmp [rsp+var_C], 80h
jnb short loc_1D6C9
mov [rsp+var_8], 1
jmp short loc_1D711
loc_1D6C9:
cmp [rsp+var_C], 800h
jnb short loc_1D6DE
mov [rsp+var_8], 2
jmp short loc_1D711
loc_1D6DE:
cmp [rsp+var_C], 10000h
jnb short loc_1D6F3
mov [rs... | long long utf8_encode_len(unsigned int a1)
{
if ( a1 < 0x80 )
return 1LL;
if ( a1 < 0x800 )
return 2LL;
if ( a1 < 0x10000 )
return 3LL;
if ( a1 >= 0x110000 )
return 3LL;
return 4LL;
}
| utf8_encode_len:
MOV dword ptr [RSP + -0xc],EDI
CMP dword ptr [RSP + -0xc],0x80
JNC 0x0011d6c9
MOV qword ptr [RSP + -0x8],0x1
JMP 0x0011d711
LAB_0011d6c9:
CMP dword ptr [RSP + -0xc],0x800
JNC 0x0011d6de
MOV qword ptr [RSP + -0x8],0x2
JMP 0x0011d711
LAB_0011d6de:
CMP dword ptr [RSP + -0xc],0x10000
JNC 0x0011d6f3
MOV qwo... |
int8 utf8_encode_len(uint param_1)
{
int8 local_8;
if (param_1 < 0x80) {
local_8 = 1;
}
else if (param_1 < 0x800) {
local_8 = 2;
}
else if (param_1 < 0x10000) {
local_8 = 3;
}
else if (param_1 < 0x110000) {
local_8 = 4;
}
else {
local_8 = 3;
}
return local_8;
}
| |
62,150 | utf8_encode_len | bluesky950520[P]quickjs/cutils.c | size_t utf8_encode_len(uint32_t c)
{
if (c < 0x80)
return 1;
if (c < 0x800)
return 2;
if (c < 0x10000)
return 3;
if (c < 0x110000)
return 4;
return 3;
} | O3 | c | utf8_encode_len:
movl $0x1, %eax
cmpl $0x80, %edi
jb 0x1b377
movl $0x2, %eax
cmpl $0x800, %edi # imm = 0x800
jb 0x1b377
movl $0x3, %eax
cmpl $0x10000, %edi # imm = 0x10000
jb 0x1b377
xorl %eax, %eax
cmpl $0x110000, %edi # imm = 0x110000
adcq $0x3, %rax
retq
| utf8_encode_len:
mov eax, 1
cmp edi, 80h
jb short locret_1B377
mov eax, 2
cmp edi, 800h
jb short locret_1B377
mov eax, 3
cmp edi, offset loc_10000
jb short locret_1B377
xor eax, eax
cmp edi, 110000h
adc rax, 3
locret_1B377:
retn
| long long utf8_encode_len(unsigned int a1)
{
long long result; // rax
result = 1LL;
if ( a1 >= 0x80 )
{
result = 2LL;
if ( a1 >= 0x800 )
{
result = 3LL;
if ( a1 >= (unsigned int)&loc_10000 )
return (a1 < 0x110000) + 3LL;
}
}
return result;
}
| utf8_encode_len:
MOV EAX,0x1
CMP EDI,0x80
JC 0x0011b377
MOV EAX,0x2
CMP EDI,0x800
JC 0x0011b377
MOV EAX,0x3
CMP EDI,0x10000
JC 0x0011b377
XOR EAX,EAX
CMP EDI,0x110000
ADC RAX,0x3
LAB_0011b377:
RET
|
char utf8_encode_len(uint param_1)
{
char cVar1;
cVar1 = '\x01';
if (((0x7f < param_1) && (cVar1 = '\x02', 0x7ff < param_1)) && (cVar1 = '\x03', 0xffff < param_1))
{
cVar1 = (param_1 < 0x110000) + '\x03';
}
return cVar1;
}
| |
62,151 | my_convert | eloqsql/strings/ctype.c | uint32
my_convert(char *to, uint32 to_length, CHARSET_INFO *to_cs,
const char *from, uint32 from_length,
CHARSET_INFO *from_cs, uint *errors)
{
uint32 length, length2;
/*
If any of the character sets is not ASCII compatible,
immediately switch to slow mb_wc->wc_mb method.
*/
if ((t... | O3 | c | my_convert:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r9, %rax
movl %r8d, %r9d
movq %rcx, %r8
movq 0x10(%rbp), %r10
movl 0xc(%rax), %ecx
orl 0xc(%rdx), %ecx
btl $0xd, %ecx
jb 0xa0658
cmpl %r9d, %esi
movl %r9d, %ebx
cmovbl %esi, %ebx
movl %ebx, %ecx
cmpl $0x4, %ebx
jb 0xa0631
movl (%r8... | my_convert:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rax, r9
mov r9d, r8d
mov r8, rcx
mov r10, [rbp+arg_0]
mov ecx, [rax+0Ch]
or ecx, [rdx+0Ch]
bt ecx, 0Dh
jb short loc_A0658
cmp esi, r9d
mov ebx, r9d
cmovb ebx, esi
mov ecx, ebx
cm... | long long my_convert(
_DWORD *a1,
unsigned int a2,
long long a3,
long long a4,
unsigned int a5,
long long a6,
_DWORD *a7)
{
_DWORD *v9; // r8
unsigned int v10; // ebx
unsigned int v11; // ecx
unsigned int v12; // r14d
long long v13; // r15
char v14; /... | my_convert:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RAX,R9
MOV R9D,R8D
MOV R8,RCX
MOV R10,qword ptr [RBP + 0x10]
MOV ECX,dword ptr [RAX + 0xc]
OR ECX,dword ptr [RDX + 0xc]
BT ECX,0xd
JC 0x001a0658
CMP ESI,R9D
MOV EBX,R9D
CMOVC EBX,ESI
MOV ECX,EBX
CMP EBX,0x4
JC 0x001a0631
LAB_001a0612:
MOV R11D,dwo... |
ulong my_convert(uint *param_1,uint param_2,long param_3,uint *param_4,uint param_5,long param_6,
int4 *param_7)
{
int iVar1;
ulong uVar2;
uint uVar3;
uint uVar5;
int iVar6;
long lVar7;
ulong uVar4;
uVar2 = (ulong)param_5;
if (((*(uint *)(param_6 + 0xc) | *(uint *)(param_3 + 0xc))... | |
62,152 | LefDefParser::defiGcellGrid::setup(char const*, int, int, double) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defiRowTrack.cpp | void defiGcellGrid::setup(const char* macro, int x, int xNum, double xStep) {
int len = strlen(macro) + 1;
if (len > macroLength_) {
if (macro_) free(macro_);
macroLength_ = len;
macro_ = (char*)malloc(len);
}
strcpy(macro_, defData->DEFCASE(macro));
x_ = x;
xNum_ = xNum;
xStep_ = xStep;
} | O3 | cpp | LefDefParser::defiGcellGrid::setup(char const*, int, int, double):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movsd %xmm0, (%rsp)
movl %ecx, %ebx
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq 0x70d0
movq %rax, %r13
incl %r13d
movq 0x8(%r14), %r12
cmpl (%r14), %r... | _ZN12LefDefParser13defiGcellGrid5setupEPKciid:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
movsd [rsp+38h+var_38], xmm0
mov ebx, ecx
mov ebp, edx
mov r15, rsi
mov r14, rdi
mov rdi, rsi
call _strlen
mov r13, rax
inc r13d
mov r12, [r14+8]
cmp ... | long long LefDefParser::defiGcellGrid::setup(
LefDefParser::defiGcellGrid *this,
const char *a2,
int a3,
int a4,
double a5)
{
int v7; // r13d
long long v8; // r12
const char *v9; // rax
long long result; // rax
v7 = strlen(a2) + 1;
v8 = *((_QWORD *)this + 1);
if (... | setup:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOVSD qword ptr [RSP],XMM0
MOV EBX,ECX
MOV EBP,EDX
MOV R15,RSI
MOV R14,RDI
MOV RDI,RSI
CALL 0x001070d0
MOV R13,RAX
INC R13D
MOV R12,qword ptr [R14 + 0x8]
CMP R13D,dword ptr [R14]
JLE 0x0012025e
TEST R12,R12
JZ 0x0012024c
MOV RDI,R12
CALL 0x00107220
L... |
/* LefDefParser::defiGcellGrid::setup(char const*, int, int, double) */
void __thiscall
LefDefParser::defiGcellGrid::setup
(defiGcellGrid *this,char *param_1,int param_2,int param_3,double param_4)
{
size_t sVar1;
char *__dest;
char *__src;
int iVar2;
sVar1 = strlen(param_1);
iVar2 = (int)sV... | |
62,153 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | monkey531[P]llama/common/json.hpp | bool next_byte_in_range(std::initializer_list<char_int_type> ranges)
{
JSON_ASSERT(ranges.size() == 2 || ranges.size() == 4 || ranges.size() == 6);
add(current);
for (auto range = ranges.begin(); range != ranges.end(); ++range)
{
get();
if (JSON_HEDLEY_LIKELY... | O0 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE18next_byte_in_rangeESt16initializer_listIiE:
sub rsp, 48h
mov ... | char nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_in... | vector:
PUSH RAX
MOV qword ptr [RSP],RDI
MOV RDI,qword ptr [RSP]
CALL 0x001a7770
POP RAX
RET
|
/* std::vector<unsigned char, std::allocator<unsigned char> >::vector() */
vector<unsigned_char,std::allocator<unsigned_char>> * __thiscall
std::vector<unsigned_char,std::allocator<unsigned_char>>::vector
(vector<unsigned_char,std::allocator<unsigned_char>> *this)
{
_Vector_base<unsigned_char,std::alloca... | |
62,154 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | monkey531[P]llama/common/json.hpp | bool next_byte_in_range(std::initializer_list<char_int_type> ranges)
{
JSON_ASSERT(ranges.size() == 2 || ranges.size() == 4 || ranges.size() == 6);
add(current);
for (auto range = ranges.begin(); range != ranges.end(); ++range)
{
get();
if (JSON_HEDLEY_LIKELY... | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE18next_byte_in_rangeESt16initializer_listIiE:
push r15
push r1... | char nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_in... | next_byte_in_range:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
CMP RDX,0x6
JA 0x0013f0ea
MOV RBX,RDX
PUSH 0x54
POP RAX
BT RAX,RDX
JNC 0x0013f0ea
MOV R15,RSI
MOV R14,RDI
MOVSX ESI,byte ptr [RDI + 0x14]
LEA R12,[RDI + 0x50]
MOV RDI,R12
CALL 0x00124750
SHL RBX,0x2
LAB_0013f09c:
TEST RBX,RBX
JZ 0x0013f0d8
MOV RDI,R14
CAL... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char... | |
62,155 | LefDefParser::defiNet::addNoShield(char const*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defiNet.cpp | void defiNet::addNoShield(const char* name) {
defiShield* shield;
if (numNoShields_ == shieldsAllocated_) {
defiShield** array;
int i;
shieldsAllocated_ = shieldsAllocated_ ?
shieldsAllocated_ * 2 : 2 ;
array = (defiShield**)malloc(sizeof(defiShield*)*shieldsAllocated_);
... | O3 | cpp | LefDefParser::defiNet::addNoShield(char const*):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl 0x158(%rdi), %r12d
cmpl 0x14c(%rdi), %r12d
jne 0x24b15
leal (%r12,%r12), %eax
testq %r12, %r12
movl $0x2, %ecx
cmovnel %eax, %ecx
movl %ecx, 0x14c(%r14)
movslq %ecx, %rdi
shlq $0x... | _ZN12LefDefParser7defiNet11addNoShieldEPKc:
push r15
push r14
push r12
push rbx
push rax
mov rbx, rsi
mov r14, rdi
mov r12d, [rdi+158h]
cmp r12d, [rdi+14Ch]
jnz short loc_24B15
lea eax, [r12+r12]
test r12, r12
mov ecx, 2
cmovnz ecx, eax
mov [r14+14Ch], ecx
movsxd rdi,... | long long LefDefParser::defiNet::addNoShield(LefDefParser::defiNet *this, const char *a2)
{
long long v3; // r12
int v4; // ecx
long long v5; // r15
_QWORD *v6; // rdi
long long i; // rax
long long *v8; // r12
LefDefParser::defiShield *v9; // r15
long long v10; // rcx
v3 = *((unsigned int *)this + 8... | addNoShield:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV R14,RDI
MOV R12D,dword ptr [RDI + 0x158]
CMP R12D,dword ptr [RDI + 0x14c]
JNZ 0x00124b15
LEA EAX,[R12 + R12*0x1]
TEST R12,R12
MOV ECX,0x2
CMOVNZ ECX,EAX
MOV dword ptr [R14 + 0x14c],ECX
MOVSXD RDI,ECX
SHL RDI,0x3
CALL 0x00107270
MOV R15,RAX
MOV RD... |
/* LefDefParser::defiNet::addNoShield(char const*) */
void __thiscall LefDefParser::defiNet::addNoShield(defiNet *this,char *param_1)
{
uint uVar1;
void *__ptr;
void *pvVar2;
ulong uVar3;
defiShield *this_00;
int iVar4;
uVar1 = *(uint *)(this + 0x158);
if (uVar1 != *(uint *)(this + 0x14c)) goto LA... | |
62,156 | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | monkey531[P]llama/common/json.hpp | reference at(size_type idx)
{
// at only works for arrays
if (JSON_HEDLEY_LIKELY(is_array()))
{
JSON_TRY
{
return set_parent(m_data.m_value.array->at(idx));
}
JSON_CATCH (std::out_of_range&)
{
// crea... | O2 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atEm:
push rbp; char
push r15; int
push r14; int
push r12; int
push rbx; char
sub rsp, 40h
mov rbx, rdi
cmp byte ptr [rdi], 2
jnz ... | long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::at(
long long a1)
{
nlohmann::json_abi_v3_11_3::detail::type_error *excep... | at:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x40
MOV RBX,RDI
CMP byte ptr [RDI],0x2
JNZ 0x0017e2f3
MOV R12,RSI
MOV RDI,qword ptr [RBX + 0x8]
LAB_0017e2e1:
CALL 0x0017e5bc
LAB_0017e2e6:
ADD RSP,0x40
POP RBX
POP R12
POP R14
POP R15
POP RBP
RET
LAB_0017e2f3:
PUSH 0x20
POP RDI
CALL 0x00124460
MOV R14,RAX
MOV R... |
/* nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>::at(unsigned long) */
void __t... | |
62,157 | common_sampler_accept(common_sampler*, int, bool) | monkey531[P]llama/common/sampling.cpp | void common_sampler_accept(struct common_sampler * gsmpl, llama_token token, bool accept_grammar) {
if (accept_grammar) {
llama_sampler_accept(gsmpl->grmr, token);
}
llama_sampler_accept(gsmpl->chain, token);
gsmpl->prev.push_back(token);
} | O3 | cpp | common_sampler_accept(common_sampler*, int, bool):
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
testl %edx, %edx
je 0xccffd
movq 0x138(%rbx), %rdi
movl %ebp, %esi
callq 0x1a4f0
movq 0x140(%rbx), %rdi
movl %ebp, %esi
callq 0x1a4f0
movq 0x148(%rbx), %rcx
movq 0x150(%rbx), %rsi
cmpq %rcx, %rsi
jne 0xcd... | _Z21common_sampler_acceptP14common_samplerib:
push rbp
push rbx
push rax
mov ebp, esi
mov rbx, rdi
test edx, edx
jz short loc_CCFFD
mov rdi, [rbx+138h]
mov esi, ebp
call _llama_sampler_accept
loc_CCFFD:
mov rdi, [rbx+140h]
mov esi, ebp
call _llama_sampler_accept
mov rc... | unsigned long long common_sampler_accept(_QWORD *a1, unsigned int a2, int a3)
{
unsigned long long v4; // rcx
unsigned long long v5; // rsi
long long v6; // rax
unsigned long long result; // rax
unsigned long long v8; // rtt
if ( a3 )
llama_sampler_accept(a1[39], a2);
llama_sampler_accept(a1[40], a2... | common_sampler_accept:
PUSH RBP
PUSH RBX
PUSH RAX
MOV EBP,ESI
MOV RBX,RDI
TEST EDX,EDX
JZ 0x001ccffd
MOV RDI,qword ptr [RBX + 0x138]
MOV ESI,EBP
CALL 0x0011a4f0
LAB_001ccffd:
MOV RDI,qword ptr [RBX + 0x140]
MOV ESI,EBP
CALL 0x0011a4f0
MOV RCX,qword ptr [RBX + 0x148]
MOV RSI,qword ptr [RBX + 0x150]
CMP RSI,RCX
JNZ 0x001... |
/* common_sampler_accept(common_sampler*, int, bool) */
ulong common_sampler_accept(common_sampler *param_1,int param_2,bool param_3)
{
ulong uVar1;
long lVar2;
ulong uVar3;
int7 in_register_00000011;
if ((int)CONCAT71(in_register_00000011,param_3) != 0) {
llama_sampler_accept(*(int8 *)(param_1 + 0x... | |
62,158 | my_strcasecmp_utf8mb3 | eloqsql/strings/ctype-utf8.c | static
int my_strcasecmp_utf8mb3(CHARSET_INFO *cs, const char *s, const char *t)
{
MY_UNICASE_INFO *uni_plane= cs->caseinfo;
while (s[0] && t[0])
{
my_wc_t s_wc,t_wc;
if ((uchar) s[0] < 128)
{
/*
s[0] is between 0 and 127.
It represents a single byte character.
Conv... | O3 | c | my_strcasecmp_utf8mb3:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r13
movb (%rsi), %al
testb %al, %al
je 0xcd6dc
movq %rsi, %r14
movq 0x78(%rdi), %r15
leaq 0x30b24f(%rip), %r12 # 0x3d8860
cmpb $0x0, (%r13)
je 0xcd6d7
testb %al, %al
js 0xcd635
movzbl... | my_strcasecmp_utf8mb3:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r13, rdx
mov al, [rsi]
test al, al
jz loc_CD6DC
mov r14, rsi
mov r15, [rdi+78h]
lea r12, my_unicase_default_page00
loc_CD611:
cmp byte ptr [r13+0], 0
jz ... | long long my_strcasecmp_utf8mb3(long long a1, unsigned __int8 *a2, unsigned __int8 *a3)
{
unsigned __int8 v4; // al
unsigned __int8 *v5; // r14
long long v6; // r15
unsigned long long v7; // rbx
int v8; // eax
long long v9; // rax
long long v10; // rax
unsigned long long v11; // rax
int v12; // eax
... | my_strcasecmp_utf8mb3:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R13,RDX
MOV AL,byte ptr [RSI]
TEST AL,AL
JZ 0x001cd6dc
MOV R14,RSI
MOV R15,qword ptr [RDI + 0x78]
LEA R12,[0x4d8860]
LAB_001cd611:
CMP byte ptr [R13],0x0
JZ 0x001cd6d7
TEST AL,AL
JS 0x001cd635
MOVZX EAX,AL
LEA RAX,... |
int my_strcasecmp_utf8mb3(long param_1,byte *param_2,byte *param_3)
{
long lVar1;
long lVar2;
byte bVar3;
uint uVar4;
int iVar5;
ulong uVar6;
ulong local_40;
ulong local_38;
bVar3 = *param_2;
if (bVar3 == 0) {
uVar4 = 0;
}
else {
lVar1 = *(long *)(param_1 + 0x78);
do {
if ... | |
62,159 | bf_pow_ui | bluesky950520[P]quickjs/libbf.c | static int bf_pow_ui(bf_t *r, const bf_t *a, limb_t b, limb_t prec,
bf_flags_t flags)
{
int ret, n_bits, i;
assert(r != a);
if (b == 0)
return bf_set_ui(r, 1);
ret = bf_set(r, a);
n_bits = LIMB_BITS - clz(b);
for(i = n_bits - 2; i >= 0; i--) {
ret |= bf_mul(... | O2 | c | bf_pow_ui:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
testq %rdx, %rdx
je 0x7902c
movl %r8d, %ebx
movq %rcx, %r14
movq %rdx, %r12
movq %r15, %rdi
movq %rsi, 0x8(%rsp)
callq 0x73216
movl %eax, %r13d
movq %r12, 0x10(%rsp)
bsrq %r12, %r12
xorl $-0x40, %r12d
addl $0x3... | bf_pow_ui:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r15, rdi
test rdx, rdx
jz loc_7902C
mov ebx, r8d
mov r14, rcx
mov r12, rdx
mov rdi, r15
mov [rsp+48h+var_40], rsi
call bf_set
mov r13d, eax
mov [rsp+48h+var_38], r12
bsr ... | long long bf_pow_ui(long long *a1, long long *a2, unsigned long long a3, long long a4, unsigned int a5)
{
unsigned long long v7; // r12
unsigned int v8; // r13d
unsigned long long v9; // r12
unsigned int v10; // ebp
unsigned long long v11; // rax
unsigned long long v13; // [rsp+10h] [rbp-38h]
if ( !a3 )... | bf_pow_ui:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R15,RDI
TEST RDX,RDX
JZ 0x0017902c
MOV EBX,R8D
MOV R14,RCX
MOV R12,RDX
MOV RDI,R15
MOV qword ptr [RSP + 0x8],RSI
CALL 0x00173216
MOV R13D,EAX
MOV qword ptr [RSP + 0x10],R12
BSR R12,R12
XOR R12D,0xffffffc0
ADD R12D,0x3f
LAB_00178fd1:
TEST ... |
ulong bf_pow_ui(int8 param_1,int8 param_2,ulong param_3,int8 param_4,
int4 param_5)
{
long lVar1;
uint uVar2;
uint uVar3;
ulong uVar4;
uint uVar5;
if (param_3 != 0) {
uVar2 = bf_set(param_1);
lVar1 = 0x3f;
if (param_3 != 0) {
for (; param_3 >> lVar1 == 0; lVar1 = lVar1 ... | |
62,160 | safe_lexcstrdup_root | eloqsql/mysys/my_alloc.c | LEX_CSTRING safe_lexcstrdup_root(MEM_ROOT *root, const LEX_CSTRING str)
{
LEX_CSTRING res;
if (str.length)
res.str= strmake_root(root, str.str, str.length);
else
res.str= (const char *)"";
res.length= str.length;
return res;
} | O0 | c | safe_lexcstrdup_root:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rsi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq %rdi, -0x28(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x3bda2
movq -0x28(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x3bcc0
movq %rax, -0x10(%rbp)
jmp 0x3bdad
leaq 0x4b631(%rip), %rax # 0x... | safe_lexcstrdup_root:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_20], rsi
mov [rbp+var_18], rdx
mov [rbp+var_28], rdi
cmp [rbp+var_18], 0
jz short loc_3BDA2
mov rdi, [rbp+var_28]
mov rsi, [rbp+var_20]
mov rdx, [rbp+var_18]
call strmake_root
mov [rbp+var_10], rax
j... | char * safe_lexcstrdup_root(_QWORD **a1, long long a2, long long a3)
{
if ( a3 )
return strmake_root(a1, a2, a3);
else
return "";
}
| safe_lexcstrdup_root:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x28],RDI
CMP qword ptr [RBP + -0x18],0x0
JZ 0x0013bda2
MOV RDI,qword ptr [RBP + -0x28]
MOV RSI,qword ptr [RBP + -0x20]
MOV RDX,qword ptr [RBP + -0x18]
CALL 0x0013bcc0
MOV qword ... |
int1 [16] safe_lexcstrdup_root(int8 param_1,int8 param_2,long param_3)
{
int1 auVar1 [16];
int *local_18;
if (param_3 == 0) {
local_18 = &DAT_001873da;
}
else {
local_18 = (int *)strmake_root(param_1,param_2,param_3);
}
auVar1._8_8_ = param_3;
auVar1._0_8_ = local_18;
return auVar1;
}
| |
62,161 | mysql_set_server_option_start_internal | eloqsql/libmariadb/libmariadb/mariadb_async.c | static void
mysql_set_server_option_start_internal(void *d)
{
MK_ASYNC_INTERNAL_BODY(
mysql_set_server_option,
(parms->mysql, parms->option),
parms->mysql,
int,
r_int)
} | O0 | c | mysql_set_server_option_start_internal:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x480(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %... | mysql_set_server_option_start_internal:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax+480h]
mov rax, [rax+28h]
mov [rbp+var_20], rax
mov rax, [rbp+var_10]
mov rdi, [... | _DWORD * mysql_set_server_option_start_internal(long long a1)
{
_DWORD *result; // rax
_DWORD *v2; // [rsp+0h] [rbp-20h]
v2 = *(_DWORD **)(*(_QWORD *)(*(_QWORD *)a1 + 1152LL) + 40LL);
v2[2] = mysql_set_server_option(*(_QWORD *)a1, *(_DWORD *)(a1 + 8));
result = v2;
*v2 = 0;
return result;
}
| mysql_set_server_option_start_internal:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x480]
MOV RAX,qword ptr [RAX + 0x28]
MOV qword ptr [RBP + -0x20],RAX
M... |
void mysql_set_server_option_start_internal(long *param_1)
{
int4 *puVar1;
int4 uVar2;
puVar1 = *(int4 **)(*(long *)(*param_1 + 0x480) + 0x28);
uVar2 = mysql_set_server_option(*param_1,(int)param_1[1]);
puVar1[2] = uVar2;
*puVar1 = 0;
return;
}
| |
62,162 | bool fmt::v10::detail::loc_writer<char>::operator()<long long, 0>(long long) | AlayaLite/build_O0/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h | auto operator()(T value) -> bool {
auto arg = make_write_int_arg(value, specs.sign);
write_int(out, static_cast<uint64_or_128_t<T>>(arg.abs_value), arg.prefix,
specs, digit_grouping<Char>(grouping, sep));
return true;
} | O0 | c | bool fmt::v10::detail::loc_writer<char>::operator()<long long, 0>(long long):
subq $0x158, %rsp # imm = 0x158
movq %rsi, 0x140(%rsp)
movq %rdx, 0x148(%rsp)
movq 0x140(%rsp), %rax
movq 0x148(%rsp), %rcx
movq %rdi, 0x138(%rsp)
movq %rcx, 0x128(%rsp)
movq %rax, 0x120(%rsp)
movq 0x138(%rsp), %rcx
movq %rcx, 0x30... | _ZN3fmt3v106detail10loc_writerIcEclIoTnNSt9enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS6_:
sub rsp, 158h
mov [rsp+158h+var_18], rsi
mov [rsp+158h+var_10], rdx
mov rax, [rsp+158h+var_18]
mov rcx, [rsp+158h+var_10]
mov [rsp+158h+var_20], rdi
mov [rsp+158h+var_30], rcx
mov [rsp+158... | char ZN3fmt3v106detail10loc_writerIcEclIoTnNSt9enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS6_(
_QWORD *a1,
long long a2,
long long a3)
{
int v3; // ecx
long long v5; // [rsp+10h] [rbp-148h]
long long v6; // [rsp+18h] [rbp-140h]
unsigned int v7; // [rsp+24h] [rbp-134h]
long lo... | _ZN3fmt3v106detail10loc_writerIcEclIoTnNSt9enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS6_:
SUB RSP,0x158
MOV qword ptr [RSP + 0x140],RSI
MOV qword ptr [RSP + 0x148],RDX
MOV RAX,qword ptr [RSP + 0x140]
MOV RCX,qword ptr [RSP + 0x148]
MOV qword ptr [RSP + 0x138],RDI
MOV qword ptr [RSP + 0x128],RCX
MOV qword ptr ... |
int8
_ZN3fmt3v106detail10loc_writerIcEclIoTnNSt9enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS6_
(int8 *param_1,int8 param_2,int8 param_3)
{
int8 uVar1;
string local_f0 [32];
string local_d0 [32];
digit_grouping<char> local_b0 [64];
detail *local_70;
int8 local_68;
int8 local_60;
int8... | |
62,163 | eth_get_by_number | corpus-core[P]colibri-stateless/src/chains/eth/proofer/beacon.c | static inline c4_status_t eth_get_by_number(proofer_ctx_t* ctx, uint64_t block_number, bytes32_t sig_root, bytes32_t data_root) {
char tmp[100] = {0};
json_t eth_block = {0};
json_t header = {0};
// if we have the blocknumber, we fetch the next block, since we know this is the signing block
sprintf(tmp... | O1 | c | eth_get_by_number:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe0, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
xorps %xmm0, %xmm0
leaq 0x70(%rsp), %r12
movaps %xmm0, 0x50(%r12)
movaps %xmm0, 0x40(%r12)
movaps %xmm0, 0x30(%r12)
movaps %xmm0, 0x20(%r12)
movaps %xmm0, 0x10(%r12)
movaps %xmm0, (... | eth_get_by_number:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0E0h
mov rbx, rcx
mov r14, rdx
mov r15, rdi
xorps xmm0, xmm0
lea r12, [rsp+108h+var_98]
movaps xmmword ptr [r12+50h], xmm0
movaps xmmword ptr [r12+40h], xmm0
movaps xmmword ptr [r12+30h], xmm0
movaps xmmwor... | long long eth_get_by_number(int a1, long long a2, int a3, int a4)
{
int v6; // edx
int v7; // ecx
int v8; // r8d
int v9; // r9d
long long result; // rax
int v11; // r8d
int v12; // r9d
long long v13; // [rsp+20h] [rbp-E8h]
__int128 v14; // [rsp+30h] [rbp-D8h] BYREF
long long v15; // [rsp+40h] [rbp-... | eth_get_by_number:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xe0
MOV RBX,RCX
MOV R14,RDX
MOV R15,RDI
XORPS XMM0,XMM0
LEA R12,[RSP + 0x70]
MOVAPS xmmword ptr [R12 + 0x50],XMM0
MOVAPS xmmword ptr [R12 + 0x40],XMM0
MOVAPS xmmword ptr [R12 + 0x30],XMM0
MOVAPS xmmword ptr [R12 + 0x20],XMM0
MOVAPS xmmword ptr [R1... |
void eth_get_by_number(int8 param_1,long param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6)
{
int iVar1;
size_t sVar2;
char *__s;
int4 uVar3;
int8 local_d8;
int8 uStack_d0;
int8 local_c8;
int8 local_b8;
int8 uStack_b0;
int8 local_a8;
char local_98 [112];
__s... | |
62,164 | unicode_find_name | bluesky950520[P]quickjs/libunicode.c | static int unicode_find_name(const char *name_table, const char *name)
{
const char *p, *r;
int pos;
size_t name_len, len;
p = name_table;
pos = 0;
name_len = strlen(name);
while (*p) {
for(;;) {
r = strchr(p, ',');
if (!r)
len = strlen(p);
... | O1 | c | unicode_find_name:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0xe240
movq %rax, %r12
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmpb $0x0, (%r15)
je 0x98841
xorl %ebx, %ebx
movq %r15, %rdi
movl $0x2c, %esi
callq 0xe270
movq %ra... | unicode_find_name:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rsi
mov r15, rdi
mov rdi, rsi
call _strlen
mov r12, rax
mov eax, 0FFFFFFFFh
cmp byte ptr [r15], 0
jz short loc_98841
xor ebx, ebx
loc_987E6:
mov rdi, r15
mov esi, 2... | long long unicode_find_name(_BYTE *a1, long long a2)
{
_BYTE *v2; // r15
long long v3; // r12
long long result; // rax
unsigned int v5; // ebx
long long v6; // rax
long long v7; // rcx
long long v8; // r13
long long v9; // rbp
v2 = a1;
v3 = strlen(a2);
result = 0xFFFFFFFFLL;
if ( *a1 )
{
... | unicode_find_name:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV R15,RDI
MOV RDI,RSI
CALL 0x0010e240
MOV R12,RAX
MOV EAX,0xffffffff
CMP byte ptr [R15],0x0
JZ 0x00198841
XOR EBX,EBX
LAB_001987e6:
MOV RDI,R15
MOV ESI,0x2c
CALL 0x0010e270
MOV R13,RAX
TEST RAX,RAX
JZ 0x00198803
MOV RBP,R13
... |
int unicode_find_name(char *param_1,char *param_2)
{
int iVar1;
size_t __n;
char *pcVar2;
int iVar3;
size_t sVar4;
__n = strlen(param_2);
if (*param_1 != '\0') {
iVar3 = 0;
do {
pcVar2 = strchr(param_1,0x2c);
if (pcVar2 == (char *)0x0) {
sVar4 = strlen(param_1);
}
... | |
62,165 | unicode_find_name | bluesky950520[P]quickjs/libunicode.c | static int unicode_find_name(const char *name_table, const char *name)
{
const char *p, *r;
int pos;
size_t name_len, len;
p = name_table;
pos = 0;
name_len = strlen(name);
while (*p) {
for(;;) {
r = strchr(p, ',');
if (!r)
len = strlen(p);
... | O3 | c | unicode_find_name:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0xe240
movq %rax, %r12
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmpb $0x0, (%r15)
je 0x9b19c
xorl %ebx, %ebx
movq %r15, %rdi
movl $0x2c, %esi
callq 0xe270
movq %ra... | unicode_find_name:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rsi
mov r15, rdi
mov rdi, rsi
call _strlen
mov r12, rax
mov eax, 0FFFFFFFFh
cmp byte ptr [r15], 0
jz short loc_9B19C
xor ebx, ebx
loc_9B141:
mov rdi, r15
mov esi, 2... | long long unicode_find_name(_BYTE *a1, long long a2)
{
_BYTE *v2; // r15
long long v3; // r12
long long result; // rax
unsigned int v5; // ebx
long long v6; // rax
long long v7; // rcx
long long v8; // r13
long long v9; // rbp
v2 = a1;
v3 = strlen(a2);
result = 0xFFFFFFFFLL;
if ( *a1 )
{
... | unicode_find_name:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV R15,RDI
MOV RDI,RSI
CALL 0x0010e240
MOV R12,RAX
MOV EAX,0xffffffff
CMP byte ptr [R15],0x0
JZ 0x0019b19c
XOR EBX,EBX
LAB_0019b141:
MOV RDI,R15
MOV ESI,0x2c
CALL 0x0010e270
MOV R13,RAX
TEST RAX,RAX
JZ 0x0019b15e
MOV RBP,R13
... |
int unicode_find_name(char *param_1,char *param_2)
{
int iVar1;
size_t __n;
char *pcVar2;
int iVar3;
size_t sVar4;
__n = strlen(param_2);
if (*param_1 != '\0') {
iVar3 = 0;
do {
pcVar2 = strchr(param_1,0x2c);
if (pcVar2 == (char *)0x0) {
sVar4 = strlen(param_1);
}
... | |
62,166 | my_malloc | eloqsql/mysys/my_malloc.c | void *my_malloc(PSI_memory_key key, size_t size, myf my_flags)
{
my_memory_header *mh;
void *point;
DBUG_ENTER("my_malloc");
DBUG_PRINT("my",("size: %zu flags: %lu", size, my_flags));
compile_time_assert(sizeof(my_memory_header) <= HEADER_SIZE);
if (!(my_flags & (MY_WME | MY_FAE)))
my_flags|= my_global... | O0 | c | my_malloc:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0xc(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
jmp 0x2f575
jmp 0x2f577
jmp 0x2f579
movq -0x20(%rbp), %rax
andq $0x18, %rax
cmpq $0x0, %rax
jne 0x2f599
leaq 0x356b8a(%rip), %rax # 0x386118
movq (%rax), %rax
orq -0x20(%rbp), %rax
movq %rax, -0... | my_malloc:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_C], edi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
jmp short $+2
loc_2F575:
jmp short $+2
loc_2F577:
jmp short $+2
loc_2F579:
mov rax, [rbp+var_20]
and rax, 18h
cmp rax, 0
jnz short loc_2F599
lea rax, my_g... | long long my_malloc(unsigned int a1, unsigned long long a2, int a3)
{
int v4; // [rsp+8h] [rbp-38h]
long long v5; // [rsp+10h] [rbp-30h]
long long v6; // [rsp+18h] [rbp-28h]
int v7; // [rsp+20h] [rbp-20h]
unsigned long long v8; // [rsp+28h] [rbp-18h]
unsigned long long v9; // [rsp+28h] [rbp-18h]
v8 = a2... | my_malloc:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV dword ptr [RBP + -0xc],EDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
JMP 0x0012f575
LAB_0012f575:
JMP 0x0012f577
LAB_0012f577:
JMP 0x0012f579
LAB_0012f579:
MOV RAX,qword ptr [RBP + -0x20]
AND RAX,0x18
CMP RAX,0x0
JNZ 0x0012f599
LEA RAX,[0x486118]
MO... |
void * my_malloc(int4 param_1,ulong param_2,ulong param_3)
{
int iVar1;
int4 uVar2;
ulong __n;
int *piVar3;
void *local_38;
ulong local_28;
ulong local_20;
void *local_10;
local_28 = param_3;
if ((param_3 & 0x18) == 0) {
local_28 = my_global_flags | param_3;
}
local_20 = param_2;
if (... | |
62,167 | Catch::SonarQubeReporter::writeTestFile(Catch::StringRef, std::vector<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode> const*, std::allocator<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode> const*>> const&) | AlayaLite/build_O3/_deps/libcoro-src/test/catch_amalgamated.cpp | void SonarQubeReporter::writeTestFile(StringRef filename, std::vector<TestCaseNode const*> const& testCaseNodes) {
XmlWriter::ScopedElement e = xml.scopedElement("file");
xml.writeAttribute("path"_sr, filename);
for (auto const& child : testCaseNodes)
writeTestCase(*child);
} | O3 | cpp | Catch::SonarQubeReporter::writeTestFile(Catch::StringRef, std::vector<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode> const*, std::allocator<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats, Catch::CumulativeReporterBase::SectionNode> const*>> const&):
pushq... | _ZN5Catch17SonarQubeReporter13writeTestFileENS_9StringRefERKSt6vectorIPKNS_22CumulativeReporterBase4NodeINS_13TestCaseStatsENS3_11SectionNodeEEESaIS9_EE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov r14, rcx
mov r15, rdx
mov r12, rsi
mov rbx, rdi
lea r... | void Catch::SonarQubeReporter::writeTestFile(long long a1, long long a2, long long a3, long long *a4)
{
long long v6; // r15
long long v7; // r14
int v8; // [rsp+0h] [rbp-68h]
Catch::XmlWriter *v9[2]; // [rsp+8h] [rbp-60h] BYREF
void *v10[2]; // [rsp+18h] [rbp-50h] BYREF
_QWORD v11[8]; // [rsp+28h] [rbp-40... | writeTestFile:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV R14,RCX
MOV R15,RDX
MOV R12,RSI
MOV RBX,RDI
LEA RBP,[RSP + 0x28]
MOV qword ptr [RBP + -0x10],RBP
LAB_0016d9d5:
LEA RSI,[0x1dd5ce]
LEA RDX,[0x1dd5d2]
LEA RDI,[RSP + 0x18]
CALL 0x00137312
LEA R13,[RBX + 0xb0]
LAB_0016d9f4:
LEA RDI,[RSP ... |
/* Catch::SonarQubeReporter::writeTestFile(Catch::StringRef,
std::vector<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats,
Catch::CumulativeReporterBase::SectionNode> const*,
std::allocator<Catch::CumulativeReporterBase::Node<Catch::TestCaseStats,
Catch::CumulativeReporterBase::SectionNode> const*>... | |
62,168 | build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&) | monkey531[P]llama/common/json-schema-to-grammar.cpp | std::string build_grammar(const std::function<void(const common_grammar_builder &)> & cb, const common_grammar_options & options) {
SchemaConverter converter([&](const std::string &) { return json(); }, options.dotall, options.compact_spaces);
common_grammar_builder builder {
/* .add_rule = */ [&](const... | O3 | cpp | build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&, common_grammar_options const&):
pushq %r15
pushq %r14
pushq %rbx
subq $0x160, %rsp # imm = 0x160
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, (%rsi)
leaq 0x2f4(%rip), %rax # 0xde9a6
... | _Z13build_grammarB5cxx11RKSt8functionIFvRK22common_grammar_builderEERK22common_grammar_options:
push r15
push r14
push rbx
sub rsp, 160h
mov r14, rsi
mov rbx, rdi
xorps xmm0, xmm0
mov rsi, rsp; int
movaps xmmword ptr [rsi], xmm0
lea rax, _ZNSt17_Function_handlerIFN8nlohmann16json_abi_v3_... | long long build_grammar[abi:cxx11](long long a1, long long a2, unsigned __int8 *a3, long long a4, int a5, int a6)
{
int v6; // edx
int v7; // ecx
int v8; // r8d
int v9; // r9d
int *v11; // [rsp+0h] [rbp-178h] BYREF
long long v12; // [rsp+8h] [rbp-170h]
long long ( *v13)(); // [rsp+10h] [rbp-168h]
void ... | build_grammar[abi:cxx11]:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x160
MOV R14,RSI
MOV RBX,RDI
XORPS XMM0,XMM0
MOV RSI,RSP
MOVAPS xmmword ptr [RSI],XMM0
LEA RAX,[0x1de9a6]
MOV qword ptr [RSI + 0x18],RAX
LEA RAX,[0x1de9d2]
MOV qword ptr [RSI + 0x10],RAX
MOVZX EAX,byte ptr [RDX]
MOVZX ECX,byte ptr [RDX + 0x1]
LAB_001de6c8:
L... |
/* build_grammar[abi:cxx11](std::function<void (common_grammar_builder const&)> const&,
common_grammar_options const&) */
function * build_grammar_abi_cxx11_(function *param_1,common_grammar_options *param_2)
{
long in_RDX;
SchemaConverter *local_178;
int8 uStack_170;
code *local_168;
code *local_160;
... | |
62,169 | minja::Context::make(minja::Value&&, std::shared_ptr<minja::Context> const&) | llama.cpp/common/minja/minja.hpp | inline std::shared_ptr<Context> Context::make(Value && values, const std::shared_ptr<Context> & parent) {
return std::make_shared<Context>(values.is_null() ? Value::object() : std::move(values), parent);
} | O3 | cpp | minja::Context::make(minja::Value&&, std::shared_ptr<minja::Context> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq 0x10(%rsi), %rdx
movq 0x20(%rsi), %rax
movq %rax, %rcx
orq %rdx, %rcx
sete %cl
cmpb $0x0, 0x40(%rsi)
movq %rdi, %rbx
sete ... | _ZN5minja7Context4makeEONS_5ValueERKSt10shared_ptrIS0_E:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 78h
mov r14, rdx
mov r15, rsi
mov rdx, [rsi+10h]
mov rax, [rsi+20h]
mov rcx, rax
or rcx, rdx
setz cl
cmp byte ptr [rsi+40h], 0
mov rbx, rdi
se... | long long minja::Context::make(long long a1, long long a2, long long a3)
{
__int128 v4; // rax
volatile signed __int32 *v6; // rcx
bool v7; // bp
long long v8; // rax
volatile signed __int32 *v9; // rax
volatile signed __int32 *v10; // rax
long long v11; // rdi
signed __int32 v12; // eax
char v14; //... | make:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x78
MOV R14,RDX
MOV R15,RSI
MOV RDX,qword ptr [RSI + 0x10]
MOV RAX,qword ptr [RSI + 0x20]
MOV RCX,RAX
OR RCX,RDX
SETZ CL
CMP byte ptr [RSI + 0x40],0x0
MOV RBX,RDI
SETZ SIL
AND SIL,CL
MOV RCX,qword ptr [R15 + 0x30]
TEST RCX,RCX
SETZ BPL
AND BPL,SIL
CMP... |
/* minja::Context::make(minja::Value&&, std::shared_ptr<minja::Context> const&) */
Context * __thiscall minja::Context::make(Context *this,Value *param_1,shared_ptr *param_2)
{
int *piVar1;
Value VVar2;
long lVar3;
long lVar4;
long lVar5;
int iVar6;
int1 local_99;
int8 *local_98;
int8 *local_90;
... | |
62,170 | init_dynamic_array2 | eloqsql/mysys/array.c | my_bool init_dynamic_array2(PSI_memory_key psi_key, DYNAMIC_ARRAY *array,
uint element_size, void *init_buffer,
uint init_alloc, uint alloc_increment, myf my_flags)
{
DBUG_ENTER("init_dynamic_array2");
if (!alloc_increment)
{
alloc_increment=MY_MAX((8192... | O3 | c | init_dynamic_array2:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edx, %r11d
movq %rsi, %rbx
movq 0x10(%rbp), %r10
testl %r9d, %r9d
jne 0x91957
movl $0x10, %r9d
cmpl $0x1e1, %r11d # imm = 0x1E1
ja 0x91946
movw $0x1ff8, %ax # imm = 0x1FF8
xorl %edx, %edx
divw %r11w
movzwl %ax, %r9d
cmpl $0... | init_dynamic_array2:
push rbp
mov rbp, rsp
push rbx
push rax
mov r11d, edx
mov rbx, rsi
mov r10, [rbp+arg_0]
test r9d, r9d
jnz short loc_91957
mov r9d, 10h
cmp r11d, 1E1h
ja short loc_91946
mov ax, 1FF8h
xor edx, edx
div r11w
movzx r9d, ax
loc_91946:
cmp r8... | long long init_dynamic_array2(
long long a1,
long long a2,
unsigned int a3,
long long a4,
unsigned int a5,
unsigned int a6,
long long a7)
{
long long v8; // rax
if ( !a6 )
{
a6 = 16;
if ( a3 <= 0x1E1 )
a6 = 0x1FF8u / (unsigned __int16)a3;
... | init_dynamic_array2:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV R11D,EDX
MOV RBX,RSI
MOV R10,qword ptr [RBP + 0x10]
TEST R9D,R9D
JNZ 0x00191957
MOV R9D,0x10
CMP R11D,0x1e1
JA 0x00191946
MOV AX,0x1ff8
XOR EDX,EDX
DIV R11W
MOVZX R9D,AX
LAB_00191946:
CMP R8D,0x9
JC 0x00191957
LEA EAX,[R8 + R8*0x1]
CMP R9D,EAX
CMOVNC R9D,E... |
int8
init_dynamic_array2(int4 param_1,long *param_2,uint param_3,long param_4,uint param_5,
uint param_6,ulong param_7)
{
long lVar1;
if (param_6 == 0) {
param_6 = 0x10;
if (param_3 < 0x1e2) {
param_6 = 0x1ff8 / (param_3 & 0xffff);
}
if ((8 < param_5) && (param_5 * 2 <=... | |
62,171 | js_error_get_prepareStackTrace | bluesky950520[P]quickjs/quickjs.c | static JSValue js_error_get_prepareStackTrace(JSContext *ctx, JSValue this_val)
{
JSValue val;
val = JS_ToObject(ctx, this_val);
if (JS_IsException(val))
return val;
JS_FreeValue(ctx, val);
return js_dup(ctx->error_prepare_stack);
} | O2 | c | js_error_get_prepareStackTrace:
pushq %rbx
movq %rdi, %rbx
callq 0x24742
cmpl $0x6, %edx
je 0x63b5f
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1bbce
movq 0x128(%rbx), %rax
movq 0x130(%rbx), %rdx
cmpl $-0x9, %edx
jb 0x63b5f
incl (%rax)
popq %rbx
retq
| js_error_get_prepareStackTrace:
push rbx
mov rbx, rdi
call JS_ToObject
cmp edx, 6
jz short loc_63B5F
mov rdi, rbx
mov rsi, rax
call JS_FreeValue
mov rax, [rbx+128h]
mov rdx, [rbx+130h]
cmp edx, 0FFFFFFF7h
jb short loc_63B5F
inc dword ptr [rax]
loc_63B5F:
pop rbx
re... | _DWORD * js_error_get_prepareStackTrace(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__... | js_error_get_prepareStackTrace:
PUSH RBX
MOV RBX,RDI
CALL 0x00124742
CMP EDX,0x6
JZ 0x00163b5f
MOV RDI,RBX
MOV RSI,RAX
CALL 0x0011bbce
MOV RAX,qword ptr [RBX + 0x128]
MOV RDX,qword ptr [RBX + 0x130]
CMP EDX,-0x9
JC 0x00163b5f
INC dword ptr [RAX]
LAB_00163b5f:
POP RBX
RET
|
void js_error_get_prepareStackTrace(long param_1)
{
int1 auVar1 [12];
auVar1 = JS_ToObject();
if (auVar1._8_4_ != 6) {
JS_FreeValue(param_1,auVar1._0_8_);
if (0xfffffff6 < (uint)*(int8 *)(param_1 + 0x130)) {
**(int **)(param_1 + 0x128) = **(int **)(param_1 + 0x128) + 1;
}
}
return;
}
| |
62,172 | common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool) | monkey531[P]llama/common/common.cpp | void common_batch_add(
struct llama_batch & batch,
llama_token id,
llama_pos pos,
const std::vector<llama_seq_id> & seq_ids,
bool logits) {
GGML_ASSERT(batch.seq_id[batch.n_tokens] && "llama_batch size exceed... | O3 | cpp | common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int>> const&, bool):
pushq %rax
movq 0x28(%rdi), %rax
movslq (%rdi), %r9
cmpq $0x0, (%rax,%r9,8)
je 0x754f7
movq 0x8(%rdi), %r10
movl %esi, (%r10,%r9,4)
movq 0x18(%rdi), %rsi
movslq (%rdi), %r9
movl %edx, (%rsi,%r9,4)
movq (%rcx), %rdx
movq 0x8(%r... | _Z16common_batch_addR11llama_batchiiRKSt6vectorIiSaIiEEb:
push rax
mov rax, [rdi+28h]
movsxd r9, dword ptr [rdi]
cmp qword ptr [rax+r9*8], 0
jz short loc_754F7
mov r10, [rdi+8]
mov [r10+r9*4], esi
mov rsi, [rdi+18h]
movsxd r9, dword ptr [rdi]
mov [rsi+r9*4], edx
mov rdx, [rcx]
mov ... | long long common_batch_add(int *a1, int a2, int a3, long long *a4, char a5)
{
long long v5; // rax
long long v6; // rax
long long v7; // r9
long long v8; // rdx
long long v9; // rsi
long long v10; // rcx
long long v11; // rcx
long long v12; // rsi
long long v14; // [rsp-8h] [rbp-8h]
v14 = v5;
v6... | common_batch_add:
PUSH RAX
MOV RAX,qword ptr [RDI + 0x28]
MOVSXD R9,dword ptr [RDI]
CMP qword ptr [RAX + R9*0x8],0x0
JZ 0x001754f7
MOV R10,qword ptr [RDI + 0x8]
MOV dword ptr [R10 + R9*0x4],ESI
MOV RSI,qword ptr [RDI + 0x18]
MOVSXD R9,dword ptr [RDI]
MOV dword ptr [RSI + R9*0x4],EDX
MOV RDX,qword ptr [RCX]
MOV RSI,qwor... |
/* common_batch_add(llama_batch&, int, int, std::vector<int, std::allocator<int> > const&, bool) */
int8
common_batch_add(llama_batch *param_1,int param_2,int param_3,vector *param_4,bool param_5)
{
long lVar1;
long lVar2;
int8 in_RAX;
long lVar3;
long lVar4;
lVar1 = *(long *)(param_1 + 0x28);
if (*... | |
62,173 | match_pins | eloqsql/mysys/lf_alloc-pin.c | static int match_pins(LF_PINS *el, void *addr)
{
int i;
LF_PINS *el_end= el+LF_DYNARRAY_LEVEL_LENGTH;
for (; el < el_end; el++)
for (i= 0; i < LF_PINBOX_PINS; i++)
if (el->pin[i] == addr)
return 1;
return 0;
} | O0 | c | match_pins:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
addq $0x7800, %rax # imm = 0x7800
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x28(%rbp), %rax
jae 0xfcc89
movl $0x0, -0x1c(%rbp)
cmpl $0x4, -0x1c(%rbp)
jge 0xfcc79
movq -0x10(%rbp), %rax
movslq... | match_pins:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_10]
add rax, 7800h
mov [rbp+var_28], rax
loc_FCC3A:
mov rax, [rbp+var_10]
cmp rax, [rbp+var_28]
jnb short loc_FCC89
mov [rbp+var_1C], 0
loc_FCC4B:
cmp [rbp+var_1C], 4
jge sh... | long long match_pins(unsigned long long a1, long long a2)
{
int j; // [rsp+Ch] [rbp-1Ch]
unsigned long long i; // [rsp+18h] [rbp-10h]
for ( i = a1; i < a1 + 30720; i += 120LL )
{
for ( j = 0; j < 4; ++j )
{
if ( *(_QWORD *)(i + 8LL * j) == a2 )
return 1;
}
}
return 0;
}
| match_pins:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x10]
ADD RAX,0x7800
MOV qword ptr [RBP + -0x28],RAX
LAB_001fcc3a:
MOV RAX,qword ptr [RBP + -0x10]
CMP RAX,qword ptr [RBP + -0x28]
JNC 0x001fcc89
MOV dword ptr [RBP + -0x1c],0x0
LAB_001fcc4b:
CMP d... |
int4 match_pins(ulong param_1,long param_2)
{
int local_24;
ulong local_18;
local_18 = param_1;
do {
if (param_1 + 0x7800 <= local_18) {
return 0;
}
for (local_24 = 0; local_24 < 4; local_24 = local_24 + 1) {
if (*(long *)(local_18 + (long)local_24 * 8) == param_2) {
return ... | |
62,174 | match_pins | eloqsql/mysys/lf_alloc-pin.c | static int match_pins(LF_PINS *el, void *addr)
{
int i;
LF_PINS *el_end= el+LF_DYNARRAY_LEVEL_LENGTH;
for (; el < el_end; el++)
for (i= 0; i < LF_PINBOX_PINS; i++)
if (el->pin[i] == addr)
return 1;
return 0;
} | O3 | c | match_pins:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
xorl %ecx, %ecx
movq (%rdi,%rcx,8), %rdx
cmpq %rsi, %rdx
je 0xa5916
incq %rcx
cmpq $0x4, %rcx
jne 0xa58ed
leaq 0x78(%rax), %rcx
addq $0x78, %rdi
cmpq $0x7788, %rax # imm = 0x7788
movq %rcx, %rax
jb 0xa58eb
xorl %eax, %eax
jmp 0xa591b
movl $0x1, %eax
popq ... | match_pins:
push rbp
mov rbp, rsp
xor eax, eax
loc_A58EB:
xor ecx, ecx
loc_A58ED:
mov rdx, [rdi+rcx*8]
cmp rdx, rsi
jz short loc_A5916
inc rcx
cmp rcx, 4
jnz short loc_A58ED
lea rcx, [rax+78h]
add rdi, 78h ; 'x'
cmp rax, 7788h
mov rax, rcx
jb short loc_A58EB
... | long long match_pins(long long a1, long long a2)
{
unsigned long long v2; // rax
long long i; // rcx
bool v4; // cf
v2 = 0LL;
while ( 2 )
{
for ( i = 0LL; i != 4; ++i )
{
if ( *(_QWORD *)(a1 + 8 * i) == a2 )
return 1LL;
}
a1 += 120LL;
v4 = v2 < 0x7788;
v2 += 120LL;
... | match_pins:
PUSH RBP
MOV RBP,RSP
XOR EAX,EAX
LAB_001a58eb:
XOR ECX,ECX
LAB_001a58ed:
MOV RDX,qword ptr [RDI + RCX*0x8]
CMP RDX,RSI
JZ 0x001a5916
INC RCX
CMP RCX,0x4
JNZ 0x001a58ed
LEA RCX,[RAX + 0x78]
ADD RDI,0x78
CMP RAX,0x7788
MOV RAX,RCX
JC 0x001a58eb
XOR EAX,EAX
JMP 0x001a591b
LAB_001a5916:
MOV EAX,0x1
LAB_001a591b... |
int8 match_pins(long param_1,long param_2)
{
ulong uVar1;
long lVar2;
bool bVar3;
uVar1 = 0;
do {
lVar2 = 0;
do {
if (*(long *)(param_1 + lVar2 * 8) == param_2) {
return 1;
}
lVar2 = lVar2 + 1;
} while (lVar2 != 4);
param_1 = param_1 + 0x78;
bVar3 = uVar1 < 0... | |
62,175 | google::protobuf::Descriptor::map_value() const | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.cc | const FieldDescriptor* Descriptor::map_value() const {
if (!options().map_entry()) return nullptr;
GOOGLE_DCHECK_EQ(field_count(), 2);
return field(1);
} | O0 | cpp | google::protobuf::Descriptor::map_value() const:
subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq 0x68(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x1e62d0
movq %rax, %rdi
callq 0x1e62e0
testb $0x1, %al
jne 0x244892
movq $0x0, 0x70(%rsp)
jmp 0x244952
jmp 0x244894
xorl %eax, %eax
testb $0x1, %al
jne 0x24489f
jmp 0x24493e
movq 0x... | _ZNK6google8protobuf10Descriptor9map_valueEv:
sub rsp, 78h
mov [rsp+78h+var_10], rdi
mov rdi, [rsp+78h+var_10]; this
mov [rsp+78h+var_68], rdi
call _ZNK6google8protobuf10Descriptor7optionsEv; google::protobuf::Descriptor::options(void)
mov rdi, rax; this
call _ZNK6google8protobuf14MessageOptio... | long long google::protobuf::Descriptor::map_value(google::protobuf::Descriptor *this)
{
google::protobuf::MessageOptions *v1; // rax
v1 = (google::protobuf::MessageOptions *)google::protobuf::Descriptor::options(this);
if ( (google::protobuf::MessageOptions::map_entry(v1) & 1) != 0 )
return google::protobuf... | __copy_move_backward_a1<false,YAML::CollectionType::value**,YAML::CollectionType::value**>:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV qword ptr [RSP + 0x8],RSI
MOV qword ptr [RSP],RDX
MOV RDI,qword ptr [RSP + 0x10]
MOV RSI,qword ptr [RSP + 0x8]
MOV RDX,qword ptr [RSP]
CALL 0x00244890
ADD RSP,0x18
RET
|
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* YAML::CollectionType::value** std::__copy_move_backward_a1<false, YAML::CollectionType::value**,
YAML::CollectionType::value**>(YAML::CollectionType::value**, YAML::CollectionType::value**,
YAML::CollectionType::value**) */
value **... | |
62,176 | release_whole_queue | eloqsql/mysys/mf_keycache.c | static void release_whole_queue(KEYCACHE_WQUEUE *wqueue)
{
struct st_my_thread_var *last;
struct st_my_thread_var *next;
struct st_my_thread_var *thread;
/* Queue may be empty. */
if (!(last= wqueue->last_thread))
return;
next= last->next; /* First (oldest) element */
do
... | O3 | c | release_whole_queue:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %r14
testq %r14, %r14
je 0x5467c
movq %rdi, %rbx
movq 0x88(%r14), %r12
leaq 0x2e2290(%rip), %r15 # 0x3368c8
movq 0x38(%r12), %rdi
movq 0x88(%r12), %r13
movq $0x0, 0x88(%r12)
testq %rdi, %rdi... | release_whole_queue:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, [rdi]
test r14, r14
jz short loc_5467C
mov rbx, rdi
mov r12, [r14+88h]
lea r15, PSI_server
loc_54638:
mov rdi, [r12+38h]
mov r13, [r12+88h]
mov qword ptr... | long long release_whole_queue(long long *a1)
{
long long v1; // r14
long long v3; // r12
long long v4; // rdi
long long v5; // r13
long long result; // rax
bool v7; // zf
v1 = *a1;
if ( *a1 )
{
v3 = *(_QWORD *)(v1 + 136);
do
{
v4 = *(_QWORD *)(v3 + 56);
v5 = *(_QWORD *)(v3 + ... | release_whole_queue:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,qword ptr [RDI]
TEST R14,R14
JZ 0x0015467c
MOV RBX,RDI
MOV R12,qword ptr [R14 + 0x88]
LEA R15,[0x4368c8]
LAB_00154638:
MOV RDI,qword ptr [R12 + 0x38]
MOV R13,qword ptr [R12 + 0x88]
MOV qword ptr [R12 + 0x88],0x0
TEST... |
void release_whole_queue(long *param_1)
{
long lVar1;
long lVar2;
long lVar3;
bool bVar4;
lVar1 = *param_1;
if (lVar1 != 0) {
lVar3 = *(long *)(lVar1 + 0x88);
do {
lVar2 = *(long *)(lVar3 + 0x88);
*(int8 *)(lVar3 + 0x88) = 0;
if (*(long *)(lVar3 + 0x38) != 0) {
(**(cod... | |
62,177 | google::protobuf::safe_strtou32(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/stubs/strutil.cc | bool safe_strtou32(const std::string &str, uint32_t *value) {
return safe_uint_internal(str, value);
} | O3 | cpp | google::protobuf::safe_strtou32(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int*):
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
movq %rsp, %r14
mov... | _ZN6google8protobuf13safe_strtou32ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPj:
push r15
push r14
push rbx
sub rsp, 20h
mov rbx, rsi
lea r15, [rsp+38h+var_28]
mov [r15-10h], r15
mov rsi, [rdi]
mov rdx, [rdi+8]
add rdx, rsi
mov r14, rsp
mov rdi, r14
call __ZNS... | long long google::protobuf::safe_strtou32(_QWORD *a1, long long a2)
{
unsigned int v2; // ebx
void *v4[2]; // [rsp+0h] [rbp-38h] BYREF
_BYTE v5[40]; // [rsp+10h] [rbp-28h] BYREF
v4[0] = v5;
std::string::_M_construct<char *>(v4, *a1, *a1 + a1[1]);
v2 = google::protobuf::safe_uint_internal<unsigned int>(v4,... | safe_strtou32:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x20
MOV RBX,RSI
LEA R15,[RSP + 0x10]
MOV qword ptr [R15 + -0x10],R15
MOV RSI,qword ptr [RDI]
MOV RDX,qword ptr [RDI + 0x8]
ADD RDX,RSI
MOV R14,RSP
MOV RDI,R14
CALL 0x0012c640
LAB_00188931:
MOV RDI,R14
MOV RSI,RBX
CALL 0x0018a30c
LAB_0018893c:
MOV EBX,EAX
MOV RDI,qword ... |
/* google::protobuf::safe_strtou32(std::__cxx11::string const&, unsigned int*) */
ulong google::protobuf::safe_strtou32(string *param_1,uint *param_2)
{
bool bVar1;
int7 extraout_var;
int1 *local_38 [2];
int1 local_28 [16];
local_38[0] = local_28;
std::__cxx11::string::_M_construct<char*>
... | |
62,178 | parse_cpu_range(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool (&) [512]) | monkey531[P]llama/common/common.cpp | bool parse_cpu_range(const std::string & range, bool (&boolmask)[GGML_MAX_N_THREADS]) {
size_t dash_loc = range.find('-');
if (dash_loc == std::string::npos) {
LOG_ERR("Format of CPU range is invalid! Expected [<start>]-[<end>].\n");
return false;
}
size_t start_i;
size_t end_i;
... | O2 | cpp | parse_cpu_range(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool (&) [512]):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r15
pushq $0x2d
popq %rsi
xorl %edx, %edx
callq 0x24d40
movq %rax, %r12
testq %rax, %rax
je 0x55f6c
... | _Z15parse_cpu_rangeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERA512_b:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 20h
mov rbx, rsi
mov r15, rdi
push 2Dh ; '-'
pop rsi
xor edx, edx
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm; std::st... | long long parse_cpu_range(long long a1, long long a2)
{
unsigned int v2; // ebx
long long v3; // rax
long long v4; // r12
int v5; // eax
int v6; // ecx
int v7; // r8d
int v8; // r9d
const char *v9; // rdx
unsigned long long v10; // r14
unsigned long long v11; // r13
char v13[72]; // [rsp+0h] [rbp... | parse_cpu_range:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x20
MOV RBX,RSI
MOV R15,RDI
PUSH 0x2d
POP RSI
XOR EDX,EDX
CALL 0x00124d40
MOV R12,RAX
TEST RAX,RAX
JZ 0x00155f6c
CMP R12,-0x1
JNZ 0x00155f71
LEA RAX,[0x2025d8]
CMP dword ptr [RAX],0x0
JS 0x00156047
CALL 0x0019904a
LEA RDX,[0x1b4d3b]
JMP 0x00156025
L... |
/* parse_cpu_range(std::__cxx11::string const&, bool (&) [512]) */
ulong parse_cpu_range(string *param_1,bool *param_2)
{
long lVar1;
int8 uVar2;
ulong uVar3;
char *pcVar4;
ulong uVar5;
string asStack_48 [32];
lVar1 = std::__cxx11::string::find((char)param_1,0x2d);
if (lVar1 == 0) {
uVar3 = 0;... | |
62,179 | CLI::Formatter::make_positionals[abi:cxx11](CLI::App const*) const | MikePodsytnik[P]TCRtrie/build_O0/_deps/cli11-src/include/CLI/impl/Formatter_inl.hpp | CLI11_INLINE std::string Formatter::make_positionals(const App *app) const {
std::vector<const Option *> opts =
app->get_options([](const Option *opt) { return !opt->get_group().empty() && opt->get_positional(); });
if(opts.empty())
return {};
return make_group(get_label("Positionals"), tr... | O0 | cpp | CLI::Formatter::make_positionals[abi:cxx11](CLI::App const*) const:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp # imm = 0x100
movq %rdi, -0xf0(%rbp)
movq %rdi, %rax
movq %rax, -0xe8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -... | _ZNK3CLI9Formatter16make_positionalsB5cxx11EPKNS_3AppE:
push rbp
mov rbp, rsp
sub rsp, 100h
mov [rbp+var_F0], rdi
mov rax, rdi
mov [rbp+var_E8], rax
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_10]
mov [rbp+var_E0], rax
mov rax, [rbp+v... | long long CLI::Formatter::make_positionals[abi:cxx11](long long a1, long long a2, long long a3)
{
long long v3; // rdx
long long v4; // rcx
long long v5; // r8
long long v6; // r9
long long v9[3]; // [rsp+38h] [rbp-C8h] BYREF
char v10; // [rsp+57h] [rbp-A9h] BYREF
_BYTE v11[32]; // [rsp+58h] [rbp-A8h] BY... | make_positionals[abi:cxx11]:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x100
MOV qword ptr [RBP + -0xf0],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0xe8],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0xe0],RAX
MOV RAX,qword ptr [RB... |
/* CLI::Formatter::make_positionals[abi:cxx11](CLI::App const*) const */
App * CLI::Formatter::make_positionals_abi_cxx11_(App *param_1)
{
ulong uVar1;
int8 in_RDX;
long *in_RSI;
vector<CLI::Option_const*,std::allocator<CLI::Option_const*>> local_d0 [31];
allocator local_b1;
string local_b0 [32];
strin... | |
62,180 | server_context::receive_cmpl_results_stream(std::unordered_set<int, std::hash<int>, std::equal_to<int>, std::allocator<int>> const&, std::function<bool (std::unique_ptr<server_task_result, std::default_delete<server_task_result>>&)> const&, std::function<void (nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v... | monkey531[P]llama/examples/server/server.cpp | void receive_cmpl_results_stream(
const std::unordered_set<int> & id_tasks,
const std::function<bool(server_task_result_ptr&)> & result_handler,
const std::function<void(json)> & error_handler,
const std::function<bool()> & is_connection_closed) {
size_t n_finishe... | O1 | cpp | server_context::receive_cmpl_results_stream(std::unordered_set<int, std::hash<int>, std::equal_to<int>, std::allocator<int>> const&, std::function<bool (std::unique_ptr<server_task_result, std::default_delete<server_task_result>>&)> const&, std::function<void (nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v... | _ZN14server_context27receive_cmpl_results_streamERKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEERKSt8functionIFbRSt10unique_ptrI18server_task_resultSt14default_deleteISB_EEEERKS9_IFvN8nlohmann16json_abi_v3_11_310basic_jsonINSL_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNSL_14ad... | long long server_context::receive_cmpl_results_stream(
long long a1,
std::chrono::_V2::steady_clock *a2,
long long a3,
long long a4,
long long a5)
{
char v6; // al
void *v7; // r15
unsigned int v8; // r15d
long long result; // rax
void *lpsrc; // [rsp+8h] [rbp-60h] BYR... | receive_cmpl_results_stream:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV RBX,R8
MOV qword ptr [RSP + 0x20],RCX
MOV qword ptr [RSP + 0x18],RDX
MOV R12,RSI
MOV R13,RDI
LEA RBP,[RDI + 0x1578]
LEA RDI,[RSP + 0x8]
MOV RSI,RBP
MOV RDX,R12
MOV ECX,0x1
CALL 0x0018b028
CMP qword ptr [RBX + 0x10],0x0
J... |
/* server_context::receive_cmpl_results_stream(std::unordered_set<int, std::hash<int>,
std::equal_to<int>, std::allocator<int> > const&, std::function<bool
(std::unique_ptr<server_task_result, std::default_delete<server_task_result> >&)> const&,
std::function<void
(nlohmann::json_abi_v3_11_3::basic_json<nl... | |
62,181 | server_context::receive_cmpl_results_stream(std::unordered_set<int, std::hash<int>, std::equal_to<int>, std::allocator<int>> const&, std::function<bool (std::unique_ptr<server_task_result, std::default_delete<server_task_result>>&)> const&, std::function<void (nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v... | monkey531[P]llama/examples/server/server.cpp | void receive_cmpl_results_stream(
const std::unordered_set<int> & id_tasks,
const std::function<bool(server_task_result_ptr&)> & result_handler,
const std::function<void(json)> & error_handler,
const std::function<bool()> & is_connection_closed) {
size_t n_finishe... | O2 | cpp | server_context::receive_cmpl_results_stream(std::unordered_set<int, std::hash<int>, std::equal_to<int>, std::allocator<int>> const&, std::function<bool (std::unique_ptr<server_task_result, std::default_delete<server_task_result>>&)> const&, std::function<void (nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v... | _ZN14server_context27receive_cmpl_results_streamERKSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEERKSt8functionIFbRSt10unique_ptrI18server_task_resultSt14default_deleteISB_EEEERKS9_IFvN8nlohmann16json_abi_v3_11_310basic_jsonINSL_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNSL_14ad... | long long server_context::receive_cmpl_results_stream(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5)
{
char v6; // al
void *v7; // r13
unsigned int v8; // r13d
long long result; // rax
long long v10; // rbx
void *lpsrc; // [rsp+0h] [rbp-68h] B... | receive_cmpl_results_stream:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV RBX,R8
MOV qword ptr [RSP + 0x20],RCX
MOV qword ptr [RSP + 0x18],RDX
MOV R12,RSI
MOV qword ptr [RSP + 0x10],RDI
LEA RBP,[RDI + 0x1578]
MOV qword ptr [RSP + 0x8],0x0
MOV R14,RSP
PUSH 0x1
POP R15
LAB_0017a0ea:
MOV RDI,R14
... |
/* server_context::receive_cmpl_results_stream(std::unordered_set<int, std::hash<int>,
std::equal_to<int>, std::allocator<int> > const&, std::function<bool
(std::unique_ptr<server_task_result, std::default_delete<server_task_result> >&)> const&,
std::function<void
(nlohmann::json_abi_v3_11_3::basic_json<nl... | |
62,182 | CutSegment | seiftnesse[P]memoryallocator/src/custom_alloc_util.c | segment_t *CutSegment(segment_t *s, int size_to_cut) {
if (s->size <= size_to_cut) {
HEAP_LOG("Cannot cut segment: segment size %d <= requested size %d\n", s->size, size_to_cut);
return s;
}
uintptr_t addr = (uintptr_t) s;
addr += (s->size - size_to_cut) * BLOCK_SIZE;
// Ensure new... | O3 | c | CutSegment:
movq %rdi, %rax
movl 0x4(%rdi), %ecx
subl %esi, %ecx
jle 0x1eca
pushq %rbx
movl %ecx, %edx
shll $0xc, %edx
movslq %edx, %rdx
leaq (%rax,%rdx), %rbx
addq $0xf, %rbx
andq $-0x10, %rbx
movl %ecx, 0x4(%rax)
movl %esi, 0x4(%rbx)
movq %rax, 0x10(%rbx)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movl (%rax), %edx
mo... | CutSegment:
mov rax, rdi
mov ecx, [rdi+4]
sub ecx, esi
jle short locret_1ECA
push rbx
mov edx, ecx
shl edx, 0Ch
movsxd rdx, edx
lea rbx, [rax+rdx]
add rbx, 0Fh
and rbx, 0FFFFFFFFFFFFFFF0h
mov [rax+4], ecx
mov [rbx+4], esi
mov [rbx+10h], rax
mov rcx, [rax+8]
mov ... | unsigned long long CutSegment(unsigned long long a1, int a2)
{
unsigned long long result; // rax
int v3; // ecx
bool v4; // cc
int v5; // ecx
unsigned long long v6; // rbx
long long v7; // rcx
result = a1;
v3 = *(_DWORD *)(a1 + 4);
v4 = v3 <= a2;
v5 = v3 - a2;
if ( !v4 )
{
v6 = (a1 + (v5 <... | CutSegment:
MOV RAX,RDI
MOV ECX,dword ptr [RDI + 0x4]
SUB ECX,ESI
JLE 0x00101eca
PUSH RBX
MOV EDX,ECX
SHL EDX,0xc
MOVSXD RDX,EDX
LEA RBX,[RAX + RDX*0x1]
ADD RBX,0xf
AND RBX,-0x10
MOV dword ptr [RAX + 0x4],ECX
MOV dword ptr [RBX + 0x4],ESI
MOV qword ptr [RBX + 0x10],RAX
MOV RCX,qword ptr [RAX + 0x8]
MOV qword ptr [RBX +... |
int4 * CutSegment(int4 *param_1,int param_2)
{
long lVar1;
int iVar2;
int4 *puVar3;
iVar2 = param_1[1] - param_2;
puVar3 = param_1;
if (iVar2 != 0 && param_2 <= (int)param_1[1]) {
puVar3 = (int4 *)((long)param_1 + (long)(iVar2 * 0x1000) + 0xf & 0xfffffffffffffff0);
param_1[1] = iVar2;
puVar... | |
62,183 | Vector2ClampValue | csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/raymath.h | RMAPI Vector2 Vector2ClampValue(Vector2 v, float min, float max)
{
Vector2 result = v;
float length = (v.x*v.x) + (v.y*v.y);
if (length > 0.0f)
{
length = sqrtf(length);
float scale = 1; // By default, 1 as the neutral element.
if (length < min)
{
scale =... | O0 | c | Vector2ClampValue:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movlpd %xmm0, -0x10(%rbp)
movss %xmm1, -0x14(%rbp)
movss %xmm2, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x8(%rbp)
movss -0x10(%rbp), %xmm0
movss -0x10(%rbp), %xmm2
movss -0xc(%rbp), %xmm1
mulss -0xc(%rbp), %xmm1
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
... | Vector2ClampValue:
push rbp
mov rbp, rsp
sub rsp, 20h
movlpd [rbp+var_10], xmm0
movss [rbp+var_14], xmm1
movss [rbp+var_18], xmm2
mov rax, [rbp+var_10]
mov [rbp+var_8], rax
movss xmm0, dword ptr [rbp+var_10]
movss xmm2, dword ptr [rbp+var_10]
movss xmm1, dword ptr [rbp+var_10+4]
mulss xm... | double Vector2ClampValue(double a1, float a2, float a3)
{
double v3; // xmm0_8
float v5; // [rsp+0h] [rbp-20h]
float v6; // [rsp+4h] [rbp-1Ch]
double v8; // [rsp+18h] [rbp-8h]
v8 = a1;
v6 = (float)(*(float *)&a1 * *(float *)&a1) + (float)(*((float *)&a1 + 1) * *((float *)&a1 + 1));
if ( v6 > 0.0 )
{
... | Vector2ClampValue:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOVLPD qword ptr [RBP + -0x10],XMM0
MOVSS dword ptr [RBP + -0x14],XMM1
MOVSS dword ptr [RBP + -0x18],XMM2
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x8],RAX
MOVSS XMM0,dword ptr [RBP + -0x10]
MOVSS XMM2,dword ptr [RBP + -0x10]
MOVSS XMM1,dword ptr [RBP + ... |
int8 Vector2ClampValue(int8 param_1,float param_2,float param_3)
{
float fVar1;
int4 local_28;
int4 local_18;
int4 uStack_14;
int8 local_10;
local_18 = (float)param_1;
uStack_14 = (float)((ulong)param_1 >> 0x20);
fVar1 = local_18 * local_18 + uStack_14 * uStack_14;
local_10 = param_1;
if (0.0 <... | |
62,184 | Vector2ClampValue | csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/raymath.h | RMAPI Vector2 Vector2ClampValue(Vector2 v, float min, float max)
{
Vector2 result = v;
float length = (v.x*v.x) + (v.y*v.y);
if (length > 0.0f)
{
length = sqrtf(length);
float scale = 1; // By default, 1 as the neutral element.
if (length < min)
{
scale =... | O1 | c | Vector2ClampValue:
movaps %xmm0, %xmm5
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3 # xmm3 = xmm3[1,1],xmm0[1,1]
movaps %xmm3, %xmm4
mulss %xmm3, %xmm4
mulss %xmm0, %xmm0
addss %xmm4, %xmm0
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm0
jbe 0x67c91
leaq -0x38(%rsp), %rsp
jb 0x67c30
sqrtss %xmm0, %xmm0
jmp 0x67c61
movaps... | Vector2ClampValue:
movaps xmm5, xmm0
movaps xmm3, xmm0
shufps xmm3, xmm0, 55h ; 'U'
movaps xmm4, xmm3
mulss xmm4, xmm3
mulss xmm0, xmm0
addss xmm0, xmm4
xorps xmm4, xmm4
ucomiss xmm0, xmm4
jbe short loc_67C91
lea rsp, [rsp-38h]
jb short loc_67C30
sqrtss xmm0, xmm0
jmp short loc_67C61
loc_6... | __m128 Vector2ClampValue(__m128 a1, float a2, float a3)
{
__m128 v3; // xmm5
__m128 v4; // xmm3
float v5; // xmm1_4
__m128 v7; // [rsp+18h] [rbp-18h]
v3 = a1;
v4 = _mm_shuffle_ps(a1, a1, 85);
a1.m128_f32[0] = (float)(a1.m128_f32[0] * a1.m128_f32[0]) + (float)(v4.m128_f32[0] * v4.m128_f32[0]);
if ( a1.... | Vector2ClampValue:
MOVAPS XMM5,XMM0
MOVAPS XMM3,XMM0
SHUFPS XMM3,XMM0,0x55
MOVAPS XMM4,XMM3
MULSS XMM4,XMM3
MULSS XMM0,XMM0
ADDSS XMM0,XMM4
XORPS XMM4,XMM4
UCOMISS XMM0,XMM4
JBE 0x00167c91
LEA RSP,[RSP + -0x38]
JC 0x00167c30
SQRTSS XMM0,XMM0
JMP 0x00167c61
LAB_00167c30:
MOVAPS xmmword ptr [RSP + 0x20],XMM5
MOVAPS xmmwo... |
int8 Vector2ClampValue(int8 param_1,float param_2,float param_3)
{
float fVar1;
float fVar2;
float fVar3;
float fVar4;
fVar3 = (float)((ulong)param_1 >> 0x20);
fVar4 = (float)param_1;
fVar1 = fVar4 * fVar4 + fVar3 * fVar3;
if (0.0 < fVar1) {
if (fVar1 < 0.0) {
fVar1 = sqrtf(fVar1);
}
... | |
62,185 | Vector2ClampValue | csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/raymath.h | RMAPI Vector2 Vector2ClampValue(Vector2 v, float min, float max)
{
Vector2 result = v;
float length = (v.x*v.x) + (v.y*v.y);
if (length > 0.0f)
{
length = sqrtf(length);
float scale = 1; // By default, 1 as the neutral element.
if (length < min)
{
scale =... | O3 | c | Vector2ClampValue:
movaps %xmm0, %xmm3
mulps %xmm0, %xmm3
shufps $0x55, %xmm3, %xmm3 # xmm3 = xmm3[1,1,1,1]
movaps %xmm0, %xmm4
mulss %xmm0, %xmm4
addss %xmm3, %xmm4
xorps %xmm3, %xmm3
ucomiss %xmm3, %xmm4
movaps %xmm0, %xmm3
jbe 0x6621e
xorps %xmm3, %xmm3
sqrtss %xmm4, %xmm3
ucomiss %xmm3, %xmm1
jbe 0x66201
divss ... | Vector2ClampValue:
movaps xmm3, xmm0
mulps xmm3, xmm0
shufps xmm3, xmm3, 55h ; 'U'
movaps xmm4, xmm0
mulss xmm4, xmm0
addss xmm4, xmm3
xorps xmm3, xmm3
ucomiss xmm4, xmm3
movaps xmm3, xmm0
jbe short loc_6621E
xorps xmm3, xmm3
sqrtss xmm3, xmm4
ucomiss xmm1, xmm3
jbe short loc_66201
divss xmm1, ... | __m128 Vector2ClampValue(__m128 a1, __m128 a2, __m128 a3)
{
__m128 v3; // xmm3
float v4; // xmm4_4
__m128 v5; // xmm3
float v6; // xmm3_4
__m128 v7; // xmm3
v3 = _mm_mul_ps(a1, a1);
v4 = (float)(a1.m128_f32[0] * a1.m128_f32[0]) + _mm_shuffle_ps(v3, v3, 85).m128_f32[0];
v5 = a1;
if ( v4 > 0.0 )
{
... | Vector2ClampValue:
MOVAPS XMM3,XMM0
MULPS XMM3,XMM0
SHUFPS XMM3,XMM3,0x55
MOVAPS XMM4,XMM0
MULSS XMM4,XMM0
ADDSS XMM4,XMM3
XORPS XMM3,XMM3
UCOMISS XMM4,XMM3
MOVAPS XMM3,XMM0
JBE 0x0016621e
XORPS XMM3,XMM3
SQRTSS XMM3,XMM4
UCOMISS XMM1,XMM3
JBE 0x00166201
DIVSS XMM1,XMM3
MOVAPS XMM3,XMM1
JMP 0x00166217
LAB_00166201:
UCO... |
int8 Vector2ClampValue(int8 param_1,float param_2,float param_3)
{
float fVar1;
float fVar2;
float fVar3;
float fVar4;
fVar3 = (float)((ulong)param_1 >> 0x20);
fVar2 = (float)param_1;
fVar4 = fVar2 * fVar2 + fVar3 * fVar3;
if (0.0 < fVar4) {
fVar4 = SQRT(fVar4);
if (param_2 <= fVar4) {
... | |
62,186 | google::protobuf::internal::ExtensionSet::Extension::Free() | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/extension_set.cc | void ExtensionSet::Extension::Free() {
if (is_repeated) {
switch (cpp_type(type)) {
#define HANDLE_TYPE(UPPERCASE, LOWERCASE) \
case WireFormatLite::CPPTYPE_##UPPERCASE: \
delete repeated_##LOWERCASE##_value; \
break
HANDLE_TYPE(INT32, int32_t);
HANDLE_TYPE(INT64, int64_t);
HANDL... | O0 | cpp | google::protobuf::internal::ExtensionSet::Extension::Free():
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x78(%rsp)
testb $0x1, 0x9(%rax)
je 0x3992dc
movq 0x78(%rsp), %rax
movzbl 0x8(%rax), %edi
callq 0x383920
decl %eax
movl %eax, %ecx
movq %rcx, 0x70(%rsp)
subl $0x9, %eax
ja 0x3992d7
movq 0... | _ZN6google8protobuf8internal12ExtensionSet9Extension4FreeEv:
sub rsp, 88h
mov [rsp+88h+var_8], rdi
mov rax, [rsp+88h+var_8]
mov [rsp+88h+var_10], rax
test byte ptr [rax+9], 1
jz loc_3992DC
mov rax, [rsp+88h+var_10]
movzx edi, byte ptr [rax+8]; this
call _ZN6google8protobuf8internal12_GL... | void google::protobuf::internal::ExtensionSet::Extension::Free(
google::protobuf::internal::RepeatedPtrFieldBase **this,
unsigned __int8 a2)
{
google::protobuf::internal::RepeatedPtrFieldBase *v2; // [rsp+10h] [rbp-78h]
int v3; // [rsp+1Ch] [rbp-6Ch]
google::protobuf::internal::RepeatedPtrFieldBa... | allocator:
PUSH RAX
MOV qword ptr [RSP],RDI
MOV RDI,qword ptr [RSP]
CALL 0x003990f0
POP RAX
RET
|
/* std::allocator<std::_Rb_tree_node<std::pair<std::vector<int, std::allocator<int> > const,
std::vector<int, std::allocator<int> > > > >::allocator() */
allocator<std::_Rb_tree_node<std::pair<std::vector<int,std::allocator<int>>const,std::vector<int,std::allocator<int>>>>>
* __thiscall
std::
allocator<std::_Rb_tr... | |
62,187 | pcmp | eloqsql/strings/ctype-simple.c | static int pcmp(const void * f, const void * s)
{
const uni_idx *F= (const uni_idx*) f;
const uni_idx *S= (const uni_idx*) s;
int res;
if (!(res=((S->nchars)-(F->nchars))))
res=((F->uidx.from)-(S->uidx.to));
return res;
} | O0 | c | pcmp:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl (%rax), %eax
movq -0x18(%rbp), %rcx
subl (%rcx), %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, %eax
jne 0x46a65
movq -0x18(%rbp), ... | pcmp:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov [rbp+var_18], rax
mov rax, [rbp+var_10]
mov [rbp+var_20], rax
mov rax, [rbp+var_20]
mov eax, [rax]
mov rcx, [rbp+var_18]
sub eax, [rcx]
mov [rbp+var_24], eax
cmp eax, 0
... | long long pcmp(long long a1, long long a2)
{
unsigned int v3; // [rsp+0h] [rbp-24h]
v3 = *(_DWORD *)a2 - *(_DWORD *)a1;
if ( !v3 )
return *(unsigned __int16 *)(a1 + 8) - (unsigned int)*(unsigned __int16 *)(a2 + 10);
return v3;
}
| pcmp:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV EAX,dword ptr [RAX]
MOV RCX,qword ptr [RBP + -0x18]
SUB EAX,dword p... |
int pcmp(int *param_1,int *param_2)
{
int local_2c;
local_2c = *param_2 - *param_1;
if (local_2c == 0) {
local_2c = (uint)*(ushort *)(param_1 + 2) - (uint)*(ushort *)((long)param_2 + 10);
}
return local_2c;
}
| |
62,188 | pcmp | eloqsql/strings/ctype-simple.c | static int pcmp(const void * f, const void * s)
{
const uni_idx *F= (const uni_idx*) f;
const uni_idx *S= (const uni_idx*) s;
int res;
if (!(res=((S->nchars)-(F->nchars))))
res=((F->uidx.from)-(S->uidx.to));
return res;
} | O3 | c | pcmp:
pushq %rbp
movq %rsp, %rbp
movl (%rsi), %eax
subl (%rdi), %eax
jne 0x39e09
movzwl 0x8(%rdi), %eax
movzwl 0xa(%rsi), %ecx
subl %ecx, %eax
popq %rbp
retq
nop
| pcmp:
push rbp
mov rbp, rsp
mov eax, [rsi]
sub eax, [rdi]
jnz short loc_39E09
movzx eax, word ptr [rdi+8]
movzx ecx, word ptr [rsi+0Ah]
sub eax, ecx
loc_39E09:
pop rbp
retn
| long long pcmp(long long a1, long long a2)
{
long long result; // rax
result = (unsigned int)(*(_DWORD *)a2 - *(_DWORD *)a1);
if ( *(_DWORD *)a2 == *(_DWORD *)a1 )
return *(unsigned __int16 *)(a1 + 8) - (unsigned int)*(unsigned __int16 *)(a2 + 10);
return result;
}
| pcmp:
PUSH RBP
MOV RBP,RSP
MOV EAX,dword ptr [RSI]
SUB EAX,dword ptr [RDI]
JNZ 0x00139e09
MOVZX EAX,word ptr [RDI + 0x8]
MOVZX ECX,word ptr [RSI + 0xa]
SUB EAX,ECX
LAB_00139e09:
POP RBP
RET
|
int pcmp(int *param_1,int *param_2)
{
int iVar1;
iVar1 = *param_2 - *param_1;
if (iVar1 == 0) {
iVar1 = (uint)*(ushort *)(param_1 + 2) - (uint)*(ushort *)((long)param_2 + 10);
}
return iVar1;
}
| |
62,189 | Settings::setHeight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | 666mxvbee[P]BattleShip/lib/Settings/Settings.cpp | std::string Settings::setHeight(const std::string& N) {
std::lock_guard<std::mutex> lock(settings_mutex);
std::regex valid_number_regex("^\\d+$");
if (!std::regex_match(N, valid_number_regex)) {
return "failed";
}
uint64_t value = std::stoull(N);
height = value;
return "ok";
} | O1 | cpp | Settings::setHeight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x5500
testl %eax, %eax
jne 0x66d1
leaq 0x13c6d(%rip), %rsi... | _ZN8Settings9setHeightERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov r15, rdx
mov rbx, rsi
mov r14, rdi
mov rdi, rsi
call _pthread_mutex_lock
test eax, eax
jnz loc_66D1
lea rsi, aD; "^\\d... | _QWORD * Settings::setHeight(_QWORD *a1, long long a2, long long *a3)
{
int v6; // eax
long long v7; // rdi
long long v8; // rsi
char v9; // bp
long long v10; // r12
int *v11; // r15
int v12; // ebp
long long v13; // rax
long long v15; // r14
__int128 v16; // [rsp+0h] [rbp-78h] BYREF
__int128 v17;... | setHeight:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
MOV RDI,RSI
CALL 0x00105500
TEST EAX,EAX
JNZ 0x001066d1
LAB_001065cb:
LEA RSI,[0x11a23f]
LEA RDI,[RSP + 0x28]
MOV EDX,0x10
CALL 0x00107400
MOV RDI,qword ptr [R15]
MOV RSI,qword ptr [R15 + 0x8]
ADD RSI,RDI
X... |
/* Settings::setHeight(std::__cxx11::string const&) */
string * Settings::setHeight(string *param_1)
{
char *__nptr;
bool bVar1;
int iVar2;
int *piVar3;
ulonglong uVar4;
int8 uVar5;
long *in_RDX;
pthread_mutex_t *in_RSI;
char *local_78;
int8 uStack_70;
long local_68;
int8 uStack_60;
basic_r... | |
62,190 | Settings::setHeight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | 666mxvbee[P]BattleShip/lib/Settings/Settings.cpp | std::string Settings::setHeight(const std::string& N) {
std::lock_guard<std::mutex> lock(settings_mutex);
std::regex valid_number_regex("^\\d+$");
if (!std::regex_match(N, valid_number_regex)) {
return "failed";
}
uint64_t value = std::stoull(N);
height = value;
return "ok";
} | O2 | cpp | Settings::setHeight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x6e34
leaq 0x11102(%rip), %rsi # 0x1723f
leaq 0x10(%rsp), %rdi
pushq $0x10
popq %rdx
ca... | _ZN8Settings9setHeightERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push r15
push r14
push rbx
sub rsp, 30h
mov r15, rdx
mov rbx, rsi
mov r14, rdi
mov rdi, rsi; this
call _ZNSt5mutex4lockEv; std::mutex::lock(void)
lea rsi, aD; "^\\d+$"
lea rdi, [rsp+48h+var_38]
push ... | long long Settings::setHeight(long long a1, std::mutex *a2, long long a3)
{
char v5; // [rsp+Fh] [rbp-39h] BYREF
_BYTE v6[56]; // [rsp+10h] [rbp-38h] BYREF
std::mutex::lock(a2);
std::basic_regex<char,std::regex_traits<char>>::basic_regex(v6, "^\\d+$", 16LL);
if ( (unsigned __int8)std::regex_match<std::char_... | setHeight:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
MOV RDI,RSI
CALL 0x00106e34
LAB_00106136:
LEA RSI,[0x11723f]
LEA RDI,[RSP + 0x10]
PUSH 0x10
POP RDX
CALL 0x00106b8c
LAB_0010614a:
LEA RSI,[RSP + 0x10]
MOV RDI,R15
XOR EDX,EDX
CALL 0x00106bf2
TEST AL,AL
JZ 0x00106184
LAB_0010615d:
PUS... |
/* Settings::setHeight(std::__cxx11::string const&) */
string * Settings::setHeight(string *param_1)
{
bool bVar1;
long lVar2;
string *in_RDX;
pthread_mutex_t *in_RSI;
allocator local_39;
basic_regex<char,std::__cxx11::regex_traits<char>> local_38 [32];
std::mutex::lock();
/* try... | |
62,191 | Settings::setHeight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | 666mxvbee[P]BattleShip/lib/Settings/Settings.cpp | std::string Settings::setHeight(const std::string& N) {
std::lock_guard<std::mutex> lock(settings_mutex);
std::regex valid_number_regex("^\\d+$");
if (!std::regex_match(N, valid_number_regex)) {
return "failed";
}
uint64_t value = std::stoull(N);
height = value;
return "ok";
} | O3 | cpp | Settings::setHeight(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x5500
testl %eax, %eax
jne 0x6685
leaq 0x13cb9(%rip), %rsi... | _ZN8Settings9setHeightERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov r15, rdx
mov rbx, rsi
mov r14, rdi
mov rdi, rsi
call _pthread_mutex_lock
test eax, eax
jnz loc_6685
lea rsi, aD; "^\\d... | _QWORD * Settings::setHeight(_QWORD *a1, long long a2, long long *a3)
{
int v6; // eax
long long v7; // rdi
long long v8; // rsi
char v9; // bp
long long v10; // r12
int *v11; // r15
int v12; // ebp
long long v13; // rax
long long v15; // r14
__int128 v16; // [rsp+0h] [rbp-78h] BYREF
__int128 v17;... | setHeight:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
MOV RDI,RSI
CALL 0x00105500
TEST EAX,EAX
JNZ 0x00106685
LAB_0010657f:
LEA RSI,[0x11a23f]
LEA RDI,[RSP + 0x28]
MOV EDX,0x10
CALL 0x001073ac
MOV RDI,qword ptr [R15]
MOV RSI,qword ptr [R15 + 0x8]
ADD RSI,RDI
X... |
/* Settings::setHeight(std::__cxx11::string const&) */
string * Settings::setHeight(string *param_1)
{
char *__nptr;
bool bVar1;
int iVar2;
int *piVar3;
ulonglong uVar4;
int8 uVar5;
long *in_RDX;
pthread_mutex_t *in_RSI;
char *local_78;
int8 uStack_70;
long local_68;
int8 uStack_60;
basic_r... | |
62,192 | session::invalidate() | untodesu[P]voxelius/game/client/session.cc | void session::invalidate(void)
{
if(session::peer) {
enet_peer_reset(session::peer);
message_box::reset();
message_box::set_title("disconnected.disconnected");
message_box::set_subtitle("enet.peer_connection_timeout");
message_box::add_button("disconnected.back", [](... | O0 | cpp | session::invalidate():
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
cmpq $0x0, 0x3f3960(%rip) # 0x50f790
je 0x11be85
movq 0x3f3957(%rip), %rdi # 0x50f790
callq 0x33f0a0
callq 0xe5170
leaq 0x25825f(%rip), %rdi # 0x3740a9
callq 0xe51a0
leaq 0x2590de(%rip), %rdi # 0x374f34
callq 0xe51d0
leaq -0x9(%rbp), %rdi
ca... | _ZN7session10invalidateEv:
push rbp
mov rbp, rsp
sub rsp, 20h
cmp cs:_ZN7session4peerE, 0; session::peer
jz short loc_11BE85
mov rdi, cs:_ZN7session4peerE; this
call enet_peer_reset
call _ZN11message_box5resetEv; message_box::reset(void)
lea rdi, aDisconnectedDi; "disconnected.disconne... | _QWORD * session::invalidate(session *this, const char *a2)
{
message_box *v2; // rdi
void (*const *v3)(void); // rdx
_QWORD *result; // rax
char v5; // [rsp+17h] [rbp-9h] BYREF
char v6[8]; // [rsp+18h] [rbp-8h] BYREF
if ( session::peer )
{
v2 = session::peer;
enet_peer_reset(session::peer);
... | |||
62,193 | session::invalidate() | untodesu[P]voxelius/game/client/session.cc | void session::invalidate(void)
{
if(session::peer) {
enet_peer_reset(session::peer);
message_box::reset();
message_box::set_title("disconnected.disconnected");
message_box::set_subtitle("enet.peer_connection_timeout");
message_box::add_button("disconnected.back", [](... | O2 | cpp | session::invalidate():
pushq %rbx
subq $0x10, %rsp
movq 0x1f4dd0(%rip), %rdi # 0x2565b0
testq %rdi, %rdi
je 0x6182f
callq 0x15935a
callq 0x5386b
leaq 0x1137fe(%rip), %rdi # 0x174ff4
callq 0x5389b
leaq 0x114635(%rip), %rdi # 0x175e37
callq 0x538b1
leaq 0x2c8(%rip), %rax # 0x61ad6
leaq 0x8(%rsp), %rsi
movq... | _ZN7session10invalidateEv:
push rbx
sub rsp, 10h
mov rdi, cs:_ZN7session4peerE; this
test rdi, rdi
jz short loc_6182F
call enet_peer_reset
call _ZN11message_box5resetEv; message_box::reset(void)
lea rdi, aDisconnectedDi; "disconnected.disconnected"
call _ZN11message_box9set_titleEPKc; me... | invalidate:
PUSH RBX
SUB RSP,0x10
MOV RDI,qword ptr [0x003565b0]
TEST RDI,RDI
JZ 0x0016182f
CALL 0x0025935a
CALL 0x0015386b
LEA RDI,[0x274ff4]
CALL 0x0015389b
LEA RDI,[0x275e37]
CALL 0x001538b1
LEA RAX,[0x161ad6]
LEA RSI,[RSP + 0x8]
MOV qword ptr [RSI],RAX
LEA RDI,[0x27500e]
CALL 0x001538c7
LEA RAX,[0x35509c]
MOV dword... |
/* session::invalidate() */
void session::invalidate(void)
{
code *local_10;
if (peer != 0) {
enet_peer_reset();
message_box::reset();
message_box::set_title("disconnected.disconnected");
message_box::set_subtitle("enet.peer_connection_timeout");
local_10 = invalidate()::$_0::__invoke;
... | ||
62,194 | minja::TemplateNode::render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | void render(std::ostringstream & out, const std::shared_ptr<Context> & context) const {
try {
do_render(out, context);
} catch (const LoopControlException & e) {
// TODO: make stack creation lazy. Only needed if it was thrown outside of a loop.
std::ostringstream err;... | O2 | cpp | minja::TemplateNode::render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rdi, %r14
movq (%rdi), %rax
callq *(%rax)
addq $0x1a0, %rsp # im... | _ZNK5minja12TemplateNode6renderERNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_7ContextEE:
push rbp
push r14
push rbx
sub rsp, 1A0h
mov r14, rdi
mov rax, [rdi]
call qword ptr [rax]
add rsp, 1A0h
pop rbx
pop r14
pop rbp
retn
mov rbx, rax
cmp ... | long long minja::TemplateNode::render(long long ( ***a1)(_QWORD))
{
return (**a1)(a1);
}
| render:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x1a0
MOV R14,RDI
MOV RAX,qword ptr [RDI]
LAB_0015781d:
CALL qword ptr [RAX]
LAB_0015781f:
ADD RSP,0x1a0
POP RBX
POP R14
POP RBP
RET
|
/* minja::TemplateNode::render(std::__cxx11::ostringstream&, std::shared_ptr<minja::Context> const&)
const */
void minja::TemplateNode::render(ostringstream *param_1,shared_ptr *param_2)
{
/* try { // try from 0015781d to 0015781e has its CatchHandler @ 0015782b */
(*(code *)**(int8 **)param... | |
62,195 | YAML::Exp::URI() | aimrt_mujoco_sim/_deps/yaml-cpp-src/src/exp.h | inline const RegEx& URI() {
static const RegEx e = Word() | RegEx("#;/?:@&=+$,_.!~*'()[]", REGEX_OR) |
(RegEx('%') + Hex() + Hex());
return e;
} | O0 | c | YAML::Exp::URI():
subq $0xf8, %rsp
cmpb $0x0, 0x3be42a(%rip) # 0x50bf38
jne 0x14dc80
leaq 0x3be41d(%rip), %rdi # 0x50bf38
callq 0x8e140
cmpl $0x0, %eax
je 0x14dc80
callq 0x14ddc0
movq %rax, 0x18(%rsp)
jmp 0x14db35
leaq 0x87(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x94520
movq 0x10(%rsp), %rdx
leaq 0x29422a(%rip),... | _ZN4YAML3Exp3URIEv:
sub rsp, 0F8h
cmp cs:_ZGVZN4YAML3Exp3URIEvE1e, 0; `guard variable for'YAML::Exp::URI(void)::e
jnz loc_14DC80
lea rdi, _ZGVZN4YAML3Exp3URIEvE1e; this
call ___cxa_guard_acquire
cmp eax, 0
jz loc_14DC80
call _ZN4YAML3Exp4WordEv; YAML::Exp::Word(void)
mov [rsp+0F8h+var... | int * YAML::Exp::URI(YAML::Exp *this)
{
long long v2; // [rsp+0h] [rbp-F8h]
void *v3; // [rsp+8h] [rbp-F0h]
long long v4; // [rsp+18h] [rbp-E0h]
char v5[32]; // [rsp+20h] [rbp-D8h] BYREF
char v6[32]; // [rsp+40h] [rbp-B8h] BYREF
char v7[39]; // [rsp+60h] [rbp-98h] BYREF
int v8[8]; // [rsp+87h] [rbp-71h] B... | |||
62,196 | YAML::Exp::URI() | aimrt_mujoco_sim/_deps/yaml-cpp-src/src/exp.h | inline const RegEx& URI() {
static const RegEx e = Word() | RegEx("#;/?:@&=+$,_.!~*'()[]", REGEX_OR) |
(RegEx('%') + Hex() + Hex());
return e;
} | O3 | c | YAML::Exp::URI():
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movb 0x1a4113(%rip), %al # 0x2149d8
testb %al, %al
je 0x708db
leaq 0x1a40e8(%rip), %rax # 0x2149b8
addq $0xc8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1a40f6(%rip), %rdi # 0x2149d8
callq 0x2e2e0
testl %eax, %eax
je 0x708c9
callq 0x70a99
movq %rax, %rbx
lea... | _ZN4YAML3Exp3URIEv:
push r14
push rbx
sub rsp, 0C8h
mov al, cs:_ZGVZN4YAML3Exp3URIEvE1e; `guard variable for'YAML::Exp::URI(void)::e
test al, al
jz short loc_708DB
loc_708C9:
lea rax, _ZZN4YAML3Exp3URIEvE1e; YAML::Exp::URI(void)::e
add rsp, 0C8h
pop rbx
pop r14
retn
loc_708DB:
lea ... | void * YAML::Exp::URI(YAML::Exp *this)
{
void *v2[2]; // [rsp+8h] [rbp-D0h] BYREF
_QWORD v3[2]; // [rsp+18h] [rbp-C0h] BYREF
_BYTE v4[8]; // [rsp+28h] [rbp-B0h] BYREF
char *v5; // [rsp+30h] [rbp-A8h] BYREF
_BYTE v6[8]; // [rsp+48h] [rbp-90h] BYREF
char *v7; // [rsp+50h] [rbp-88h] BYREF
_BYTE v8[8]; // [rs... | URI:
PUSH R14
PUSH RBX
SUB RSP,0xc8
MOV AL,byte ptr [0x003149d8]
TEST AL,AL
JZ 0x001708db
LAB_001708c9:
LEA RAX,[0x3149b8]
ADD RSP,0xc8
POP RBX
POP R14
RET
LAB_001708db:
LEA RDI,[0x3149d8]
CALL 0x0012e2e0
TEST EAX,EAX
JZ 0x001708c9
LAB_001708eb:
CALL 0x00170a99
MOV RBX,RAX
LEA R14,[RSP + 0x18]
MOV qword ptr [R14 + -0x1... |
/* YAML::Exp::URI() */
int1 * YAML::Exp::URI(void)
{
int iVar1;
RegEx *pRVar2;
long *local_d0 [2];
long local_c0 [2];
RegEx local_b0 [8];
vector<YAML::RegEx,std::allocator<YAML::RegEx>> local_a8 [24];
YAML local_90 [8];
vector<YAML::RegEx,std::allocator<YAML::RegEx>> local_88 [24];
YAML local_70 [8... | |
62,197 | pvio_socket_close | eloqsql/libmariadb/plugins/pvio/pvio_socket.c | my_bool pvio_socket_close(MARIADB_PVIO *pvio)
{
struct st_pvio_socket *csock= NULL;
int r= 0;
if (!pvio)
return 1;
if (pvio->data)
{
csock= (struct st_pvio_socket *)pvio->data;
if (csock && csock->socket != INVALID_SOCKET)
{
r= closesocket(csock->socket);
csock->socket= INVALID_S... | O3 | c | pvio_socket_close:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x3448f
movq %rdi, %rbx
movq (%rdi), %r15
testq %r15, %r15
je 0x34494
movl (%r15), %edi
cmpl $-0x1, %edi
je 0x34499
callq 0x13850
movl %eax, %r14d
movl $0xffffffff, (%r15) # imm = 0xFFFFFFFF
movq (%rbx), %r... | pvio_socket_close:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
test rdi, rdi
jz short loc_3448F
mov rbx, rdi
mov r15, [rdi]
test r15, r15
jz short loc_34494
mov edi, [r15]
cmp edi, 0FFFFFFFFh
jz short loc_34499
call _close
mov r14d, eax
mov ... | long long pvio_socket_close(_DWORD **a1)
{
unsigned int v1; // r14d
_DWORD *v3; // r15
long long v4; // rdi
if ( a1 )
{
v3 = *a1;
if ( *a1 )
{
v4 = (unsigned int)*v3;
if ( (_DWORD)v4 == -1 )
{
v1 = 0;
}
else
{
v1 = close(v4);
*v3 = -1;
... | pvio_socket_close:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
TEST RDI,RDI
JZ 0x0013448f
MOV RBX,RDI
MOV R15,qword ptr [RDI]
TEST R15,R15
JZ 0x00134494
MOV EDI,dword ptr [R15]
CMP EDI,-0x1
JZ 0x00134499
CALL 0x00113850
MOV R14D,EAX
MOV dword ptr [R15],0xffffffff
MOV R15,qword ptr [RBX]
JMP 0x0013449c
LAB_... |
ulong pvio_socket_close(int8 *param_1)
{
uint uVar1;
int8 unaff_R14;
ulong uVar2;
int *__ptr;
if (param_1 == (int8 *)0x0) {
uVar2 = CONCAT71((int7)((ulong)unaff_R14 >> 8),1);
}
else {
__ptr = (int *)*param_1;
if (__ptr == (int *)0x0) {
uVar2 = 0;
}
else {
if (*__ptr ==... | |
62,198 | httplib::ClientImpl::create_client_socket(httplib::Error&) const | hkr04[P]cpp-mcp/common/httplib.h | inline socket_t ClientImpl::create_client_socket(Error &error) const {
if (!proxy_host_.empty() && proxy_port_ != -1) {
return detail::create_client_socket(
proxy_host_, std::string(), proxy_port_, address_family_, tcp_nodelay_,
ipv6_v6only_, socket_options_, connection_timeout_sec_,
conne... | O0 | c | httplib::ClientImpl::create_client_socket(httplib::Error&) const:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x160, %rsp # imm = 0x160
movq %rdi, 0x150(%rsp)
movq %rsi, 0x148(%rsp)
movq 0x150(%rsp), %rdi
movq %rdi, 0xa0(%rsp)
addq $0x278, %rdi # imm = 0x278
callq 0xbce0
testb $0x... | _ZNK7httplib10ClientImpl20create_client_socketERNS_5ErrorE:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 160h
mov [rsp+188h+var_38], rdi
mov [rsp+188h+var_40], rsi
mov rdi, [rsp+188h+var_38]
mov [rsp+188h+var_E8], rdi
add rdi, 278h
call __ZNKSt7__cxx1112basic_stringIcS... | long long httplib::ClientImpl::create_client_socket(long long a1, long long a2)
{
int v2; // edx
int v3; // ecx
int v4; // r8d
int v5; // r9d
int v6; // edx
int v7; // ecx
int v8; // r8d
int v9; // r9d
long long v10; // rax
int v12; // [rsp+0h] [rbp-188h] BYREF
long long v13; // [rsp+8h] [rbp-180... | create_client_socket:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x160
MOV qword ptr [RSP + 0x150],RDI
MOV qword ptr [RSP + 0x148],RSI
MOV RDI,qword ptr [RSP + 0x150]
MOV qword ptr [RSP + 0xa0],RDI
ADD RDI,0x278
CALL 0x0010bce0
TEST AL,0x1
JNZ 0x001683b9
MOV RAX,qword ptr [RSP + 0xa0]
CMP dword ptr [RAX + 0x2... |
/* httplib::ClientImpl::create_client_socket(httplib::Error&) const */
int4 __thiscall httplib::ClientImpl::create_client_socket(ClientImpl *this,Error *param_1)
{
ulong uVar1;
long lVar2;
function<void(int)> *local_188;
int8 local_180;
int8 local_178;
int8 local_170;
int8 local_168;
int8 local_160;
... | |
62,199 | minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | Value do_evaluate(const std::shared_ptr<Context> & context) const override {
if (!condition) throw std::runtime_error("IfExpr.condition is null");
if (!then_expr) throw std::runtime_error("IfExpr.then_expr is null");
if (condition->evaluate(context).to_bool()) {
return then_expr->evaluate(cont... | O3 | cpp | minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r15
movq 0x20(%rsi), %rsi
testq %rsi, %rsi
je 0xa5a47
cmpq $0x0, 0x30(%r15)
je 0xa5a65
movq %rdx, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq %r12, %rdi
callq 0x93b... | _ZNK5minja6IfExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 50h
mov r15, rsi
mov rsi, [rsi+20h]
test rsi, rsi
jz loc_A5A47
cmp qword ptr [r15+30h], 0
jz loc_A5A65
mov r14, rdx
mov rbx, rdi
mov r12, rsp
mov ... | long long minja::IfExpr::do_evaluate(long long a1, _QWORD *a2)
{
void (***v3)(void); // rsi
char v5; // bp
long long v6; // rdi
signed __int32 v7; // eax
void (***v8)(void); // rsi
std::runtime_error *exception; // r14
long long v11; // [rsp+0h] [rbp-78h] BYREF
long long v12; // [rsp+8h] [rbp-70h]
vo... | do_evaluate:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV R15,RSI
MOV RSI,qword ptr [RSI + 0x20]
TEST RSI,RSI
JZ 0x001a5a47
CMP qword ptr [R15 + 0x30],0x0
JZ 0x001a5a65
MOV R14,RDX
MOV RBX,RDI
MOV R12,RSP
MOV RDI,R12
CALL 0x00193be4
LAB_001a5956:
MOV RDI,R12
CALL 0x00193de2
LAB_001a595e:
MOV EBP,EAX
LE... |
/* minja::IfExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
IfExpr * __thiscall minja::IfExpr::do_evaluate(IfExpr *this,shared_ptr *param_1)
{
int *piVar1;
char cVar2;
int iVar3;
runtime_error *this_00;
shared_ptr *psVar4;
bool bVar5;
Expression aEStack_78 [8];
long *local_70;
_S... |
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.