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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
27,800 | google::protobuf::io::CodedOutputStream::WriteLittleEndian64ToArray(unsigned long, unsigned char*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/io/coded_stream.h | inline uint8_t* CodedOutputStream::WriteLittleEndian64ToArray(uint64_t value,
uint8_t* target) {
#if defined(PROTOBUF_LITTLE_ENDIAN) && \
!defined(PROTOBUF_DISABLE_LITTLE_ENDIAN_OPT_FOR_TEST)
memcpy(target, &value, sizeof(value));
#else
uint32_t part... | O0 | c | google::protobuf::io::CodedOutputStream::WriteLittleEndian64ToArray(unsigned long, unsigned char*):
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq -0x10(%rsp), %rax
movq -0x8(%rsp), %rcx
movq %rcx, (%rax)
movq -0x10(%rsp), %rax
addq $0x8, %rax
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| _ZN6google8protobuf2io17CodedOutputStream26WriteLittleEndian64ToArrayEmPh:
mov [rsp+var_8], rdi
mov [rsp+var_10], rsi
mov rax, [rsp+var_10]
mov rcx, [rsp+var_8]
mov [rax], rcx
mov rax, [rsp+var_10]
add rax, 8
retn
| _QWORD * google::protobuf::io::CodedOutputStream::WriteLittleEndian64ToArray(
google::protobuf::io::CodedOutputStream *this,
_QWORD *a2,
unsigned __int8 *a3)
{
*a2 = this;
return a2 + 1;
}
| WriteLittleEndian64ToArray:
MOV qword ptr [RSP + -0x8],RDI
MOV qword ptr [RSP + -0x10],RSI
MOV RAX,qword ptr [RSP + -0x10]
MOV RCX,qword ptr [RSP + -0x8]
MOV qword ptr [RAX],RCX
MOV RAX,qword ptr [RSP + -0x10]
ADD RAX,0x8
RET
|
/* google::protobuf::io::CodedOutputStream::WriteLittleEndian64ToArray(unsigned long, unsigned
char*) */
uchar * google::protobuf::io::CodedOutputStream::WriteLittleEndian64ToArray
(ulong param_1,uchar *param_2)
{
*(ulong *)param_2 = param_1;
return param_2 + 8;
}
| |
27,801 | pow5mult | eloqsql/strings/dtoa.c | static Bigint *pow5mult(Bigint *b, int k, Stack_alloc *alloc)
{
Bigint *b1, *p5, *p51=NULL;
int i;
static int p05[3]= { 5, 25, 125 };
my_bool overflow= FALSE;
if ((i= k & 3))
b= multadd(b, p05[i-1], 0, alloc);
if (!(k>>= 2))
return b;
p5= p5_a;
for (;;)
{
if (k & 1)
{
b1= mult(... | O0 | c | pow5mult:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movq $0x0, -0x38(%rbp)
movb $0x0, -0x3d(%rbp)
movl -0x14(%rbp), %eax
andl $0x3, %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, %eax
je 0x71f53
movq -0x10(%rbp), %rdi
movl -0x3c(%rbp), %eax
subl $0x1, %eax
... | pow5mult:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_20], rdx
mov [rbp+var_38], 0
mov [rbp+var_3D], 0
mov eax, [rbp+var_14]
and eax, 3
mov [rbp+var_3C], eax
cmp eax, 0
jz short loc_71F53
mov rdi, [rbp+var_10]
mov ... | long long pow5mult(long long a1, int a2, long long a3)
{
char v4; // [rsp+3h] [rbp-3Dh]
_BYTE v5[12]; // [rsp+4h] [rbp-3Ch]
_UNKNOWN **v6; // [rsp+10h] [rbp-30h]
long long v7; // [rsp+18h] [rbp-28h]
int v9; // [rsp+2Ch] [rbp-14h]
long long v10; // [rsp+30h] [rbp-10h]
v10 = a1;
*(_DWORD *)&v5[8] = 0;
... | pow5mult:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x38],0x0
MOV byte ptr [RBP + -0x3d],0x0
MOV EAX,dword ptr [RBP + -0x14]
AND EAX,0x3
MOV dword ptr [RBP + -0x3c],EAX
CMP EAX,0x0
JZ 0x00171f53
MOV RDI,qword p... |
int8 pow5mult(int8 param_1,uint param_2,int8 param_3)
{
bool bVar1;
int8 uVar2;
int1 *local_40;
int1 *local_38;
uint local_1c;
int8 local_18;
int8 local_10;
local_40 = (int1 *)0x0;
bVar1 = false;
local_18 = param_1;
if ((param_2 & 3) != 0) {
local_18 = multadd(param_1,*(int4 *)(pow5mult_p... | |
27,802 | arena_destroy | eshkol/src/core/memory/arena.c | void arena_destroy(Arena* arena) {
assert(arena != NULL);
// Free all blocks
Block* block = arena->first;
while (block) {
Block* next = block->next;
free(block);
block = next;
}
// Free arena control structure
free(arena);
} | O0 | c | arena_destroy:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x4035
jmp 0x4054
leaq 0x3040(%rip), %rdi # 0x707c
leaq 0x3a7b(%rip), %rsi # 0x7abe
movl $0xba, %edx
leaq 0x3b7c(%rip), %rcx # 0x7bcb
callq 0x10a0
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax... | arena_destroy:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
cmp [rbp+var_8], 0
jz short loc_4035
jmp short loc_4054
loc_4035:
lea rdi, aArenaNull; "arena != NULL"
lea rsi, aWorkspaceLlm4b_0; "/workspace/llm4binary/github2025/eshkol"...
mov edx, 0BAh
lea rcx, aVoidA... | long long arena_destroy(long long a1)
{
_QWORD *v2; // [rsp+8h] [rbp-18h]
_QWORD *i; // [rsp+10h] [rbp-10h]
if ( !a1 )
__assert_fail(
"arena != NULL",
"/workspace/llm4binary/github2025/eshkol/src/core/memory/arena.c",
186LL,
"void arena_destroy(Arena *)");
for ( i = *(_QWORD **)(a1... | arena_destroy:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00104035
JMP 0x00104054
LAB_00104035:
LEA RDI,[0x10707c]
LEA RSI,[0x107abe]
MOV EDX,0xba
LEA RCX,[0x107bcb]
CALL 0x001010a0
LAB_00104054:
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV q... |
void arena_destroy(void *param_1)
{
int8 *puVar1;
int8 *local_18;
if (param_1 != (void *)0x0) {
local_18 = *(int8 **)((long)param_1 + 8);
while (local_18 != (int8 *)0x0) {
puVar1 = (int8 *)*local_18;
free(local_18);
local_18 = puVar1;
}
free(param_1);
return;
}
... | |
27,803 | 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... | O0 | 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:
sub rsp, 0C8h
mov qword ptr [rsp+0C8h+var_8], rdi
mov [rsp+0C8h+var_10], rsi
mov rdi, qword ptr [rsp+0C8h+var_8]
mov qword ptr [rsp... | 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,
unsigned long long a2)
{
int v3; // ecx
int v... | _M_ptr:
PUSH RAX
MOV qword ptr [RSP],RDI
MOV RDI,qword ptr [RSP]
CALL 0x00178a40
POP RCX
RET
|
/* __gnu_cxx::__aligned_membuf<std::pair<int const, std::__cxx11::string > >::_M_ptr() const */
void __thiscall
__gnu_cxx::__aligned_membuf<std::pair<int_const,std::__cxx11::string>>::_M_ptr
(__aligned_membuf<std::pair<int_const,std::__cxx11::string>> *this)
{
_M_addr(this);
return;
}
| |
27,804 | mysql_free_result | eloqsql/libmariadb/libmariadb/mariadb_lib.c | void STDCALL
mysql_free_result(MYSQL_RES *result)
{
if (result)
{
if (result->handle && result->handle->status == MYSQL_STATUS_USE_RESULT)
{
result->handle->methods->db_skip_result(result->handle);
result->handle->status=MYSQL_STATUS_READY;
}
free_rows(result->data);
if (result->fiel... | O3 | c | mysql_free_result:
testq %rdi, %rdi
je 0x19bfd
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x78(%rdi), %rdi
testq %rdi, %rdi
je 0x19bc6
cmpl $0x2, 0x488(%rdi)
jne 0x19bc6
movq 0x4d0(%rdi), %rax
callq *0x18(%rax)
movq 0x78(%rbx), %rax
movl $0x0, 0x488(%rax)
movq 0x18(%rbx), %rdi
callq 0x19326
c... | mysql_free_result:
test rdi, rdi
jz short locret_19BFD
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+78h]
test rdi, rdi
jz short loc_19BC6
cmp dword ptr [rdi+488h], 2
jnz short loc_19BC6
mov rax, [rdi+4D0h]
call qword ptr [rax+18h]
mov rax, [r... | long long mysql_free_result(_QWORD *a1)
{
long long v2; // rdi
long long v3; // rdi
long long result; // rax
if ( a1 )
{
v2 = a1[15];
if ( v2 && *(_DWORD *)(v2 + 1160) == 2 )
{
(*(void ( **)(long long))(*(_QWORD *)(v2 + 1232) + 24LL))(v2);
*(_DWORD *)(a1[15] + 1160LL) = 0;
}
... | mysql_free_result:
TEST RDI,RDI
JZ 0x00119bfd
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x78]
TEST RDI,RDI
JZ 0x00119bc6
CMP dword ptr [RDI + 0x488],0x2
JNZ 0x00119bc6
MOV RAX,qword ptr [RDI + 0x4d0]
CALL qword ptr [RAX + 0x18]
MOV RAX,qword ptr [RBX + 0x78]
MOV dword ptr [RAX + 0x488]... |
void mysql_free_result(void *param_1)
{
long lVar1;
if (param_1 != (void *)0x0) {
lVar1 = *(long *)((long)param_1 + 0x78);
if ((lVar1 != 0) && (*(int *)(lVar1 + 0x488) == 2)) {
(**(code **)(*(long *)(lVar1 + 0x4d0) + 0x18))();
*(int4 *)(*(long *)((long)param_1 + 0x78) + 0x488) = 0;
}
... | |
27,805 | end_loop | fabiosvm[P]rak/src/compiler.c | static inline void end_loop(RakCompiler *comp)
{
int len = comp->loop->jumps.len;
uint32_t instr = rak_jump_instr((uint16_t) comp->chunk.instrs.len);
for (int i = 0; i < len; ++i)
{
uint16_t jump = rak_slice_get(&comp->loop->jumps, i);
patch_instr(comp, jump, instr);
}
comp->loop = comp->loop->paren... | O3 | c | end_loop:
movq 0x2830(%rdi), %rax
movslq 0x10(%rax), %rcx
testq %rcx, %rcx
jle 0x657c
movl 0xffc(%rdi), %edx
movzwl %dx, %edx
shll $0x8, %edx
orl $0xd, %edx
movq 0x1000(%rdi), %rsi
xorl %r8d, %r8d
movzwl 0x14(%rax,%r8,2), %r9d
movl %edx, (%rsi,%r9,4)
incq %r8
cmpq %r8, %rcx
jne 0x656a
movq (%rax), %rax
movq %rax, 0x283... | end_loop:
mov rax, [rdi+2830h]
movsxd rcx, dword ptr [rax+10h]
test rcx, rcx
jle short loc_657C
mov edx, [rdi+0FFCh]
movzx edx, dx
shl edx, 8
or edx, 0Dh
mov rsi, [rdi+1000h]
xor r8d, r8d
loc_656A:
movzx r9d, word ptr [rax+r8*2+14h]
mov [rsi+r9*4], edx
inc r8
cmp rcx, r8... | long long end_loop(long long a1)
{
long long *v1; // rax
long long v2; // rcx
int v3; // edx
long long v4; // rsi
long long i; // r8
long long result; // rax
v1 = *(long long **)(a1 + 10288);
v2 = *((int *)v1 + 4);
if ( v2 > 0 )
{
v3 = ((unsigned __int16)*(_DWORD *)(a1 + 4092) << 8) | 0xD;
... | end_loop:
MOV RAX,qword ptr [RDI + 0x2830]
MOVSXD RCX,dword ptr [RAX + 0x10]
TEST RCX,RCX
JLE 0x0010657c
MOV EDX,dword ptr [RDI + 0xffc]
MOVZX EDX,DX
SHL EDX,0x8
OR EDX,0xd
MOV RSI,qword ptr [RDI + 0x1000]
XOR R8D,R8D
LAB_0010656a:
MOVZX R9D,word ptr [RAX + R8*0x2 + 0x14]
MOV dword ptr [RSI + R9*0x4],EDX
INC R8
CMP RCX... |
void end_loop(long param_1)
{
int iVar1;
uint uVar2;
int8 *puVar3;
long lVar4;
long lVar5;
puVar3 = *(int8 **)(param_1 + 0x2830);
iVar1 = *(int *)(puVar3 + 2);
if (0 < (long)iVar1) {
uVar2 = *(uint *)(param_1 + 0xffc);
lVar4 = *(long *)(param_1 + 0x1000);
lVar5 = 0;
do {
*(uin... | |
27,806 | PFS_partitioned_buffer_scalable_container<PFS_buffer_scalable_container<PFS_mutex, 1024, 1024, PFS_buffer_default_array<PFS_mutex>, PFS_buffer_default_allocator<PFS_mutex>>, 2>::deallocate(PFS_mutex*) | eloqsql/storage/perfschema/pfs_buffer_container.h | void deallocate(value_type *safe_pfs)
{
/*
One issue here is that we do not know which partition
the record belongs to.
Each record points to the parent page,
and each page points to the parent buffer,
so using static_deallocate here,
which will find the correct partition by it... | O0 | c | PFS_partitioned_buffer_scalable_container<PFS_buffer_scalable_container<PFS_mutex, 1024, 1024, PFS_buffer_default_array<PFS_mutex>, PFS_buffer_default_allocator<PFS_mutex>>, 2>::deallocate(PFS_mutex*):
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq ... | _ZN41PFS_partitioned_buffer_scalable_containerI29PFS_buffer_scalable_containerI9PFS_mutexLi1024ELi1024E24PFS_buffer_default_arrayIS1_E28PFS_buffer_default_allocatorIS1_EELi2EE10deallocateEPS1_:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rdi, [rbp+var_10]
cal... | long long PFS_partitioned_buffer_scalable_container<PFS_buffer_scalable_container<PFS_mutex,1024,1024,PFS_buffer_default_array<PFS_mutex>,PFS_buffer_default_allocator<PFS_mutex>>,2>::deallocate(
long long a1,
long long a2)
{
return PFS_buffer_scalable_container<PFS_mutex,1024,1024,PFS_buffer_default_... | deallocate:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x00140760
ADD RSP,0x10
POP RBP
RET
|
/* PFS_partitioned_buffer_scalable_container<PFS_buffer_scalable_container<PFS_mutex, 1024, 1024,
PFS_buffer_default_array<PFS_mutex>, PFS_buffer_default_allocator<PFS_mutex> >,
2>::deallocate(PFS_mutex*) */
void __thiscall
PFS_partitioned_buffer_scalable_container<PFS_buffer_scalable_container<PFS_mutex,1024,1... | |
27,807 | my_wildcmp_8bit_impl | eloqsql/strings/ctype-simple.c | static
int my_wildcmp_8bit_impl(CHARSET_INFO *cs,
const char *str,const char *str_end,
const char *wildstr,const char *wildend,
int escape, int w_one, int w_many, int recurse_level)
{
int result= -1; /* Not found, using wildcards */
if (m... | O3 | c | my_wildcmp_8bit_impl:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movl 0x20(%rbp), %r10d
leaq 0x335b15(%rip), %rax # 0x36ea10
movq (%rax), %rax
testq %rax, %rax
je 0x38f2e
movq %rbx, -0x30(%rbp)
movq... | my_wildcmp_8bit_impl:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov r12, r8
mov r13, rcx
mov rbx, rdx
mov r14, rsi
mov r10d, [rbp+arg_10]
lea rax, my_string_stack_guard
mov rax, [rax]
test rax, rax
jz short loc_38F2E
mov... | long long my_wildcmp_8bit_impl(
long long a1,
unsigned __int8 *a2,
unsigned __int8 *a3,
char *a4,
char *a5,
int a6,
int a7,
int a8,
unsigned int a9)
{
unsigned __int8 *v11; // rbx
unsigned int v13; // r10d
int v14; // r15d
int v15; // eax
... | my_wildcmp_8bit_impl:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV R12,R8
MOV R13,RCX
MOV RBX,RDX
MOV R14,RSI
MOV R10D,dword ptr [RBP + 0x20]
LEA RAX,[0x46ea10]
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JZ 0x00138f2e
MOV qword ptr [RBP + -0x30],RBX
MOV RBX,RDI
MOV EDI,R10D
MOV R15D,R9D
... |
uint my_wildcmp_8bit_impl
(long param_1,byte *param_2,byte *param_3,byte *param_4,byte *param_5,ulong param_6,
uint param_7,uint param_8,int param_9)
{
char cVar1;
byte bVar2;
int iVar3;
uint uVar4;
byte *pbVar5;
uint uVar6;
byte *pbVar7;
bool bVar8;
if (my_string_st... | |
27,808 | ftxui::hcenter(std::shared_ptr<ftxui::Node>) | Andrewchistyakov[P]flashcards_lyc/build_O2/_deps/ftxui-src/src/ftxui/dom/composite_decorator.cpp | Element hcenter(Element child) {
return hbox(filler(), std::move(child), filler());
} | O2 | cpp | ftxui::hcenter(std::shared_ptr<ftxui::Node>):
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x10(%rsp), %rdi
callq 0x1e524
leaq 0x28(%rsp), %rbx
movups (%r15), %xmm0
andq $0x0, 0x8(%r15)
movaps %xmm0, -0x8(%rbx)
andq $0x0, (%r15)
movq %rsp, %rdi
callq 0x1e524
leaq 0x10(%rsp), %r... | _ZN5ftxui7hcenterESt10shared_ptrINS_4NodeEE:
push r15
push r14
push rbx
sub rsp, 30h
mov r15, rsi
mov r14, rdi
lea rdi, [rsp+48h+var_38]; this
call _ZN5ftxui6fillerEv; ftxui::filler(void)
lea rbx, [rsp+48h+var_20]
movups xmm0, xmmword ptr [r15]
and qword ptr [r15+8], 0
movaps xmmwo... | long long ftxui::hcenter(long long a1, __int128 *a2)
{
__int128 v2; // xmm0
int v3; // r8d
int v4; // r9d
char v6[8]; // [rsp+0h] [rbp-48h] BYREF
long long v7; // [rsp+8h] [rbp-40h] BYREF
_BYTE v8[8]; // [rsp+10h] [rbp-38h] BYREF
long long v9; // [rsp+18h] [rbp-30h] BYREF
_OWORD v10[2]; // [rsp+20h] [r... | hcenter:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV R15,RSI
MOV R14,RDI
LEA RDI,[RSP + 0x10]
CALL 0x0011e524
LEA RBX,[RSP + 0x28]
MOVUPS XMM0,xmmword ptr [R15]
AND qword ptr [R15 + 0x8],0x0
MOVAPS xmmword ptr [RBX + -0x8],XMM0
AND qword ptr [R15],0x0
LAB_0011e07f:
MOV RDI,RSP
CALL 0x0011e524
LAB_0011e087:
LEA RSI,[RSP... |
/* ftxui::hcenter(std::shared_ptr<ftxui::Node>) */
ftxui * __thiscall ftxui::hcenter(ftxui *this,int8 *param_2)
{
ftxui afStack_48 [8];
__shared_count<(__gnu_cxx::_Lock_policy)2> local_40 [8];
ftxui local_38 [8];
__shared_count<(__gnu_cxx::_Lock_policy)2> local_30 [8];
int8 local_28;
int8 uStack_20;
... | |
27,809 | write_hook_for_undo_row_update | eloqsql/storage/maria/ma_blockrec.c | my_bool write_hook_for_undo_row_update(enum translog_record_type type
__attribute__ ((unused)),
TRN *trn, MARIA_HA *tbl_info,
LSN *lsn, void *hook_arg)
{
MARIA_SHARE *share= tbl_info->s;
share->state... | O3 | c | write_hook_for_undo_row_update:
pushq %rbp
movq %rsp, %rbp
movq (%rdx), %rax
movl (%r8), %edx
addl %edx, 0x48(%rax)
movq (%rcx), %rax
movq %rax, 0x98(%rsi)
movq 0xa0(%rsi), %rcx
movq %rcx, %rdx
shlq $0x8, %rdx
je 0x4e883
xorl %eax, %eax
popq %rbp
retq
orq %rax, %rcx
movq %rcx, 0xa0(%rsi)
jmp 0x4e87f
| write_hook_for_undo_row_update:
push rbp
mov rbp, rsp
mov rax, [rdx]
mov edx, [r8]
add [rax+48h], edx
mov rax, [rcx]
mov [rsi+98h], rax
mov rcx, [rsi+0A0h]
mov rdx, rcx
shl rdx, 8
jz short loc_4E883
loc_4E87F:
xor eax, eax
pop rbp
retn
loc_4E883:
or rcx, rax
mov ... | long long write_hook_for_undo_row_update(long long a1, long long a2, long long a3, long long *a4, _DWORD *a5)
{
long long v5; // rax
*(_DWORD *)(*(_QWORD *)a3 + 72LL) += *a5;
v5 = *a4;
*(_QWORD *)(a2 + 152) = *a4;
if ( !(*(_QWORD *)(a2 + 160) << 8) )
*(_QWORD *)(a2 + 160) |= v5;
return 0LL;
}
| write_hook_for_undo_row_update:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RDX]
MOV EDX,dword ptr [R8]
ADD dword ptr [RAX + 0x48],EDX
MOV RAX,qword ptr [RCX]
MOV qword ptr [RSI + 0x98],RAX
MOV RCX,qword ptr [RSI + 0xa0]
MOV RDX,RCX
SHL RDX,0x8
JZ 0x0014e883
LAB_0014e87f:
XOR EAX,EAX
POP RBP
RET
LAB_0014e883:
OR RCX,RAX
MO... |
int8
write_hook_for_undo_row_update
(int8 param_1,long param_2,long *param_3,ulong *param_4,int *param_5)
{
ulong uVar1;
*(int *)(*param_3 + 0x48) = *(int *)(*param_3 + 0x48) + *param_5;
uVar1 = *param_4;
*(ulong *)(param_2 + 0x98) = uVar1;
if ((*(ulong *)(param_2 + 0xa0) & 0xffffffffffffff) ==... | |
27,810 | Cache::isPolicyValid() | EnderturtleOrz[P]CSC3050-2025-Spring-Project-3/src/Cache.cpp | bool Cache::isPolicyValid() {
if (!this->isPowerOfTwo(policy.cacheSize)) {
fprintf(stderr, "Invalid Cache Size %d\n", policy.cacheSize);
return false;
}
if (!this->isPowerOfTwo(policy.blockSize)) {
fprintf(stderr, "Invalid Block Size %d\n", policy.blockSize);
return false;
}
if (policy.cacheSi... | O0 | cpp | Cache::isPolicyValid():
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
movq %rdi, (%rsp)
movl 0x30(%rdi), %esi
callq 0x9400
testb $0x1, %al
jne 0x83b7
movq (%rsp), %rax
movq 0x7c3f(%rip), %rcx # 0xffd8
movq (%rcx), %rdi
movl 0x30(%rax), %edx
leaq 0x40e4(%rip), %rsi # 0xc48a
movb $0x0, %al
callq 0x... | _ZN5Cache13isPolicyValidEv:
sub rsp, 18h
mov [rsp+18h+var_10], rdi
mov rdi, [rsp+18h+var_10]; this
mov [rsp+18h+var_18], rdi
mov esi, [rdi+30h]; unsigned int
call _ZN5Cache12isPowerOfTwoEj; Cache::isPowerOfTwo(uint)
test al, 1
jnz short loc_83B7
mov rax, [rsp+18h+var_18]
mov rcx, c... | char Cache::isPolicyValid(Cache *this)
{
if ( (Cache::isPowerOfTwo(this, *((_DWORD *)this + 12)) & 1) != 0 )
{
if ( (Cache::isPowerOfTwo(this, *((_DWORD *)this + 13)) & 1) != 0 )
{
if ( *((_DWORD *)this + 12) % *((_DWORD *)this + 13) )
{
fprintf(stderr, "cacheSize %% blockSize != 0\n");... | isPolicyValid:
SUB RSP,0x18
MOV qword ptr [RSP + 0x8],RDI
MOV RDI,qword ptr [RSP + 0x8]
MOV qword ptr [RSP],RDI
MOV ESI,dword ptr [RDI + 0x30]
CALL 0x00109400
TEST AL,0x1
JNZ 0x001083b7
MOV RAX,qword ptr [RSP]
MOV RCX,qword ptr [0x0010ffd8]
MOV RDI,qword ptr [RCX]
MOV EDX,dword ptr [RAX + 0x30]
LEA RSI,[0x10c48a]
MOV A... |
/* Cache::isPolicyValid() */
int8 __thiscall Cache::isPolicyValid(Cache *this)
{
int iVar1;
ulong uVar2;
int4 extraout_var;
int4 extraout_var_00;
int4 extraout_var_01;
int4 extraout_var_02;
int4 extraout_var_03;
int1 local_1;
uVar2 = isPowerOfTwo(this,*(uint *)(this + 0x30));
if ((uVar2 & 1) =... | |
27,811 | Cache::isPolicyValid() | EnderturtleOrz[P]CSC3050-2025-Spring-Project-3/src/Cache.cpp | bool Cache::isPolicyValid() {
if (!this->isPowerOfTwo(policy.cacheSize)) {
fprintf(stderr, "Invalid Cache Size %d\n", policy.cacheSize);
return false;
}
if (!this->isPowerOfTwo(policy.blockSize)) {
fprintf(stderr, "Invalid Block Size %d\n", policy.blockSize);
return false;
}
if (policy.cacheSi... | O1 | cpp | Cache::isPolicyValid():
pushq %rbx
movl 0x30(%rdi), %ecx
leal -0x1(%rcx), %eax
movl %ecx, %edx
xorl %eax, %edx
cmpl %eax, %edx
jbe 0x444c
movl 0x34(%rdi), %r8d
leal -0x1(%r8), %eax
movl %r8d, %edx
xorl %eax, %edx
cmpl %eax, %edx
jbe 0x4463
movl %ecx, %eax
xorl %edx, %edx
divl %r8d
testl %edx, %edx
jne 0x4482
movl 0x38(... | _ZN5Cache13isPolicyValidEv:
push rbx
mov ecx, [rdi+30h]
lea eax, [rcx-1]
mov edx, ecx
xor edx, eax
cmp edx, eax
jbe short loc_444C
mov r8d, [rdi+34h]
lea eax, [r8-1]
mov edx, r8d
xor edx, eax
cmp edx, eax
jbe short loc_4463
mov eax, ecx
xor edx, edx
div r8d... | long long Cache::isPolicyValid(Cache *this)
{
unsigned int v1; // ebx
unsigned int v2; // ecx
unsigned int v3; // r8d
unsigned int v4; // eax
v2 = *((_DWORD *)this + 12);
if ( ((v2 - 1) ^ v2) <= v2 - 1 )
{
v1 = 0;
fprintf(stderr, "Invalid Cache Size %d\n", v2);
return v1;
}
v3 = *((_DWOR... | isPolicyValid:
PUSH RBX
MOV ECX,dword ptr [RDI + 0x30]
LEA EAX,[RCX + -0x1]
MOV EDX,ECX
XOR EDX,EAX
CMP EDX,EAX
JBE 0x0010444c
MOV R8D,dword ptr [RDI + 0x34]
LEA EAX,[R8 + -0x1]
MOV EDX,R8D
XOR EDX,EAX
CMP EDX,EAX
JBE 0x00104463
MOV EAX,ECX
XOR EDX,EDX
DIV R8D
TEST EDX,EDX
JNZ 0x00104482
MOV EAX,dword ptr [RDI + 0x38]
... |
/* Cache::isPolicyValid() */
ulong __thiscall Cache::isPolicyValid(Cache *this)
{
uint uVar1;
uint uVar2;
int8 unaff_RBX;
ulong uVar3;
char *__format;
FILE *__stream;
uVar1 = *(uint *)(this + 0x30);
if (uVar1 - 1 < (uVar1 ^ uVar1 - 1)) {
uVar2 = *(uint *)(this + 0x34);
if (uVar2 - 1 < (uVa... | |
27,812 | Cache::isPolicyValid() | EnderturtleOrz[P]CSC3050-2025-Spring-Project-3/src/Cache.cpp | bool Cache::isPolicyValid() {
if (!this->isPowerOfTwo(policy.cacheSize)) {
fprintf(stderr, "Invalid Cache Size %d\n", policy.cacheSize);
return false;
}
if (!this->isPowerOfTwo(policy.blockSize)) {
fprintf(stderr, "Invalid Block Size %d\n", policy.blockSize);
return false;
}
if (policy.cacheSi... | O2 | cpp | Cache::isPolicyValid():
pushq %rbx
movl 0x30(%rdi), %ecx
leal -0x1(%rcx), %eax
movl %ecx, %edx
xorl %eax, %edx
cmpl %eax, %edx
jbe 0x41e6
movl 0x34(%rdi), %r8d
leal -0x1(%r8), %eax
movl %r8d, %edx
xorl %eax, %edx
cmpl %eax, %edx
jbe 0x41fd
movl %ecx, %eax
xorl %edx, %edx
divl %r8d
testl %edx, %edx
jne 0x421c
movl 0x38(... | _ZN5Cache13isPolicyValidEv:
push rbx
mov ecx, [rdi+30h]
lea eax, [rcx-1]
mov edx, ecx
xor edx, eax
cmp edx, eax
jbe short loc_41E6
mov r8d, [rdi+34h]
lea eax, [r8-1]
mov edx, r8d
xor edx, eax
cmp edx, eax
jbe short loc_41FD
mov eax, ecx
xor edx, edx
div r8d... | long long Cache::isPolicyValid(Cache *this)
{
unsigned int v1; // ebx
unsigned int v2; // ecx
unsigned int v3; // r8d
long long v4; // rdx
unsigned int v5; // eax
long long v7; // rdi
const char *v8; // rsi
long long v9; // rdx
long long v10; // rdi
const char *v11; // rsi
v2 = *((_DWORD *)this ... | isPolicyValid:
PUSH RBX
MOV ECX,dword ptr [RDI + 0x30]
LEA EAX,[RCX + -0x1]
MOV EDX,ECX
XOR EDX,EAX
CMP EDX,EAX
JBE 0x001041e6
MOV R8D,dword ptr [RDI + 0x34]
LEA EAX,[R8 + -0x1]
MOV EDX,R8D
XOR EDX,EAX
CMP EDX,EAX
JBE 0x001041fd
MOV EAX,ECX
XOR EDX,EDX
DIV R8D
TEST EDX,EDX
JNZ 0x0010421c
MOV EAX,dword ptr [RDI + 0x38]
... |
/* Cache::isPolicyValid() */
ulong __thiscall Cache::isPolicyValid(Cache *this)
{
uint uVar1;
uint uVar2;
int8 unaff_RBX;
ulong uVar3;
char *pcVar4;
FILE *pFVar5;
uVar1 = *(uint *)(this + 0x30);
if (uVar1 - 1 < (uVar1 ^ uVar1 - 1)) {
uVar2 = *(uint *)(this + 0x34);
if (uVar2 - 1 < (uVar2 ^... | |
27,813 | Cache::isPolicyValid() | EnderturtleOrz[P]CSC3050-2025-Spring-Project-3/src/Cache.cpp | bool Cache::isPolicyValid() {
if (!this->isPowerOfTwo(policy.cacheSize)) {
fprintf(stderr, "Invalid Cache Size %d\n", policy.cacheSize);
return false;
}
if (!this->isPowerOfTwo(policy.blockSize)) {
fprintf(stderr, "Invalid Block Size %d\n", policy.blockSize);
return false;
}
if (policy.cacheSi... | O3 | cpp | Cache::isPolicyValid():
pushq %rbx
movl 0x30(%rdi), %ecx
leal -0x1(%rcx), %eax
movl %ecx, %edx
xorl %eax, %edx
cmpl %eax, %edx
jbe 0x4438
movl 0x34(%rdi), %r8d
leal -0x1(%r8), %eax
movl %r8d, %edx
xorl %eax, %edx
cmpl %eax, %edx
jbe 0x444f
movl %ecx, %eax
xorl %edx, %edx
divl %r8d
testl %edx, %edx
jne 0x446e
movl 0x38(... | _ZN5Cache13isPolicyValidEv:
push rbx
mov ecx, [rdi+30h]
lea eax, [rcx-1]
mov edx, ecx
xor edx, eax
cmp edx, eax
jbe short loc_4438
mov r8d, [rdi+34h]
lea eax, [r8-1]
mov edx, r8d
xor edx, eax
cmp edx, eax
jbe short loc_444F
mov eax, ecx
xor edx, edx
div r8d... | long long Cache::isPolicyValid(Cache *this)
{
unsigned int v1; // ebx
unsigned int v2; // ecx
unsigned int v3; // r8d
unsigned int v4; // eax
v2 = *((_DWORD *)this + 12);
if ( ((v2 - 1) ^ v2) <= v2 - 1 )
{
v1 = 0;
fprintf(stderr, "Invalid Cache Size %d\n", v2);
return v1;
}
v3 = *((_DWOR... | isPolicyValid:
PUSH RBX
MOV ECX,dword ptr [RDI + 0x30]
LEA EAX,[RCX + -0x1]
MOV EDX,ECX
XOR EDX,EAX
CMP EDX,EAX
JBE 0x00104438
MOV R8D,dword ptr [RDI + 0x34]
LEA EAX,[R8 + -0x1]
MOV EDX,R8D
XOR EDX,EAX
CMP EDX,EAX
JBE 0x0010444f
MOV EAX,ECX
XOR EDX,EDX
DIV R8D
TEST EDX,EDX
JNZ 0x0010446e
MOV EAX,dword ptr [RDI + 0x38]
... |
/* Cache::isPolicyValid() */
ulong __thiscall Cache::isPolicyValid(Cache *this)
{
uint uVar1;
uint uVar2;
int8 unaff_RBX;
ulong uVar3;
char *__format;
FILE *__stream;
uVar1 = *(uint *)(this + 0x30);
if (uVar1 - 1 < (uVar1 ^ uVar1 - 1)) {
uVar2 = *(uint *)(this + 0x34);
if (uVar2 - 1 < (uVa... | |
27,814 | print_comment | eloqsql/mysys/my_getopt.c | static uint print_comment(const char *comment,
int curpos, int startpos, int width)
{
const char *end= strend(comment);
int endpos= startpos + width;
for (; curpos < startpos; curpos++)
putchar(' ');
if (*comment == '.' || *comment == ',')
{
putchar(*comment);
comment++... | O0 | c | print_comment:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
callq 0xc6d70
movq %rax, -0x20(%rbp)
movl -0x10(%rbp), %eax
addl -0x14(%rbp), %eax
movl %eax, -0x24(%rbp)
movl -0xc(%rbp), %eax
cmpl -0x10(%rbp), %ea... | print_comment:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_10], edx
mov [rbp+var_14], ecx
mov rdi, [rbp+var_8]
call strend
mov [rbp+var_20], rax
mov eax, [rbp+var_10]
add eax, [rbp+var_14]
mov [rbp+var_24], eax
loc_7B30B:
mo... | long long print_comment(const char *a1, int j, int a3, int a4)
{
bool v5; // [rsp+Fh] [rbp-31h]
const char *i; // [rsp+10h] [rbp-30h]
int v7; // [rsp+1Ch] [rbp-24h]
long long v8; // [rsp+20h] [rbp-20h]
const char *v12; // [rsp+38h] [rbp-8h]
v12 = a1;
v8 = strend(a1);
v7 = a4 + a3;
while ( j < a3 )
... | print_comment:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x001c6d70
MOV qword ptr [RBP + -0x20],RAX
MOV EAX,dword ptr [RBP + -0x10]
ADD EAX,dword ptr [RBP + -0x14]
MO... |
int print_comment(char *param_1,int param_2,int param_3,int param_4)
{
long lVar1;
bool bVar2;
char *local_38;
int local_14;
char *local_10;
lVar1 = strend(param_1);
for (local_14 = param_2; local_14 < param_3; local_14 = local_14 + 1) {
putchar(0x20);
}
if ((*param_1 == '.') || (local_10 = p... | |
27,815 | print_comment | eloqsql/mysys/my_getopt.c | static uint print_comment(const char *comment,
int curpos, int startpos, int width)
{
const char *end= strend(comment);
int endpos= startpos + width;
for (; curpos < startpos; curpos++)
putchar(' ');
if (*comment == '.' || *comment == ',')
{
putchar(*comment);
comment++... | O3 | c | print_comment:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r15d
movq %rdi, %rbx
callq 0x90e6c
movq %rax, %r14
cmpl $0x15, %r15d
jg 0x5fa41
addl $-0x16, %r15d
movl $0x20, %edi
callq 0x36b50
incl %r15d
jne 0x5fa2c
movl $0x16, %r15d
movzbl (%rbx), %edi
movl %edi... | print_comment:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15d, esi
mov rbx, rdi
call strend
mov r14, rax
cmp r15d, 15h
jg short loc_5FA41
add r15d, 0FFFFFFEAh
loc_5FA2C:
mov edi, 20h ; ' '
call _putchar
inc r15d
jnz ... | long long print_comment(const char *a1, int a2)
{
unsigned int v2; // r15d
const char *v3; // rbx
long long v4; // r14
int v5; // r15d
long long v6; // rdi
long long v7; // r12
long long v8; // rax
long long v9; // r14
const char *v10; // r15
long long v11; // r13
int v13; // r15d
v2 = a2;
v... | print_comment:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15D,ESI
MOV RBX,RDI
CALL 0x00190e6c
MOV R14,RAX
CMP R15D,0x15
JG 0x0015fa41
ADD R15D,-0x16
LAB_0015fa2c:
MOV EDI,0x20
CALL 0x00136b50
INC R15D
JNZ 0x0015fa2c
MOV R15D,0x16
LAB_0015fa41:
MOVZX EDI,byte ptr [RBX]
MOV EAX,EDI
OR... |
int print_comment(byte *param_1,uint param_2)
{
long lVar1;
long lVar2;
int iVar3;
ulong uVar4;
byte *pbVar5;
byte *pbVar6;
uVar4 = (ulong)param_2;
lVar1 = strend();
if ((int)param_2 < 0x16) {
iVar3 = param_2 - 0x16;
do {
putchar(0x20);
iVar3 = iVar3 + 1;
} while (iVar3 !=... | |
27,816 | ma_remove_table_from_trnman | eloqsql/storage/maria/ma_state.c | void _ma_remove_table_from_trnman(MARIA_HA *info)
{
MARIA_SHARE *share= info->s;
TRN *trn= info->trn;
MARIA_USED_TABLES *tables, **prev;
DBUG_ENTER("_ma_remove_table_from_trnman");
DBUG_PRINT("enter", ("trn: %p used_tables: %p share: %p in_trans: %d",
trn, trn->used_tables, share, sh... | O3 | c | ma_remove_table_from_trnman:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
cmpq 0x34ce66(%rip), %rdi # 0x38df70
je 0x4116c
movq (%rbx), %rax
addq $0x58, %rdi
movq %rdi, %rcx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x41135
cmpq %rax, 0x8(%rdi)
jne 0x41113
movq (%rdi), %rdx
movq %... | _ma_remove_table_from_trnman:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+8]
cmp rdi, cs:dummy_transaction_object_ptr
jz short loc_4116C
mov rax, [rbx]
add rdi, 58h ; 'X'
loc_41113:
mov rcx, rdi
mov rdi, [rdi]
test rdi, rdi
jz short loc_41135
... | _QWORD * ma_remove_table_from_trnman(_QWORD *a1)
{
_QWORD *result; // rax
_QWORD *v3; // rdi
long long v4; // rax
_QWORD *v5; // rdi
_QWORD *v6; // rcx
long long v7; // rdx
long long v8; // rdx
v3 = (_QWORD *)a1[1];
if ( v3 != dummy_transaction_object )
{
v4 = *a1;
v5 = v3 + 11;
while (... | _ma_remove_table_from_trnman:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x8]
CMP RDI,qword ptr [0x0048df70]
JZ 0x0014116c
MOV RAX,qword ptr [RBX]
ADD RDI,0x58
LAB_00141113:
MOV RCX,RDI
MOV RDI,qword ptr [RDI]
TEST RDI,RDI
JZ 0x00141135
CMP qword ptr [RDI + 0x8],RAX
JNZ 0x00141113
MOV R... |
void _ma_remove_table_from_trnman(long *param_1)
{
int *piVar1;
long *plVar2;
long lVar3;
long *plVar4;
if ((int *)param_1[1] != PTR_dummy_transaction_object_0048df70) {
lVar3 = *param_1;
plVar2 = (long *)((int *)param_1[1] + 0x58);
do {
plVar4 = plVar2;
plVar2 = (long *)*plVar4;
... | |
27,817 | glfwInputChar | untodesu[P]riteg/build_O0/_deps/glfw-src/src/input.c | void _glfwInputChar(_GLFWwindow* window, unsigned int codepoint, int mods, GLFWbool plain)
{
if (codepoint < 32 || (codepoint > 126 && codepoint < 160))
return;
if (!window->lockKeyMods)
mods &= ~(GLFW_MOD_CAPS_LOCK | GLFW_MOD_NUM_LOCK);
if (window->callbacks.charmods)
window->call... | O0 | c | glfwInputChar:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movl %ecx, -0x14(%rbp)
cmpl $0x20, -0xc(%rbp)
jb 0x22b2a
cmpl $0x7e, -0xc(%rbp)
jbe 0x22b2c
cmpl $0xa0, -0xc(%rbp)
jae 0x22b2c
jmp 0x22b8e
movq -0x8(%rbp), %rax
cmpl $0x0, 0x70(%rax)
jne 0x22b3f... | _glfwInputChar:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_10], edx
mov [rbp+var_14], ecx
cmp [rbp+var_C], 20h ; ' '
jb short loc_22B2A
cmp [rbp+var_C], 7Eh ; '~'
jbe short loc_22B2C
cmp [rbp+var_C], 0A0h
jnb short loc_22... | long long glfwInputChar(long long a1, unsigned int a2, unsigned int a3, int a4)
{
long long result; // rax
unsigned int v6; // [rsp+10h] [rbp-10h]
v6 = a3;
if ( a2 >= 0x20 && (a2 <= 0x7E || a2 >= 0xA0) )
{
if ( !*(_DWORD *)(a1 + 112) )
v6 = a3 & 0xFFFFFFCF;
result = a1;
if ( *(_QWORD *)(a1... | _glfwInputChar:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
CMP dword ptr [RBP + -0xc],0x20
JC 0x00122b2a
CMP dword ptr [RBP + -0xc],0x7e
JBE 0x00122b2c
CMP dword ptr [RBP + -0xc],0xa0
JNC 0x00122b2c
LAB_... |
void _glfwInputChar(long param_1,uint param_2,uint param_3,int param_4)
{
uint local_18;
if ((0x1f < param_2) && ((param_2 < 0x7f || (0x9f < param_2)))) {
local_18 = param_3;
if (*(int *)(param_1 + 0x70) == 0) {
local_18 = param_3 & 0xffffffcf;
}
if (*(long *)(param_1 + 0x330) != 0) {
... | |
27,818 | testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::~MatcherBase() | seiftnesse[P]memoryallocator/build_O3/_deps/googletest-src/googletest/include/gtest/gtest-matchers.h | ~MatcherBase() override { Destroy(); } | O3 | c | testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::~MatcherBase():
pushq %rax
leaq 0x1d494(%rip), %rax # 0x59b48
movq %rax, (%rdi)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x3c6db
cmpq $0x0, 0x18(%rax)
je 0x3c6db
movq 0x10(%rdi), %rax
lock
decl (%rax)
jne 0x3c6db
movq 0x8(%... | _ZN7testing8internal11MatcherBaseIRKSt17basic_string_viewIcSt11char_traitsIcEEED2Ev:
push rax
lea rax, off_59B48
mov [rdi], rax
mov rax, [rdi+8]
test rax, rax
jz short loc_3C6DB
cmp qword ptr [rax+18h], 0
jz short loc_3C6DB
mov rax, [rdi+10h]
lock dec dword ptr [rax]
jnz short lo... | void __spoils<rdx,rcx,r8,r9,r10,r11,xmm4,xmm5> testing::internal::MatcherBase<std::string_view const&>::~MatcherBase(
long long a1)
{
long long v1; // rax
*(_QWORD *)a1 = &off_59B48;
v1 = *(_QWORD *)(a1 + 8);
if ( v1 && *(_QWORD *)(v1 + 24) && !_InterlockedDecrement(*(volatile signed __int32 **)(a1 + ... | ~MatcherBase:
PUSH RAX
LEA RAX,[0x159b48]
MOV qword ptr [RDI],RAX
MOV RAX,qword ptr [RDI + 0x8]
TEST RAX,RAX
JZ 0x0013c6db
CMP qword ptr [RAX + 0x18],0x0
JZ 0x0013c6db
MOV RAX,qword ptr [RDI + 0x10]
DEC.LOCK dword ptr [RAX]
JNZ 0x0013c6db
MOV RAX,qword ptr [RDI + 0x8]
MOV RDI,qword ptr [RDI + 0x10]
LAB_0013c6d8:
CALL q... |
/* testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char> >
const&>::~MatcherBase() */
int8 __thiscall
testing::internal::MatcherBase<std::basic_string_view<char,std::char_traits<char>>const&>::
~MatcherBase(MatcherBase<std::basic_string_view<char,std::char_traits<char>>const&> *this)
... | |
27,819 | bchange | eloqsql/strings/bchange.c | void bchange(register uchar *dst, size_t old_length, register const uchar *src,
size_t new_length, size_t tot_length)
{
size_t rest=tot_length-old_length;
if (old_length < new_length)
bmove_upp(dst+rest+new_length,dst+tot_length,rest);
else
bmove(dst+new_length,dst+old_length,rest);
memcpy(dst,src... | O3 | c | bchange:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq %r8, %rdx
subq %rsi, %rdx
cmpq %rcx, %rsi
jae 0x4f86e
leaq (%r15,%rdx), %rdi
addq %rbx, %rdi
addq %r15, %r8
movq %r8, %rsi
callq 0x4f894
jmp 0x4f87a
leaq (%r15,%rbx), %rdi
addq %r15, %rsi... | bchange:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rbx, rcx
mov r14, rdx
mov r15, rdi
mov rdx, r8
sub rdx, rsi
cmp rsi, rcx
jnb short loc_4F86E
lea rdi, [r15+rdx]
add rdi, rbx
add r8, r15
mov rsi, r8
call bmove_upp
jmp short loc_4... | long long bchange(long long a1, unsigned long long a2, long long a3, unsigned long long a4, long long a5)
{
long long v7; // rdx
v7 = a5 - a2;
if ( a2 >= a4 )
memmove(a1 + a4, a1 + a2, v7);
else
bmove_upp(a4 + a1 + v7, a1 + a5, v7);
return memcpy(a1, a3, a4);
}
| bchange:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RCX
MOV R14,RDX
MOV R15,RDI
MOV RDX,R8
SUB RDX,RSI
CMP RSI,RCX
JNC 0x0014f86e
LEA RDI,[R15 + RDX*0x1]
ADD RDI,RBX
ADD R8,R15
MOV RSI,R8
CALL 0x0014f894
JMP 0x0014f87a
LAB_0014f86e:
LEA RDI,[R15 + RBX*0x1]
ADD RSI,R15
CALL 0x001265d0
LAB_0014f87a:... |
void bchange(void *param_1,ulong param_2,void *param_3,ulong param_4,long param_5)
{
if (param_2 < param_4) {
bmove_upp((long)param_1 + param_4 + (param_5 - param_2),param_5 + (long)param_1);
}
else {
memmove((void *)((long)param_1 + param_4),(void *)(param_2 + (long)param_1),param_5 - param_2);
}
m... | |
27,820 | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const | NVIDIA-RTX[P]OSD-Lite/opensubdiv/far/catmarkPatchBuilder.cpp | int
GregoryConverter<REAL>::getIrregularFacePointSize(
int cIndexNear, int cIndexFar) const {
CornerTopology const & corner = _corners[cIndexNear];
CornerTopology const & adjCorner = _corners[cIndexFar];
if (corner.isSharp && adjCorner.isSharp) return 2;
int thisSize = corner.isSharp
... | O0 | cpp | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x18, %rcx
movslq -0x14(%rbp), %rdx
imulq $0xe0, %rdx, %rdx
addq %rdx... | _ZNK10OpenSubdiv6v3_6_03Far16GregoryConverterIdE25getIrregularFacePointSizeEii:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_18], edx
mov rax, [rbp+var_10]
mov rcx, rax
add rcx, 18h
movsxd rdx, [rbp+var_14]
imul rdx, 0E0h
add rcx,... | long long OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize(
long long a1,
int a2,
int a3)
{
int v4; // [rsp+8h] [rbp-38h]
int v5; // [rsp+Ch] [rbp-34h]
_WORD *v6; // [rsp+18h] [rbp-28h]
_WORD *v7; // [rsp+20h] [rbp-20h]
v7 = (_WORD *)(224LL * a2 + a1 + 24)... | |||
27,821 | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const | NVIDIA-RTX[P]OSD-Lite/opensubdiv/far/catmarkPatchBuilder.cpp | int
GregoryConverter<REAL>::getIrregularFacePointSize(
int cIndexNear, int cIndexFar) const {
CornerTopology const & corner = _corners[cIndexNear];
CornerTopology const & adjCorner = _corners[cIndexFar];
if (corner.isSharp && adjCorner.isSharp) return 2;
int thisSize = corner.isSharp
... | O1 | cpp | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const:
movslq %esi, %rax
imulq $0xe0, %rax, %rsi
movslq %edx, %rax
imulq $0xe0, %rax, %rax
leaq (%rdi,%rax), %rcx
addq $0x18, %rcx
movzwl 0x18(%rdi,%rsi), %r8d
testb $0x2, %r8b
jne 0x528ec
leaq (%rdi,%rsi), %rax
addq $0x18, %rax
movl ... | _ZNK10OpenSubdiv6v3_6_03Far16GregoryConverterIdE25getIrregularFacePointSizeEii:
movsxd rax, esi
imul rsi, rax, 0E0h
movsxd rax, edx
imul rax, 0E0h
lea rcx, [rdi+rax]
add rcx, 18h
movzx r8d, word ptr [rdi+rsi+18h]
test r8b, 2
jnz short loc_528EC
loc_528CE:
lea rax, [rdi+rsi]
add rax, 18h... | long long OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize(
long long a1,
int a2,
int a3)
{
long long v3; // rsi
long long v4; // rcx
__int16 v5; // r8
int v6; // edx
int v7; // eax
long long result; // rax
v3 = 224LL * a2;
v4 = a1 + 224LL * a3 + 24;... | getIrregularFacePointSize:
MOVSXD RAX,ESI
IMUL RSI,RAX,0xe0
MOVSXD RAX,EDX
IMUL RAX,RAX,0xe0
LEA RCX,[RDI + RAX*0x1]
ADD RCX,0x18
MOVZX R8D,word ptr [RDI + RSI*0x1 + 0x18]
TEST R8B,0x2
JNZ 0x001528ec
LAB_001528ce:
LEA RAX,[RDI + RSI*0x1]
ADD RAX,0x18
MOV EDX,dword ptr [RAX + 0x30]
INC EDX
LAB_001528db:
XOR EAX,EAX
TEST... |
/* OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize(int, int) const */
int __thiscall
OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize
(GregoryConverter<double> *this,int param_1,int param_2)
{
int iVar1;
int iVar2;
if ((*(ushort *)(this + (l... | |
27,822 | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const | NVIDIA-RTX[P]OSD-Lite/opensubdiv/far/catmarkPatchBuilder.cpp | int
GregoryConverter<REAL>::getIrregularFacePointSize(
int cIndexNear, int cIndexFar) const {
CornerTopology const & corner = _corners[cIndexNear];
CornerTopology const & adjCorner = _corners[cIndexFar];
if (corner.isSharp && adjCorner.isSharp) return 2;
int thisSize = corner.isSharp
... | O2 | cpp | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const:
movslq %esi, %rax
imulq $0xe0, %rax, %rax
movslq %edx, %rcx
imulq $0xe0, %rcx, %rcx
addq %rdi, %rcx
addq $0x18, %rcx
testb $0x2, 0x18(%rdi,%rax)
jne 0x69879
addq %rdi, %rax
addq $0x18, %rax
movl 0x30(%rax), %edx
incl %edx
movzw... | _ZNK10OpenSubdiv6v3_6_03Far16GregoryConverterIdE25getIrregularFacePointSizeEii:
movsxd rax, esi
imul rax, 0E0h
movsxd rcx, edx
imul rcx, 0E0h
add rcx, rdi
add rcx, 18h
test byte ptr [rdi+rax+18h], 2
jnz short loc_69879
add rax, rdi
add rax, 18h
mov edx, [rax+30h]
inc edx
movzx e... | long long OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize(
long long a1,
int a2,
int a3)
{
long long v3; // rax
long long v4; // rcx
int v5; // edx
__int16 v6; // si
int v7; // eax
v3 = 224LL * a2;
v4 = a1 + 224LL * a3 + 24;
if ( (*(_BYTE *)(a1 + v3... | getIrregularFacePointSize:
MOVSXD RAX,ESI
IMUL RAX,RAX,0xe0
MOVSXD RCX,EDX
IMUL RCX,RCX,0xe0
ADD RCX,RDI
ADD RCX,0x18
TEST byte ptr [RDI + RAX*0x1 + 0x18],0x2
JNZ 0x00169879
ADD RAX,RDI
ADD RAX,0x18
MOV EDX,dword ptr [RAX + 0x30]
INC EDX
MOVZX ESI,word ptr [RCX]
JMP 0x00169885
LAB_00169879:
MOVZX ESI,word ptr [RCX]
TES... |
/* OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize(int, int) const */
int __thiscall
OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize
(GregoryConverter<double> *this,int param_1,int param_2)
{
int iVar1;
int iVar2;
ushort uVar3;
if (((byte... | |
27,823 | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const | NVIDIA-RTX[P]OSD-Lite/opensubdiv/far/catmarkPatchBuilder.cpp | int
GregoryConverter<REAL>::getIrregularFacePointSize(
int cIndexNear, int cIndexFar) const {
CornerTopology const & corner = _corners[cIndexNear];
CornerTopology const & adjCorner = _corners[cIndexFar];
if (corner.isSharp && adjCorner.isSharp) return 2;
int thisSize = corner.isSharp
... | O3 | cpp | OpenSubdiv::v3_6_0::Far::GregoryConverter<float>::getIrregularFacePointSize(int, int) const:
movslq %esi, %rax
imulq $0xe0, %rax, %rax
movslq %edx, %rcx
imulq $0xe0, %rcx, %rcx
addq %rdi, %rcx
addq $0x18, %rcx
testb $0x2, 0x18(%rdi,%rax)
jne 0x54e05
addq %rdi, %rax
addq $0x18, %rax
movl 0x30(%rax), %edx
incl %edx
movzw... | _ZNK10OpenSubdiv6v3_6_03Far16GregoryConverterIdE25getIrregularFacePointSizeEii:
movsxd rax, esi
imul rax, 0E0h
movsxd rcx, edx
imul rcx, 0E0h
add rcx, rdi
add rcx, 18h
test byte ptr [rdi+rax+18h], 2
jnz short loc_54E05
add rax, rdi
add rax, 18h
mov edx, [rax+30h]
inc edx
movzx e... | long long OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize(
long long a1,
int a2,
int a3)
{
long long v3; // rax
long long v4; // rcx
int v5; // edx
__int16 v6; // si
long long result; // rax
int v8; // eax
v3 = 224LL * a2;
v4 = a1 + 224LL * a3 + 24;... | getIrregularFacePointSize:
MOVSXD RAX,ESI
IMUL RAX,RAX,0xe0
MOVSXD RCX,EDX
IMUL RCX,RCX,0xe0
ADD RCX,RDI
ADD RCX,0x18
TEST byte ptr [RDI + RAX*0x1 + 0x18],0x2
JNZ 0x00154e05
ADD RAX,RDI
ADD RAX,0x18
MOV EDX,dword ptr [RAX + 0x30]
INC EDX
MOVZX ESI,word ptr [RCX]
JMP 0x00154e18
LAB_00154e05:
MOVZX ESI,word ptr [RCX]
MOV... |
/* OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize(int, int) const */
int __thiscall
OpenSubdiv::v3_6_0::Far::GregoryConverter<double>::getIrregularFacePointSize
(GregoryConverter<double> *this,int param_1,int param_2)
{
int iVar1;
int iVar2;
ushort uVar3;
if (((byte... | |
27,824 | js_free_rt | bluesky950520[P]quickjs/quickjs.c | void js_free_rt(JSRuntime *rt, void *ptr)
{
JSMallocState *s;
if (!ptr)
return;
s = &rt->malloc_state;
s->malloc_count--;
s->malloc_size -= rt->mf.js_malloc_usable_size(ptr) + MALLOC_OVERHEAD;
rt->mf.js_free(s->opaque, ptr);
} | O0 | c | js_free_rt:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x206b8
jmp 0x20711
movq 0x10(%rsp), %rax
addq $0x28, %rax
movq %rax, (%rsp)
movq (%rsp), %rax
movq (%rax), %rcx
addq $-0x1, %rcx
movq %rcx, (%rax)
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x8(%rsp), %rdi
callq *%ra... | js_free_rt:
sub rsp, 18h
mov [rsp+18h+var_8], rdi
mov [rsp+18h+var_10], rsi
cmp [rsp+18h+var_10], 0
jnz short loc_206B8
jmp short loc_20711
loc_206B8:
mov rax, [rsp+18h+var_8]
add rax, 28h ; '('
mov [rsp+18h+var_18], rax
mov rax, [rsp+18h+var_18]
mov rcx, [rax]
add rcx, 0... | void js_free_rt(long long a1, long long a2)
{
if ( a2 )
{
--*(_QWORD *)(a1 + 40);
*(_QWORD *)(a1 + 48) -= (*(long long ( **)(long long))(a1 + 32))(a2) + 8;
(*(void ( **)(_QWORD, long long))(a1 + 16))(*(_QWORD *)(a1 + 64), a2);
}
}
| js_free_rt:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV qword ptr [RSP + 0x8],RSI
CMP qword ptr [RSP + 0x8],0x0
JNZ 0x001206b8
JMP 0x00120711
LAB_001206b8:
MOV RAX,qword ptr [RSP + 0x10]
ADD RAX,0x28
MOV qword ptr [RSP],RAX
MOV RAX,qword ptr [RSP]
MOV RCX,qword ptr [RAX]
ADD RCX,-0x1
MOV qword ptr [RAX],RCX
MOV RAX... |
void js_free_rt(long param_1,long param_2)
{
long lVar1;
if (param_2 != 0) {
*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + -1;
lVar1 = (**(code **)(param_1 + 0x20))(param_2);
*(long *)(param_1 + 0x30) = *(long *)(param_1 + 0x30) - (lVar1 + 8);
(**(code **)(param_1 + 0x10))(*(int8 *)(p... | |
27,825 | js_free_rt | bluesky950520[P]quickjs/quickjs.c | void js_free_rt(JSRuntime *rt, void *ptr)
{
JSMallocState *s;
if (!ptr)
return;
s = &rt->malloc_state;
s->malloc_count--;
s->malloc_size -= rt->mf.js_malloc_usable_size(ptr) + MALLOC_OVERHEAD;
rt->mf.js_free(s->opaque, ptr);
} | O1 | c | js_free_rt:
testq %rdx, %rdx
je 0x382e2
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
decq 0x28(%rdi)
movq %rdx, %rdi
callq *0x20(%r14)
movq 0x10(%r14), %rcx
movq 0x30(%r14), %rdx
subq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x30(%r14)
movq 0x40(%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
po... | js_array_buffer_free:
test rdx, rdx
jz short locret_382E2
push r14
push rbx
push rax
mov rbx, rdx
mov r14, rdi
dec qword ptr [rdi+28h]
mov rdi, rdx
call qword ptr [r14+20h]
mov rcx, [r14+10h]
mov rdx, [r14+30h]
sub rdx, rax
add rdx, 0FFFFFFFFFFFFFFF8h
mov [r14+30h... | long long js_array_buffer_free(long long a1, long long a2, long long a3)
{
long long v4; // rax
long long ( *v5)(_QWORD, long long); // rcx
long long result; // rax
if ( a3 )
{
--*(_QWORD *)(a1 + 40);
v4 = (*(long long ( **)(long long))(a1 + 32))(a3);
v5 = *(long long ( **)(_QWORD, long long))(a... | js_array_buffer_free:
TEST RDX,RDX
JZ 0x001382e2
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RDI
DEC qword ptr [RDI + 0x28]
MOV RDI,RDX
CALL qword ptr [R14 + 0x20]
MOV RCX,qword ptr [R14 + 0x10]
MOV RDX,qword ptr [R14 + 0x30]
SUB RDX,RAX
ADD RDX,-0x8
MOV qword ptr [R14 + 0x30],RDX
MOV RDI,qword ptr [R14 + 0x40]
MOV ... |
void js_array_buffer_free(long param_1,int8 param_2,long param_3)
{
long lVar1;
if (param_3 != 0) {
*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + -1;
lVar1 = (**(code **)(param_1 + 0x20))(param_3);
lVar1 = (*(long *)(param_1 + 0x30) - lVar1) + -8;
*(long *)(param_1 + 0x30) = lVar1;
... | |
27,826 | js_free_rt | bluesky950520[P]quickjs/quickjs.c | void js_free_rt(JSRuntime *rt, void *ptr)
{
JSMallocState *s;
if (!ptr)
return;
s = &rt->malloc_state;
s->malloc_count--;
s->malloc_size -= rt->mf.js_malloc_usable_size(ptr) + MALLOC_OVERHEAD;
rt->mf.js_free(s->opaque, ptr);
} | O3 | c | js_free_rt:
testq %rdx, %rdx
je 0x395d3
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
decq 0x28(%rdi)
movq %rdx, %rdi
callq *0x20(%r14)
movq 0x10(%r14), %rcx
movq 0x30(%r14), %rdx
subq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x30(%r14)
movq 0x40(%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
po... | js_array_buffer_free:
test rdx, rdx
jz short locret_395D3
push r14
push rbx
push rax
mov rbx, rdx
mov r14, rdi
dec qword ptr [rdi+28h]
mov rdi, rdx
call qword ptr [r14+20h]
mov rcx, [r14+10h]
mov rdx, [r14+30h]
sub rdx, rax
add rdx, 0FFFFFFFFFFFFFFF8h
mov [r14+30h... | long long js_array_buffer_free(long long a1, long long a2, long long a3)
{
long long v4; // rax
long long ( *v5)(_QWORD, long long); // rcx
long long result; // rax
if ( a3 )
{
--*(_QWORD *)(a1 + 40);
v4 = (*(long long ( **)(long long))(a1 + 32))(a3);
v5 = *(long long ( **)(_QWORD, long long))(a... | js_array_buffer_free:
TEST RDX,RDX
JZ 0x001395d3
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RDI
DEC qword ptr [RDI + 0x28]
MOV RDI,RDX
CALL qword ptr [R14 + 0x20]
MOV RCX,qword ptr [R14 + 0x10]
MOV RDX,qword ptr [R14 + 0x30]
SUB RDX,RAX
ADD RDX,-0x8
MOV qword ptr [R14 + 0x30],RDX
MOV RDI,qword ptr [R14 + 0x40]
MOV ... |
void js_array_buffer_free(long param_1,int8 param_2,long param_3)
{
long lVar1;
if (param_3 != 0) {
*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + -1;
lVar1 = (**(code **)(param_1 + 0x20))(param_3);
lVar1 = (*(long *)(param_1 + 0x30) - lVar1) + -8;
*(long *)(param_1 + 0x30) = lVar1;
... | |
27,827 | readMemBits | serhmarch[P]ModbusBridge/modbus/src/Modbus.cpp | StatusCode readMemBits(uint32_t offset, uint32_t count, void *values, const void *memBuff, uint32_t memBitCount, uint32_t *outCount)
{
if (static_cast<uint32_t>(offset + count) > memBitCount)
{
if (outCount && (offset < memBitCount))
count = memBitCount - offset;
else
... | O3 | cpp | readMemBits:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %rcx, %r12
movq %rdx, %r14
movl %esi, %r15d
leal (%r15,%rdi), %eax
cmpl %r8d, %eax
jbe 0x7bf0
testq %rbx, %rbx
sete %cl
subl %edi, %r8d
setbe %dl
movl $0x1000002, %eax # imm = 0x1000002
orb %cl, %dl
jne ... | readMemBits:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, r9
mov r12, rcx
mov r14, rdx
mov r15d, esi
lea eax, [r15+rdi]
cmp eax, r8d
jbe short loc_7BF0
test rbx, rbx
setz cl
sub r8d, edi
setbe dl
mov eax, 1000002h
or dl, cl... | long long readMemBits(
unsigned int a1,
unsigned int a2,
long long a3,
long long a4,
unsigned int a5,
unsigned int *a6)
{
unsigned int v9; // r15d
bool v10; // cf
unsigned int v11; // r8d
long long result; // rax
unsigned int v13; // ebp
unsigned int v14; // ... | readMemBits:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,R9
MOV R12,RCX
MOV R14,RDX
MOV R15D,ESI
LEA EAX,[R15 + RDI*0x1]
CMP EAX,R8D
JBE 0x00107bf0
TEST RBX,RBX
SETZ CL
SUB R8D,EDI
SETBE DL
MOV EAX,0x1000002
OR DL,CL
JNZ 0x00107ca9
MOV R15D,R8D
LAB_00107bf0:
MOV EBP,EDI
SHR EBP,0x3
MOV R13D,R... |
int8
readMemBits(uint param_1,uint param_2,void *param_3,long param_4,uint param_5,uint *param_6)
{
ulong uVar1;
long lVar2;
uint uVar3;
uint uVar4;
ulong uVar5;
ulong uVar6;
uVar6 = (ulong)param_2;
if (param_5 < param_2 + param_1) {
if ((param_5 < param_1 || param_5 - param_1 == 0) || param_6 ... | |
27,828 | minja::Parser::parseLogicalNot() | llama.cpp/common/minja/minja.hpp | std::shared_ptr<Expression> parseLogicalNot() {
static std::regex not_tok(R"(not\b)");
auto location = get_location();
if (!consumeToken(not_tok).empty()) {
auto sub = parseLogicalNot();
if (!sub) throw std::runtime_error("Expected expression after 'not' keyword");
... | O3 | cpp | minja::Parser::parseLogicalNot():
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x83bfa(%rip), %rax # 0x1644f8
movb (%rax), %al
testb %al, %al
je 0xe0a1a
movq (%r15), %rax
movq %rax, 0x50(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0xe0933... | _ZN5minja6Parser15parseLogicalNotEv:
push r15
push r14
push r12
push rbx
sub rsp, 68h
mov r15, rsi
mov r14, rdi
lea rax, _ZGVZN5minja6Parser15parseLogicalNotEvE7not_tokB5cxx11; `guard variable for'minja::Parser::parseLogicalNot(void)::not_tok
mov al, [rax]
test al, al
jz loc_E0A1... | minja::Parser * minja::Parser::parseLogicalNot(minja::Parser *this, long long *a2)
{
volatile signed __int32 *v2; // rax
volatile signed __int32 *v3; // r12
__int128 v4; // xmm0
std::runtime_error *exception; // r15
char v7; // [rsp+Fh] [rbp-79h] BYREF
__int128 v8; // [rsp+10h] [rbp-78h] BYREF
int v9[2]; ... | parseLogicalNot:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV R15,RSI
MOV R14,RDI
LEA RAX,[0x2644f8]
MOV AL,byte ptr [RAX]
TEST AL,AL
JZ 0x001e0a1a
LAB_001e0908:
MOV RAX,qword ptr [R15]
MOV qword ptr [RSP + 0x50],RAX
MOV RAX,qword ptr [R15 + 0x8]
MOV qword ptr [RSP + 0x58],RAX
TEST RAX,RAX
JZ 0x001e0933
MOV RCX... |
/* minja::Parser::parseLogicalNot() */
void minja::Parser::parseLogicalNot(void)
{
int8 uVar1;
int iVar2;
runtime_error *this;
int8 *in_RSI;
int8 *in_RDI;
int1 local_79;
int8 local_78;
int8 auStack_70 [2];
long *local_60;
long local_58;
long local_50 [2];
int4 local_3c;
int8 local_38;
lon... | |
27,829 | my_fstat | eloqsql/mysys/my_lib.c | int my_fstat(File Filedes, MY_STAT *stat_area,
myf MyFlags __attribute__((unused)))
{
DBUG_ENTER("my_fstat");
DBUG_PRINT("my",("fd: %d MyFlags: %lu", Filedes, MyFlags));
#ifdef _WIN32
DBUG_RETURN(my_win_fstat(Filedes, stat_area));
#elif defined HAVE_valgrind
{
int s= fstat(Filedes, stat_area);... | O3 | c | my_fstat:
pushq %rbp
movq %rsp, %rbp
popq %rbp
jmp 0x286f0
nopl (%rax)
| my_fstat:
push rbp
mov rbp, rsp
pop rbp
jmp _fstat64
| long long my_fstat()
{
return fstat64();
}
| my_fstat:
PUSH RBP
MOV RBP,RSP
POP RBP
JMP 0x001286f0
|
void my_fstat(int param_1,stat64 *param_2)
{
fstat64(param_1,param_2);
return;
}
| |
27,830 | list_reverse | eloqsql/libmariadb/libmariadb/ma_list.c | LIST *list_reverse(LIST *root)
{
LIST *last;
last=root;
while (root)
{
last=root;
root=root->next;
last->next=last->prev;
last->prev=root;
}
return last;
} | O0 | c | list_reverse:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x27577
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x8(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rcx
movq -0x10(%rbp), %rax
movq ... | list_reverse:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
loc_27540:
cmp [rbp+var_8], 0
jz short loc_27577
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rax, [rbp+var_8]
mov rax, [rax+8]
mov [rbp+var_8], rax
mov rax, [rbp+var... | _QWORD * list_reverse(_QWORD *a1)
{
_QWORD *v2; // [rsp+0h] [rbp-10h]
_QWORD *v3; // [rsp+8h] [rbp-8h]
v3 = a1;
v2 = a1;
while ( v3 )
{
v2 = v3;
v3 = (_QWORD *)v3[1];
v2[1] = *v2;
*v2 = v3;
}
return v2;
}
| list_reverse:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
LAB_00127540:
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00127577
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV qwor... |
int8 * list_reverse(int8 *param_1)
{
int8 *puVar1;
int8 *local_18;
int8 *local_10;
local_18 = param_1;
local_10 = param_1;
while (local_10 != (int8 *)0x0) {
local_18 = local_10;
puVar1 = (int8 *)local_10[1];
local_10[1] = *local_10;
*local_10 = puVar1;
local_10 = puVar1;
}
retur... | |
27,831 | list_reverse | eloqsql/libmariadb/libmariadb/ma_list.c | LIST *list_reverse(LIST *root)
{
LIST *last;
last=root;
while (root)
{
last=root;
root=root->next;
last->next=last->prev;
last->prev=root;
}
return last;
} | O3 | c | list_reverse:
testq %rdi, %rdi
je 0x1fd48
pushq %rbp
movq %rsp, %rbp
movq %rdi, %rax
movq (%rdi), %rcx
movq 0x8(%rdi), %rdi
movq %rcx, 0x8(%rax)
movq %rdi, (%rax)
testq %rdi, %rdi
jne 0x1fd30
popq %rbp
retq
xorl %eax, %eax
retq
| list_reverse:
test rdi, rdi
jz short loc_1FD48
push rbp
mov rbp, rsp
loc_1FD30:
mov rax, rdi
mov rcx, [rdi]
mov rdi, [rdi+8]
mov [rax+8], rcx
mov [rax], rdi
test rdi, rdi
jnz short loc_1FD30
pop rbp
retn
loc_1FD48:
xor eax, eax
retn
| _QWORD * list_reverse(_QWORD *a1)
{
_QWORD *result; // rax
long long v2; // rcx
if ( !a1 )
return 0LL;
do
{
result = a1;
v2 = *a1;
a1 = (_QWORD *)a1[1];
result[1] = v2;
*result = a1;
}
while ( a1 );
return result;
}
| list_reverse:
TEST RDI,RDI
JZ 0x0011fd48
PUSH RBP
MOV RBP,RSP
LAB_0011fd30:
MOV RAX,RDI
MOV RCX,qword ptr [RDI]
MOV RDI,qword ptr [RDI + 0x8]
MOV qword ptr [RAX + 0x8],RCX
MOV qword ptr [RAX],RDI
TEST RDI,RDI
JNZ 0x0011fd30
POP RBP
RET
LAB_0011fd48:
XOR EAX,EAX
RET
|
int8 * list_reverse(int8 *param_1)
{
int8 *puVar1;
int8 *puVar2;
if (param_1 == (int8 *)0x0) {
return (int8 *)0x0;
}
do {
puVar2 = param_1;
puVar1 = (int8 *)param_1[1];
param_1[1] = *param_1;
*param_1 = puVar1;
param_1 = puVar1;
} while (puVar1 != (int8 *)0x0);
return puVar2;
... | |
27,832 | google::protobuf::DescriptorBuilder::AllocateOptions(google::protobuf::FileOptions const&, google::protobuf::FileDescriptor*, google::protobuf::internal::FlatAllocator&) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.cc | void DescriptorBuilder::AllocateOptions(const FileOptions& orig_options,
FileDescriptor* descriptor,
internal::FlatAllocator& alloc) {
std::vector<int> options_path;
options_path.push_back(FileDescriptorProto::kOptionsFieldNumber);
//... | O0 | cpp | google::protobuf::DescriptorBuilder::AllocateOptions(google::protobuf::FileOptions const&, google::protobuf::FileDescriptor*, google::protobuf::internal::FlatAllocator&):
subq $0xe8, %rsp
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movq %rdx, 0xd0(%rsp)
movq %rcx, 0xc8(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0x40(%rsp)
... | _ZN6google8protobuf17DescriptorBuilder15AllocateOptionsERKNS0_11FileOptionsEPNS0_14FileDescriptorERNS0_8internal13FlatAllocatorE:
sub rsp, 0E8h
mov [rsp+0E8h+var_8], rdi
mov [rsp+0E8h+var_10], rsi
mov [rsp+0E8h+var_18], rdx
mov [rsp+0E8h+var_20], rcx
mov rax, [rsp+0E8h+var_8]
mov [rsp+0E8h+v... | long long google::protobuf::DescriptorBuilder::AllocateOptions(
google::protobuf::DescriptorBuilder *this,
const google::protobuf::FileOptions *a2,
google::protobuf::FileDescriptor *a3,
google::protobuf::internal::FlatAllocator *a4)
{
long long v4; // rsi
int v5; // ecx
int v6; //... | ~vector:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV RDI,qword ptr [RSP + 0x20]
MOV qword ptr [RSP + 0x8],RDI
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP + 0x10],RAX
MOV RAX,qword ptr [RDI + 0x8]
MOV qword ptr [RSP + 0x18],RAX
CALL 0x002555d0
MOV RDI,qword ptr [RSP + 0x10]
MOV RSI,qword ptr [RSP + 0x18]
MOV RDX,RAX
... |
/* std::vector<google::protobuf::UnknownField, std::allocator<google::protobuf::UnknownField>
>::~vector() */
void __thiscall
std::vector<google::protobuf::UnknownField,std::allocator<google::protobuf::UnknownField>>::~vector
(vector<google::protobuf::UnknownField,std::allocator<google::protobuf::Unknown... | |
27,833 | google::protobuf::DescriptorBuilder::AllocateOptions(google::protobuf::FileOptions const&, google::protobuf::FileDescriptor*, google::protobuf::internal::FlatAllocator&) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.cc | void DescriptorBuilder::AllocateOptions(const FileOptions& orig_options,
FileDescriptor* descriptor,
internal::FlatAllocator& alloc) {
std::vector<int> options_path;
options_path.push_back(FileDescriptorProto::kOptionsFieldNumber);
//... | O3 | cpp | google::protobuf::DescriptorBuilder::AllocateOptions(google::protobuf::FileOptions const&, google::protobuf::FileDescriptor*, google::protobuf::internal::FlatAllocator&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
xo... | _ZN6google8protobuf17DescriptorBuilder15AllocateOptionsERKNS0_11FileOptionsEPNS0_14FileDescriptorERNS0_8internal13FlatAllocatorE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov rbx, rcx
mov r14, rdx
mov r15, rsi
mov r12, rdi
xorps xmm0, xmm0
lea rdi, [... | void google::protobuf::DescriptorBuilder::AllocateOptions(long long a1, long long a2, long long a3, long long a4)
{
_QWORD *v6; // rax
long long v7; // r13
void *v8[2]; // [rsp+0h] [rbp-88h] BYREF
_BYTE v9[16]; // [rsp+10h] [rbp-78h] BYREF
void *v10[2]; // [rsp+20h] [rbp-68h] BYREF
_BYTE v11[16]; // [rsp+3... | AllocateOptions:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV RBX,RCX
MOV R14,RDX
MOV R15,RSI
MOV R12,RDI
XORPS XMM0,XMM0
LEA RDI,[RSP + 0x40]
MOVAPS xmmword ptr [RDI],XMM0
MOV qword ptr [RDI + 0x10],0x0
MOV RDX,RSP
MOV dword ptr [RDX],0x8
LAB_001cd06e:
XOR ESI,ESI
CALL 0x0012ddf0
MOV RAX,qwor... |
/* google::protobuf::DescriptorBuilder::AllocateOptions(google::protobuf::FileOptions const&,
google::protobuf::FileDescriptor*, google::protobuf::internal::FlatAllocator&) */
void __thiscall
google::protobuf::DescriptorBuilder::AllocateOptions
(DescriptorBuilder *this,FileOptions *param_1,FileDescriptor... | |
27,834 | mysql_stmt_free_result_start | eloqsql/libmariadb/libmariadb/mariadb_async.c | int STDCALL
mysql_stmt_free_result_start(my_bool *ret, MYSQL_STMT *stmt)
{
MK_ASYNC_START_BODY(
mysql_stmt_free_result,
stmt->mysql,
{
WIN_SET_NONBLOCKING(stmt->mysql)
parms.stmt= stmt;
},
TRUE,
r_my_bool,
/* If stmt->mysql==NULL then we will not block so can call directly. */
if (!stmt->mysql)
... | O0 | c | mysql_stmt_free_result_start:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq $0x0, 0x38(%rax)
jne 0xa2768
movq -0x18(%rbp), %rdi
callq 0x8e730
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0xa2876
movq -0x18(%rbp), ... | mysql_stmt_free_result_start:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_18]
cmp qword ptr [rax+38h], 0
jnz short loc_A2768
mov rdi, [rbp+var_18]
call mysql_stmt_free_result
mov cl, al
mov rax, [rbp+var_10]
mov [rax]... | long long mysql_stmt_free_result_start(_BYTE *a1, long long a2)
{
long long v3; // [rsp+0h] [rbp-30h] BYREF
_BYTE *v4; // [rsp+8h] [rbp-28h]
int v5; // [rsp+14h] [rbp-1Ch]
long long v6; // [rsp+18h] [rbp-18h]
_BYTE *v7; // [rsp+20h] [rbp-10h]
v7 = a1;
v6 = a2;
if ( *(_QWORD *)(a2 + 56) )
{
v4 = ... | mysql_stmt_free_result_start:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x18]
CMP qword ptr [RAX + 0x38],0x0
JNZ 0x001a2768
MOV RDI,qword ptr [RBP + -0x18]
CALL 0x0018e730
MOV CL,AL
MOV RAX,qword ptr [RBP + -0x10]
MOV byte ptr [RAX],CL
MO... |
int4 mysql_stmt_free_result_start(int1 *param_1,long param_2)
{
int1 uVar1;
long local_38;
int4 *local_30;
int local_24;
long local_20;
int1 *local_18;
int4 local_c;
local_20 = param_2;
local_18 = param_1;
if (*(long *)(param_2 + 0x38) == 0) {
uVar1 = mysql_stmt_free_result(param_2);
*l... | |
27,835 | minja::ExpressionNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | void do_render(std::ostringstream & out, const std::shared_ptr<Context> & context) const override {
if (!expr) throw std::runtime_error("ExpressionNode.expr is null");
auto result = expr->evaluate(context);
if (result.is_string()) {
out << result.get<std::string>();
} else if (result.i... | O0 | cpp | minja::ExpressionNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const:
subq $0xe8, %rsp
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movq %rdx, 0xd0(%rsp)
movq 0xe0(%rsp), %rdi
movq %rdi, 0x28(%rsp)
addq $0x20, %rdi
callq 0x... | _ZNK5minja14ExpressionNode9do_renderERNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_7ContextEE:
sub rsp, 0E8h
mov [rsp+0E8h+var_8], rdi
mov qword ptr [rsp+0E8h+var_10], rsi
mov [rsp+0E8h+var_18], rdx
mov rdi, [rsp+0E8h+var_8]
mov [rsp+0E8h+var_C0], rdi; __int64
a... | void minja::ExpressionNode::do_render(long long a1, long long a2, long long a3)
{
void (***v3)(void); // rax
long long v4; // rdi
const char *v5; // rsi
long long v6; // [rsp+0h] [rbp-E8h]
int v7[2]; // [rsp+18h] [rbp-D0h]
std::runtime_error *exception; // [rsp+20h] [rbp-C8h]
_BYTE v9[32]; // [rsp+30h] [... | |||
27,836 | minja::ExpressionNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | void do_render(std::ostringstream & out, const std::shared_ptr<Context> & context) const override {
if (!expr) throw std::runtime_error("ExpressionNode.expr is null");
auto result = expr->evaluate(context);
if (result.is_string()) {
out << result.get<std::string>();
} else if (result.i... | O3 | cpp | minja::ExpressionNode::do_render(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>>&, std::shared_ptr<minja::Context> const&) const:
pushq %r14
pushq %rbx
subq $0x78, %rsp
movq %rsi, %rbx
movq 0x20(%rdi), %rsi
testq %rsi, %rsi
je 0x9dc7b
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x8... | _ZNK5minja14ExpressionNode9do_renderERNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEERKSt10shared_ptrINS_7ContextEE:
push r14
push rbx
sub rsp, 78h
mov rbx, rsi
mov rsi, [rdi+20h]
test rsi, rsi
jz loc_9DC7B
lea r14, [rsp+88h+var_60]
mov rdi, r14
call _ZNK5minja10Expressi... | long long minja::ExpressionNode::do_render(long long a1, long long a2)
{
void (***v3)(void); // rsi
unsigned __int8 v4; // al
const char *v5; // rsi
long long result; // rax
long long v7; // rdi
std::runtime_error *exception; // r14
long long *v9; // [rsp+8h] [rbp-80h] BYREF
long long v10; // [rsp+10h]... | do_render:
PUSH R14
PUSH RBX
SUB RSP,0x78
MOV RBX,RSI
MOV RSI,qword ptr [RDI + 0x20]
TEST RSI,RSI
JZ 0x0019dc7b
LEA R14,[RSP + 0x28]
MOV RDI,R14
CALL 0x00185d20
MOVZX EAX,byte ptr [R14 + 0x40]
CMP EAX,0x4
JZ 0x0019db6c
CMP EAX,0x3
JNZ 0x0019db9b
LAB_0019db49:
LEA RDI,[RSP + 0x8]
LEA RSI,[RSP + 0x28]
CALL 0x00187182
MOV... |
/* minja::ExpressionNode::do_render(std::__cxx11::ostringstream&, std::shared_ptr<minja::Context>
const&) const */
void minja::ExpressionNode::do_render(ostringstream *param_1,shared_ptr *param_2)
{
int *piVar1;
bool bVar2;
int iVar3;
runtime_error *this;
char *pcVar4;
long *local_80;
long local_78;... | |
27,837 | my_readlink | eloqsql/mysys/my_symlink.c | int my_readlink(char *to, const char *filename, myf MyFlags)
{
#ifndef HAVE_READLINK
strmov(to,filename);
return 1;
#else
int result=0;
int length;
DBUG_ENTER("my_readlink");
if ((length=readlink(filename, to, FN_REFLEN-1)) < 0)
{
/* Don't give an error if this wasn't a symlink */
if ((my_errno=e... | O3 | c | my_readlink:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1ff, %edx # imm = 0x1FF
movq %rsi, %rdi
movq %r14, %rsi
callq 0x29260
testl %eax, %eax
js 0xa1c2e
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
m... | my_readlink:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rdx
mov rbx, rsi
mov r14, rdi
mov edx, 1FFh
mov rdi, rsi
mov rsi, r14
call _readlink
test eax, eax
js short loc_A1C2E
and eax, 7FFFFFFFh
mov byte ptr [r14... | long long my_readlink(const char *a1, long long a2, char a3)
{
int v4; // eax
unsigned int v5; // r14d
unsigned int *v6; // r12
unsigned int v7; // r13d
v4 = readlink(a2, a1, 511LL);
if ( v4 < 0 )
{
v6 = (unsigned int *)__errno_location(a2);
v7 = *v6;
*(_DWORD *)my_thread_var(a2, a1) = v7;
... | my_readlink:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
MOV EDX,0x1ff
MOV RDI,RSI
MOV RSI,R14
CALL 0x00129260
TEST EAX,EAX
JS 0x001a1c2e
AND EAX,0x7fffffff
MOV byte ptr [R14 + RAX*0x1],0x0
XOR R14D,R14D
JMP 0x001a1c7b
LAB_001a1c2e:
CALL 0x001297b0
MOV ... |
int8 my_readlink(char *param_1,char *param_2,ulong param_3)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
int *piVar4;
int8 uVar5;
sVar2 = readlink(param_2,param_1,0x1ff);
if ((int)(uint)sVar2 < 0) {
piVar3 = __errno_location();
iVar1 = *piVar3;
piVar4 = (int *)_my_thread_var();
*piVar4 = ... | |
27,838 | eth_get_account_value | corpus-core[P]colibri-stateless/src/chains/eth/verifier/eth_account.c | void eth_get_account_value(ssz_ob_t account, eth_account_field_t field, bytes32_t value) {
bytes_t last_value = get_last_value(ssz_get(&account, "accountProof"));
if (!last_value.data) return;
if (rlp_decode(&last_value, 0, &last_value) != RLP_LIST) return;
if (rlp_decode(&last_value, field - 1, &last_value) !=... | O2 | c | eth_get_account_value:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x47fc2(%rip), %rdx # 0x73751
leaq 0x28(%rsp), %r14
leaq 0x60(%rsp), %rsi
movq %r14, %rdi
callq 0x4c201
movq 0x10(%r14), %rax
movq %rax, 0x10(%rsp)
movups (%r14), %xmm0
movups %xmm0, (%rsp)
callq 0x2b6c7
mo... | eth_get_account_value:
push rbp
push r14
push rbx
sub rsp, 40h
mov rbx, rsi
mov ebp, edi
lea rdx, aAccountproof; "accountProof"
lea r14, [rsp+58h+var_30]
lea rsi, [rsp+58h+arg_0]
mov rdi, r14
call ssz_get
mov rax, [r14+10h]
mov [rsp+58h+var_48], rax
movups xmm0, xmmword ... | long long eth_get_account_value(int a1, long long a2, _DWORD a3, _DWORD a4, _DWORD a5, _DWORD a6, char a7)
{
int v7; // edx
int v8; // ecx
int v9; // r8d
int v10; // r9d
long long result; // rax
long long v12; // rdx
long long v13; // rcx
unsigned int v14; // [rsp+18h] [rbp-40h] BYREF
long long v15; ... | eth_get_account_value:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x40
MOV RBX,RSI
MOV EBP,EDI
LEA RDX,[0x173751]
LEA R14,[RSP + 0x28]
LEA RSI,[RSP + 0x60]
MOV RDI,R14
CALL 0x0014c201
MOV RAX,qword ptr [R14 + 0x10]
MOV qword ptr [RSP + 0x10],RAX
MOVUPS XMM0,xmmword ptr [R14]
MOVUPS xmmword ptr [RSP],XMM0
CALL 0x0012b6c7
MOV dw... |
void eth_get_account_value(int param_1,long param_2)
{
int iVar1;
void *extraout_RDX;
ulong __n;
uint local_40 [2];
void *local_38;
int1 local_30 [24];
ssz_get(local_30,&stack0x00000008,"accountProof");
local_40[0] = get_last_value();
if (extraout_RDX != (void *)0x0) {
local_38 = extraout_RDX... | |
27,839 | find_type_with_warning | eloqsql/mysys/typelib.c | int find_type_with_warning(const char *x, TYPELIB *typelib, const char *option)
{
int res;
const char **ptr;
if ((res= find_type((char *) x, typelib, FIND_TYPE_BASIC)) <= 0)
{
ptr= typelib->type_names;
if (!*x)
fprintf(stderr, "No option given to %s\n", option);
else
fprintf(stderr, "Un... | O3 | c | find_type_with_warning:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
leaq -0x30(%rbp), %rbx
movq %rdi, (%rbx)
callq 0x3a4c0
leaq (%rax,%r15), %rcx
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x8674d
movl %eax, %ebx... | find_type_with_warning:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rdx
mov r12, rsi
mov r15, rdi
lea rbx, [rbp+var_30]
mov [rbx], rdi
call _strlen
lea rcx, [rax+r15]
mov rdi, rbx
mov rsi, r12
xor edx, edx
call f... | long long find_type_with_warning(const char *a1, long long a2, const char *a3)
{
long long v4; // rax
int type_eol; // ebx
const char **v6; // r12
const char *v7; // rcx
const char **v8; // r12
const char *v10; // [rsp+0h] [rbp-30h] BYREF
v10 = a1;
v4 = strlen(a1);
type_eol = find_type_eol(&v10, a2,... | find_type_with_warning:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RDX
MOV R12,RSI
MOV R15,RDI
LEA RBX,[RBP + -0x30]
MOV qword ptr [RBX],RDI
CALL 0x0013a4c0
LEA RCX,[RAX + R15*0x1]
MOV RDI,RBX
MOV RSI,R12
XOR EDX,EDX
CALL 0x0018674d
MOV EBX,EAX
TEST EAX,EAX
JG 0x001866f8
MOV R12,... |
int find_type_with_warning(char *param_1,long param_2,int8 param_3)
{
int8 *puVar1;
long lVar2;
int *puVar3;
int iVar4;
size_t sVar5;
long *plVar6;
char *local_38;
local_38 = param_1;
sVar5 = strlen(param_1);
iVar4 = find_type_eol(&local_38,param_2,0,param_1 + sVar5);
puVar3 = PTR_stderr_0046... | |
27,840 | optional_chain_test | bluesky950520[P]quickjs/quickjs.c | static void optional_chain_test(JSParseState *s, int *poptional_chaining_label,
int drop_count)
{
int label_next, i;
if (*poptional_chaining_label < 0)
*poptional_chaining_label = new_label(s);
/* XXX: could be more efficient with a specific opcode */
emit_op(s, OP... | O2 | c | optional_chain_test:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x0, (%rsi)
jns 0x59ef2
movq %rbx, %rdi
callq 0x5604b
movl %eax, (%r14)
pushq $0x11
popq %rsi
movq %rbx, %rdi
callq 0x4fa1b
movq %rbx, %rdi
movl $0xb0, %esi
callq 0x4fa1b
pushq $0x69
popq %... | optional_chain_test:
push rbp
push r15
push r14
push r12
push rbx
mov r15d, edx
mov r14, rsi
mov rbx, rdi
cmp dword ptr [rsi], 0
jns short loc_59EF2
mov rdi, rbx
call new_label
mov [r14], eax
loc_59EF2:
push 11h
pop rsi
mov rdi, rbx
call emit_op
mov rdi, r... | long long optional_chain_test(long long a1, int *a2, int a3)
{
int v4; // ebp
int v5; // r12d
if ( *a2 < 0 )
*a2 = new_label(a1);
emit_op(a1, 17);
emit_op(a1, 176);
v4 = emit_goto(a1, 105, -1);
v5 = 0;
if ( a3 > 0 )
v5 = a3;
while ( v5-- != 0 )
emit_op(a1, 14);
emit_op(a1, 6);
emit_g... | optional_chain_test:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R15D,EDX
MOV R14,RSI
MOV RBX,RDI
CMP dword ptr [RSI],0x0
JNS 0x00159ef2
MOV RDI,RBX
CALL 0x0015604b
MOV dword ptr [R14],EAX
LAB_00159ef2:
PUSH 0x11
POP RSI
MOV RDI,RBX
CALL 0x0014fa1b
MOV RDI,RBX
MOV ESI,0xb0
CALL 0x0014fa1b
PUSH 0x69
POP RSI
PUSH -0... |
void optional_chain_test(int8 param_1,int *param_2,int param_3)
{
int iVar1;
int4 uVar2;
if (*param_2 < 0) {
iVar1 = new_label(param_1);
*param_2 = iVar1;
}
emit_op(param_1,0x11);
emit_op(param_1,0xb0);
uVar2 = emit_goto(param_1,0x69,0xffffffffffffffff);
iVar1 = 0;
if (0 < param_3) {
... | |
27,841 | google::protobuf::internal::WireFormat::InternalSerializeMessageSetItem(google::protobuf::FieldDescriptor const*, google::protobuf::Message const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/wire_format.cc | uint8_t* WireFormat::InternalSerializeMessageSetItem(
const FieldDescriptor* field, const Message& message, uint8_t* target,
io::EpsCopyOutputStream* stream) {
const Reflection* message_reflection = message.GetReflection();
target = stream->EnsureSpace(target);
// Start group.
target = io::CodedOutputS... | O0 | cpp | google::protobuf::internal::WireFormat::InternalSerializeMessageSetItem(google::protobuf::FieldDescriptor const*, google::protobuf::Message const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*):
subq $0x98, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq 0... | _ZN6google8protobuf8internal10WireFormat31InternalSerializeMessageSetItemEPKNS0_15FieldDescriptorERKNS0_7MessageEPhPNS0_2io19EpsCopyOutputStreamE:
sub rsp, 98h
mov [rsp+98h+var_68], rdi
mov [rsp+98h+var_70], rsi
mov [rsp+98h+var_78], rdx
mov [rsp+98h+var_80], rcx
mov rdi, [rsp+98h+var_70]; this
... | _BYTE * google::protobuf::internal::WireFormat::InternalSerializeMessageSetItem(
google::protobuf::internal::WireFormat *this,
const google::protobuf::FieldDescriptor *a2,
const google::protobuf::Message *a3,
google::protobuf::io::EpsCopyOutputStream *a4,
google::protobuf::io::Ep... | field_count:
MOV qword ptr [RSP + -0x8],RDI
MOV RAX,qword ptr [RSP + -0x8]
MOV EAX,dword ptr [RAX + 0x4]
RET
|
/* google::protobuf::Descriptor::field_count() const */
int4 __thiscall google::protobuf::Descriptor::field_count(Descriptor *this)
{
return *(int4 *)(this + 4);
}
| |
27,842 | inline_mysql_file_open | eloqsql/include/mysql/psi/mysql_file.h | static inline File
inline_mysql_file_open(
#ifdef HAVE_PSI_FILE_INTERFACE
PSI_file_key key, const char *src_file, uint src_line,
#endif
const char *filename, int flags, myf myFlags)
{
File file;
#ifdef HAVE_PSI_FILE_INTERFACE
struct PSI_file_locker *locker;
PSI_file_locker_state state;
locker= PSI_FILE_CALL... | O0 | c | inline_mysql_file_open:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq %r9, -0x30(%rbp)
leaq 0x1a2ce8(%rip), %rax # 0x1cc810
movq (%rax), %rax
movq 0x148(%rax), %rax
movl -0x8(%rbp), %esi
movq -0x20(%r... | inline_mysql_file_open:
push rbp
mov rbp, rsp
sub rsp, 90h
mov [rbp+var_8], edi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov [rbp+var_20], rcx
mov [rbp+var_24], r8d
mov [rbp+var_30], r9
lea rax, PSI_server
mov rax, [rax]
mov rax, [rax+148h]
mov esi, [rbp+var_8]
mov ... | long long inline_mysql_file_open(
unsigned int a1,
long long a2,
unsigned int a3,
long long a4,
unsigned int a5,
long long a6)
{
_BYTE v7[72]; // [rsp+8h] [rbp-88h] BYREF
long long v8; // [rsp+50h] [rbp-40h] BYREF
unsigned int v9; // [rsp+5Ch] [rbp-34h]
long long... | inline_mysql_file_open:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x90
MOV dword ptr [RBP + -0x8],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV dword ptr [RBP + -0x24],R8D
MOV qword ptr [RBP + -0x30],R9
LEA RAX,[0x2cc810]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x14... |
int4
inline_mysql_file_open
(int4 param_1,int8 param_2,int4 param_3,int8 param_4,
int4 param_5,int8 param_6)
{
int1 local_90 [72];
long local_48;
int4 local_3c;
int8 local_38;
int4 local_2c;
int8 local_28;
int4 local_1c;
int8 local_18;
int4 local_10;
int4 local_c;
local_38... | |
27,843 | bf_integer_from_radix | bluesky950520[P]quickjs/libbf.c | static int bf_integer_from_radix(bf_t *r, const limb_t *tab,
limb_t n, limb_t radix)
{
bf_context_t *s = r->ctx;
int pow_tab_len, i, ret;
limb_t radixl;
bf_t *pow_tab;
radixl = get_limb_radix(radix);
pow_tab_len = ceil_log2(n) + 2; /* XXX: check */
pow_tab =... | O3 | c | bf_integer_from_radix:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, 0x8(%rsp)
movq %rdi, %r15
movslq %ecx, %rax
leal -0x2(%rax), %ecx
movslq %ecx, %rcx
leaq 0x11c72(%rip), %rdx # 0xa47a0
movzbl (%rcx,%rdx), %ecx
cmpb $0x3, %cl
movl $0x2, %edx
cmovael ... | bf_integer_from_radix:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, rdx
mov [rsp+48h+var_40], rsi
mov r15, rdi
movsxd rax, ecx
lea ecx, [rax-2]
movsxd rcx, ecx
lea rdx, digits_per_limb_table
movzx ecx, byte ptr [rcx+rdx]
cmp cl, 3
mov ... | long long bf_integer_from_radix(_QWORD **a1, int a2, unsigned long long a3, int a4)
{
unsigned __int8 v6; // cl
unsigned __int8 v7; // dl
int v8; // ecx
int v9; // r12d
unsigned long long v10; // rax
int v11; // eax
long long v12; // r14
long long v13; // rax
long long v14; // r13
long long v15; //... | bf_integer_from_radix:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDX
MOV qword ptr [RSP + 0x8],RSI
MOV R15,RDI
MOVSXD RAX,ECX
LEA ECX,[RAX + -0x2]
MOVSXD RCX,ECX
LEA RDX,[0x1a47a0]
MOVZX ECX,byte ptr [RCX + RDX*0x1]
CMP CL,0x3
MOV EDX,0x2
CMOVNC EDX,ECX
MOV R8,qword ptr [RDI]
MOVZX ECX,... |
int4 bf_integer_from_radix(long *param_1,int8 param_2,ulong param_3,int param_4)
{
int8 *puVar1;
int8 *puVar2;
uint uVar3;
int4 uVar4;
ulong uVar5;
long lVar6;
int iVar7;
long lVar8;
byte bVar9;
long lVar10;
uint uVar11;
long *plVar12;
bVar9 = 2;
if (2 < (byte)digits_per_limb_table[para... | |
27,844 | bool httplib::detail::write_content<httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)::'... | nickolajgrishuk[P]metricz-cpp/build_O0/_deps/httplib-src/httplib.h | inline bool write_content(Stream &strm, const ContentProvider &content_provider,
size_t offset, size_t length, T is_shutting_down,
Error &error) {
size_t end_offset = offset + length;
auto ok = true;
DataSink data_sink;
data_sink.write = [&](const char *d, si... | O0 | c | bool httplib::detail::write_content<httplib::Server::write_content_with_provider(httplib::Stream&, httplib::Request const&, httplib::Response&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)::'... | _ZN7httplib6detail13write_contentIZNS_6Server27write_content_with_providerERNS_6StreamERKNS_7RequestERNS_8ResponseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESH_EUlvE_EEbS4_RKSt8functionIFbmmRNS_8DataSinkEEEmmT_RNS_5ErrorE:
push rbp
mov rbp, rsp
sub rsp, 220h
mov [rbp+var_10], r8
mov [rbp+... | char httplib::detail::write_content<httplib::Server::write_content_with_provider(httplib::Stream &,httplib::Request const&,httplib::Response &,std::string const&,std::string const&)::{lambda(void)#1}>(
long long a1,
long long a2,
unsigned long long a3,
long long a4,
long long a5... | write_content<httplib::Server::write_content_with_provider(httplib::Stream&,httplib::Request_const&,httplib::Response&,std::__cxx11::string_const&,std::__cxx11::string_const&)::{lambda()#1}>:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x220
MOV qword ptr [RBP + -0x10],R8
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RS... |
/* bool
httplib::detail::write_content<httplib::Server::write_content_with_provider(httplib::Stream&,
httplib::Request const&, httplib::Response&, std::__cxx11::string const&, std::__cxx11::string
const&)::{lambda()#1}>(httplib::Stream&, std::function<bool (unsigned long, unsigned long,
httplib::DataSink&... | |
27,845 | mi_ft_segiterator_init | eloqsql/storage/myisam/ft_update.c | void _mi_ft_segiterator_init(MI_INFO *info, uint keynr, const uchar *record,
FT_SEG_ITERATOR *ftsi)
{
DBUG_ENTER("_mi_ft_segiterator_init");
ftsi->num=info->s->keyinfo[keynr].keysegs;
ftsi->seg=info->s->keyinfo[keynr].seg;
ftsi->rec=record;
ftsi->pos= 0; /* Avoid warnings fro... | O3 | c | mi_ft_segiterator_init:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movq 0x218(%rax), %rax
movl %esi, %esi
imulq $0x70, %rsi, %rsi
movzwl 0x8(%rax,%rsi), %eax
movl %eax, (%rcx)
movq (%rdi), %rax
movq 0x218(%rax), %rax
movq 0x28(%rax,%rsi), %rax
movq %rax, 0x8(%rcx)
movq %rdx, 0x10(%rcx)
movq $0x0, 0x18(%rcx)
movl $0x0... | _mi_ft_segiterator_init:
push rbp
mov rbp, rsp
mov rax, [rdi]
mov rax, [rax+218h]
mov esi, esi
imul rsi, 70h ; 'p'
movzx eax, word ptr [rax+rsi+8]
mov [rcx], eax
mov rax, [rdi]
mov rax, [rax+218h]
mov rax, [rax+rsi+28h]
mov [rcx+8], rax
mov [rcx+10h], rdx
mov qword pt... | long long mi_ft_segiterator_init(long long a1, unsigned int a2, long long a3, long long a4)
{
long long v4; // rsi
long long result; // rax
v4 = 112LL * a2;
*(_DWORD *)a4 = *(unsigned __int16 *)(*(_QWORD *)(*(_QWORD *)a1 + 536LL) + v4 + 8);
result = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)a1 + 536LL) + v4 + 40);... | _mi_ft_segiterator_init:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x218]
MOV ESI,ESI
IMUL RSI,RSI,0x70
MOVZX EAX,word ptr [RAX + RSI*0x1 + 0x8]
MOV dword ptr [RCX],EAX
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x218]
MOV RAX,qword ptr [RAX + RSI*0x1 + 0x28]
MOV qword ptr [RCX + 0x8],... |
void _mi_ft_segiterator_init(long *param_1,uint param_2,int8 param_3,uint *param_4)
{
*param_4 = (uint)*(ushort *)(*(long *)(*param_1 + 0x218) + 8 + (ulong)param_2 * 0x70);
*(int8 *)(param_4 + 2) =
*(int8 *)(*(long *)(*param_1 + 0x218) + 0x28 + (ulong)param_2 * 0x70);
*(int8 *)(param_4 + 4) = param_3;
... | |
27,846 | mysql_stmt_store_result_start | eloqsql/libmariadb/libmariadb/mariadb_async.c | int STDCALL
mysql_stmt_store_result_start(int *ret, MYSQL_STMT *stmt)
{
MK_ASYNC_START_BODY(
mysql_stmt_store_result,
stmt->mysql,
{
WIN_SET_NONBLOCKING(stmt->mysql)
parms.stmt= stmt;
},
1,
r_int,
/* If stmt->mysql==NULL then we will not block so can call directly. */
if (!stmt->mysql)
{
*... | O3 | c | mysql_stmt_store_result_start:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x38(%rsi), %rax
testq %rax, %rax
je 0x4ff87
movq 0x480(%rax), %rax
movq 0x28(%rax), %r15
leaq -0x20(%rbp), %rdx
movq %r14, (%rdx)
movb $0x1, 0x14(%r15)
leaq 0x38(%r15), %rdi
leaq 0... | mysql_stmt_store_result_start:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
mov rax, [rsi+38h]
test rax, rax
jz short loc_4FF87
mov rax, [rax+480h]
mov r15, [rax+28h]
lea rdx, [rbp+var_20]
mov [rdx], r14
mov byte ptr [r15+... | long long mysql_stmt_store_result_start(int *a1, long long a2)
{
long long v2; // rax
long long v3; // rax
unsigned int *v4; // r15
int v5; // eax
int v7; // eax
long long v8[4]; // [rsp+0h] [rbp-20h] BYREF
v8[0] = v2;
v3 = *(_QWORD *)(a2 + 56);
if ( v3 )
{
v4 = *(unsigned int **)(*(_QWORD *)(... | mysql_stmt_store_result_start:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr [RSI + 0x38]
TEST RAX,RAX
JZ 0x0014ff87
MOV RAX,qword ptr [RAX + 0x480]
MOV R15,qword ptr [RAX + 0x28]
LEA RDX,[RBP + -0x20]
MOV qword ptr [RDX],R14
MOV byte ptr [R15 + 0x14],0x1
LEA RDI,[R1... |
int4 mysql_stmt_store_result_start(int4 *param_1,long param_2)
{
int4 *puVar1;
int iVar2;
int4 uVar3;
if (*(long *)(param_2 + 0x38) == 0) {
uVar3 = mysql_stmt_store_result(param_2);
}
else {
puVar1 = *(int4 **)(*(long *)(*(long *)(param_2 + 0x38) + 0x480) + 0x28);
*(int1 *)(puVar1 + 5) = 1;... | |
27,847 | wait_for_free_space | eloqsql/mysys/errors.c | void wait_for_free_space(const char *filename, int errors)
{
if (errors == 0)
my_error(EE_DISK_FULL,MYF(ME_BELL | ME_ERROR_LOG | ME_WARNING),
filename,my_errno,MY_WAIT_FOR_USER_TO_FIX_PANIC);
if (!(errors % MY_WAIT_GIVE_USER_A_MESSAGE))
my_printf_error(EE_DISK_FULL,
"Retry i... | O3 | c | wait_for_free_space:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
testl %esi, %esi
je 0x31ee5
imull $0xcccccccd, %esi, %eax # imm = 0xCCCCCCCD
movl $0x19999998, %ecx # imm = 0x19999998
addl %ecx, %eax
rorl %eax
cmpl %ecx, %eax
ja 0x31f2c
jmp 0x31f09
movq %rdi, %rbx
callq 0x2df82
movl (%rax), %ecx
movl $0x844,... | wait_for_free_space:
push rbp
mov rbp, rsp
push rbx
push rax
test esi, esi
jz short loc_31EE5
imul eax, esi, 0CCCCCCCDh
mov ecx, 19999998h
add eax, ecx
ror eax, 1
cmp eax, ecx
ja short loc_31F2C
jmp short loc_31F09
loc_31EE5:
mov rbx, rdi
call _my_thread_var
mov ... | long long wait_for_free_space(
long long a1,
int a2,
__m128 a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
long long a11,
long long a12,
long long a13,
long long a14)
{
c... | wait_for_free_space:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
TEST ESI,ESI
JZ 0x00131ee5
IMUL EAX,ESI,-0x33333333
MOV ECX,0x19999998
ADD EAX,ECX
ROR EAX,0x1
CMP EAX,ECX
JA 0x00131f2c
JMP 0x00131f09
LAB_00131ee5:
MOV RBX,RDI
CALL 0x0012df82
MOV ECX,dword ptr [RAX]
MOV ESI,0x844
MOV EDI,0x14
MOV RDX,RBX
MOV R8D,0x3c
XOR EA... |
void wait_for_free_space(int8 param_1,int param_2)
{
uint uVar1;
int4 *puVar2;
if (param_2 == 0) {
puVar2 = (int4 *)_my_thread_var();
my_error(0x14,0x844,param_1,*puVar2,0x3c);
}
else {
uVar1 = param_2 * -0x33333333 + 0x19999998;
if (0x19999998 < (uVar1 >> 1 | (uint)((uVar1 & 1) != 0) << ... | |
27,848 | minja::Parser::parseConstant() | monkey531[P]llama/common/minja.hpp | std::shared_ptr<Value> parseConstant() {
auto start = it;
consumeSpaces();
if (it == end) return nullptr;
if (*it == '"' || *it == '\'') {
auto str = parseString();
if (str) return std::make_shared<Value>(*str);
}
static std::regex prim_tok(R"(true\b|True\b|false\b|Fa... | O3 | cpp | minja::Parser::parseConstant():
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x20(%rsi), %r14
movq 0x18(%rsi), %r12
movq 0x20(%rsi), %r13
movq %r13, %rbp
cmpq %r12, %r13
je 0x8a107
movq %r13, %rbp
movsbl (%rbp), %edi
callq 0x1b0c0
testl %eax, %e... | _ZN5minja6Parser13parseConstantEv:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov r15, rsi
mov rbx, rdi
lea r14, [rsi+20h]
mov r12, [rsi+18h]
mov r13, [rsi+20h]
mov rbp, r13
cmp r13, r12
jz short loc_8A107
mov rbp, r13
loc_8A0EF:
movsx ... | minja::Parser * minja::Parser::parseConstant(minja::Parser *this, unsigned __int8 **a2)
{
unsigned __int8 **v2; // r14
char *v3; // r12
unsigned __int8 *v4; // r13
unsigned __int8 *v5; // rbp
int v6; // eax
void *exception; // r14
char v9; // [rsp+7h] [rbp-71h] BYREF
int v10[2]; // [rsp+8h] [rbp-70h] BY... | parseConstant:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV R15,RSI
MOV RBX,RDI
LEA R14,[RSI + 0x20]
MOV R12,qword ptr [RSI + 0x18]
MOV R13,qword ptr [RSI + 0x20]
MOV RBP,R13
CMP R13,R12
JZ 0x0018a107
MOV RBP,R13
LAB_0018a0ef:
MOVSX EDI,byte ptr [RBP]
CALL 0x0011b0c0
TEST EAX,EAX
JZ 0x0018a107... |
/* minja::Parser::parseConstant() */
void minja::Parser::parseConstant(void)
{
char *pcVar1;
char *pcVar2;
int iVar3;
runtime_error *this;
char *pcVar4;
__normal_iterator *in_RSI;
int8 *in_RDI;
string *local_70;
long local_68;
long local_60 [2];
int8 local_50 [4];
pcVar1 = *(char **)(in_RS... | |
27,849 | common_model_params_to_llama(common_params&) | monkey531[P]llama/common/common.cpp | struct llama_model_params common_model_params_to_llama(common_params & params) {
auto mparams = llama_model_default_params();
if (!params.devices.empty()) {
mparams.devices = params.devices.data();
}
if (params.n_gpu_layers != -1) {
mparams.n_gpu_layers = params.n_gpu_layers;
}
... | O2 | cpp | common_model_params_to_llama(common_params&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x23ea0
movq 0x50(%r14), %rax
cmpq 0x58(%r14), %rax
je 0x553bf
movq %rax, (%rbx)
movl 0x68(%r14), %eax
cmpl $-0x1, %eax
je 0x553cb
movl %eax, 0x8(%rbx)
movl 0x6c(%r14), %eax
movl %eax, 0x10(%rbx)
movl 0x... | _Z28common_model_params_to_llamaR13common_params:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
call _llama_model_default_params
mov rax, [r14+50h]
cmp rax, [r14+58h]
jz short loc_553BF
mov [rbx], rax
loc_553BF:
mov eax, [r14+68h]
cmp eax, 0FFFFFFFFh
jz short loc... | common_params * common_model_params_to_llama(common_params *a1, long long a2)
{
long long v2; // rax
int v3; // eax
long long v4; // rax
long long v5; // rcx
llama_model_default_params(a1);
v2 = *(_QWORD *)(a2 + 80);
if ( v2 != *(_QWORD *)(a2 + 88) )
*(_QWORD *)a1 = v2;
v3 = *(_DWORD *)(a2 + 104);
... | common_model_params_to_llama:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
CALL 0x00123ea0
MOV RAX,qword ptr [R14 + 0x50]
CMP RAX,qword ptr [R14 + 0x58]
JZ 0x001553bf
MOV qword ptr [RBX],RAX
LAB_001553bf:
MOV EAX,dword ptr [R14 + 0x68]
CMP EAX,-0x1
JZ 0x001553cb
MOV dword ptr [RBX + 0x8],EAX
LAB_001553cb:
MOV EAX... |
/* common_model_params_to_llama(common_params&) */
common_params * common_model_params_to_llama(common_params *param_1)
{
long lVar1;
long in_RSI;
llama_model_default_params();
if (*(long *)(in_RSI + 0x50) != *(long *)(in_RSI + 0x58)) {
*(long *)param_1 = *(long *)(in_RSI + 0x50);
}
if (*(int *)(i... | |
27,850 | minja::Value& 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... | llama.cpp/common/json.hpp | T & operator[](KeyType && key)
{
return emplace(std::forward<KeyType>(key), T{}).first->second;
} | O3 | cpp | minja::Value& 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... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEEixIRKS9_TnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvESD_T_EE5valueEiE4typeELi0EEERSF_OST... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEEixIRKS9_TnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvESD_T_EE5valueEiE4typeELi0... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEEixIRKS9_TnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvESD_T_EE5valueEiE4typeELi0EEERSF_OST... |
long _ZN8nlohmann16json_abi_v3_11_311ordered_mapINS0_10basic_jsonIS1_St6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEN5minja5ValueESt4lessISD_ESaISt4pairIKSD_SF_EEEixIRKS9_TnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvESD_T_EE5valueEiE4typeELi0EEER... | |
27,851 | flux::parser::OpExpr::clone() const | kvthweatt[P]FluxLang/src/parser/ast.cpp | std::unique_ptr<Expr> OpExpr::clone() const {
return std::make_unique<OpExpr>(
left->clone(),
operatorName,
right->clone(),
range);
} | O0 | cpp | flux::parser::OpExpr::clone() const:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x58(%rbp)
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x48(%rbp)
addq $0x28, %rdi
callq 0x1d600
movq %rax, %rsi
movq (%rsi), %rax
movq 0x18(%rax), %rax... | _ZNK4flux6parser6OpExpr5cloneEv:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_58], rdi
mov rax, rdi
mov [rbp+var_50], rax
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rdi, [rbp+var_10]
mov [rbp+var_48], rdi
add rdi, 28h ; '('
call _ZNKSt10unique_ptrIN4flux6parser4ExprE... | flux::parser::OpExpr * flux::parser::OpExpr::clone(flux::parser::OpExpr *this, long long a2)
{
long long v2; // rax
long long v3; // rsi
long long v6; // [rsp+20h] [rbp-40h]
_BYTE v7[8]; // [rsp+38h] [rbp-28h] BYREF
_BYTE v8[8]; // [rsp+40h] [rbp-20h] BYREF
_BYTE v9[8]; // [rsp+48h] [rbp-18h] BYREF
long l... | clone:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x58],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0x50],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDI,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x48],RDI
ADD RDI,0x28
CALL 0x0011d600
MOV RSI,RAX
MOV RAX,qword ptr [RSI]
MOV RAX,qwo... |
/* flux::parser::OpExpr::clone() const */
unique_ptr<flux::parser::Expr,std::default_delete<flux::parser::Expr>> *
flux::parser::OpExpr::clone(void)
{
long *plVar1;
long in_RSI;
unique_ptr<flux::parser::Expr,std::default_delete<flux::parser::Expr>> *in_RDI;
SourceRange local_30 [8];
unique_ptr<flux::parser... | |
27,852 | flux::parser::OpExpr::clone() const | kvthweatt[P]FluxLang/src/parser/ast.cpp | std::unique_ptr<Expr> OpExpr::clone() const {
return std::make_unique<OpExpr>(
left->clone(),
operatorName,
right->clone(),
range);
} | O1 | cpp | flux::parser::OpExpr::clone() const:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x28(%rsi), %rsi
movq (%rsi), %rax
leaq 0x10(%rsp), %rdi
callq *0x18(%rax)
movq 0x40(%r14), %rsi
movq (%rsi), %rax
leaq 0x8(%rsp), %rdi
callq *0x18(%rax)
movl $0x48, %edi
callq 0x6270
movq 0x10(%rsp), %rcx
x... | _ZNK4flux6parser6OpExpr5cloneEv:
push r14
push rbx
sub rsp, 18h
mov r14, rsi
mov rbx, rdi
mov rsi, [rsi+28h]
mov rax, [rsi]
lea rdi, [rsp+28h+var_18]
call qword ptr [rax+18h]
mov rsi, [r14+40h]
mov rax, [rsi]
lea rdi, [rsp+28h+var_20]
call qword ptr [rax+18h]
mov edi,... | flux::parser::OpExpr * flux::parser::OpExpr::clone(flux::parser::OpExpr *this, long long a2)
{
long long v3; // rax
long long v4; // rcx
__int128 v5; // xmm0
long long v6; // rsi
__int128 v7; // xmm2
long long v9; // [rsp+8h] [rbp-20h] BYREF
_QWORD v10[3]; // [rsp+10h] [rbp-18h] BYREF
(*(void ( **)(_QW... | clone:
PUSH R14
PUSH RBX
SUB RSP,0x18
MOV R14,RSI
MOV RBX,RDI
MOV RSI,qword ptr [RSI + 0x28]
MOV RAX,qword ptr [RSI]
LEA RDI,[RSP + 0x10]
CALL qword ptr [RAX + 0x18]
MOV RSI,qword ptr [R14 + 0x40]
MOV RAX,qword ptr [RSI]
LAB_001103cd:
LEA RDI,[RSP + 0x8]
CALL qword ptr [RAX + 0x18]
LAB_001103d5:
MOV EDI,0x48
CALL 0x001... |
/* WARNING: Removing unreachable block (ram,0x00110439) */
/* WARNING: Removing unreachable block (ram,0x00110449) */
/* flux::parser::OpExpr::clone() const */
void flux::parser::OpExpr::clone(void)
{
int4 uVar1;
int4 uVar2;
int4 uVar3;
int4 uVar4;
int4 uVar5;
int4 uVar6;
int4 uVar7;
int4 uVar8;
in... | |
27,853 | copy_not_changed_fields | eloqsql/storage/maria/ma_blockrec.c | void copy_not_changed_fields(MARIA_HA *info, MY_BITMAP *changed_fields,
uchar *to, uchar *from)
{
MARIA_COLUMNDEF *column, *end_column;
uchar *bitmap= (uchar*) changed_fields->bitmap;
MARIA_SHARE *share= info->s;
uint bit= 1;
for (column= share->columndef, end_column= column+ sha... | O3 | c | copy_not_changed_fields:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, -0x30(%rbp)
movq (%rdi), %rax
movl 0x3c8(%rax), %ecx
testq %rcx, %rcx
je 0x4d56d
movq 0x588(%rax), %r15
imulq $0x38, %rcx, %r12
addq %r15, %r12
movq (%rsi), %r13
movl $0x1, %e... | copy_not_changed_fields:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rcx
mov [rbp+var_30], rdx
mov rax, [rdi]
mov ecx, [rax+3C8h]
test rcx, rcx
jz loc_4D56D
mov r15, [rax+588h]
imul r12, rcx, 38h ; '8'
add r12, r15
mov ... | char copy_not_changed_fields(long long *a1, _BYTE **a2, long long a3, long long a4)
{
long long v5; // rax
unsigned long long v6; // r15
unsigned long long v7; // r12
_BYTE *v8; // r13
int v9; // r14d
long long v10; // rsi
long long v11; // rdx
bool v12; // zf
v5 = *a1;
if ( *(_DWORD *)(*a1 + 968)... | copy_not_changed_fields:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RCX
MOV qword ptr [RBP + -0x30],RDX
MOV RAX,qword ptr [RDI]
MOV ECX,dword ptr [RAX + 0x3c8]
TEST RCX,RCX
JZ 0x0014d56d
MOV R15,qword ptr [RAX + 0x588]
IMUL R12,RCX,0x38
ADD R12,R15
MOV R13,qword ptr [RSI]
MOV ECX... |
void copy_not_changed_fields(long *param_1,int8 *param_2,long param_3,long param_4)
{
ulong uVar1;
size_t __n;
int *piVar2;
byte *pbVar3;
uint uVar4;
int *piVar5;
bool bVar6;
uVar1 = (ulong)*(uint *)(*param_1 + 0x3c8);
if (uVar1 != 0) {
piVar5 = *(int **)(*param_1 + 0x588);
piVar2 = piVar... | |
27,854 | mi_check_status | eloqsql/storage/myisam/mi_locking.c | my_bool mi_check_status(void *param)
{
MI_INFO *info=(MI_INFO*) param;
DBUG_ENTER("mi_check_status");
DBUG_PRINT("info",("dellink: %ld r_locks: %u w_locks: %u",
(long) info->s->state.dellink, (uint) info->s->r_locks,
(uint) info->s->w_locks));
/*
The test for w_lo... | O3 | c | mi_check_status:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rcx
cmpq $-0x1, 0x58(%rcx)
je 0x835fb
leaq 0x30f712(%rip), %rdx # 0x392cf0
movb $0x1, %al
cmpq $0x2, (%rdx)
jne 0x835fd
cmpl $0x0, 0x364(%rcx)
je 0x835fd
cmpl $0x1, 0x360(%rcx)
setne %al
jmp 0x835fd
xorl %eax, %eax
popq %rbp
retq
| mi_check_status:
push rbp
mov rbp, rsp
mov rcx, [rdi]
cmp qword ptr [rcx+58h], 0FFFFFFFFFFFFFFFFh
jz short loc_835FB
lea rdx, myisam_concurrent_insert
mov al, 1
cmp qword ptr [rdx], 2
jnz short loc_835FD
cmp dword ptr [rcx+364h], 0
jz short loc_835FD
cmp dword ptr [rcx+3... | bool mi_check_status(long long *a1)
{
long long v1; // rcx
bool result; // al
v1 = *a1;
if ( *(_QWORD *)(*a1 + 88) == -1LL )
return 0;
result = 1;
if ( myisam_concurrent_insert == 2LL )
{
if ( *(_DWORD *)(v1 + 868) )
return *(_DWORD *)(v1 + 864) != 1;
}
return result;
}
| mi_check_status:
PUSH RBP
MOV RBP,RSP
MOV RCX,qword ptr [RDI]
CMP qword ptr [RCX + 0x58],-0x1
JZ 0x001835fb
LEA RDX,[0x492cf0]
MOV AL,0x1
CMP qword ptr [RDX],0x2
JNZ 0x001835fd
CMP dword ptr [RCX + 0x364],0x0
JZ 0x001835fd
CMP dword ptr [RCX + 0x360],0x1
SETNZ AL
JMP 0x001835fd
LAB_001835fb:
XOR EAX,EAX
LAB_001835fd:
P... |
bool mi_check_status(long *param_1)
{
long lVar1;
bool bVar2;
lVar1 = *param_1;
if (*(long *)(lVar1 + 0x58) == -1) {
bVar2 = false;
}
else {
bVar2 = true;
if ((myisam_concurrent_insert == 2) && (*(int *)(lVar1 + 0x364) != 0)) {
bVar2 = *(int *)(lVar1 + 0x360) != 1;
}
}
return ... | |
27,855 | lre_canonicalize | bluesky950520[P]quickjs/libunicode.c | int lre_canonicalize(uint32_t c, BOOL is_unicode)
{
if (c < 128) {
/* fast case */
if (is_unicode) {
if (c >= 'A' && c <= 'Z') {
c = c - 'A' + 'a';
}
} else {
if (c >= 'a' && c <= 'z') {
c = c - 'a' + 'A';
}
... | O1 | c | lre_canonicalize:
movl %esi, %ecx
cmpl $0x80, %edi
jae 0x977fb
testl %ecx, %ecx
je 0x97846
leal -0x41(%rdi), %eax
movl %edi, %ecx
orl $0x20, %ecx
jmp 0x9784c
xorl %r9d, %r9d
movl $0x179, %r8d # imm = 0x179
leaq 0xa935(%rip), %rax # 0xa2140
leal (%r8,%r9), %esi
shrl %esi
movl (%rax,%rsi,4), %edx
movl %ed... | lre_canonicalize:
mov ecx, esi
cmp edi, 80h
jnb short loc_977FB
test ecx, ecx
jz short loc_97846
lea eax, [rdi-41h]
mov ecx, edi
or ecx, 20h
jmp short loc_9784C
loc_977FB:
xor r9d, r9d
mov r8d, 179h
lea rax, case_conv_table1
loc_9780B:
lea esi, [r8+r9]
shr esi, 1... | long long lre_canonicalize(long long a1, unsigned int a2)
{
long long v2; // rcx
unsigned int v3; // eax
int v4; // ecx
int v5; // r9d
int v6; // r8d
long long v7; // rsi
long long v8; // rdx
unsigned int v9; // r10d
v2 = a2;
if ( (unsigned int)a1 >= 0x80 )
{
v5 = 0;
v6 = 377;
while ... | lre_canonicalize:
MOV ECX,ESI
CMP EDI,0x80
JNC 0x001977fb
TEST ECX,ECX
JZ 0x00197846
LEA EAX,[RDI + -0x41]
MOV ECX,EDI
OR ECX,0x20
JMP 0x0019784c
LAB_001977fb:
XOR R9D,R9D
MOV R8D,0x179
LEA RAX,[0x1a2140]
LAB_0019780b:
LEA ESI,[R8 + R9*0x1]
SHR ESI,0x1
MOV EDX,dword ptr [RAX + RSI*0x4]
MOV R10D,EDX
SHR R10D,0xf
CMP R10... |
ulong lre_canonicalize(uint param_1,int param_2)
{
uint uVar1;
ulong uVar2;
uint uVar3;
int iVar4;
int iVar5;
if (param_1 < 0x80) {
if (param_2 == 0) {
uVar1 = param_1 - 0x61;
uVar3 = param_1 - 0x20;
}
else {
uVar1 = param_1 - 0x41;
uVar3 = param_1 | 0x20;
}
... | |
27,856 | lre_canonicalize | bluesky950520[P]quickjs/libunicode.c | int lre_canonicalize(uint32_t c, BOOL is_unicode)
{
if (c < 128) {
/* fast case */
if (is_unicode) {
if (c >= 'A' && c <= 'Z') {
c = c - 'A' + 'a';
}
} else {
if (c >= 'a' && c <= 'z') {
c = c - 'a' + 'A';
}
... | O3 | c | lre_canonicalize:
movl %esi, %ecx
cmpl $0x80, %edi
jae 0x9a0d6
testl %ecx, %ecx
je 0x9a121
leal -0x41(%rdi), %eax
movl %edi, %ecx
orl $0x20, %ecx
jmp 0x9a127
xorl %r9d, %r9d
movl $0x179, %r8d # imm = 0x179
leaq 0xb00a(%rip), %rax # 0xa50f0
leal (%r8,%r9), %esi
shrl %esi
movl (%rax,%rsi,4), %edx
movl %ed... | lre_canonicalize:
mov ecx, esi
cmp edi, 80h
jnb short loc_9A0D6
test ecx, ecx
jz short loc_9A121
lea eax, [rdi-41h]
mov ecx, edi
or ecx, 20h
jmp short loc_9A127
loc_9A0D6:
xor r9d, r9d
mov r8d, 179h
lea rax, case_conv_table1
loc_9A0E6:
lea esi, [r8+r9]
shr esi, 1... | long long lre_canonicalize(long long a1, unsigned int a2)
{
long long v2; // rcx
unsigned int v3; // eax
int v4; // ecx
int v5; // r9d
int v6; // r8d
long long v7; // rsi
long long v8; // rdx
unsigned int v9; // r10d
v2 = a2;
if ( (unsigned int)a1 >= 0x80 )
{
v5 = 0;
v6 = 377;
while ... | lre_canonicalize:
MOV ECX,ESI
CMP EDI,0x80
JNC 0x0019a0d6
TEST ECX,ECX
JZ 0x0019a121
LEA EAX,[RDI + -0x41]
MOV ECX,EDI
OR ECX,0x20
JMP 0x0019a127
LAB_0019a0d6:
XOR R9D,R9D
MOV R8D,0x179
LEA RAX,[0x1a50f0]
LAB_0019a0e6:
LEA ESI,[R8 + R9*0x1]
SHR ESI,0x1
MOV EDX,dword ptr [RAX + RSI*0x4]
MOV R10D,EDX
SHR R10D,0xf
CMP R10... |
ulong lre_canonicalize(uint param_1,int param_2)
{
uint uVar1;
ulong uVar2;
uint uVar3;
int iVar4;
int iVar5;
if (param_1 < 0x80) {
if (param_2 == 0) {
uVar1 = param_1 - 0x61;
uVar3 = param_1 - 0x20;
}
else {
uVar1 = param_1 - 0x41;
uVar3 = param_1 | 0x20;
}
... | |
27,857 | minja::Parser::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, minja::Options const&) | monkey531[P]llama/common/minja.hpp | static std::shared_ptr<TemplateNode> parse(const std::string& template_str, const Options & options) {
Parser parser(std::make_shared<std::string>(normalize_newlines(template_str)), options);
auto tokens = parser.tokenize();
TemplateTokenIterator begin = tokens.begin();
auto it = begin;
... | O2 | cpp | minja::Parser::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, minja::Options const&):
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x27120
movq %rsp, %rdi
movq %r15, %rsi
callq 0x796e0
leaq 0x4... | _ZN5minja6Parser5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7OptionsE:
push r15
push r14
push rbx
sub rsp, 70h
mov r14, rdx
mov rbx, rdi
lea r15, [rsp+88h+var_78]
mov rdi, r15
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_; std::string::basic_st... | long long minja::Parser::parse(long long a1, long long a2, long long a3)
{
long long v5; // [rsp+0h] [rbp-88h] BYREF
long long v6; // [rsp+8h] [rbp-80h] BYREF
_QWORD v7[4]; // [rsp+10h] [rbp-78h] BYREF
long long v8; // [rsp+30h] [rbp-58h] BYREF
long long v9; // [rsp+38h] [rbp-50h] BYREF
_BYTE v10[8]; // [r... | parse:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x70
MOV R14,RDX
MOV RBX,RDI
LEA R15,[RSP + 0x10]
MOV RDI,R15
CALL 0x00127120
LAB_00178b7c:
MOV RDI,RSP
MOV RSI,R15
CALL 0x001796e0
LAB_00178b87:
LEA RDI,[RSP + 0x40]
MOV RSI,RSP
MOV RDX,R14
CALL 0x001796fe
LEA RDI,[RSP + 0x8]
CALL 0x0014dd26
LEA RDI,[RSP + 0x10]
CALL 0x0012799... |
/* minja::Parser::parse(std::__cxx11::string const&, minja::Options const&) */
Parser * __thiscall minja::Parser::parse(Parser *this,string *param_1,Options *param_2)
{
int8 local_88;
__shared_count<(__gnu_cxx::_Lock_policy)2> local_80 [8];
int8 local_78;
int8 local_70;
int8 local_58;
int8 local_50;
Pa... | |
27,858 | ma_seq_search | eloqsql/storage/maria/ma_search.c | int _ma_seq_search(const MARIA_KEY *key, const MARIA_PAGE *ma_page,
uint32 comp_flag, uchar **ret_pos,
uchar *buff, my_bool *last_key)
{
int UNINIT_VAR(flag);
uint page_flag, nod_flag, UNINIT_VAR(length), not_used[2];
uchar t_buff[MARIA_MAX_KEY_BUFF], *end;
uchar *page;
M... | O3 | c | ma_seq_search:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa58, %rsp # imm = 0xA58
movq %r9, -0xa48(%rbp)
movq %r8, -0xa38(%rbp)
movl %edx, -0xa24(%rbp)
movq %rdi, %r13
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq 0x8(%rdi), %r14
movq (%r14), %rdx
movl 0x2c(%r... | _ma_seq_search:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0A58h
mov [rbp+var_A48], r9
mov [rbp+var_A38], r8
mov [rbp+var_A24], edx
mov r13, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov r14, [rdi+8]
mov rdx, [r14]
mov eax, [... | long long ma_seq_search(long long a1, long long a2, int a3, unsigned long long *a4, long long a5, bool *a6)
{
unsigned int v6; // ebx
long long v8; // r14
long long v9; // rdx
unsigned int v10; // edi
long long v11; // rax
long long v12; // rsi
long long v13; // rdx
unsigned int v14; // eax
long long... | _ma_seq_search:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xa58
MOV qword ptr [RBP + -0xa48],R9
MOV qword ptr [RBP + -0xa38],R8
MOV dword ptr [RBP + -0xa24],EDX
MOV R13,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV R14,qword ptr [RDI + 0x8]
MOV RDX,qword ptr [R14]
M... |
int _ma_seq_search(int8 *param_1,long param_2,uint param_3,ulong *param_4,void *param_5,
int8 param_6)
{
long *plVar1;
uint uVar2;
uint uVar3;
int unaff_EBX;
long in_FS_OFFSET;
int1 local_a80 [8];
int1 *local_a78;
long *local_a70;
uint local_a60;
ulong *local_a58;
int8 local_a5... | |
27,859 | ma_bitmap_create_missing_into_pagecache | eloqsql/storage/maria/ma_bitmap.c | static my_bool
_ma_bitmap_create_missing_into_pagecache(MARIA_SHARE *share,
MARIA_FILE_BITMAP *bitmap,
pgcache_page_no_t from,
pgcache_page_no_t to,
uchar *... | O3 | c | ma_bitmap_create_missing_into_pagecache:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, -0x38(%rbp)
movq %rdi, -0x30(%rbp)
xorl %r14d, %r14d
cmpq %rcx, %rdx
ja 0x43006
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbx
leaq 0x40(%rsi), %r15
movq -0x30(%rbp), %r... | _ma_bitmap_create_missing_into_pagecache:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov [rbp+var_38], r8
mov [rbp+var_30], rdi
xor r14d, r14d
cmp rdx, rcx
ja short loc_43006
mov r12, rcx
mov r13, rdx
mov rbx, rsi
lea r1... | long long ma_bitmap_create_missing_into_pagecache(
long long a1,
long long a2,
unsigned long long a3,
unsigned long long a4,
char *a5)
{
unsigned int v5; // r14d
unsigned long long v7; // r13
char *v8; // r15
__m128i *v9; // rdi
long long v10; // rdx
long long v11; /... | _ma_bitmap_create_missing_into_pagecache:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RBP + -0x38],R8
MOV qword ptr [RBP + -0x30],RDI
XOR R14D,R14D
CMP RDX,RCX
JA 0x00143006
MOV R12,RCX
MOV R13,RDX
MOV RBX,RSI
LEA R15,[RSI + 0x40]
LAB_00142f94:
MOV RAX,qword ptr [RBP + ... |
int8
_ma_bitmap_create_missing_into_pagecache
(long param_1,long param_2,ulong param_3,ulong param_4,int8 param_5)
{
char cVar1;
int4 *puVar2;
if (param_3 <= param_4) {
do {
cVar1 = pagecache_write_part
(*(long *)(param_1 + 0x600),param_2 + 0x40,param_3,0,param_5,1... | |
27,860 | iq2_find_best_neighbour | monkey531[P]llama/ggml/src/ggml-quants.c | static int iq2_find_best_neighbour(const uint16_t * restrict neighbours, const uint64_t * restrict grid,
const float * restrict xval, const float * restrict weight, float scale, int8_t * restrict L) {
int num_neighbors = neighbours[0];
GGML_ASSERT(num_neighbors > 0);
float best_d2 = FLT_MAX;
int... | O0 | c | iq2_find_best_neighbour:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movss %xmm0, 0x44(%rsp)
movq %r8, 0x38(%rsp)
movq 0x60(%rsp), %rax
movzwl (%rax), %eax
movl %eax, 0x34(%rsp)
cmpl $0x0, 0x34(%rsp)
jg 0x8b907
leaq 0x377e3(%rip), %rdi # 0xc30d0
movl $0xb... | iq2_find_best_neighbour:
sub rsp, 68h
mov [rsp+68h+var_8], rdi
mov [rsp+68h+var_10], rsi
mov [rsp+68h+var_18], rdx
mov [rsp+68h+var_20], rcx
movss [rsp+68h+var_24], xmm0
mov [rsp+68h+var_30], r8
mov rax, [rsp+68h+var_8]
movzx eax, word ptr [rax]
mov [rsp+68h+var_34], eax
cmp [rsp... | long long iq2_find_best_neighbour(_WORD *a1, long long a2, long long a3, long long a4, long long a5, float a6)
{
int k; // [rsp+4h] [rbp-64h]
float v8; // [rsp+10h] [rbp-58h]
int j; // [rsp+18h] [rbp-50h]
float v10; // [rsp+1Ch] [rbp-4Ch]
int i; // [rsp+28h] [rbp-40h]
int v12; // [rsp+2Ch] [rbp-3Ch]
floa... | iq2_find_best_neighbour:
SUB RSP,0x68
MOV qword ptr [RSP + 0x60],RDI
MOV qword ptr [RSP + 0x58],RSI
MOV qword ptr [RSP + 0x50],RDX
MOV qword ptr [RSP + 0x48],RCX
MOVSS dword ptr [RSP + 0x44],XMM0
MOV qword ptr [RSP + 0x38],R8
MOV RAX,qword ptr [RSP + 0x60]
MOVZX EAX,word ptr [RAX]
MOV dword ptr [RSP + 0x34],EAX
CMP dwo... |
uint iq2_find_best_neighbour
(float param_1,ushort *param_2,long param_3,long param_4,long param_5,long param_6)
{
ushort uVar1;
float fVar2;
int local_64;
int local_50;
float local_4c;
int local_40;
uint local_3c;
float local_38;
uVar1 = *param_2;
if (uVar1 == 0) {
ggml_abor... | |
27,861 | google::protobuf::Message::~Message() | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/message.h | class PROTOBUF_EXPORT Message : public MessageLite {
public:
constexpr Message() {}
// Basic Operations ------------------------------------------------
// Construct a new instance of the same type. Ownership is passed to the
// caller. (This is also defined in MessageLite, but is defined again here
// f... | O0 | c | google::protobuf::Message::~Message():
movq %rdi, -0x8(%rsp)
ud2
nopw (%rax,%rax)
| _ZN6google8protobuf7MessageD0Ev:
mov [rsp+var_8], rdi
ud2
| void __noreturn google::protobuf::Message::~Message(google::protobuf::Message *this)
{
BUG();
}
| __get_helper<0ul,aimrt_mujoco_sim::mujoco_sim_module::publisher::JointSensorPublisher*,std::default_delete<aimrt_mujoco_sim::mujoco_sim_module::publisher::JointSensorPublisher>>:
PUSH RAX
MOV qword ptr [RSP],RDI
MOV RDI,qword ptr [RSP]
CALL 0x001dd180
POP RCX
RET
|
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* aimrt_mujoco_sim::mujoco_sim_module::publisher::JointSensorPublisher*& std::__get_helper<0ul,
aimrt_mujoco_sim::mujoco_sim_module::publisher::JointSensorPublisher*,
std::default_delete<aimrt_mujoco_sim::mujoco_sim_module::publisher::... | |
27,862 | FileWriterJson::writeFileContents(std::filesystem::__cxx11::path const&, std::filesystem::__cxx11::path const&) | shubhamoy[P]dir2txt/src/FileWriterJson.cpp | void FileWriterJson::writeFileContents(const std::filesystem::path& filePath,
const std::filesystem::path& rootPath) {
std::string relPath = std::filesystem::relative(filePath, rootPath).string();
std::vector<std::string> lines;
if (stripComments) {
lines = Co... | O1 | cpp | FileWriterJson::writeFileContents(std::filesystem::__cxx11::path const&, std::filesystem::__cxx11::path const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp # imm = 0x2C8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xc0(%rsp), %r15
movq %r15, %rdi
callq 0x8320
movq (%r15), %r... | _ZN14FileWriterJson17writeFileContentsERKNSt10filesystem7__cxx114pathES4_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 2C8h
mov r14, rsi
mov rbx, rdi
lea r15, [rsp+2F8h+var_238]
mov rdi, r15; this
call __ZNSt10filesystem8relativeERKNS_7__cxx114pathES3_; std::f... | void FileWriterJson::writeFileContents(
FileWriterJson *this,
const std::filesystem::__cxx11::path *a2,
const std::filesystem::__cxx11::path *a3)
{
__int128 v3; // xmm0
long long v4; // rax
int v5; // ebp
int v6; // edx
int v7; // ecx
int v8; // r8d
int v9; // r9d
long long v10;... | writeFileContents:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x2c8
MOV R14,RSI
MOV RBX,RDI
LEA R15,[RSP + 0xc0]
MOV RDI,R15
CALL 0x00108320
MOV RSI,qword ptr [R15]
LEA R12,[RSP + 0x30]
MOV qword ptr [R12 + -0x10],R12
MOV RDX,qword ptr [R15 + 0x8]
ADD RDX,RSI
LAB_0012862d:
LEA RDI,[RSP + 0x20]
CALL 0... |
/* FileWriterJson::writeFileContents(std::filesystem::__cxx11::path const&,
std::filesystem::__cxx11::path const&) */
void FileWriterJson::writeFileContents(path *param_1,path *param_2)
{
uint uVar1;
char cVar2;
istream *piVar3;
basic_json *pbVar4;
basic_json<std::map,std::vector,std::__cxx11::string,bo... | |
27,863 | bytes_remove_leading_zeros | corpus-core[P]colibri-stateless/src/util/bytes.c | bytes_t bytes_remove_leading_zeros(bytes_t data) {
while (data.len > 1 && data.data[0] == 0) {
data.len--;
data.data++;
}
return data;
} | O0 | c | bytes_remove_leading_zeros:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x20(%rbp)
movq %rsi, -0x18(%rbp)
xorl %eax, %eax
cmpl $0x1, -0x20(%rbp)
movb %al, -0x21(%rbp)
jbe 0x9f4c6
movq -0x18(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x0, %eax
sete %al
movb %al, -0x21(%rbp)
movb -0x21(%rbp), %al
testb $0x1, %al
jne 0x9f4cf
jmp 0x... | bytes_remove_leading_zeros:
push rbp
mov rbp, rsp
mov dword ptr [rbp+var_20], edi
mov qword ptr [rbp+var_20+8], rsi
loc_9F4AB:
xor eax, eax
cmp dword ptr [rbp+var_20], 1
mov [rbp+var_21], al
jbe short loc_9F4C6
mov rax, qword ptr [rbp+var_20+8]
movzx eax, byte ptr [rax]
cmp eax,... | long long bytes_remove_leading_zeros(unsigned int a1, _BYTE *a2)
{
bool v3; // [rsp+1h] [rbp-21h]
while ( 1 )
{
v3 = 0;
if ( a1 > 1 )
v3 = *a2 == 0;
if ( !v3 )
break;
--a1;
++a2;
}
return a1;
}
| bytes_remove_leading_zeros:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x20],EDI
MOV qword ptr [RBP + -0x18],RSI
LAB_0019f4ab:
XOR EAX,EAX
CMP dword ptr [RBP + -0x20],0x1
MOV byte ptr [RBP + -0x21],AL
JBE 0x0019f4c6
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byte ptr [RAX]
CMP EAX,0x0
SETZ AL
MOV byte ptr [RBP + -0x21],... |
int1 [16] bytes_remove_leading_zeros(uint param_1,char *param_2)
{
bool bVar1;
int1 auVar2 [16];
uint local_28;
char *pcStack_20;
local_28 = param_1;
pcStack_20 = param_2;
while( true ) {
bVar1 = false;
if (1 < local_28) {
bVar1 = *pcStack_20 == '\0';
}
if (!bVar1) break;
l... | |
27,864 | bytes_remove_leading_zeros | corpus-core[P]colibri-stateless/src/util/bytes.c | bytes_t bytes_remove_leading_zeros(bytes_t data) {
while (data.len > 1 && data.data[0] == 0) {
data.len--;
data.data++;
}
return data;
} | O3 | c | bytes_remove_leading_zeros:
movl %edi, %eax
cmpl $0x2, %edi
jb 0x53c45
leal -0x2(%rax), %ecx
leaq (%rsi,%rcx), %rdx
incq %rdx
cmpb $0x0, (%rsi)
jne 0x53c45
decl %eax
incq %rsi
cmpl $0x1, %eax
ja 0x53c30
movl $0x1, %eax
retq
movq %rsi, %rdx
retq
| bytes_remove_leading_zeros:
mov eax, edi
cmp edi, 2
jb short loc_53C45
lea ecx, [rax-2]
lea rdx, [rsi+rcx]
inc rdx
loc_53C30:
cmp byte ptr [rsi], 0
jnz short loc_53C45
dec eax
inc rsi
cmp eax, 1
ja short loc_53C30
mov eax, 1
retn
loc_53C45:
mov rdx, rsi
retn
| long long bytes_remove_leading_zeros(unsigned int a1, _BYTE *a2)
{
long long result; // rax
result = a1;
if ( a1 >= 2 )
{
while ( !*a2 )
{
result = (unsigned int)(result - 1);
++a2;
if ( (unsigned int)result <= 1 )
return 1LL;
}
}
return result;
}
| bytes_remove_leading_zeros:
MOV EAX,EDI
CMP EDI,0x2
JC 0x00153c45
LEA ECX,[RAX + -0x2]
LEA RDX,[RSI + RCX*0x1]
INC RDX
LAB_00153c30:
CMP byte ptr [RSI],0x0
JNZ 0x00153c45
DEC EAX
INC RSI
CMP EAX,0x1
JA 0x00153c30
MOV EAX,0x1
RET
LAB_00153c45:
MOV RDX,RSI
RET
|
int1 [16] bytes_remove_leading_zeros(uint param_1,char *param_2)
{
uint uVar1;
ulong uVar2;
int1 auVar3 [16];
int1 auVar4 [16];
uVar2 = (ulong)param_1;
if (1 < param_1) {
auVar3._8_8_ = param_2 + (ulong)(param_1 - 2) + 1;
while (*param_2 == '\0') {
uVar1 = (int)uVar2 - 1;
uVar2 = (... | |
27,865 | JS_VALUE_IS_NAN | bluesky950520[P]quickjs/quickjs.h | static inline JS_BOOL JS_VALUE_IS_NAN(JSValue v)
{
union {
double d;
uint64_t u64;
} u;
if (v.tag != JS_TAG_FLOAT64)
return 0;
u.d = v.u.float64;
return (u.u64 & 0x7fffffffffffffff) > 0x7ff0000000000000;
} | O0 | c | JS_VALUE_IS_NAN:
movq %rdi, -0x18(%rsp)
movq %rsi, -0x10(%rsp)
cmpq $0x7, -0x10(%rsp)
je 0x61bcc
movl $0x0, -0x4(%rsp)
jmp 0x61c00
movsd -0x18(%rsp), %xmm0
movsd %xmm0, -0x20(%rsp)
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
andq -0x20(%rsp), %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF00000000... | JS_VALUE_IS_NAN:
mov [rsp+var_18], rdi
mov [rsp+var_10], rsi
cmp [rsp+var_10], 7
jz short loc_61BCC
mov [rsp+var_4], 0
jmp short loc_61C00
loc_61BCC:
movsd xmm0, [rsp+var_18]
movsd [rsp+var_20], xmm0
mov rax, 7FFFFFFFFFFFFFFFh
and rax, [rsp+var_20]
mov rcx, 7FF0000000000000h
cmp... | _BOOL8 JS_VALUE_IS_NAN(long long a1, long long a2)
{
return a2 == 7 && (a1 & 0x7FFFFFFFFFFFFFFFuLL) > 0x7FF0000000000000LL;
}
| JS_VALUE_IS_NAN:
MOV qword ptr [RSP + -0x18],RDI
MOV qword ptr [RSP + -0x10],RSI
CMP qword ptr [RSP + -0x10],0x7
JZ 0x00161bcc
MOV dword ptr [RSP + -0x4],0x0
JMP 0x00161c00
LAB_00161bcc:
MOVSD XMM0,qword ptr [RSP + -0x18]
MOVSD qword ptr [RSP + -0x20],XMM0
MOV RAX,0x7fffffffffffffff
AND RAX,qword ptr [RSP + -0x20]
MOV ... |
bool JS_VALUE_IS_NAN(ulong param_1,long param_2)
{
return param_2 == 7 && 0x7ff0000000000000 < (param_1 & 0x7fffffffffffffff);
}
| |
27,866 | mariadb_compress_alloc | eloqsql/libmariadb/libmariadb/ma_compress.c | unsigned char *_mariadb_compress_alloc(NET *net, const unsigned char *packet, size_t *len, size_t *complen)
{
unsigned char *compbuf;
*complen = *len * 120 / 100 + 12;
if (!(compbuf = (unsigned char *) malloc(*complen)))
return 0; /* Not enough memory */
if (compression_plugin(net)->compress(compress... | O3 | c | mariadb_compress_alloc:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
imulq $0x78, (%rdx), %rax
shrq $0x2, %rax
movabsq $0x28f5c28f5c28f5c3, %rcx # imm = 0x28F5C28F5C28F5C3
mulq %rcx
shrq $0x2, %rdx
leaq 0xc(%... | _mariadb_compress_alloc:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rcx
mov r15, rdx
mov r12, rsi
mov r13, rdi
imul rax, [rdx], 78h ; 'x'
shr rax, 2
mov rcx, 28F5C28F5C28F5C3h
mul rcx
shr rdx, 2
lea rdi, [rdx+0Ch]
... | long long mariadb_compress_alloc(long long a1, long long a2, unsigned long long *a3, unsigned long long *a4)
{
unsigned long long v7; // rdi
long long v8; // rax
long long v9; // r14
unsigned long long v10; // rcx
v7 = 120 * *a3 / 0x64 + 12;
*a4 = v7;
v8 = malloc(v7);
if ( !v8 )
return 0LL;
v9 =... | _mariadb_compress_alloc:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RCX
MOV R15,RDX
MOV R12,RSI
MOV R13,RDI
IMUL RAX,qword ptr [RDX],0x78
SHR RAX,0x2
MOV RCX,0x28f5c28f5c28f5c3
MUL RCX
SHR RDX,0x2
LEA RDI,[RDX + 0xc]
MOV qword ptr [RBX],RDI
CALL 0x0015faf0
TEST RAX,RAX
JZ 0x0017b... |
void * _mariadb_compress_alloc(long param_1,int8 param_2,ulong *param_3,size_t *param_4)
{
size_t __size;
ulong uVar1;
char cVar2;
void *__ptr;
__size = (*param_3 * 0x78) / 100 + 0xc;
*param_4 = __size;
__ptr = malloc(__size);
if (__ptr != (void *)0x0) {
cVar2 = (**(code **)(*(long *)(*(long *)... | |
27,867 | translog_write_variable_record_1group | eloqsql/storage/maria/ma_loghandler.c | static my_bool
translog_write_variable_record_1group(LSN *lsn,
enum translog_record_type type,
MARIA_HA *tbl_info,
SHORT_TRANSACTION_ID short_trid,
struct st_translog_p... | O0 | c | translog_write_variable_record_1group:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movw %cx, %ax
movq 0x20(%rbp), %rcx
movq 0x18(%rbp), %rcx
movw 0x10(%rbp), %cx
movq %fs:0x28, %rcx
movq %rcx, -0x8(%rbp)
movq %rdi, -0x20(%rbp)
movl %esi, -0x24(%rbp)
movq %rdx, -0x30(%rbp)
movw %ax, -0x32(%rbp)
movq %r8, -0x40(%rbp)
mov... | translog_write_variable_record_1group:
push rbp
mov rbp, rsp
sub rsp, 0C0h
mov ax, cx
mov rcx, [rbp+arg_10]
mov rcx, [rbp+arg_8]
mov cx, [rbp+arg_0]
mov rcx, fs:28h
mov [rbp+var_8], rcx
mov [rbp+var_20], rdi
mov [rbp+var_24], esi
mov [rbp+var_30], rdx
mov [rbp+var_32],... | char translog_write_variable_record_1group(
_QWORD *a1,
unsigned int a2,
long long a3,
unsigned __int16 a4,
_DWORD *a5,
long long a6,
unsigned __int16 a7,
long long a8,
long long a9)
{
unsigned __int16 v10; // [rsp+10h] [rbp-B0h]
int v11; // [... | translog_write_variable_record_1group:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xc0
MOV AX,CX
MOV RCX,qword ptr [RBP + 0x20]
MOV RCX,qword ptr [RBP + 0x18]
MOV CX,word ptr [RBP + 0x10]
MOV RCX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RCX
MOV qword ptr [RBP + -0x20],RDI
MOV dword ptr [RBP + -0x24],ESI
MOV qword ptr [RBP + -0... |
int8
translog_write_variable_record_1group
(long *param_1,uint param_2,int8 param_3,int2 param_4,int *param_5,
long param_6,ushort param_7,int8 param_8,int8 param_9)
{
char cVar1;
int iVar2;
uint uVar3;
long in_FS_OFFSET;
bool bVar4;
uint local_b8;
uint local_b0;
uint local_a4;
u... | |
27,868 | ImPlot3D::ComputeBoxCorners(ImPlot3DPoint*, ImPlot3DPoint const&, ImPlot3DPoint const&) | zkingston[P]unknot/build_O1/_deps/implot3d-src/implot3d.cpp | void ComputeBoxCorners(ImPlot3DPoint* corners, const ImPlot3DPoint& range_min, const ImPlot3DPoint& range_max) {
corners[0] = ImPlot3DPoint(range_min.x, range_min.y, range_min.z); // 0
corners[1] = ImPlot3DPoint(range_max.x, range_min.y, range_min.z); // 1
corners[2] = ImPlot3DPoint(range_max.x, range_max.y... | O1 | cpp | ImPlot3D::ComputeBoxCorners(ImPlot3DPoint*, ImPlot3DPoint const&, ImPlot3DPoint const&):
movss 0x8(%rsi), %xmm0
movsd (%rsi), %xmm1
movsd %xmm1, (%rdi)
movss %xmm0, 0x8(%rdi)
movss (%rdx), %xmm0
movsd 0x4(%rsi), %xmm1
movss %xmm0, 0xc(%rdi)
movsd %xmm1, 0x10(%rdi)
movss 0x8(%rsi), %xmm0
movsd (%rdx), %xmm1
movsd %xmm1,... | _ZN8ImPlot3D17ComputeBoxCornersEP13ImPlot3DPointRKS0_S3_:
movss xmm0, dword ptr [rsi+8]
movsd xmm1, qword ptr [rsi]
movsd qword ptr [rdi], xmm1
movss dword ptr [rdi+8], xmm0
movss xmm0, dword ptr [rdx]
movsd xmm1, qword ptr [rsi+4]
movss dword ptr [rdi+0Ch], xmm0
movsd qword ptr [rdi+10h], xmm1
movss ... | void ImPlot3D::ComputeBoxCorners(
ImPlot3D *this,
ImPlot3DPoint *a2,
const ImPlot3DPoint *a3,
const ImPlot3DPoint *a4)
{
int v4; // xmm0_4
long long v5; // xmm1_8
int v6; // xmm0_4
int v7; // xmm0_4
int v8; // xmm2_4
int v9; // xmm0_4
int v10; // xmm0_4
int v11; // xmm2_... | ComputeBoxCorners:
MOVSS XMM0,dword ptr [RSI + 0x8]
MOVSD XMM1,qword ptr [RSI]
MOVSD qword ptr [RDI],XMM1
MOVSS dword ptr [RDI + 0x8],XMM0
MOVSS XMM0,dword ptr [RDX]
MOVSD XMM1,qword ptr [RSI + 0x4]
MOVSS dword ptr [RDI + 0xc],XMM0
MOVSD qword ptr [RDI + 0x10],XMM1
MOVSS XMM0,dword ptr [RSI + 0x8]
MOVSD XMM1,qword ptr ... |
/* ImPlot3D::ComputeBoxCorners(ImPlot3DPoint*, ImPlot3DPoint const&, ImPlot3DPoint const&) */
void ImPlot3D::ComputeBoxCorners
(ImPlot3DPoint *param_1,ImPlot3DPoint *param_2,ImPlot3DPoint *param_3)
{
int4 uVar1;
int4 uVar2;
int8 uVar3;
uVar1 = *(int4 *)(param_2 + 8);
*(int8 *)param_1 = *(... | |
27,869 | my_wc_mb_eucjpms | eloqsql/strings/ctype-eucjpms.c | static int
my_wc_mb_eucjpms(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc, uchar *s, uchar *e)
{
int jp;
if ((int) wc < 0x80) /* ASCII [00-7F] */
{
if (s >= e)
return MY_CS_TOOSMALL;
*s= (uchar) wc;
return 1;
}
if (wc > 0xFFFF)
return MY_CS_ILUNI;
if ((jp= un... | O3 | c | my_wc_mb_eucjpms:
cmpl $0x7f, %esi
jg 0xcf1bd
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rcx, %rdx
jae 0xcf1f2
movb %sil, (%rdx)
movl $0x1, %eax
retq
xorl %eax, %eax
cmpq $0xffff, %rsi # imm = 0xFFFF
ja 0xcf1f2
leaq 0xf1591(%rip), %rdi # 0x1c0760
movzwl (%rdi,%rsi,2), %edi
testw %di, %di
je 0xc... | my_wc_mb_eucjpms:
cmp esi, 7Fh
jg short loc_CF1BD
mov eax, 0FFFFFF9Bh
cmp rdx, rcx
jnb short locret_CF1F2
mov [rdx], sil
mov eax, 1
retn
loc_CF1BD:
xor eax, eax
cmp rsi, 0FFFFh
ja short locret_CF1F2
lea rdi, unicode_to_jisx0208_eucjpms
movzx edi, word ptr [rdi+rsi*2]
test... | long long my_wc_mb_eucjpms(long long a1, unsigned long long a2, unsigned long long a3, unsigned long long a4)
{
long long result; // rax
__int16 v5; // di
__int16 v6; // bx
if ( (int)a2 > 127 )
{
result = 0LL;
if ( a2 <= 0xFFFF )
{
v5 = unicode_to_jisx0208_eucjpms[a2];
if ( v5 )
... | my_wc_mb_eucjpms:
CMP ESI,0x7f
JG 0x001cf1bd
MOV EAX,0xffffff9b
CMP RDX,RCX
JNC 0x001cf1f2
MOV byte ptr [RDX],SIL
MOV EAX,0x1
RET
LAB_001cf1bd:
XOR EAX,EAX
CMP RSI,0xffff
JA 0x001cf1f2
LEA RDI,[0x2c0760]
MOVZX EDI,word ptr [RDI + RSI*0x2]
TEST DI,DI
JZ 0x001cf1f3
LEA RSI,[RDX + 0x2]
MOV EAX,0xffffff9a
CMP RSI,RCX
JA 0x... |
int8 my_wc_mb_eucjpms(int8 param_1,ulong param_2,ushort *param_3,ushort *param_4)
{
ushort uVar1;
short sVar2;
int8 uVar3;
if ((int)param_2 < 0x80) {
uVar3 = 0xffffff9b;
if (param_3 < param_4) {
*(char *)param_3 = (char)param_2;
return 1;
}
}
else {
uVar3 = 0;
if (param_... | |
27,870 | my_aes_crypt | eloqsql/mysys_ssl/my_crypt.cc | int my_aes_crypt(enum my_aes_mode mode, int flags,
const uchar *src, uint slen, uchar *dst, uint *dlen,
const uchar *key, uint klen, const uchar *iv, uint ivlen)
{
void *ctx= alloca(MY_AES_CTX_SIZE);
int res1, res2;
uint d1= 0, d2;
if ((res1= my_aes_crypt_init(ctx, mode, flags,... | O3 | cpp | my_aes_crypt:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp # imm = 0x2C8
movq %r9, %rbx
movq %r8, %r14
movl %ecx, %r12d
movq %rdx, %r13
movl %esi, %edx
movl %edi, %esi
movq 0x10(%rbp), %rcx
movl 0x18(%rbp), %r8d
movq 0x20(%rbp), %r9
movl 0x28(%rbp), %eax... | my_aes_crypt:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 2C8h
mov rbx, r9
mov r14, r8
mov r12d, ecx
mov r13, rdx
mov edx, esi
mov esi, edi
mov rcx, [rbp+arg_0]
mov r8d, [rbp+arg_8]
mov r9, [rbp+arg_10]
mov eax, [rbp+arg_1... | long long my_aes_crypt(
int a1,
char a2,
long long a3,
unsigned int a4,
long long a5,
_DWORD *a6,
long long a7,
unsigned int a8,
long long a9)
{
unsigned int v13; // r15d
unsigned int v14; // r12d
int v16; // [rsp+18h] [rbp-2D8h] BYREF
uns... | my_aes_crypt:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x2c8
MOV RBX,R9
MOV R14,R8
MOV R12D,ECX
MOV R13,RDX
MOV EDX,ESI
MOV ESI,EDI
MOV RCX,qword ptr [RBP + 0x10]
MOV R8D,dword ptr [RBP + 0x18]
MOV R9,qword ptr [RBP + 0x20]
MOV EAX,dword ptr [RBP + 0x28]
MOV RDI,qword ptr FS:[0x28]
MOV ... |
int my_aes_crypt(int4 param_1,int4 param_2,int8 param_3,int4 param_4,
long param_5,int *param_6,int8 param_7,int4 param_8,int8 param_9,
int4 param_10)
{
int iVar1;
int iVar2;
long in_FS_OFFSET;
int local_2e0;
uint local_2dc;
int8 *local_2d8 [84];
long local_38;
local... | |
27,871 | my_uca_add_contraction | eloqsql/strings/ctype-uca.c | static MY_CONTRACTION *
my_uca_add_contraction(MY_CONTRACTIONS *list, my_wc_t *wc, size_t len,
my_bool with_context)
{
MY_CONTRACTION *next= &list->item[list->nitems];
size_t i;
/*
Contraction is always at least 2 characters.
Contraction is never longer than MY_UCA_MAX_CONTRACTION,
... | O0 | c | my_uca_add_contraction:
pushq %rbp
movq %rsp, %rbp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb %al, -0x19(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rcx
imulq $0x58, (%rcx), %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
jmp 0x87cbe
movq $0x0, -0x30(%rbp)
... | my_uca_add_contraction:
push rbp
mov rbp, rsp
mov al, cl
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_19], al
mov rax, [rbp+var_8]
mov rax, [rax+8]
mov rcx, [rbp+var_8]
imul rcx, [rcx], 58h ; 'X'
add rax, rcx
mov [rbp+var_28], rax
jmp ... | long long my_uca_add_contraction(_QWORD *a1, long long a2, unsigned long long a3, char a4)
{
unsigned long long i; // [rsp+0h] [rbp-30h]
long long v6; // [rsp+8h] [rbp-28h]
v6 = 88LL * *a1 + a1[1];
for ( i = 0LL; i < a3; ++i )
*(_QWORD *)(v6 + 8 * i) = *(_QWORD *)(a2 + 8 * i);
if ( i < 6 )
*(_QWORD ... | my_uca_add_contraction:
PUSH RBP
MOV RBP,RSP
MOV AL,CL
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV byte ptr [RBP + -0x19],AL
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RCX,qword ptr [RBP + -0x8]
IMUL RCX,qword ptr [RCX],0x58
ADD RAX,RCX
MOV qw... |
long my_uca_add_contraction(long *param_1,long param_2,ulong param_3,int1 param_4)
{
long lVar1;
ulong local_38;
lVar1 = param_1[1] + *param_1 * 0x58;
for (local_38 = 0; local_38 < param_3; local_38 = local_38 + 1) {
*(int8 *)(lVar1 + local_38 * 8) = *(int8 *)(param_2 + local_38 * 8);
}
if (local_3... | |
27,872 | check_mb_gb18030_valid | eloqsql/libmariadb/libmariadb/ma_charset.c | static unsigned int check_mb_gb18030_valid(const char * start, const char * end)
{
if (end - start <= 1 || !is_gb18030_odd(start[0])) {
return 0;
}
if (is_gb18030_even_2(start[1])) {
return 2;
} else if (end - start > 3 && is_gb18030_even_4(start[1]) && is_gb18030_odd(start[2]) && is_gb18030_even_4(start[3])) ... | O0 | c | check_mb_gb18030_valid:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
subq %rcx, %rax
cmpq $0x1, %rax
jle 0x43cfb
movq -0x10(%rbp), %rax
movzbl (%rax), %ecx
movl $0x81, %eax
cmpl %ecx, %eax
jg 0x43cfb
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmp... | check_mb_gb18030_valid:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_18]
mov rcx, [rbp+var_10]
sub rax, rcx
cmp rax, 1
jle short loc_43CFB
mov rax, [rbp+var_10]
movzx ecx, byte ptr [rax]
mov eax, 81h
cmp eax, ecx
jg short loc_4... | long long check_mb_gb18030_valid(unsigned __int8 *a1, long long a2)
{
if ( a2 - (long long)a1 <= 1 || *a1 < 0x81u || *a1 == 255 )
{
return 0;
}
else if ( (a1[1] < 0x40u || a1[1] > 0x7Eu) && (a1[1] < 0x80u || a1[1] == 255) )
{
if ( a2 - (long long)a1 <= 3
|| a1[1] < 0x30u
|| a1[1] > 0x39u
... | check_mb_gb18030_valid:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,qword ptr [RBP + -0x10]
SUB RAX,RCX
CMP RAX,0x1
JLE 0x00143cfb
MOV RAX,qword ptr [RBP + -0x10]
MOVZX ECX,byte ptr [RAX]
MOV EAX,0x81
CMP EAX,ECX
JG 0x00143cfb
MOV RAX,qwor... |
int4 check_mb_gb18030_valid(byte *param_1,long param_2)
{
int4 local_c;
if (((param_2 - (long)param_1 < 2) || (*param_1 < 0x81)) || (*param_1 == 0xff)) {
local_c = 0;
}
else if (((param_1[1] < 0x40) || (0x7e < param_1[1])) &&
((param_1[1] < 0x80 || (param_1[1] == 0xff)))) {
if (((param_2 ... | |
27,873 | ftxui::(anonymous namespace)::Set[abi:cxx11](std::vector<ftxui::(anonymous namespace)::DECMode, std::allocator<ftxui::(anonymous namespace)::DECMode>> const&) | Andrewchistyakov[P]flashcards_lyc/build_O2/_deps/ftxui-src/src/ftxui/component/screen_interactive.cpp | std::string Set(const std::vector<DECMode>& parameters) {
return CSI + "?" + Serialize(parameters) + "h";
} | O2 | cpp | ftxui::(anonymous namespace)::Set[abi:cxx11](std::vector<ftxui::(anonymous namespace)::DECMode, std::allocator<ftxui::(anonymous namespace)::DECMode>> const&):
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x2ac48(%rip), %rsi # 0x532f8
leaq 0xc88a(%rip), %rdx # 0x34f41
leaq 0x28(%... | _ZN5ftxui12_GLOBAL__N_13SetB5cxx11ERKSt6vectorINS0_7DECModeESaIS2_EE:
push r14
push rbx
sub rsp, 68h
mov r14, rsi
mov rbx, rdi
lea rsi, _ZN5ftxui12_GLOBAL__N_13CSIB5cxx11E; ftxui::`anonymous namespace'::CSI
lea rdx, asc_34F41; "?"
lea rdi, [rsp+78h+var_50]
call _ZStplIcSt11char_traitsIc... | long long ftxui::`anonymous namespace'::Set[abi:cxx11](long long a1, int a2)
{
int v2; // edx
int v3; // ecx
int v4; // r8d
int v5; // r9d
_QWORD v7[4]; // [rsp+8h] [rbp-70h] BYREF
_QWORD v8[4]; // [rsp+28h] [rbp-50h] BYREF
_BYTE v9[48]; // [rsp+48h] [rbp-30h] BYREF
std::operator+<char>((long long)v8,... | Set[abi:cxx11]:
PUSH R14
PUSH RBX
SUB RSP,0x68
MOV R14,RSI
MOV RBX,RDI
LEA RSI,[0x1532f8]
LEA RDX,[0x134f41]
LEA RDI,[RSP + 0x28]
CALL 0x0011802a
LAB_001286c1:
LEA RDI,[RSP + 0x8]
MOV RSI,R14
CALL 0x001287b9
LAB_001286ce:
LEA RDI,[RSP + 0x48]
LEA RSI,[RSP + 0x28]
LEA RDX,[RSP + 0x8]
CALL 0x00117fa4
LAB_001286e2:
LEA RD... |
/* ftxui::(anonymous namespace)::Set[abi:cxx11](std::vector<ftxui::(anonymous namespace)::DECMode,
std::allocator<ftxui::(anonymous namespace)::DECMode> > const&) */
_anonymous_namespace_ * __thiscall
ftxui::(anonymous_namespace)::Set_abi_cxx11_(_anonymous_namespace_ *this,vector *param_1)
{
_anonymous_namespac... | |
27,874 | mysql_close | eloqsql/libmariadb/libmariadb/mariadb_lib.c | void STDCALL
mysql_close(MYSQL *mysql)
{
if (mysql) /* Some simple safety */
{
if (mysql->extension && mysql->extension->conn_hdlr)
{
MA_CONNECTION_HANDLER *p= mysql->extension->conn_hdlr;
if (p->plugin->close)
p->plugin->close(mysql);
free(p);
/* Fix for CONC-294: Since ... | O0 | c | mysql_close:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x1e036
movq -0x8(%rbp), %rax
cmpq $0x0, 0x4f0(%rax)
je 0x1dee2
movq -0x8(%rbp), %rax
movq 0x4f0(%rax), %rax
cmpq $0x0, (%rax)
je 0x1dee2
movq -0x8(%rbp), %rax
movq 0x4f0(%rax), %rax
movq (%rax), %rax
movq %rax, -0x1... | mysql_close:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
cmp [rbp+var_8], 0
jz loc_1E036
mov rax, [rbp+var_8]
cmp qword ptr [rax+4F0h], 0
jz short loc_1DEE2
mov rax, [rbp+var_8]
mov rax, [rax+4F0h]
cmp qword ptr [rax], 0
jz short loc_1DEE2
mov rax, [... | long long mysql_close(long long a1)
{
long long result; // rax
long long v2; // [rsp+0h] [rbp-10h]
if ( a1 )
{
if ( *(_QWORD *)(a1 + 1264) && **(_QWORD **)(a1 + 1264) )
{
v2 = **(_QWORD **)(a1 + 1264);
if ( *(_QWORD *)(*(_QWORD *)v2 + 96LL) )
(*(void ( **)(long long))(*(_QWORD *)v2... | mysql_close:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0011e036
MOV RAX,qword ptr [RBP + -0x8]
CMP qword ptr [RAX + 0x4f0],0x0
JZ 0x0011dee2
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x4f0]
CMP qword ptr [RAX],0x0
JZ 0x0011dee2
MOV RAX,qword ptr [... |
void mysql_close(int8 *param_1)
{
long *__ptr;
if (param_1 != (int8 *)0x0) {
if ((param_1[0x9e] != 0) && (*(long *)param_1[0x9e] != 0)) {
__ptr = *(long **)param_1[0x9e];
if (*(long *)(*__ptr + 0x60) != 0) {
(**(code **)(*__ptr + 0x60))(param_1);
}
free(__ptr);
*(int8 ... | |
27,875 | mysql_close | eloqsql/libmariadb/libmariadb/mariadb_lib.c | void STDCALL
mysql_close(MYSQL *mysql)
{
if (mysql) /* Some simple safety */
{
if (mysql->extension && mysql->extension->conn_hdlr)
{
MA_CONNECTION_HANDLER *p= mysql->extension->conn_hdlr;
if (p->plugin->close)
p->plugin->close(mysql);
free(p);
/* Fix for CONC-294: Since ... | O3 | c | mysql_close:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x1a27d
movq %rdi, %rbx
movq 0x4f0(%rdi), %rax
testq %rax, %rax
je 0x1a1b6
movq (%rax), %r14
testq %r14, %r14
je 0x1a1b6
movq (%r14), %rax
movq 0x60(%rax), %rax
testq %rax, %rax
je 0x1a1a0
movq %rbx, %rdi
callq *%rax
movq %r14, %rdi
callq... | mysql_close:
push rbp
mov rbp, rsp
push r14
push rbx
test rdi, rdi
jz loc_1A27D
mov rbx, rdi
mov rax, [rdi+4F0h]
test rax, rax
jz short loc_1A1B6
mov r14, [rax]
test r14, r14
jz short loc_1A1B6
mov rax, [r14]
mov rax, [rax+60h]
test rax, rax
jz short loc_... | void mysql_close(long long a1)
{
long long *v2; // rax
long long v3; // r14
void ( *v4)(long long); // rax
long long v5; // rax
long long v6; // rdi
long long v7; // rax
long long v8; // rdi
if ( a1 )
{
v2 = *(long long **)(a1 + 1264);
if ( v2 )
{
v3 = *v2;
if ( *v2 )
{... | mysql_close:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
TEST RDI,RDI
JZ 0x0011a27d
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x4f0]
TEST RAX,RAX
JZ 0x0011a1b6
MOV R14,qword ptr [RAX]
TEST R14,R14
JZ 0x0011a1b6
MOV RAX,qword ptr [R14]
MOV RAX,qword ptr [RAX + 0x60]
TEST RAX,RAX
JZ 0x0011a1a0
MOV RDI,RBX
CALL RAX
LAB_0011a1a0:
MO... |
void mysql_close(int8 *param_1)
{
long *__ptr;
void *__ptr_00;
if (param_1 != (int8 *)0x0) {
if (((int8 *)param_1[0x9e] != (int8 *)0x0) &&
(__ptr = *(long **)param_1[0x9e], __ptr != (long *)0x0)) {
if (*(code **)(*__ptr + 0x60) != (code *)0x0) {
(**(code **)(*__ptr + 0x60))(param_1);... | |
27,876 | my_thread_init | eloqsql/mysys/my_thr_init.c | my_bool my_thread_init(void)
{
struct st_my_thread_var *tmp;
my_bool error=0;
if (!my_thread_global_init_done)
return 1; /* cannot proceed with uninitialized library */
#ifdef EXTRA_DEBUG_THREADS
fprintf(stderr,"my_thread_init(): pthread_self: %p\n", pthread_self());
#endif
if (my_thread_var)
{
#if... | O0 | c | my_thread_init:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb $0x0, -0x11(%rbp)
cmpb $0x0, 0x35daf5(%rip) # 0x384548
jne 0x26a5e
movb $0x1, -0x1(%rbp)
jmp 0x26b47
callq 0x26900
cmpq $0x0, %rax
je 0x26a6e
jmp 0x26b41
movl $0x1, %edi
movl $0xf0, %esi
callq 0x241e0
movq %rax, -0x10(%rbp)
cmpq $0x0, %rax
jne 0x26a90
... | my_thread_init:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_11], 0
cmp cs:my_thread_global_init_done, 0
jnz short loc_26A5E
mov [rbp+var_1], 1
jmp loc_26B47
loc_26A5E:
call _my_thread_var
cmp rax, 0
jz short loc_26A6E
jmp loc_26B41
loc_26A6E:
mov edi, 1
mov esi... | char my_thread_init()
{
long long v0; // rcx
char v2; // [rsp+Fh] [rbp-11h]
long long v3; // [rsp+10h] [rbp-10h] BYREF
v2 = 0;
if ( !my_thread_global_init_done )
return 1;
if ( !my_thread_var() )
{
v3 = calloc(1LL, 240LL);
if ( v3 )
{
set_mysys_var(v3);
*(_QWORD *)(v3 + 200) =... | my_thread_init:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV byte ptr [RBP + -0x11],0x0
CMP byte ptr [0x00484548],0x0
JNZ 0x00126a5e
MOV byte ptr [RBP + -0x1],0x1
JMP 0x00126b47
LAB_00126a5e:
CALL 0x00126900
CMP RAX,0x0
JZ 0x00126a6e
JMP 0x00126b41
LAB_00126a6e:
MOV EDI,0x1
MOV ESI,0xf0
CALL 0x001241e0
MOV qword ptr [RBP + -0... |
int1 my_thread_init(void)
{
long lVar1;
pthread_t pVar2;
int1 local_19;
void *local_18;
int1 local_9;
local_19 = 0;
if (my_thread_global_init_done == '\0') {
local_9 = 1;
}
else {
lVar1 = _my_thread_var();
if (lVar1 == 0) {
local_18 = calloc(1,0xf0);
if (local_18 == (void ... | |
27,877 | crypto_sign_ed25519_ref10_ge_tobytes | eloqsql/plugin/auth_ed25519/ref10/ge_tobytes.c | void ge_tobytes(unsigned char *s,const ge_p2 *h)
{
fe recip;
fe x;
fe y;
fe_invert(recip,h->Z);
fe_mul(x,h->X,recip);
fe_mul(y,h->Y,recip);
fe_tobytes(s,y);
s[31] ^= fe_isnegative(x) << 7;
} | O3 | c | crypto_sign_ed25519_ref10_ge_tobytes:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
addq $0x50, %rsi
leaq -0xb0(%rbp), %r15
movq %r15, %rdi
callq 0x21a0
leaq -0x80(%rbp), %r12
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x214... | crypto_sign_ed25519_ref10_ge_tobytes:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov r14, rsi
mov rbx, rdi
add rsi, 50h ; 'P'
lea r15, [rbp+var_B0]
mov rdi, r15
call _crypto_sign_ed25519_ref10_fe_invert
lea r12, [rbp+var_80]
mov ... | char crypto_sign_ed25519_ref10_ge_tobytes(long long a1, long long a2)
{
char result; // al
_BYTE v3[48]; // [rsp+0h] [rbp-B0h] BYREF
_BYTE v4[48]; // [rsp+30h] [rbp-80h] BYREF
_BYTE v5[80]; // [rsp+60h] [rbp-50h] BYREF
crypto_sign_ed25519_ref10_fe_invert((long long)v3, a2 + 80);
crypto_sign_ed25519_ref10_... | crypto_sign_ed25519_ref10_ge_tobytes:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV R14,RSI
MOV RBX,RDI
ADD RSI,0x50
LEA R15,[RBP + -0xb0]
MOV RDI,R15
CALL 0x001021a0
LEA R12,[RBP + -0x80]
MOV RDI,R12
MOV RSI,R14
MOV RDX,R15
CALL 0x00102140
ADD R14,0x28
LEA R13,[RBP + -0x50]
MOV RDI... |
void crypto_sign_ed25519_ref10_ge_tobytes(long param_1,long param_2)
{
char cVar1;
int1 local_b8 [48];
int1 local_88 [48];
int1 local_58 [40];
crypto_sign_ed25519_ref10_fe_invert(local_b8,param_2 + 0x50);
crypto_sign_ed25519_ref10_fe_mul(local_88,param_2,local_b8);
crypto_sign_ed25519_ref10_fe_mul(lo... | |
27,878 | ftxui::Screen::ResetPosition[abi:cxx11](bool) const | Andrewchistyakov[P]flashcards_lyc/build_O2/_deps/ftxui-src/src/ftxui/screen/screen.cpp | std::string Screen::ResetPosition(bool clear) const {
std::stringstream ss;
if (clear) {
ss << "\r"; // MOVE_LEFT;
ss << "\x1b[2K"; // CLEAR_SCREEN;
for (int y = 1; y < dimy_; ++y) {
ss << "\x1B[1A"; // MOVE_UP;
ss << "\x1B[2K"; // CLEAR_LINE;
}
} else {
ss << "\r"; // MO... | O2 | cpp | ftxui::Screen::ResetPosition[abi:cxx11](bool) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rdi
callq 0xc310
leaq 0x10(%rsp), %r15
testl %ebp, %ebp
je 0x30561
leaq 0x4b7f(%rip), %rsi # ... | _ZNK5ftxui6Screen13ResetPositionB5cxx11Eb:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 188h
mov ebp, edx
mov r14, rsi
mov rbx, rdi
mov rdi, rsp
call __ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev; std::basic_stringstream<char,std::char_traits... | long long ftxui::Screen::ResetPosition[abi:cxx11](long long a1, long long a2, int a3)
{
int i; // ebp
int j; // ebp
_BYTE v7[16]; // [rsp+0h] [rbp-1B8h] BYREF
_BYTE v8[8]; // [rsp+10h] [rbp-1A8h] BYREF
_BYTE v9[416]; // [rsp+18h] [rbp-1A0h] BYREF
std::basic_stringstream<char,std::char_traits<char>,std::al... | ResetPosition[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x188
MOV EBP,EDX
MOV R14,RSI
MOV RBX,RDI
MOV RDI,RSP
CALL 0x0010c310
LEA R15,[RSP + 0x10]
TEST EBP,EBP
JZ 0x00130561
LAB_00130512:
LEA RSI,[0x135098]
MOV RDI,R15
CALL 0x0010c440
LEA RSI,[0x135b39]
MOV RDI,R15
CALL 0x0010c440
PUSH 0... |
/* ftxui::Screen::ResetPosition[abi:cxx11](bool) const */
int8 ftxui::Screen::ResetPosition_abi_cxx11_(bool param_1)
{
int in_EDX;
int iVar1;
long in_RSI;
int7 in_register_00000039;
stringstream asStack_1b8 [16];
ostream local_1a8 [376];
std::__cxx11::stringstream::stringstream(asStack_1b8);
if (i... | |
27,879 | PFS_buffer_scalable_container<PFS_user, 128, 128, PFS_user_array, PFS_user_allocator>::apply_all(void (*)(PFS_user*)) | eloqsql/storage/perfschema/pfs_buffer_container.h | void apply_all(function_type fct)
{
uint i;
array_type *page;
value_type *pfs;
value_type *pfs_last;
for (i=0 ; i < PFS_PAGE_COUNT; i++)
{
page= m_pages[i];
if (page != NULL)
{
pfs= page->get_first();
pfs_last= page->get_last();
while (pfs < pfs_last... | O0 | c | PFS_buffer_scalable_container<PFS_user, 128, 128, PFS_user_array, PFS_user_allocator>::apply_all(void (*)(PFS_user*)):
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl $0x0, -0x14(%rbp)
cmpl $0x400, -0x14(%rbp) # imm = 0x400
j... | _ZN29PFS_buffer_scalable_containerI11PFS_programLi1024ELi1024E24PFS_buffer_default_arrayIS0_E28PFS_buffer_default_allocatorIS0_EE9apply_allEPFvPS0_E:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov [rbp+var_38], rax
mov [rbp+var_14], ... | long long PFS_buffer_scalable_container<PFS_program,1024,1024,PFS_buffer_default_array<PFS_program>,PFS_buffer_default_allocator<PFS_program>>::apply_all(
long long a1,
void ( *a2)(unsigned long long))
{
long long result; // rax
unsigned long long last; // [rsp+10h] [rbp-30h]
unsigned long long f... | apply_all:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x38],RAX
MOV dword ptr [RBP + -0x14],0x0
LAB_001533ef:
CMP dword ptr [RBP + -0x14],0x400
JNC 0x0015345f
MOV RAX,qword ptr [RBP + -0x38]
MOV ECX,dword ptr [RBP... |
/* PFS_buffer_scalable_container<PFS_program, 1024, 1024, PFS_buffer_default_array<PFS_program>,
PFS_buffer_default_allocator<PFS_program> >::apply_all(void (*)(PFS_program*)) */
void __thiscall
PFS_buffer_scalable_container<PFS_program,1024,1024,PFS_buffer_default_array<PFS_program>,PFS_buffer_default_allocator<P... | |
27,880 | ha_federated::store_result(st_mysql*) | eloqsql/storage/federated/ha_federated.cc | MYSQL_RES *ha_federated::store_result(MYSQL *mysql_arg)
{
MYSQL_RES *result= mysql_store_result(mysql_arg);
DBUG_ENTER("ha_federated::store_result");
if (result)
{
(void) insert_dynamic(&results, (uchar*) &result);
}
position_called= FALSE;
DBUG_RETURN(result);
} | O3 | cpp | ha_federated::store_result(st_mysql*):
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x82c0
movq %rax, -0x18(%rbp)
testq %rax, %rax
je 0xb8eb
leaq 0x550(%rbx), %rdi
leaq -0x18(%rbp), %r14
movq %r14, %rsi
callq 0x8450
movq (%r14), %rax
jmp 0xb8ed
xorl %eax, %eax
... | _ZN12ha_federated12store_resultEP8st_mysql:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 10h
mov rbx, rdi
mov rdi, rsi
call _mysql_store_result
mov [rbp+var_18], rax
test rax, rax
jz short loc_B8EB
lea rdi, [rbx+550h]
lea r14, [rbp+var_18]
mov rsi, r14
call _in... | long long ha_federated::store_result(long long a1, long long a2)
{
long long result; // rax
long long v3[3]; // [rsp+8h] [rbp-18h] BYREF
v3[0] = mysql_store_result(a2);
if ( v3[0] )
{
insert_dynamic(a1 + 1360, v3);
result = v3[0];
}
else
{
result = 0LL;
}
*(_BYTE *)(a1 + 1400) = 0;
r... | store_result:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
MOV RDI,RSI
CALL 0x001082c0
MOV qword ptr [RBP + -0x18],RAX
TEST RAX,RAX
JZ 0x0010b8eb
LEA RDI,[RBX + 0x550]
LEA R14,[RBP + -0x18]
MOV RSI,R14
CALL 0x00108450
MOV RAX,qword ptr [R14]
JMP 0x0010b8ed
LAB_0010b8eb:
XOR EAX,EAX
LAB_0010b8ed:
MOV ... |
/* ha_federated::store_result(st_mysql*) */
long __thiscall ha_federated::store_result(ha_federated *this,st_mysql *param_1)
{
long local_20;
local_20 = mysql_store_result(param_1);
if (local_20 == 0) {
local_20 = 0;
}
else {
insert_dynamic(this + 0x550,&local_20);
}
this[0x578] = (ha_federa... | |
27,881 | reset_pagecache_counters | eloqsql/storage/maria/ma_pagecache.c | int reset_pagecache_counters(const char *name __attribute__((unused)),
PAGECACHE *pagecache)
{
DBUG_ENTER("reset_pagecache_counters");
if (!pagecache->inited)
{
DBUG_PRINT("info", ("Key cache %s not initialized.", name));
DBUG_RETURN(0);
}
DBUG_PRINT("info", ("Resetting co... | O0 | c | reset_pagecache_counters:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpb $0x0, 0x1a8(%rax)
jne 0x3f658
jmp 0x3f64b
jmp 0x3f64d
jmp 0x3f64f
movl $0x0, -0x4(%rbp)
jmp 0x3f6ae
jmp 0x3f65a
jmp 0x3f65c
movq -0x18(%rbp), %rax
movq $0x0, 0x168(%rax)
movq -0x18(%rbp), %rax
... | reset_pagecache_counters:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_18]
cmp byte ptr [rax+1A8h], 0
jnz short loc_3F658
jmp short $+2
loc_3F64B:
jmp short $+2
loc_3F64D:
jmp short $+2
loc_3F64F:
mov [rbp+var_4], 0
jmp short loc_3F6A... | long long reset_pagecache_counters(long long a1, long long a2)
{
if ( *(_BYTE *)(a2 + 424) )
{
*(_QWORD *)(a2 + 360) = 0LL;
*(_QWORD *)(a2 + 384) = 0LL;
*(_QWORD *)(a2 + 392) = 0LL;
*(_QWORD *)(a2 + 368) = 0LL;
*(_QWORD *)(a2 + 376) = 0LL;
}
return 0LL;
}
| reset_pagecache_counters:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x18]
CMP byte ptr [RAX + 0x1a8],0x0
JNZ 0x0013f658
JMP 0x0013f64b
LAB_0013f64b:
JMP 0x0013f64d
LAB_0013f64d:
JMP 0x0013f64f
LAB_0013f64f:
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0013f6a... |
int4 reset_pagecache_counters(int8 param_1,long param_2)
{
if (*(char *)(param_2 + 0x1a8) != '\0') {
*(int8 *)(param_2 + 0x168) = 0;
*(int8 *)(param_2 + 0x180) = 0;
*(int8 *)(param_2 + 0x188) = 0;
*(int8 *)(param_2 + 0x170) = 0;
*(int8 *)(param_2 + 0x178) = 0;
}
return 0;
}
| |
27,882 | reset_pagecache_counters | eloqsql/storage/maria/ma_pagecache.c | int reset_pagecache_counters(const char *name __attribute__((unused)),
PAGECACHE *pagecache)
{
DBUG_ENTER("reset_pagecache_counters");
if (!pagecache->inited)
{
DBUG_PRINT("info", ("Key cache %s not initialized.", name));
DBUG_RETURN(0);
}
DBUG_PRINT("info", ("Resetting co... | O3 | c | reset_pagecache_counters:
pushq %rbp
movq %rsp, %rbp
cmpb $0x0, 0x1a8(%rsi)
je 0x3d371
xorps %xmm0, %xmm0
movups %xmm0, 0x178(%rsi)
movups %xmm0, 0x168(%rsi)
movq $0x0, 0x188(%rsi)
xorl %eax, %eax
popq %rbp
retq
| reset_pagecache_counters:
push rbp
mov rbp, rsp
cmp byte ptr [rsi+1A8h], 0
jz short loc_3D371
xorps xmm0, xmm0
movups xmmword ptr [rsi+178h], xmm0
movups xmmword ptr [rsi+168h], xmm0
mov qword ptr [rsi+188h], 0
loc_3D371:
xor eax, eax
pop rbp
retn
| long long reset_pagecache_counters(long long a1, long long a2)
{
if ( *(_BYTE *)(a2 + 424) )
{
*(_OWORD *)(a2 + 376) = 0LL;
*(_OWORD *)(a2 + 360) = 0LL;
*(_QWORD *)(a2 + 392) = 0LL;
}
return 0LL;
}
| reset_pagecache_counters:
PUSH RBP
MOV RBP,RSP
CMP byte ptr [RSI + 0x1a8],0x0
JZ 0x0013d371
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RSI + 0x178],XMM0
MOVUPS xmmword ptr [RSI + 0x168],XMM0
MOV qword ptr [RSI + 0x188],0x0
LAB_0013d371:
XOR EAX,EAX
POP RBP
RET
|
int8 reset_pagecache_counters(int8 param_1,long param_2)
{
if (*(char *)(param_2 + 0x1a8) != '\0') {
*(int8 *)(param_2 + 0x178) = 0;
*(int8 *)(param_2 + 0x180) = 0;
*(int8 *)(param_2 + 0x168) = 0;
*(int8 *)(param_2 + 0x170) = 0;
*(int8 *)(param_2 + 0x188) = 0;
}
return 0;
}
| |
27,883 | func_gb2312_uni_onechar | eloqsql/strings/ctype-gb2312.c | static int func_gb2312_uni_onechar(int code){
if ((code>=0x2121)&&(code<=0x2658))
return(tab_gb2312_uni0[code-0x2121]);
if ((code>=0x2721)&&(code<=0x296F))
return(tab_gb2312_uni1[code-0x2721]);
if ((code>=0x3021)&&(code<=0x777E))
return(tab_gb2312_uni2[code-0x3021]);
return(0);
} | O0 | c | func_gb2312_uni_onechar:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
cmpl $0x2121, -0x8(%rbp) # imm = 0x2121
jl 0x3c6f4
cmpl $0x2658, -0x8(%rbp) # imm = 0x2658
jg 0x3c6f4
movl -0x8(%rbp), %eax
subl $0x2121, %eax # imm = 0x2121
movslq %eax, %rcx
leaq 0xc5515(%rip), %rax # 0x101c00
movzwl (%rax... | func_gb2312_uni_onechar:
push rbp
mov rbp, rsp
mov [rbp+var_8], edi
cmp [rbp+var_8], 2121h
jl short loc_3C6F4
cmp [rbp+var_8], 2658h
jg short loc_3C6F4
mov eax, [rbp+var_8]
sub eax, 2121h
movsxd rcx, eax
lea rax, tab_gb2312_uni0
movzx eax, word ptr [rax+rcx*2]
mov [rbp+va... | long long func_gb2312_uni_onechar(int a1)
{
if ( a1 < 8481 || a1 > 9816 )
{
if ( a1 < 10017 || a1 > 10607 )
{
if ( a1 < 12321 || a1 > 30590 )
return 0;
else
return tab_gb2312_uni2[a1 - 12321];
}
else
{
return tab_gb2312_uni1[a1 - 10017];
}
}
else
{
... | func_gb2312_uni_onechar:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x8],EDI
CMP dword ptr [RBP + -0x8],0x2121
JL 0x0013c6f4
CMP dword ptr [RBP + -0x8],0x2658
JG 0x0013c6f4
MOV EAX,dword ptr [RBP + -0x8]
SUB EAX,0x2121
MOVSXD RCX,EAX
LEA RAX,[0x201c00]
MOVZX EAX,word ptr [RAX + RCX*0x2]
MOV dword ptr [RBP + -0x4],EAX
J... |
int2 func_gb2312_uni_onechar(int param_1)
{
int2 uVar1;
if ((param_1 < 0x2121) || (0x2658 < param_1)) {
if ((param_1 < 0x2721) || (0x296f < param_1)) {
if ((param_1 < 0x3021) || (0x777e < param_1)) {
uVar1 = 0;
}
else {
uVar1 = *(int2 *)(tab_gb2312_uni2 + (long)(param_1 + ... | |
27,884 | minja::Value::pop(minja::Value const&) | monkey531[P]llama/common/./minja.hpp | Value pop(const Value& index) {
if (is_array()) {
if (array_->empty())
throw std::runtime_error("pop from empty list");
if (index.is_null()) {
auto ret = array_->back();
array_->pop_back();
return ret;
} else if (!index.is_number_integer()) {
throw std::runt... | O3 | cpp | minja::Value::pop(minja::Value const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %rbp
movq 0x10(%rsi), %rax
testq %rax, %rax
je 0x54151
movq 0x8(%rax), %rsi
cmpq %rsi, (%rax)
je 0x5425f
cmpq $0x0, 0x20(%rbx)
movb 0x40(%rbx), %al
jne 0x... | _ZN5minja5Value3popERKS0_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov rbx, rdx
mov r15, rsi
mov rbp, rdi
mov rax, [rsi+10h]
test rax, rax
jz short loc_54151
mov rsi, [rax+8]
cmp [rax], rsi
jz loc_5425F
cmp qword ptr [rbx+20h], 0
... | minja::Value * minja::Value::pop(minja::Value *this, const minja::Value *a2, long long a3, __m128d a4)
{
minja::Value *v6; // rbp
_QWORD *v7; // rax
long long v8; // rsi
char v9; // al
long long v10; // rdi
long long v11; // rsi
unsigned __int8 **v12; // r14
unsigned __int8 *v13; // r13
unsigned __int... | pop:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV RBX,RDX
MOV R15,RSI
MOV RBP,RDI
MOV RAX,qword ptr [RSI + 0x10]
TEST RAX,RAX
JZ 0x00154151
MOV RSI,qword ptr [RAX + 0x8]
CMP qword ptr [RAX],RSI
JZ 0x0015425f
CMP qword ptr [RBX + 0x20],0x0
MOV AL,byte ptr [RBX + 0x40]
JNZ 0x001541b6
CMP qword p... |
/* minja::Value::pop(minja::Value const&) */
Value * minja::Value::pop(Value *param_1)
{
long *plVar1;
new_allocator<minja::Value> *this;
long lVar2;
char cVar3;
uint uVar4;
runtime_error *prVar5;
int iVar6;
Value *in_RDX;
bool bVar7;
long in_RSI;
int iVar8;
Value *pVVar9;
basic_json *pbVar... | |
27,885 | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | 11AgReS1SoR11[P]Graph/Common/FiguresStorage/src/json.hpp | std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
{
JSON_ASSERT(!keep_stack.empty());
// do not handle this value if we know it would be added to a discarded
// container
if (!keep_stack.back())
{
return {false, nullptr};
... | O0 | cpp | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE12handle_valueIRbEESt4pairIbPSF_EOT_b:
push rbp
mov ... | char nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input_adap... | handle_value<bool&>:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV AL,DL
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
AND AL,0x1
MOV byte ptr [RBP + -0x21],AL
MOV RDI,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x108],RDI
ADD RDI,0x20
CALL 0x00160380
XOR AL,0xff
TEST AL,0x1
JNZ 0x001854d6
JMP 0x001854d8
L... |
/* std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>*>
nlohmann::json_abi_v3_11_3::detail::json_... | |
27,886 | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | 11AgReS1SoR11[P]Graph/Common/FiguresStorage/src/json.hpp | std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
{
JSON_ASSERT(!keep_stack.empty());
// do not handle this value if we know it would be added to a discarded
// container
if (!keep_stack.back())
{
return {false, nullptr};
... | O1 | cpp | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE12handle_valueIRmEESt4pairIbPSF_EOT_b:
push rbp
push ... | long long nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input... | handle_value<unsigned_long&>:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x48
MOV EBP,EDX
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x30]
MOV ECX,dword ptr [RDI + 0x38]
CMP qword ptr [RDI + 0x20],RAX
SETZ DL
TEST ECX,ECX
SETZ DIL
AND DIL,DL
CMP DIL,0x1
JZ 0x0011f5f6
MOV ECX,ECX
MOV R15,-0x8000000000000000
LEA RDX,[RCX + -0... |
/* std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>*>
nlohmann::json_abi_v3_11_3::detail::json_... | |
27,887 | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | 11AgReS1SoR11[P]Graph/Common/FiguresStorage/src/json.hpp | std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
{
JSON_ASSERT(!keep_stack.empty());
// do not handle this value if we know it would be added to a discarded
// container
if (!keep_stack.back())
{
return {false, nullptr};
... | O2 | cpp | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE12handle_valueIRmEESt4pairIbPSF_EOT_b:
push rbp
push ... | long long nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input... | handle_value<unsigned_long&>:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x38
MOV EBP,EDX
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x20]
CMP RAX,qword ptr [RDI + 0x30]
JNZ 0x00128df0
CMP dword ptr [RBX + 0x38],0x0
JZ 0x00128f48
LAB_00128df0:
LEA RDI,[RBX + 0x20]
CALL 0x0011dde0
TEST qword ptr [RAX],RDX
JZ 0x00... |
/* std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>*>
nlohmann::json_abi_v3_11_3::detail::json_... | |
27,888 | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | 11AgReS1SoR11[P]Graph/Common/FiguresStorage/src/json.hpp | std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
{
JSON_ASSERT(!keep_stack.empty());
// do not handle this value if we know it would be added to a discarded
// container
if (!keep_stack.back())
{
return {false, nullptr};
... | O3 | cpp | std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>*> ... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE12handle_valueIRSB_EESt4pairIbPSF_EOT_b:
push rbp
pus... | long long nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input... | handle_value<std::__cxx11::string&>:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x48
MOV EBP,EDX
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x30]
MOV ECX,dword ptr [RDI + 0x38]
CMP qword ptr [RDI + 0x20],RAX
SETZ DL
TEST ECX,ECX
SETZ DIL
AND DIL,DL
CMP DIL,0x1
JZ 0x0011ef26
MOV ECX,ECX
MOV R14,-0x8000000000000000
LEA RDX,[R... |
/* std::pair<bool, nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, void>*>
nlohmann::json_abi_v3_11_3::detail::json_... | |
27,889 | minja::Value::callable(std::function<minja::Value (std::shared_ptr<minja::Context> const&, minja::ArgumentsValue&)> const&) | monkey531[P]llama/common/minja.hpp | static Value callable(const CallableType & callable) {
return Value(std::make_shared<CallableType>(callable));
} | O3 | cpp | minja::Value::callable(std::function<minja::Value (std::shared_ptr<minja::Context> const&, minja::ArgumentsValue&)> const&):
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
leaq 0x10(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x8(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rsi
callq 0x9b1f4
movq %rb... | _ZN5minja5Value8callableERKSt8functionIFS0_RKSt10shared_ptrINS_7ContextEERNS_14ArgumentsValueEEE:
push r14
push rbx
sub rsp, 18h
mov rcx, rsi
mov rbx, rdi
lea rdi, [rsp+28h+var_18]
mov qword ptr [rdi-8], 0
lea r14, [rsp+28h+var_20]
lea rdx, [rsp+28h+var_21]
mov rsi, r14
call _ZN... | long long minja::Value::callable(long long a1, long long a2)
{
char v3; // [rsp+7h] [rbp-21h] BYREF
long long v4; // [rsp+8h] [rbp-20h] BYREF
volatile signed __int32 *v5; // [rsp+10h] [rbp-18h] BYREF
v4 = 0LL;
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<std::function<minja::Value ()(std:... | callable:
PUSH R14
PUSH RBX
SUB RSP,0x18
MOV RCX,RSI
MOV RBX,RDI
LEA RDI,[RSP + 0x10]
MOV qword ptr [RDI + -0x8],0x0
LEA R14,[RSP + 0x8]
LEA RDX,[RSP + 0x7]
MOV RSI,R14
CALL 0x0019b1f4
LAB_0019aa56:
MOV RDI,RBX
MOV RSI,R14
CALL 0x0019b120
LAB_0019aa61:
MOV RDI,qword ptr [RSP + 0x10]
TEST RDI,RDI
JZ 0x0019aa70
CALL 0x00... |
/* minja::Value::callable(std::function<minja::Value (std::shared_ptr<minja::Context> const&,
minja::ArgumentsValue&)> const&) */
Value * __thiscall minja::Value::callable(Value *this,function *param_1)
{
int1 local_21;
int8 local_20;
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *local_18;
local_20 = 0... | |
27,890 | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const | Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp | const T & get_val(const size_t i = 0) const {
GGML_ASSERT(type_to_gguf_type<T>::value == type);
if constexpr (std::is_same<T, std::string>::value) {
GGML_ASSERT(data_string.size() >= i+1);
return data_string[i];
}
const size_t type_size = gguf_type_size(type);
... | O0 | cpp | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x20(%rbp)
movl $0x8, %eax
cmpl 0x24(%rcx), %eax
je 0x91bc3
leaq 0x30a20(%rip), %rdi # 0xc25c9
movl $0xb7, %esi
leaq 0... | _ZNK7gguf_kv7get_valINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKT_m:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rcx, [rbp+var_8]
mov [rbp+var_20], rcx
mov eax, 8
cmp eax, [rcx+24h]
jz short loc_91BC3
lea rdi, aWorkspaceLlm4b... | long long gguf_kv::get_val<std::string>(long long a1, long long a2)
{
if ( *(_DWORD *)(a1 + 36) != 8 )
ggml_abort(
"/workspace/llm4binary/github/2025_star3/Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp",
183,
(long long)"GGML_ASSERT(%s) failed",
"type_to_gguf_type<T>::value == type");
if ... | get_val<std::__cxx11::string>:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RCX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x20],RCX
MOV EAX,0x8
CMP EAX,dword ptr [RCX + 0x24]
JZ 0x00191bc3
LEA RDI,[0x1c25c9]
MOV ESI,0xb7
LEA RDX,[0x1b1609]
LEA RCX,[0x1c388b]
MO... |
/* std::__cxx11::string const& gguf_kv::get_val<std::__cxx11::string >(unsigned long) const */
string * __thiscall gguf_kv::get_val<std::__cxx11::string>(gguf_kv *this,ulong param_1)
{
ulong uVar1;
string *psVar2;
if (*(int *)(this + 0x24) != 8) {
ggml_abort("/workspace/llm4binary/github/2025_star3/Yang... | |
27,891 | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const | Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp | const T & get_val(const size_t i = 0) const {
GGML_ASSERT(type_to_gguf_type<T>::value == type);
if constexpr (std::is_same<T, std::string>::value) {
GGML_ASSERT(data_string.size() >= i+1);
return data_string[i];
}
const size_t type_size = gguf_type_size(type);
... | O1 | cpp | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const:
pushq %rax
cmpl $0x8, 0x24(%rdi)
jne 0x42802
movq 0x40(%rdi), %rax
movq 0x48(%rdi), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
leaq 0x1(%rsi), %rdx
cmpq %rdx, %rcx
jb 0x4281e
cmpq %rsi, %rcx
jbe 0x427fd
shlq $0x5, %rsi
addq %rsi, %rax
popq %rcx
retq
c... | _ZNK7gguf_kv7get_valINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKT_m:
push rax
cmp dword ptr [rdi+24h], 8
jnz short loc_42802
mov rax, [rdi+40h]
mov rcx, [rdi+48h]
sub rcx, rax
sar rcx, 5
lea rdx, [rsi+1]
cmp rcx, rdx
jb short loc_4281E
cmp rcx, rsi
jbe short ... | long long gguf_kv::get_val<std::string>(
long long a1,
unsigned long long a2,
long long a3,
long long a4,
int a5,
int a6)
{
long long v6; // rax
unsigned long long v7; // rcx
const char *v9; // rcx
int v10; // esi
if ( *(_DWORD *)(a1 + 36) != 8 )
{
v9 = ... | get_val<std::__cxx11::string>:
PUSH RAX
CMP dword ptr [RDI + 0x24],0x8
JNZ 0x00142802
MOV RAX,qword ptr [RDI + 0x40]
MOV RCX,qword ptr [RDI + 0x48]
SUB RCX,RAX
SAR RCX,0x5
LEA RDX,[RSI + 0x1]
CMP RCX,RDX
JC 0x0014281e
CMP RCX,RSI
JBE 0x001427fd
SHL RSI,0x5
ADD RAX,RSI
POP RCX
RET
LAB_001427fd:
CALL 0x00119db1
LAB_00142... |
/* std::__cxx11::string const& gguf_kv::get_val<std::__cxx11::string >(unsigned long) const */
string * __thiscall gguf_kv::get_val<std::__cxx11::string>(gguf_kv *this,ulong param_1)
{
ulong uVar1;
char *pcVar2;
int8 uVar3;
if (*(int *)(this + 0x24) == 8) {
uVar1 = *(long *)(this + 0x48) - *(long *)(t... | |
27,892 | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const | Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp | const T & get_val(const size_t i = 0) const {
GGML_ASSERT(type_to_gguf_type<T>::value == type);
if constexpr (std::is_same<T, std::string>::value) {
GGML_ASSERT(data_string.size() >= i+1);
return data_string[i];
}
const size_t type_size = gguf_type_size(type);
... | O2 | cpp | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const:
pushq %r14
pushq %rbx
pushq %rax
cmpl $0xc, 0x24(%rdi)
jne 0x442b6
movq %rsi, %rbx
movq %rdi, %r14
pushq $0xc
popq %rdi
callq 0x1fdf0
movq %rax, %rcx
movq 0x28(%r14), %rdi
movq 0x30(%r14), %rsi
subq %rdi, %rsi
movq %rsi, %rax
xorl %edx, %edx
div... | _ZNK7gguf_kv7get_valIdEERKT_m:
push r14
push rbx
push rax
cmp dword ptr [rdi+24h], 0Ch
jnz short loc_442B6
mov rbx, rsi
mov r14, rdi
push 0Ch
pop rdi
call __Z14gguf_type_size9gguf_type; gguf_type_size(gguf_type)
mov rcx, rax
mov rdi, [r14+28h]
mov rsi, [r14+30h]
sub rs... | long long gguf_kv::get_val<double>(
long long a1,
long long a2,
__m128 a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
long long a11,
long long a12,
long long a13,
long long... | get_val<double>:
PUSH R14
PUSH RBX
PUSH RAX
CMP dword ptr [RDI + 0x24],0xc
JNZ 0x001442b6
MOV RBX,RSI
MOV R14,RDI
PUSH 0xc
POP RDI
CALL 0x0011fdf0
MOV RCX,RAX
MOV RDI,qword ptr [R14 + 0x28]
MOV RSI,qword ptr [R14 + 0x30]
SUB RSI,RDI
MOV RAX,RSI
XOR EDX,EDX
DIV RCX
TEST RDX,RDX
JNZ 0x001442d2
LEA RAX,[RBX + 0x1]
IMUL RC... |
/* double const& gguf_kv::get_val<double>(unsigned long) const */
double * __thiscall gguf_kv::get_val<double>(gguf_kv *this,ulong param_1)
{
ulong uVar1;
char *pcVar2;
ulong uVar3;
int8 uVar4;
if (*(int *)(this + 0x24) == 0xc) {
uVar1 = gguf_type_size(0xc);
uVar3 = *(long *)(this + 0x30) - *(lo... | |
27,893 | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const | Yangxiaoz[P]GGML-Tutorial/ggml/src/gguf.cpp | const T & get_val(const size_t i = 0) const {
GGML_ASSERT(type_to_gguf_type<T>::value == type);
if constexpr (std::is_same<T, std::string>::value) {
GGML_ASSERT(data_string.size() >= i+1);
return data_string[i];
}
const size_t type_size = gguf_type_size(type);
... | O3 | cpp | unsigned char const& gguf_kv::get_val<unsigned char>(unsigned long) const:
pushq %rax
cmpl $0x8, 0x24(%rdi)
jne 0x420a8
movq 0x40(%rdi), %rax
movq 0x48(%rdi), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
leaq 0x1(%rsi), %rdx
cmpq %rdx, %rcx
jb 0x420c4
cmpq %rsi, %rcx
jbe 0x420a3
shlq $0x5, %rsi
addq %rsi, %rax
popq %rcx
retq
c... | _ZNK7gguf_kv7get_valINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKT_m:
push rax
cmp dword ptr [rdi+24h], 8
jnz short loc_420A8
mov rax, [rdi+40h]
mov rcx, [rdi+48h]
sub rcx, rax
sar rcx, 5
lea rdx, [rsi+1]
cmp rcx, rdx
jb short loc_420C4
cmp rcx, rsi
jbe short ... | long long gguf_kv::get_val<std::string>(
long long a1,
unsigned long long a2,
long long a3,
long long a4,
int a5,
int a6)
{
long long v6; // rax
unsigned long long v7; // rcx
const char *v9; // rcx
int v10; // esi
if ( *(_DWORD *)(a1 + 36) != 8 )
{
v9 = ... | get_val<std::__cxx11::string>:
PUSH RAX
CMP dword ptr [RDI + 0x24],0x8
JNZ 0x001420a8
MOV RAX,qword ptr [RDI + 0x40]
MOV RCX,qword ptr [RDI + 0x48]
SUB RCX,RAX
SAR RCX,0x5
LEA RDX,[RSI + 0x1]
CMP RCX,RDX
JC 0x001420c4
CMP RCX,RSI
JBE 0x001420a3
SHL RSI,0x5
ADD RAX,RSI
POP RCX
RET
LAB_001420a3:
CALL 0x00118b28
LAB_00142... |
/* std::__cxx11::string const& gguf_kv::get_val<std::__cxx11::string >(unsigned long) const */
string * __thiscall gguf_kv::get_val<std::__cxx11::string>(gguf_kv *this,ulong param_1)
{
ulong uVar1;
char *pcVar2;
int8 uVar3;
if (*(int *)(this + 0x24) == 8) {
uVar1 = *(long *)(this + 0x48) - *(long *)(t... | |
27,894 | psi_mutex_lock | eloqsql/mysys/my_thr_init.c | ATTRIBUTE_COLD int psi_mutex_lock(mysql_mutex_t *that,
const char *file, uint line)
{
PSI_mutex_locker_state state;
PSI_mutex_locker *locker= PSI_MUTEX_CALL(start_mutex_wait)
(&state, that->m_psi, PSI_MUTEX_LOCK, file, line);
# ifdef SAFE_MUTEX
int result= safe_mutex_lock(&th... | O3 | c | psi_mutex_lock:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movl %edx, %r8d
movq %rsi, %rcx
movq %rdi, %r14
leaq 0x2ceced(%rip), %r15 # 0x2f3d68
movq (%r15), %rax
movq 0x40(%rdi), %rsi
leaq -0x48(%rbp), %rdi
xorl %edx, %edx
callq *0x190(%rax)
movq %rax, %rbx
movq %r14, %rdi
callq 0x2... | psi_mutex_lock:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
sub rsp, 38h
mov r8d, edx
mov rcx, rsi
mov r14, rdi
lea r15, PSI_server
mov rax, [r15]
mov rsi, [rdi+40h]
lea rdi, [rbp+var_48]
xor edx, edx
call qword ptr [rax+190h]
mov rbx, rax
mov rdi, r14... | long long psi_mutex_lock(long long a1, long long a2, unsigned int a3)
{
long long v3; // rbx
unsigned int v4; // r14d
_BYTE v6[72]; // [rsp+8h] [rbp-48h] BYREF
v3 = (*((long long ( **)(_BYTE *, _QWORD, _QWORD, long long, _QWORD))PSI_server[0] + 50))(
v6,
*(_QWORD *)(a1 + 64),
0LL,
... | psi_mutex_lock:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x38
MOV R8D,EDX
MOV RCX,RSI
MOV R14,RDI
LEA R15,[0x3f3d68]
MOV RAX,qword ptr [R15]
MOV RSI,qword ptr [RDI + 0x40]
LEA RDI,[RBP + -0x48]
XOR EDX,EDX
CALL qword ptr [RAX + 0x190]
MOV RBX,RAX
MOV RDI,R14
CALL 0x00124480
MOV R14D,EAX
TEST RBX,RBX
JZ 0... |
int psi_mutex_lock(pthread_mutex_t *param_1,int8 param_2,int4 param_3)
{
int iVar1;
long lVar2;
int1 local_50 [48];
lVar2 = (**(code **)(PSI_server + 400))
(local_50,*(int8 *)((long)param_1 + 0x40),0,param_2,param_3);
iVar1 = pthread_mutex_lock(param_1);
if (lVar2 != 0) {
(**(co... | |
27,895 | LefDefParser::defiPath::addViaMask(int) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defiPath.cpp | void defiPath::addViaMask(int colorMask) {
int* mask;
if (numUsed_ == numAllocated_)
bumpSize(numAllocated_ * 2);
mask = (int*)malloc(sizeof(int));
*mask = colorMask;
keys_[numUsed_] = 'C'; //viaMask
data_[numUsed_] = mask;
(numUsed_)++;
} | O0 | cpp | LefDefParser::defiPath::addViaMask(int):
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movq 0x20(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movl 0x10(%rcx), %eax
cmpl 0x14(%rcx), %eax
jne 0x18b2e
movq 0x8(%rsp), %rdi
movl 0x14(%rdi), %esi
shll %esi
callq 0x179b0
movl $0x4, %edi
callq 0x72d0
movq %rax, %rcx
movq 0x... | _ZN12LefDefParser8defiPath10addViaMaskEi:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov [rsp+28h+var_C], esi
mov rcx, [rsp+28h+var_8]
mov [rsp+28h+var_20], rcx
mov eax, [rcx+10h]
cmp eax, [rcx+14h]
jnz short loc_18B2E
mov rdi, [rsp+28h+var_20]; this
mov esi, [rdi+14h]
shl esi, 1;... | LefDefParser::defiPath * LefDefParser::defiPath::addViaMask(LefDefParser::defiPath *this, int a2)
{
_DWORD *v2; // rcx
LefDefParser::defiPath *result; // rax
if ( *((_DWORD *)this + 4) == *((_DWORD *)this + 5) )
LefDefParser::defiPath::bumpSize(this, 2 * *((_DWORD *)this + 5));
v2 = (_DWORD *)malloc(4LL);
... | addViaMask:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV dword ptr [RSP + 0x1c],ESI
MOV RCX,qword ptr [RSP + 0x20]
MOV qword ptr [RSP + 0x8],RCX
MOV EAX,dword ptr [RCX + 0x10]
CMP EAX,dword ptr [RCX + 0x14]
JNZ 0x00118b2e
MOV RDI,qword ptr [RSP + 0x8]
MOV ESI,dword ptr [RDI + 0x14]
SHL ESI,0x1
CALL 0x001179b0
LAB_00... |
/* LefDefParser::defiPath::addViaMask(int) */
void __thiscall LefDefParser::defiPath::addViaMask(defiPath *this,int param_1)
{
int *piVar1;
if (*(int *)(this + 0x10) == *(int *)(this + 0x14)) {
bumpSize(this,*(int *)(this + 0x14) << 1);
}
piVar1 = (int *)malloc(4);
*piVar1 = param_1;
*(int4 *)(*(l... | |
27,896 | flush_log_for_bitmap | eloqsql/storage/maria/ma_bitmap.c | static my_bool
flush_log_for_bitmap(PAGECACHE_IO_HOOK_ARGS *args __attribute__ ((unused)))
{
#ifdef DBUG_ASSERT_EXISTS
const MARIA_SHARE *share= (MARIA_SHARE*)args->data;
#endif
DBUG_ENTER("flush_log_for_bitmap");
DBUG_ASSERT(share->now_transactional);
/*
WAL imposes that UNDOs reach disk before bitmap is f... | O0 | c | flush_log_for_bitmap:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
jmp 0x3dd0e
jmp 0x3dd10
movb $0x0, %al
callq 0x4a710
movq %rax, %rdi
callq 0x4c350
movb %al, -0x9(%rbp)
movb -0x9(%rbp), %al
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| flush_log_for_bitmap:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
jmp short $+2
loc_3DD0E:
jmp short $+2
loc_3DD10:
mov al, 0
call translog_get_horizon
mov rdi, rax
call translog_flush
mov [rbp+var_9], al
mov al, [rbp+var_9]
add rsp, 10h
pop rbp
retn
| long long flush_log_for_bitmap()
{
long long horizon; // rax
horizon = translog_get_horizon();
return translog_flush(horizon);
}
| flush_log_for_bitmap:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
JMP 0x0013dd0e
LAB_0013dd0e:
JMP 0x0013dd10
LAB_0013dd10:
MOV AL,0x0
CALL 0x0014a710
MOV RDI,RAX
CALL 0x0014c350
MOV byte ptr [RBP + -0x9],AL
MOV AL,byte ptr [RBP + -0x9]
ADD RSP,0x10
POP RBP
RET
|
int1 flush_log_for_bitmap(void)
{
int8 uVar1;
int1 uVar2;
uVar1 = translog_get_horizon();
uVar2 = translog_flush(uVar1);
return uVar2;
}
| |
27,897 | nglog::tools::(anonymous namespace)::DemangleInplace(char*, unsigned long) | ng-log[P]ng-log/src/symbolize.cc | ATTRIBUTE_NOINLINE
void DemangleInplace(char* out, size_t out_size) {
char demangled[256]; // Big enough for sane demangled symbols.
if (Demangle(out, demangled, sizeof(demangled))) {
// Demangling succeeded. Copy to out if the space allows.
size_t len = strlen(demangled);
if (len + 1 <= out_size) { /... | O1 | cpp | nglog::tools::(anonymous namespace)::DemangleInplace(char*, unsigned long):
pushq %r14
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rsi
movl $0x100, %edx # imm = 0x100
callq 0xa698
testb %al, %al
je 0x21f23
movq %rsp, %rdi
callq 0x71f0
leaq 0x1(%rax), %rdx... | _ZN5nglog5tools12_GLOBAL__N_115DemangleInplaceEPcm:
push r14
push rbx
sub rsp, 108h
mov r14, rsi
mov rbx, rdi
mov rsi, rsp; char *
mov edx, offset qword_100; char *
call _ZN5nglog5tools8DemangleEPKcPcm; nglog::tools::Demangle(char const*,char *,ulong)
test al, al
jz short loc_21F23
... | unsigned long long nglog::tools::`anonymous namespace'::DemangleInplace(
nglog::tools::_anonymous_namespace_ *this,
char *a2)
{
unsigned long long result; // rax
char v3[280]; // [rsp+0h] [rbp-118h] BYREF
result = nglog::tools::Demangle(this, v3, (char *)qword_100);
if ( (_BYTE)result )
{
... | DemangleInplace:
PUSH R14
PUSH RBX
SUB RSP,0x108
MOV R14,RSI
MOV RBX,RDI
MOV RSI,RSP
MOV EDX,0x100
CALL 0x0010a698
TEST AL,AL
JZ 0x00121f23
MOV RDI,RSP
CALL 0x001071f0
LEA RDX,[RAX + 0x1]
CMP RDX,R14
JA 0x00121f23
CMP RAX,0x100
JNC 0x00121f2e
MOV RSI,RSP
MOV RDI,RBX
CALL 0x00107400
LAB_00121f23:
ADD RSP,0x108
POP RBX
P... |
/* nglog::tools::(anonymous namespace)::DemangleInplace(char*, unsigned long) */
void nglog::tools::(anonymous_namespace)::DemangleInplace(char *param_1,ulong param_2)
{
char cVar1;
size_t sVar2;
char acStack_118 [264];
cVar1 = Demangle(param_1,acStack_118,0x100);
if (cVar1 != '\0') {
sVar2 = strlen... | |
27,898 | nglog::tools::(anonymous namespace)::DemangleInplace(char*, unsigned long) | ng-log[P]ng-log/src/symbolize.cc | ATTRIBUTE_NOINLINE
void DemangleInplace(char* out, size_t out_size) {
char demangled[256]; // Big enough for sane demangled symbols.
if (Demangle(out, demangled, sizeof(demangled))) {
// Demangling succeeded. Copy to out if the space allows.
size_t len = strlen(demangled);
if (len + 1 <= out_size) { /... | O2 | cpp | nglog::tools::(anonymous namespace)::DemangleInplace(char*, unsigned long):
pushq %r14
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rsi
movl $0x100, %edx # imm = 0x100
callq 0xb1b0
testb %al, %al
je 0x1e68d
movq %rsp, %rdi
callq 0x8230
leaq 0x1(%rax), %rdx... | _ZN5nglog5tools12_GLOBAL__N_115DemangleInplaceEPcm:
push r14
push rbx
sub rsp, 108h
mov r14, rsi
mov rbx, rdi
mov rsi, rsp; char *
mov edx, offset qword_100; char *
call _ZN5nglog5tools8DemangleEPKcPcm; nglog::tools::Demangle(char const*,char *,ulong)
test al, al
jz short loc_1E68D
... | unsigned long long nglog::tools::`anonymous namespace'::DemangleInplace(
nglog::tools::_anonymous_namespace_ *this,
char *a2)
{
unsigned long long result; // rax
char v3[280]; // [rsp+0h] [rbp-118h] BYREF
result = nglog::tools::Demangle(this, v3, (char *)qword_100);
if ( (_BYTE)result )
{
... | DemangleInplace:
PUSH R14
PUSH RBX
SUB RSP,0x108
MOV R14,RSI
MOV RBX,RDI
MOV RSI,RSP
MOV EDX,0x100
CALL 0x0010b1b0
TEST AL,AL
JZ 0x0011e68d
MOV RDI,RSP
CALL 0x00108230
LEA RDX,[RAX + 0x1]
CMP RDX,R14
JA 0x0011e68d
CMP RAX,0x100
JNC 0x0011e698
MOV RSI,RSP
MOV RDI,RBX
CALL 0x00108470
LAB_0011e68d:
ADD RSP,0x108
POP RBX
P... |
/* nglog::tools::(anonymous namespace)::DemangleInplace(char*, unsigned long) */
void nglog::tools::(anonymous_namespace)::DemangleInplace(char *param_1,ulong param_2)
{
char cVar1;
size_t sVar2;
char acStack_118 [264];
cVar1 = Demangle(param_1,acStack_118,0x100);
if (cVar1 != '\0') {
sVar2 = strlen... | |
27,899 | stmt_cursor_fetch | eloqsql/libmariadb/libmariadb/mariadb_stmt.c | static int stmt_cursor_fetch(MYSQL_STMT *stmt, uchar **row)
{
uchar buf[STMT_ID_LENGTH + 4];
MYSQL_DATA *result= &stmt->result;
if (stmt->state < MYSQL_STMT_USE_OR_STORE_CALLED)
{
SET_CLIENT_STMT_ERROR(stmt, CR_COMMANDS_OUT_OF_SYNC, SQLSTATE_UNKNOWN, 0);
return(1);
}
/* do we have some prefetched ... | O3 | c | stmt_cursor_fetch:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x20(%rbp)
cmpl $0x3, 0x50(%rdi)
ja 0x21bf6
movl $0x7de, 0x108(%rbx) # imm = 0x7DE
leaq 0x30d(%rbx), %rdi
leaq 0x2c0ef(%rip), %rax # 0x4dca0
movq (%rax), %rsi
movl $0x5... | stmt_cursor_fetch:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
sub rsp, 18h
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_20], rax
cmp dword ptr [rdi+50h], 3
ja short loc_21BF6
mov dword ptr [rbx+108h], 7DEh
lea rdi, [rbx+30Dh]
lea rax, SQLSTATE_UNKNOWN
mov rsi,... | long long stmt_cursor_fetch(long long a1, _QWORD *a2)
{
unsigned int v2; // r14d
long long v3; // rax
int v4; // eax
long long v5; // rsi
long long v7; // rax
_DWORD v8[2]; // [rsp+8h] [rbp-28h] BYREF
unsigned long long v9; // [rsp+10h] [rbp-20h]
v9 = __readfsqword(0x28u);
if ( *(_DWORD *)(a1 + 80) ... | stmt_cursor_fetch:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x20],RAX
CMP dword ptr [RDI + 0x50],0x3
JA 0x00121bf6
MOV dword ptr [RBX + 0x108],0x7de
LEA RDI,[RBX + 0x30d]
LEA RAX,[0x14dca0]
MOV RSI,qword ptr [RAX]
MOV EDX,0x5
CALL 0x00113... |
int8 stmt_cursor_fetch(long param_1,int8 *param_2)
{
int iVar1;
long lVar2;
int8 uVar3;
long in_FS_OFFSET;
int4 local_30;
int4 local_2c;
long local_28;
local_28 = *(long *)(in_FS_OFFSET + 0x28);
if (*(uint *)(param_1 + 0x50) < 4) {
*(int4 *)(param_1 + 0x108) = 0x7de;
strncpy((char *)(para... |
Subsets and Splits
C++ Functions With Standard Library Dependencies
Identifies C++ functions that depend on standard library components, revealing patterns in how developers utilize STL libraries and potentially highlighting common coding practices or dependencies in the dataset.
C++ Standard Library Function Analysis
Filters C++ code examples that use standard library containers and types, providing useful insights into common programming patterns and data structures in the dataset.
Random Training Function Samples
Performs basic filtering and random sampling of assembly code data without revealing meaningful patterns or relationships.
Random Training Function Samples
Retrieves a random sample of 1000 records from the training dataset, providing basic data exploration but offering limited analytical value beyond seeing raw entries.