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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1,200 | my_strnncoll_win1250ch | eloqsql/strings/ctype-win1250ch.c | static int my_strnncoll_win1250ch(CHARSET_INFO *cs __attribute__((unused)),
const uchar *s1, size_t len1,
const uchar *s2, size_t len2,
my_bool s2_is_prefix)
{
int v1, v2;
const uchar *p1, * p2;
int pass1 = 0, pass2 = 0;
int diff;
if ... | O3 | c | my_strnncoll_win1250ch:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpq %r8, %rdx
movq %r8, %rax
cmovbq %rdx, %rax
testb %r9b, %r9b
cmoveq %rdx, %rax
movq %rax, -0x70(%rbp)
movslq %eax, %rdx
movq %r8, -0x78(%rbp)
movslq %r8d, %r9
movl $0x1, %eax
movl $0x1, %edi
subq %rsi, %rdi
mov... | my_strnncoll_win1250ch:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
cmp rdx, r8
mov rax, r8
cmovb rax, rdx
test r9b, r9b
cmovz rax, rdx
mov [rbp+var_70], rax
movsxd rdx, eax
mov [rbp+var_78], r8
movsxd r9, r8d
mov eax, 1
mov edi, 1
sub rd... | long long my_strnncoll_win1250ch(
long long a1,
_BYTE *a2,
unsigned long long a3,
unsigned __int8 *a4,
unsigned long long a5,
char a6)
{
int v6; // eax
long long v7; // rdx
long long v8; // r9
long long v9; // r13
_BYTE *v10; // r15
unsigned __int8 *v11; // r... | my_strnncoll_win1250ch:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
CMP RDX,R8
MOV RAX,R8
CMOVC RAX,RDX
TEST R9B,R9B
CMOVZ RAX,RDX
MOV qword ptr [RBP + -0x70],RAX
MOVSXD RDX,EAX
MOV qword ptr [RBP + -0x78],R8
MOVSXD R9,R8D
MOV EAX,0x1
MOV EDI,0x1
SUB RDI,RSI
MOV qword ptr [RBP + -0x60],RDI
SUB RAX... |
int my_strnncoll_win1250ch
(int8 param_1,byte *param_2,ulong param_3,byte *param_4,ulong param_5,
char param_6)
{
bool bVar1;
bool bVar2;
byte *pbVar3;
byte *pbVar4;
byte *pbVar5;
byte bVar6;
int iVar7;
ulong uVar9;
int1 *puVar10;
long lVar11;
int iVar12;
uint uVar1... | |
1,201 | llava_image_embed_make_with_filename | llama.cpp/examples/llava/llava.cpp | struct llava_image_embed * llava_image_embed_make_with_filename(struct clip_ctx * ctx_clip, int n_threads, const char * image_path) {
unsigned char* image_bytes;
long image_bytes_length;
auto loaded = load_file_to_bytes(image_path, &image_bytes, &image_bytes_length);
if (!loaded) {
LOG_ERR("%s: ... | O3 | cpp | llava_image_embed_make_with_filename:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r15
leaq 0x10d389(%rip), %rsi # 0x13b6eb
movq %rdx, %rdi
callq 0x24b10
testq %rax, %rax
je 0x2e423
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
movl ... | llava_image_embed_make_with_filename:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, rdx
mov ebp, esi
mov r15, rdi
lea rsi, aCrb+2; "rb"
mov rdi, rdx
call _fopen
test rax, rax
jz loc_2E423
mov r14, rax
mov rdi, rax
xor esi, es... | long long llava_image_embed_make_with_filename(long long a1, unsigned int a2, const char *a3)
{
const char *v3; // rbx
long long v4; // rax
long long v5; // r14
long long v6; // r12
long long v7; // rax
long long v8; // r13
unsigned int *v9; // rbx
long long v10; // rbp
long long v11; // rbx
const ... | llava_image_embed_make_with_filename:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDX
MOV EBP,ESI
MOV R15,RDI
LEA RSI,[0x23b6eb]
MOV RDI,RDX
CALL 0x00124b10
TEST RAX,RAX
JZ 0x0012e423
MOV R14,RAX
MOV RDI,RAX
XOR ESI,ESI
MOV EDX,0x2
CALL 0x00124ab0
MOV RDI,R14
CALL 0x00123520
MOV R12,RAX
M... |
int8 llava_image_embed_make_with_filename(int8 param_1,int4 param_2,char *param_3)
{
int iVar1;
FILE *__stream;
size_t __size;
void *__ptr;
int *piVar2;
size_t sVar3;
int8 uVar4;
__stream = fopen(param_3,"rb");
if (__stream == (FILE *)0x0) {
fprintf(*(FILE **)PTR_stderr_0028ef40,"%s: can\'t r... | |
1,202 | mysql_stmt_execute_start | eloqsql/libmariadb/libmariadb/mariadb_async.c | int STDCALL
mysql_stmt_execute_start(int *ret, MYSQL_STMT *stmt)
{
MK_ASYNC_START_BODY(
mysql_stmt_execute,
stmt->mysql,
{
WIN_SET_NONBLOCKING(stmt->mysql)
parms.stmt= stmt;
},
1,
r_int,
/*
If eg. mysql_change_user(), stmt->mysql will be NULL.
In this case, we cannot block.
*/
if (!stm... | O0 | c | mysql_stmt_execute_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 0x41848
movq -0x18(%rbp), %rdi
callq 0x30a30
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
movl $0x0, -0x4(%rbp)
jmp 0x41959
movq -0x18(%rbp), %... | mysql_stmt_execute_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_41848
mov rdi, [rbp+var_18]
call mysql_stmt_execute
mov ecx, eax
mov rax, [rbp+var_10]
mov [rax], ecx
... | long long mysql_stmt_execute_start(_DWORD *a1, long long a2)
{
long long v3; // [rsp+0h] [rbp-30h] BYREF
unsigned int *v4; // [rsp+8h] [rbp-28h]
int v5; // [rsp+14h] [rbp-1Ch]
long long v6; // [rsp+18h] [rbp-18h]
_DWORD *v7; // [rsp+20h] [rbp-10h]
v7 = a1;
v6 = a2;
if ( *(_QWORD *)(a2 + 56) )
{
... | mysql_stmt_execute_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 0x00141848
MOV RDI,qword ptr [RBP + -0x18]
CALL 0x00130a30
MOV ECX,EAX
MOV RAX,qword ptr [RBP + -0x10]
MOV dword ptr [RAX],ECX
MO... |
int4 mysql_stmt_execute_start(int4 *param_1,long param_2)
{
int4 uVar1;
long local_38;
int4 *local_30;
int local_24;
long local_20;
int4 *local_18;
int4 local_c;
local_20 = param_2;
local_18 = param_1;
if (*(long *)(param_2 + 0x38) == 0) {
uVar1 = mysql_stmt_execute(param_2);
*local_18 ... | |
1,203 | init_available_charsets | eloqsql/mysys/charset.c | static void init_available_charsets(void)
{
char fname[FN_REFLEN + sizeof(MY_CHARSET_INDEX)];
struct charset_info_st **cs;
MY_CHARSET_LOADER loader;
DBUG_ENTER("init_available_charsets");
bzero((char*) &all_charsets,sizeof(all_charsets));
bzero((char*) &my_collation_statistics, sizeof(my_collation_statisti... | O0 | c | init_available_charsets:
pushq %rbp
movq %rsp, %rbp
subq $0x300, %rsp # imm = 0x300
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
leaq 0xbb0b51(%rip), %rdi # 0xcafb40
xorl %esi, %esi
movl $0x4000, %edx # imm = 0x4000
callq 0x2a2f0
leaq 0xbb4bae(%rip), %rdi # 0xcb3bb0
xorl %esi, %esi
movl $0x4000,... | init_available_charsets:
push rbp
mov rbp, rsp
sub rsp, 300h
mov rax, fs:28h
mov [rbp+var_8], rax
lea rdi, all_charsets
xor esi, esi
mov edx, 4000h
call _memset
lea rdi, my_collation_statistics
xor esi, esi
mov edx, 4000h
call _memset
lea rax, key_memory_charsets
mov... | unsigned long long init_available_charsets()
{
long long charsets_dir; // rax
_QWORD *i; // [rsp+28h] [rbp-2D8h]
_BYTE v3[176]; // [rsp+30h] [rbp-2D0h] BYREF
_BYTE v4[536]; // [rsp+E0h] [rbp-220h] BYREF
unsigned long long v5; // [rsp+2F8h] [rbp-8h]
v5 = __readfsqword(0x28u);
memset(all_charsets, 0LL, siz... | init_available_charsets:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x300
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
LEA RDI,[0xdafb40]
XOR ESI,ESI
MOV EDX,0x4000
CALL 0x0012a2f0
LEA RDI,[0xdb3bb0]
XOR ESI,ESI
MOV EDX,0x4000
CALL 0x0012a2f0
LEA RAX,[0xdb8bcc]
MOV EDI,dword ptr [RAX]
LEA RSI,[0xdb3b40]
MOV EDX,0x10
LE... |
void init_available_charsets(void)
{
char cVar1;
char *__dest;
long in_FS_OFFSET;
long *local_2e0;
int1 local_2d8 [176];
int1 local_228 [536];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
memset(&all_charsets,0,0x4000);
memset(my_collation_statistics,0,0x4000);
my_hash_init2(key_... | |
1,204 | sessions::find(unsigned long) | untodesu[P]voxelius/game/server/sessions.cc | Session *sessions::find(std::uint64_t client_identity)
{
const auto it = identity_map.find(client_identity);
if(it != identity_map.cend())
return it->second;
return nullptr;
} | O3 | cpp | sessions::find(unsigned long):
pushq %rax
movq %rsp, %rsi
movq %rdi, (%rsi)
leaq 0xdf2b3(%rip), %rdi # 0x108ba0
callq 0x2df96
cmpl 0xdf2c8(%rip), %eax # 0x108bc0
jne 0x298fe
xorl %eax, %eax
jmp 0x29910
cltq
movq 0xdf2a1(%rip), %rcx # 0x108ba8
shlq $0x4, %rax
movq 0x8(%rcx,%rax), %rax
popq %rcx
retq
| _ZN8sessions4findEm:
push rax
mov rsi, rsp
mov [rsi], rdi
lea rdi, _ZL12identity_map; identity_map
call _ZNK7emhash87HashMapImP7SessionSt4hashImESt8equal_toImEE16find_filled_slotImEEjRKT_; emhash8::HashMap<ulong,Session *,std::hash<ulong>,std::equal_to<ulong>>::find_filled_slot<ulong>(ulong const&)
cm... | long long sessions::find(sessions *this)
{
int filled; // eax
filled = emhash8::HashMap<unsigned long,Session *,std::hash<unsigned long>,std::equal_to<unsigned long>>::find_filled_slot<unsigned long>(&identity_map);
if ( filled == HIDWORD(xmmword_108BB4) )
return 0LL;
else
return *(_QWORD *)(*((_QWORD... | find:
PUSH RAX
MOV RSI,RSP
MOV qword ptr [RSI],RDI
LEA RDI,[0x208ba0]
CALL 0x0012df96
CMP EAX,dword ptr [0x00208bc0]
JNZ 0x001298fe
XOR EAX,EAX
JMP 0x00129910
LAB_001298fe:
CDQE
MOV RCX,qword ptr [0x00208ba8]
SHL RAX,0x4
MOV RAX,qword ptr [RCX + RAX*0x1 + 0x8]
LAB_00129910:
POP RCX
RET
|
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* sessions::find(unsigned long) */
int8 sessions::find(ulong param_1)
{
uint uVar1;
int8 uVar2;
ulong local_8;
local_8 = param_1;
uVar1 = emhash8::
HashMap<unsigned_long,Session*,std::hash<unsigned_long>,std:... | |
1,205 | ma_ft_del | eloqsql/storage/maria/ma_ft_update.c | int _ma_ft_del(MARIA_HA *info, uint keynr, uchar *keybuf, const uchar *record,
my_off_t pos)
{
int error= -1;
FT_WORD *wlist;
DBUG_ENTER("_ma_ft_del");
DBUG_PRINT("enter",("keynr: %d",keynr));
if ((wlist= _ma_ft_parserecord(info, keynr, record, &info->ft_memroot)))
error= _ma_ft_erase(info,keynr,... | O0 | c | ma_ft_del:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl $0xffffffff, -0x2c(%rbp) # imm = 0xFFFFFFFF
jmp 0x8cf94
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0x20(%rbp), %rdx
movq -0x8(%rbp), %rcx
add... | _ma_ft_del:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov [rbp+var_2C], 0FFFFFFFFh
jmp short $+2
loc_8CF94:
mov rdi, [rbp+var_8]
mov esi, [rbp+var_C]
mov rdx, [rbp+var_2... | long long ma_ft_del(long long *a1, unsigned int a2, _BYTE *a3, long long a4, long long a5)
{
_QWORD *v6; // [rsp+8h] [rbp-38h]
unsigned int v7; // [rsp+14h] [rbp-2Ch]
v7 = -1;
v6 = (_QWORD *)ma_ft_parserecord(a1, a2, a4, (long long)(a1 + 101));
if ( v6 )
v7 = ma_ft_erase(a1, a2, a3, v6, a5);
free_root... | _ma_ft_del:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV dword ptr [RBP + -0x2c],0xffffffff
JMP 0x0018cf94
LAB_0018cf94:
MOV RDI,qword ptr [RBP + -0x8]
MOV ESI,dword ptr ... |
int4
_ma_ft_del(long param_1,int4 param_2,int8 param_3,int8 param_4,int8 param_5)
{
long lVar1;
int4 local_34;
local_34 = 0xffffffff;
lVar1 = _ma_ft_parserecord(param_1,param_2,param_4,param_1 + 0x328);
if (lVar1 != 0) {
local_34 = _ma_ft_erase(param_1,param_2,param_3,lVar1,param_5);
}
free_root(... | |
1,206 | nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ... | hkr04[P]cpp-mcp/common/json.hpp | std::pair<iterator, bool> emplace(const key_type& key, T&& t)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return {it, false};
}
}
Container::emplace_back(key, std::forward<T>(t));
... | O3 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE7emplaceERSH_OSD_:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov [rsp+38h+... | long long nlohmann::json_abi_v3_11_3::ordered_map<std::string,nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,std::less<void>,std::allocator<s... | emplace:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV qword ptr [RSP],RDX
MOV R12,RSI
MOV R14,RDI
MOV RBX,qword ptr [RDI]
MOV R15,qword ptr [RDI + 0x8]
CMP RBX,R15
JZ 0x0011073e
MOV R13,qword ptr [R12]
MOV RBP,qword ptr [R12 + 0x8]
LAB_00110718:
CMP qword ptr [RBX + 0x8],RBP
JNZ 0x00110735
TEST RB... |
/* nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::string,
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all... | |
1,207 | init_alloc_root | eloqsql/mysys/my_alloc.c | void init_alloc_root(PSI_memory_key key, MEM_ROOT *mem_root, size_t block_size,
size_t pre_alloc_size __attribute__((unused)),
myf my_flags)
{
DBUG_ENTER("init_alloc_root");
DBUG_PRINT("enter",("root: %p prealloc: %zu", mem_root, pre_alloc_size));
mem_root->free= mem_root->used= mem_... | O3 | c | init_alloc_root:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rsi)
xorl %eax, %eax
movq %rax, 0x10(%rsi)
movq $0x20, 0x18(%rsi)
andq $-0x2, %rdx
movl %r8d, %ecx
shrl $0x10, %ecx
andl $0x1, %ecx
addq %rdx, %rcx
addq $-0x28, %rcx
movq %rcx, 0x20... | init_alloc_root:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword ptr [rsi], xmm0
xor eax, eax
mov [rsi+10h], rax
mov qword ptr [rsi+18h], 20h ; ' '
and rdx, 0FFFFFFFFFFFFFFFEh
mov ecx, r8d
shr ecx, 10h
and ecx, ... | long long init_alloc_root(long long a1, long long *a2, long long a3, long long a4, long long a5)
{
long long result; // rax
*(_OWORD *)a2 = 0LL;
result = 0LL;
a2[2] = 0LL;
a2[3] = 32LL;
a2[4] = (a3 & 0xFFFFFFFFFFFFFFFELL) + (WORD1(a5) & 1) - 40;
a2[6] = 0LL;
a2[5] = 4LL;
*((_DWORD *)a2 + 14) = a1;
... | init_alloc_root:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RCX
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RSI],XMM0
XOR EAX,EAX
MOV qword ptr [RSI + 0x10],RAX
MOV qword ptr [RSI + 0x18],0x20
AND RDX,-0x2
MOV ECX,R8D
SHR ECX,0x10
AND ECX,0x1
ADD RCX,RDX
ADD RCX,-0x28
MOV qword ptr [RSI + 0x20],RCX
MOV qw... |
void init_alloc_root(int4 param_1,long *param_2,ulong param_3,long param_4,int8 param_5)
{
long lVar1;
*param_2 = 0;
param_2[1] = 0;
param_2[2] = 0;
param_2[3] = 0x20;
param_2[4] = (ulong)((uint)param_5 >> 0x10 & 1) + (param_3 & 0xfffffffffffffffe) + -0x28;
param_2[6] = 0;
param_2[5] = 4;
*(int4 ... | |
1,208 | ma_scan_init_block_record | eloqsql/storage/maria/ma_blockrec.c | my_bool _ma_scan_init_block_record(MARIA_HA *info)
{
MARIA_SHARE *share= info->s;
myf flag= MY_WME | (share->temporary ? MY_THREAD_SPECIFIC : 0);
DBUG_ENTER("_ma_scan_init_block_record");
DBUG_ASSERT(info->dfile.file == share->bitmap.file.file);
/*
bitmap_buff may already be allocated if this is the seco... | O0 | c | ma_scan_init_block_record:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movsbl 0x7d9(%rax), %edx
xorl %eax, %eax
movl $0x10000, %ecx # imm = 0x10000
cmpl $0x0, %edx
cmovnel %ecx, %eax
orl $0x10, %eax
mo... | _ma_scan_init_block_record:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
mov rax, [rax]
mov [rbp+var_18], rax
mov rax, [rbp+var_18]
movsx edx, byte ptr [rax+7D9h]
xor eax, eax
mov ecx, 10000h
cmp edx, 0
cmovnz eax, ecx
or eax, 10h
mov ... | char ma_scan_init_block_record(_QWORD *a1)
{
int v1; // eax
long long v2; // rax
long long v4; // [rsp+8h] [rbp-18h]
v4 = *a1;
v1 = 0;
if ( *(_BYTE *)(*a1 + 2009LL) )
v1 = 0x10000;
if ( !a1[68] )
{
v2 = my_malloc(0LL, (unsigned int)(2 * *(_DWORD *)(v4 + 1980)), v1 | 0x10u);
a1[68] = v2;
... | _ma_scan_init_block_record:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOVSX EDX,byte ptr [RAX + 0x7d9]
XOR EAX,EAX
MOV ECX,0x10000
CMP EDX,0x0
CMOVNZ EAX,ECX
OR EAX,0x10
MOV EA... |
int1 _ma_scan_init_block_record(long *param_1)
{
long lVar1;
int1 uVar2;
uint uVar3;
long lVar4;
lVar1 = *param_1;
uVar3 = 0;
if (*(char *)(lVar1 + 0x7d9) != '\0') {
uVar3 = 0x10000;
}
if (param_1[0x44] == 0) {
lVar4 = my_malloc(0,*(int *)(lVar1 + 0x7bc) << 1,uVar3 | 0x10);
param_1[0x... | |
1,209 | js_math_round | bluesky950520[P]quickjs/quickjs.c | static double js_math_round(double a)
{
JSFloat64Union u;
uint64_t frac_mask, one;
unsigned int e, s;
u.d = a;
e = (u.u64 >> 52) & 0x7ff;
if (e < 1023) {
/* abs(a) < 1 */
if (e == (1023 - 1) && u.u64 != 0xbfe0000000000000) {
/* abs(a) > 0.5 or a = 0.5: return +/-1.0 ... | O2 | c | js_math_round:
movq %xmm0, %rax
movq %rax, %rdx
shrq $0x34, %rdx
andl $0x7ff, %edx # imm = 0x7FF
cmpl $0x3fe, %edx # imm = 0x3FE
ja 0x6d70f
setne %dl
movabsq $-0x4020000000000000, %rcx # imm = 0xBFE0000000000000
cmpq %rcx, %rax
sete %sil
movabsq $-0x8000000000000000, %rcx # imm = 0x800000000000000... | js_math_round:
movq rax, xmm0
mov rdx, rax
shr rdx, 34h
and edx, 7FFh
cmp edx, 3FEh
ja short loc_6D70F
setnz dl
mov rcx, 0BFE0000000000000h
cmp rax, rcx
setz sil
mov rcx, 8000000000000000h
and rcx, rax
or sil, dl
jnz short loc_6D709
mov rax, 3FF0000000000000h
or... | double js_math_round(double result)
{
long long v1; // rdx
double v2; // rcx
v1 = (*(_QWORD *)&result >> 52) & 0x7FFLL;
if ( (unsigned int)v1 > 0x3FE )
{
if ( (unsigned int)v1 <= 0x432 )
*(_QWORD *)&result = (((unsigned long long)(1LL << (51 - (unsigned __int8)(*(_QWORD *)&result >> 52))) >> 1)
... | js_math_round:
MOVQ RAX,XMM0
MOV RDX,RAX
SHR RDX,0x34
AND EDX,0x7ff
CMP EDX,0x3fe
JA 0x0016d70f
SETNZ DL
MOV RCX,-0x4020000000000000
CMP RAX,RCX
SETZ SIL
MOV RCX,-0x8000000000000000
AND RCX,RAX
OR SIL,DL
JNZ 0x0016d709
MOV RAX,0x3ff0000000000000
OR RCX,RAX
LAB_0016d709:
MOVQ XMM0,RCX
RET
LAB_0016d70f:
CMP EDX,0x432
JA ... |
ulong js_math_round(ulong param_1)
{
ulong uVar1;
uint uVar2;
uVar2 = (uint)(param_1 >> 0x34) & 0x7ff;
if (uVar2 < 0x3ff) {
uVar1 = param_1 & 0x8000000000000000;
if (param_1 != 0xbfe0000000000000 && uVar2 == 0x3fe) {
uVar1 = uVar1 | 0x3ff0000000000000;
}
return uVar1;
}
if (uVar2 ... | |
1,210 | testing::TestPartResult::ExtractSummary[abi:cxx11](char const*) | seiftnesse[P]memoryallocator/build_O3/_deps/googletest-src/googletest/src/gtest-test-part.cc | std::string TestPartResult::ExtractSummary(const char* message) {
const char* const stack_trace = strstr(message, internal::kStackTraceMarker);
return stack_trace == nullptr ? message : std::string(message, stack_trace);
} | O3 | cpp | testing::TestPartResult::ExtractSummary[abi:cxx11](char const*):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x24cd0(%rip), %rsi # 0x41105
movq %r14, %rdi
callq 0x9100
testq %rax, %rax
je 0x1c459
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq ... | _ZN7testing14TestPartResult14ExtractSummaryB5cxx11EPKc:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
lea rsi, _ZN7testing8internal17kStackTraceMarkerE; "\nStack trace:\n"
mov rdi, r14
call _strstr
test rax, rax
jz short loc_1C459
lea rcx, [rbx+10h]
mov [rbx], rcx
mov ... | _QWORD * testing::TestPartResult::ExtractSummary[abi:cxx11](_QWORD *a1, _BYTE *a2)
{
long long v2; // rax
long long v3; // rax
_BYTE v5[17]; // [rsp+1h] [rbp-11h] BYREF
v5[0] = HIBYTE(v2);
v3 = strstr(a2, "\nStack trace:\n");
if ( v3 )
{
*a1 = a1 + 2;
std::string::_M_construct<char const*>((long ... | ExtractSummary[abi:cxx11]:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
LEA RSI,[0x141105]
MOV RDI,R14
CALL 0x00109100
TEST RAX,RAX
JZ 0x0011c459
LEA RCX,[RBX + 0x10]
MOV qword ptr [RBX],RCX
MOV RDI,RBX
MOV RSI,R14
MOV RDX,RAX
CALL 0x0010fc64
JMP 0x0011c469
LAB_0011c459:
LEA RDX,[RSP + 0x7]
MOV RDI,RBX
MOV RSI,R1... |
/* testing::TestPartResult::ExtractSummary[abi:cxx11](char const*) */
TestPartResult * __thiscall
testing::TestPartResult::ExtractSummary_abi_cxx11_(TestPartResult *this,char *param_1)
{
char *pcVar1;
allocator local_11;
pcVar1 = strstr(param_1,"\nStack trace:\n");
if (pcVar1 == (char *)0x0) {
std::__... | |
1,211 | _gnu_cxx::__normal_iterator<std::pair<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<un... | monkey531[P]llama/common/json.hpp | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O0 | cpp | _gnu_cxx::__normal_iterator<std::pair<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<un... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | |||
1,212 | _gnu_cxx::__normal_iterator<std::pair<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<un... | monkey531[P]llama/common/json.hpp | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O2 | cpp | _gnu_cxx::__normal_iterator<std::pair<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<un... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... |
string * _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA17_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | |
1,213 | lo0bits | eloqsql/libmariadb/libmariadb/ma_dtoa.c | static int lo0bits(ULong *y)
{
register int k;
register ULong x= *y;
if (x & 7)
{
if (x & 1)
return 0;
if (x & 2)
{
*y= x >> 1;
return 1;
}
*y= x >> 2;
return 2;
}
k= 0;
if (!(x & 0xffff))
{
k= 16;
x>>= 16;
}
if (!(x & 0xff))
{
k+= 8;
x>>=... | O0 | c | lo0bits:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
andl $0x7, %eax
cmpl $0x0, %eax
je 0x4fdfd
movl -0x18(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x4fdc3
movl $0x0, -0x4(%rbp)
jmp 0x4feb6
movl -0x18(%rbp), %eax
andl $0x... | lo0bits:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
mov eax, [rax]
mov [rbp+var_18], eax
mov eax, [rbp+var_18]
and eax, 7
cmp eax, 0
jz short loc_4FDFD
mov eax, [rbp+var_18]
and eax, 1
cmp eax, 0
jz short loc_4FDC3
mov [rbp+var_4], 0
jm... | long long lo0bits(unsigned int *a1)
{
unsigned int v2; // [rsp+0h] [rbp-18h]
unsigned int v3; // [rsp+4h] [rbp-14h]
v2 = *a1;
if ( (*a1 & 7) != 0 )
{
if ( (v2 & 1) != 0 )
{
return 0;
}
else if ( (v2 & 2) != 0 )
{
*a1 = v2 >> 1;
return 1;
}
else
{
*a1 =... | lo0bits:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0x18],EAX
MOV EAX,dword ptr [RBP + -0x18]
AND EAX,0x7
CMP EAX,0x0
JZ 0x0014fdfd
MOV EAX,dword ptr [RBP + -0x18]
AND EAX,0x1
CMP EAX,0x0
JZ 0x0014fdc3
MOV dword ptr [RBP + -0x4],0x0... |
int lo0bits(uint *param_1)
{
uint local_20;
int local_1c;
int local_c;
local_20 = *param_1;
if ((local_20 & 7) == 0) {
local_1c = 0;
if ((local_20 & 0xffff) == 0) {
local_1c = 0x10;
local_20 = local_20 >> 0x10;
}
if ((local_20 & 0xff) == 0) {
local_1c = local_1c + 8;
... | |
1,214 | c4_tx_verify_log_data | corpus-core[P]colibri-stateless/src/chains/eth/verifier/eth_tx.c | INTERNAL bool c4_tx_verify_log_data(verify_ctx_t* ctx, ssz_ob_t log, bytes32_t block_hash, uint64_t block_number, uint32_t tx_index, bytes_t tx_raw, bytes_t receipt_raw) {
bytes32_t tx_hash = {0};
bytes_t val = {0};
bytes_t logs = {0};
tx_type_t type = 0;
keccak(tx_raw, tx_hash);
if (!bytes_eq... | O1 | c | c4_tx_verify_log_data:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp # imm = 0x138
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, 0x18(%rsp)
leaq 0x170(%rsp), %rbx
xorps %xmm0, %xmm0
leaq 0x110(%rsp), %r13
movaps %xmm0, 0x10(%r13)
movaps %xmm0, (%r13)
movaps ... | c4_tx_verify_log_data:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 138h
mov ebp, ecx
mov r12, rdx
mov r15, rsi
mov [rsp+168h+var_150], rdi
lea rbx, [rsp+168h+arg_0]
xorps xmm0, xmm0
lea r13, [rsp+168h+var_58]
movaps xmmword ptr [r13+10h], xmm0
movaps ... | long long c4_tx_verify_log_data(
long long a1,
long long a2,
long long a3,
int a4,
unsigned int a5,
long long a6,
__int128 a7,
long long a8,
char a9)
{
long long v11; // r14
unsigned int v12; // r13d
const char *v13; // r15
int v14; // eax... | c4_tx_verify_log_data:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x138
MOV EBP,ECX
MOV R12,RDX
MOV R15,RSI
MOV qword ptr [RSP + 0x18],RDI
LEA RBX,[RSP + 0x170]
XORPS XMM0,XMM0
LEA R13,[RSP + 0x110]
MOVAPS xmmword ptr [R13 + 0x10],XMM0
MOVAPS xmmword ptr [R13],XMM0
MOVAPS xmmword ptr [RSP + 0x60],XMM... |
ulong c4_tx_verify_log_data
(long param_1,int8 param_2,long param_3,int param_4,int4 param_5,
int8 param_6,int8 param_7,int8 param_8,int8 param_9)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
uint uVar5;
long lVar6;
int iVar7;
ulong uVar8;
char *pcVar9;
bool bVar1... | |
1,215 | c4_tx_verify_log_data | corpus-core[P]colibri-stateless/src/chains/eth/verifier/eth_tx.c | INTERNAL bool c4_tx_verify_log_data(verify_ctx_t* ctx, ssz_ob_t log, bytes32_t block_hash, uint64_t block_number, uint32_t tx_index, bytes_t tx_raw, bytes_t receipt_raw) {
bytes32_t tx_hash = {0};
bytes_t val = {0};
bytes_t logs = {0};
tx_type_t type = 0;
keccak(tx_raw, tx_hash);
if (!bytes_eq... | O3 | c | c4_tx_verify_log_data:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movl %ecx, 0x5c(%rsp)
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbp
leaq 0x190(%rsp), %rbx
xorps %xmm0, %xmm0
leaq 0x130(%rsp), %r13
movaps %xmm0, 0x10(%r13)
movaps %xmm0, (%r13)
movaps ... | c4_tx_verify_log_data:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 158h
mov [rsp+188h+var_12C], ecx
mov r12, rdx
mov r15, rsi
mov rbp, rdi
lea rbx, [rsp+188h+arg_0]
xorps xmm0, xmm0
lea r13, [rsp+188h+var_58]
movaps xmmword ptr [r13+10h], xmm0
movaps ... | char c4_tx_verify_log_data(
long long a1,
long long a2,
long long a3,
int a4,
unsigned int a5,
long long a6,
char a7,
int a8,
int a9,
char a10)
{
char *v12; // r13
long long v13; // r14
int v14; // eax
int v15; // r12d
unsigned i... | c4_tx_verify_log_data:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x158
MOV dword ptr [RSP + 0x5c],ECX
MOV R12,RDX
MOV R15,RSI
MOV RBP,RDI
LEA RBX,[RSP + 0x190]
XORPS XMM0,XMM0
LEA R13,[RSP + 0x130]
MOVAPS xmmword ptr [R13 + 0x10],XMM0
MOVAPS xmmword ptr [R13],XMM0
MOVAPS xmmword ptr [RSP + 0x80],XMM... |
int8
c4_tx_verify_log_data
(long param_1,int8 param_2,long param_3,int param_4,int4 param_5,
int8 param_6,int8 param_7,int8 param_8,int8 param_9)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
uint uVar5;
long lVar6;
char *pcVar7;
uint uVar8;
int iVar9;
int8 local_168;
int8 u... | |
1,216 | minja::SubscriptExpr::SubscriptExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, std::shared_ptr<minja::Expression>&&) | monkey531[P]llama/common/minja.hpp | SubscriptExpr(const Location & location, std::shared_ptr<Expression> && b, std::shared_ptr<Expression> && i)
: Expression(location), base(std::move(b)), index(std::move(i)) {} | O2 | cpp | minja::SubscriptExpr::SubscriptExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, std::shared_ptr<minja::Expression>&&):
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
callq 0x63572
leaq 0x9446a(%rip), %rax # 0xff768
addq $0x10, %rax
movq %rax, (%r15)
andq $0x0, 0x2... | _ZN5minja13SubscriptExprC2ERKNS_8LocationEOSt10shared_ptrINS_10ExpressionEES7_:
push r15
push r14
push rbx
mov rbx, rcx
mov r14, rdx
mov r15, rdi
call _ZN5minja10ExpressionC2ERKNS_8LocationE; minja::Expression::Expression(minja::Location const&)
lea rax, _ZTVN5minja13SubscriptExprE; `vtable ... | long long * minja::SubscriptExpr::SubscriptExpr(long long a1, _QWORD *a2, __int128 *a3, __int128 *a4)
{
long long *result; // rax
__int128 v7; // xmm0
__int128 v8; // xmm0
minja::Expression::Expression((_QWORD *)a1, a2);
result = &`vtable for'minja::SubscriptExpr + 2;
*(_QWORD *)a1 = &`vtable for'minja::Su... | SubscriptExpr:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RCX
MOV R14,RDX
MOV R15,RDI
CALL 0x00163572
LEA RAX,[0x1ff768]
ADD RAX,0x10
MOV qword ptr [R15],RAX
AND qword ptr [R15 + 0x28],0x0
MOVUPS XMM0,xmmword ptr [R14]
AND qword ptr [R14 + 0x8],0x0
MOVUPS xmmword ptr [R15 + 0x20],XMM0
AND qword ptr [R14],0x0
AND qword ptr [R15... |
/* minja::SubscriptExpr::SubscriptExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&,
std::shared_ptr<minja::Expression>&&) */
void __thiscall
minja::SubscriptExpr::SubscriptExpr
(SubscriptExpr *this,Location *param_1,shared_ptr *param_2,shared_ptr *param_3)
{
int8 uVar1;
Expressio... | |
1,217 | js_promise_try | bluesky950520[P]quickjs/quickjs.c | static JSValue js_promise_try(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue result_promise, resolving_funcs[2], ret, ret2;
BOOL is_reject = 0;
if (!JS_IsObject(this_val))
return JS_ThrowTypeErrorNotAnObject(ctx);
result_promise = js_new_promi... | O2 | c | js_promise_try:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %ecx, %ebp
movq %rdx, %rcx
movq %rdi, %rbx
cmpl $-0x1, %ecx
jne 0x4c049
movq %r8, %r13
movq %rsi, %rdx
leaq 0x20(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x33520
movq %rax, %r15
movq %rdx, %r14
cmpl $0x6, %r... | js_promise_try:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov ebp, ecx
mov rcx, rdx
mov rbx, rdi
cmp ecx, 0FFFFFFFFh
jnz loc_4C049
mov r13, r8
mov rdx, rsi
lea r12, [rsp+78h+var_58]
mov rdi, rbx
mov rsi, r12
call js_new_promise_ca... | long long js_promise_try(
long long a1,
unsigned long long a2,
unsigned long long a3,
int a4,
_QWORD *a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128... | js_promise_try:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV EBP,ECX
MOV RCX,RDX
MOV RBX,RDI
CMP ECX,-0x1
JNZ 0x0014c049
MOV R13,R8
MOV RDX,RSI
LEA R12,[RSP + 0x20]
MOV RDI,RBX
MOV RSI,R12
CALL 0x00133520
MOV R15,RAX
MOV R14,RDX
CMP R14D,0x6
JZ 0x0014c065
DEC EBP
LEA RAX,[R13 + 0x10]
MOV RSI,q... |
int1 [16]
js_promise_try(long param_1,int8 param_2,int param_3,int param_4,int8 *param_5)
{
long lVar1;
int8 *puVar2;
int1 auVar3 [16];
int1 auVar4 [16];
int1 local_68 [16];
int8 local_58;
int8 local_50;
int8 local_48;
int8 local_40;
if (param_3 == -1) {
puVar2 = &local_58;
auVar3 = js... | |
1,218 | lo0bits | eloqsql/libmariadb/libmariadb/ma_dtoa.c | static int lo0bits(ULong *y)
{
register int k;
register ULong x= *y;
if (x & 7)
{
if (x & 1)
return 0;
if (x & 2)
{
*y= x >> 1;
return 1;
}
*y= x >> 2;
return 2;
}
k= 0;
if (!(x & 0xffff))
{
k= 16;
x>>= 16;
}
if (!(x & 0xff))
{
k+= 8;
x>>=... | O3 | c | lo0bits:
pushq %rbp
movq %rsp, %rbp
movl (%rdi), %ecx
testb $0x7, %cl
je 0x97f68
xorl %eax, %eax
testb $0x1, %cl
jne 0x97fcf
testb $0x2, %cl
jne 0x97fc6
shrl $0x2, %ecx
movl $0x2, %eax
jmp 0x97fcd
movl %ecx, %eax
shrl $0x10, %eax
xorl %edx, %edx
testl $0xfff8, %ecx # imm = 0xFFF8
cmovnel %ecx, %eax
sete %dl
s... | lo0bits:
push rbp
mov rbp, rsp
mov ecx, [rdi]
test cl, 7
jz short loc_97F68
xor eax, eax
test cl, 1
jnz short loc_97FCF
test cl, 2
jnz short loc_97FC6
shr ecx, 2
mov eax, 2
jmp short loc_97FCD
loc_97F68:
mov eax, ecx
shr eax, 10h
xor edx, edx
test ecx, 0FF... | long long lo0bits(unsigned int *a1)
{
unsigned int v1; // ecx
long long result; // rax
unsigned int v3; // ecx
unsigned int v4; // eax
int v5; // edx
int v6; // edx
int v7; // ecx
unsigned int v8; // esi
unsigned int v9; // edx
unsigned int v10; // r8d
v1 = *a1;
if ( (*a1 & 7) != 0 )
{
r... | lo0bits:
PUSH RBP
MOV RBP,RSP
MOV ECX,dword ptr [RDI]
TEST CL,0x7
JZ 0x00197f68
XOR EAX,EAX
TEST CL,0x1
JNZ 0x00197fcf
TEST CL,0x2
JNZ 0x00197fc6
SHR ECX,0x2
MOV EAX,0x2
JMP 0x00197fcd
LAB_00197f68:
MOV EAX,ECX
SHR EAX,0x10
XOR EDX,EDX
TEST ECX,0xfff8
CMOVNZ EAX,ECX
SETZ DL
SHL EDX,0x4
LEA ECX,[RDX + 0x8]
MOV ESI,EAX
S... |
int lo0bits(uint *param_1)
{
uint uVar1;
int iVar2;
uint uVar3;
int iVar4;
bool bVar5;
uVar3 = *param_1;
if ((uVar3 & 7) == 0) {
bVar5 = (uVar3 & 0xfff8) == 0;
uVar1 = uVar3 >> 0x10;
if (!bVar5) {
uVar1 = uVar3;
}
iVar4 = (uint)bVar5 * 0x10;
uVar3 = uVar1 >> 8;
iVar2... | |
1,219 | scan_one_character | eloqsql/strings/ctype.c | static size_t
scan_one_character(const char *s, const char *e, my_wc_t *wc)
{
CHARSET_INFO *cs= &my_charset_utf8mb3_general_ci;
if (s >= e)
return 0;
/* Escape sequence: \uXXXX */
if (s[0] == '\\' && s + 2 < e && s[1] == 'u' && my_isxdigit(cs, s[2]))
{
size_t len= 3; /* We have at least one digit */
... | O0 | c | scan_one_character:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
leaq 0x313195(%rip), %rax # 0x37f9b0
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
jb 0x6c836
movq $0x0, -0x8(%rbp)
jmp 0x6c968
movq -0x10(%rbp), %rax
movsbl (%r... | scan_one_character:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
lea rax, my_charset_utf8mb3_general_ci
mov [rbp+var_28], rax
mov rax, [rbp+var_10]
cmp rax, [rbp+var_18]
jb short loc_6C836
mov [rbp+var_8], 0
jmp ... | long long scan_one_character(char *a1, unsigned long long a2, _QWORD *a3)
{
bool v4; // [rsp+Bh] [rbp-35h]
int v5; // [rsp+Ch] [rbp-34h]
long long v6; // [rsp+10h] [rbp-30h]
unsigned __int8 *i; // [rsp+30h] [rbp-10h]
if ( (unsigned long long)a1 >= a2 )
return 0LL;
if ( *a1 == 92
&& (unsigned long ... | scan_one_character:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
LEA RAX,[0x47f9b0]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x10]
CMP RAX,qword ptr [RBP + -0x18]
JC 0x0016c836
MOV qword ptr [RBP + -0x8],0x0
JMP 0x0016... |
long scan_one_character(byte *param_1,byte *param_2,int8 *param_3)
{
int iVar1;
bool bVar2;
long local_38;
byte *local_18;
long local_10;
if (param_1 < param_2) {
if ((((*param_1 == 0x5c) && (param_1 + 2 < param_2)) && (param_1[1] == 0x75)) &&
((*(byte *)(my_charset_utf8mb3_general_ci._64_8_... | |
1,220 | my_strxfrm_pad_unicode | eloqsql/strings/ctype-utf8.c | size_t
my_strxfrm_pad_unicode(uchar *str, uchar *strend)
{
uchar *str0= str;
DBUG_ASSERT(str && str <= strend);
for ( ; str < strend ; )
{
*str++= 0x00;
if (str < strend)
*str++= 0x20;
}
return str - str0;
} | O0 | c | my_strxfrm_pad_unicode:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
jmp 0x70306
jmp 0x70308
movq -0x8(%rbp), %rax
cmpq -0x10(%rbp), %rax
jae 0x70342
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x8(%rbp)
movb $0x0, (%rax)
movq... | my_strxfrm_pad_unicode:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov [rbp+var_18], rax
jmp short $+2
loc_70306:
jmp short $+2
loc_70308:
mov rax, [rbp+var_8]
cmp rax, [rbp+var_10]
jnb short loc_70342
mov rax, [rbp+var_8]
mov ... | _BYTE * my_strxfrm_pad_unicode(_BYTE *a1, unsigned long long a2)
{
_BYTE *v2; // rax
_BYTE *v3; // rax
_BYTE *v5; // [rsp+10h] [rbp-8h]
v5 = a1;
while ( (unsigned long long)v5 < a2 )
{
v2 = v5++;
*v2 = 0;
if ( (unsigned long long)v5 < a2 )
{
v3 = v5++;
*v3 = 32;
}
}
retu... | my_strxfrm_pad_unicode:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x18],RAX
JMP 0x00170306
LAB_00170306:
JMP 0x00170308
LAB_00170308:
MOV RAX,qword ptr [RBP + -0x8]
CMP RAX,qword ptr [RBP + -0x10]
JNC 0x00170342
MOV RAX,qword... |
long my_strxfrm_pad_unicode(int1 *param_1,int1 *param_2)
{
int1 *puVar1;
int1 *local_10;
puVar1 = param_1;
while (local_10 = puVar1, local_10 < param_2) {
puVar1 = local_10 + 1;
*local_10 = 0;
if (puVar1 < param_2) {
*puVar1 = 0x20;
puVar1 = local_10 + 2;
}
}
return (long)lo... | |
1,221 | ma_field_extension_deep_dup | eloqsql/libmariadb/libmariadb/mariadb_lib.c | MA_FIELD_EXTENSION *ma_field_extension_deep_dup(MA_MEM_ROOT *memroot,
const MA_FIELD_EXTENSION *from)
{
MA_FIELD_EXTENSION *ext= new_ma_field_extension(memroot);
uint i;
if (!ext)
return NULL;
for (i= 0; i < MARIADB_FIELD_ATTR_LAST; i++)
{
if (from->meta... | O0 | c | ma_field_extension_deep_dup:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x21a60
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x21ad1
movq $0x0, -0x8(%rbp)
jmp 0x21b6a
movl $0x0, -0x24(%rbp)
cmpl $0x1, -0x24(%rbp)
jae 0x21b62
movq -0x18(%rb... | ma_field_extension_deep_dup:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rdi, [rbp+var_10]
call new_ma_field_extension
mov [rbp+var_20], rax
cmp [rbp+var_20], 0
jnz short loc_21AD1
mov [rbp+var_8], 0
jmp loc_21B6A
loc_21AD1:
mov [r... | _QWORD * ma_field_extension_deep_dup(long long a1, _QWORD *a2)
{
long long v2; // rdx
int i; // [rsp+1Ch] [rbp-24h]
_QWORD *v5; // [rsp+20h] [rbp-20h]
v5 = (_QWORD *)new_ma_field_extension(a1);
if ( !v5 )
return 0LL;
for ( i = 0; !i; i = 1 )
{
if ( *a2 )
{
*v5 = ma_const_string_copy_roo... | ma_field_extension_deep_dup:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x00121a60
MOV qword ptr [RBP + -0x20],RAX
CMP qword ptr [RBP + -0x20],0x0
JNZ 0x00121ad1
MOV qword ptr [RBP + -0x8],0x0
JMP 0x00121b6a
LAB_00121ad1:
MOV dw... |
int1 (*) [16] ma_field_extension_deep_dup(int8 param_1,long *param_2)
{
bool bVar1;
int1 auVar2 [16];
int1 (*local_10) [16];
local_10 = (int1 (*) [16])new_ma_field_extension(param_1);
if (local_10 == (int1 (*) [16])0x0) {
local_10 = (int1 (*) [16])0x0;
}
else {
bVar1 = false;
while (!bVar... | |
1,222 | my_strnncollsp_padspace_bin | eloqsql/strings/ctype-bin.c | int my_strnncollsp_padspace_bin(const uchar *str, size_t length)
{
for ( ; length ; str++, length--)
{
if (*str < ' ')
return -1;
else if (*str > ' ')
return 1;
}
return 0;
} | O0 | c | my_strnncollsp_padspace_bin:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x701cb
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x20, %eax
jge 0x70198
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x701d2
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x2... | my_strnncollsp_padspace_bin:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
loc_7017C:
cmp [rbp+var_18], 0
jz short loc_701CB
mov rax, [rbp+var_10]
movzx eax, byte ptr [rax]
cmp eax, 20h ; ' '
jge short loc_70198
mov [rbp+var_4], 0FFFFFFFFh
jmp short loc_... | long long my_strnncollsp_padspace_bin(unsigned __int8 *a1, long long a2)
{
while ( a2 )
{
if ( *a1 < 0x20u )
return (unsigned int)-1;
if ( *a1 > 0x20u )
return 1;
++a1;
--a2;
}
return 0;
}
| my_strnncollsp_padspace_bin:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
LAB_0017017c:
CMP qword ptr [RBP + -0x18],0x0
JZ 0x001701cb
MOV RAX,qword ptr [RBP + -0x10]
MOVZX EAX,byte ptr [RAX]
CMP EAX,0x20
JGE 0x00170198
MOV dword ptr [RBP + -0x4],0xffffffff
JMP 0x001701d2
LAB_0017... |
int4 my_strnncollsp_padspace_bin(byte *param_1,long param_2)
{
long local_20;
byte *local_18;
local_20 = param_2;
local_18 = param_1;
while( true ) {
if (local_20 == 0) {
return 0;
}
if (*local_18 < 0x20) break;
if (0x20 < *local_18) {
return 1;
}
local_18 = local_18 +... | |
1,223 | JS_ToInt32Clamp | bluesky950520[P]quickjs/quickjs.c | int JS_ToInt32Clamp(JSContext *ctx, int *pres, JSValue val,
int min, int max, int min_offset)
{
int res = JS_ToInt32SatFree(ctx, pres, js_dup(val));
if (res == 0) {
if (*pres < min) {
*pres += min_offset;
if (*pres < min)
*pres = min;
}... | O2 | c | JS_ToInt32Clamp:
pushq %rbp
pushq %r14
pushq %rbx
movl %r9d, %ebp
movl %r8d, %r14d
movq %rsi, %rbx
cmpl $-0x9, %ecx
jb 0x24f99
incl (%rdx)
movq %rbx, %rsi
callq 0x24ef6
testl %eax, %eax
jne 0x24fc1
movl (%rbx), %ecx
cmpl %r14d, %ecx
jge 0x24fbb
addl 0x20(%rsp), %ecx
cmpl %r14d, %ecx
cmovlel %r14d, %ecx
movl %ecx, %ebp
... | JS_ToInt32Clamp:
push rbp
push r14
push rbx
mov ebp, r9d
mov r14d, r8d
mov rbx, rsi
cmp ecx, 0FFFFFFF7h
jb short loc_24F99
inc dword ptr [rdx]
loc_24F99:
mov rsi, rbx
call JS_ToInt32SatFree
test eax, eax
jnz short loc_24FC1
mov ecx, [rbx]
cmp ecx, r14d
jge sho... | long long JS_ToInt32Clamp(long long a1, int *a2, _DWORD *a3, long long a4, int a5, int a6, int a7)
{
long long result; // rax
int v10; // ecx
int v11; // ecx
if ( (unsigned int)a4 >= 0xFFFFFFF7 )
++*a3;
result = JS_ToInt32SatFree(a1, a2, (long long)a3, a4);
if ( !(_DWORD)result )
{
v10 = *a2;
... | JS_ToInt32Clamp:
PUSH RBP
PUSH R14
PUSH RBX
MOV EBP,R9D
MOV R14D,R8D
MOV RBX,RSI
CMP ECX,-0x9
JC 0x00124f99
INC dword ptr [RDX]
LAB_00124f99:
MOV RSI,RBX
CALL 0x00124ef6
TEST EAX,EAX
JNZ 0x00124fc1
MOV ECX,dword ptr [RBX]
CMP ECX,R14D
JGE 0x00124fbb
ADD ECX,dword ptr [RSP + 0x20]
CMP ECX,R14D
CMOVLE ECX,R14D
MOV EBP,EC... |
void JS_ToInt32Clamp(int8 param_1,int *param_2,int *param_3,uint param_4,int param_5,
int param_6,int param_7)
{
int iVar1;
if (0xfffffff6 < param_4) {
*param_3 = *param_3 + 1;
}
iVar1 = JS_ToInt32SatFree(param_1,param_2);
if (iVar1 == 0) {
iVar1 = *param_2;
if (iVar1 < pa... | |
1,224 | JS_NumberIsInteger | bluesky950520[P]quickjs/quickjs.c | static int JS_NumberIsInteger(JSContext *ctx, JSValue val)
{
double d;
if (!JS_IsNumber(val))
return FALSE;
if (unlikely(JS_ToFloat64(ctx, &d, val)))
return -1;
return isfinite(d) && floor(d) == d;
} | O2 | c | JS_NumberIsInteger:
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rcx
movq %rsi, %rdx
xorl %ebx, %ebx
cmpl $0x7, %ecx
je 0x1f967
testl %ecx, %ecx
jne 0x1f9ac
leaq 0x8(%rsp), %rsi
callq 0x20703
testl %eax, %eax
jne 0x1f9b4
movq 0x8(%rsp), %xmm0
movq %xmm0, %rax
btrq $0x3f, %rax
movabsq $0x7fefffffffffffff, %rcx # imm = 0x7FEF... | JS_NumberIsInteger:
push rbx
sub rsp, 10h
mov rcx, rdx
mov rdx, rsi
xor ebx, ebx
cmp ecx, 7
jz short loc_1F967
test ecx, ecx
jnz short loc_1F9AC
loc_1F967:
lea rsi, [rsp+18h+var_10]
call JS_ToFloat64
test eax, eax
jnz short loc_1F9B4
movq xmm0, [rsp+18h+var_10]
movq ... | long long JS_NumberIsInteger(long long a1, long long a2, long long a3)
{
unsigned int v3; // ebx
__m128d v4; // xmm0
__m128d v5; // rt1
double v7; // [rsp+0h] [rbp-18h]
__m128i v8; // [rsp+8h] [rbp-10h] BYREF
v3 = 0;
if ( (_DWORD)a3 == 7 || !(_DWORD)a3 )
{
if ( (unsigned int)JS_ToFloat64(a1, &v8, ... | JS_NumberIsInteger:
PUSH RBX
SUB RSP,0x10
MOV RCX,RDX
MOV RDX,RSI
XOR EBX,EBX
CMP ECX,0x7
JZ 0x0011f967
TEST ECX,ECX
JNZ 0x0011f9ac
LAB_0011f967:
LEA RSI,[RSP + 0x8]
CALL 0x00120703
TEST EAX,EAX
JNZ 0x0011f9b4
MOVQ XMM0,qword ptr [RSP + 0x8]
MOVQ RAX,XMM0
BTR RAX,0x3f
MOV RCX,0x7fefffffffffffff
CMP RAX,RCX
JG 0x0011f9a... |
uint JS_NumberIsInteger(int8 param_1,int8 param_2,int param_3)
{
int iVar1;
uint uVar2;
double dVar3;
double local_10;
uVar2 = 0;
if ((param_3 == 7) || (param_3 == 0)) {
iVar1 = JS_ToFloat64(param_1,&local_10,param_2);
if (iVar1 == 0) {
if ((ulong)ABS(local_10) < 0x7ff0000000000000) {
... | |
1,225 | JS_NumberIsInteger | bluesky950520[P]quickjs/quickjs.c | static int JS_NumberIsInteger(JSContext *ctx, JSValue val)
{
double d;
if (!JS_IsNumber(val))
return FALSE;
if (unlikely(JS_ToFloat64(ctx, &d, val)))
return -1;
return isfinite(d) && floor(d) == d;
} | O3 | c | JS_NumberIsInteger:
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rcx
movq %rsi, %rdx
xorl %ebx, %ebx
cmpl $0x7, %ecx
je 0xfb9c
testl %ecx, %ecx
jne 0xfbf8
cmpl $0x2, %ecx
ja 0xfba7
cvtsi2sd %edx, %xmm0
jmp 0xfbc7
cmpl $0x7, %ecx
jne 0xfbb3
movq %rdx, %xmm0
jmp 0xfbc7
leaq 0x8(%rsp), %rsi
callq 0x3e93d
testl %eax, %eax
jne 0... | JS_NumberIsInteger:
push rbx
sub rsp, 10h
mov rcx, rdx
mov rdx, rsi
xor ebx, ebx
cmp ecx, 7
jz short loc_FB9C
test ecx, ecx
jnz short loc_FBF8
loc_FB9C:
cmp ecx, 2
ja short loc_FBA7
cvtsi2sd xmm0, edx
jmp short loc_FBC7
loc_FBA7:
cmp ecx, 7
jnz short loc_FBB3
movq... | long long JS_NumberIsInteger(__m128d a1, long long a2, unsigned long long a3, unsigned int a4)
{
unsigned int v4; // ebx
__m128d v5; // rt1
double v7; // [rsp+0h] [rbp-18h]
v4 = 0;
if ( a4 == 7 || !a4 )
{
if ( a4 > 2 )
a1 = (__m128d)a3;
else
a1.m128d_f64[0] = (double)(int)a3;
if ( ... | JS_NumberIsInteger:
PUSH RBX
SUB RSP,0x10
MOV RCX,RDX
MOV RDX,RSI
XOR EBX,EBX
CMP ECX,0x7
JZ 0x0010fb9c
TEST ECX,ECX
JNZ 0x0010fbf8
LAB_0010fb9c:
CMP ECX,0x2
JA 0x0010fba7
CVTSI2SD XMM0,EDX
JMP 0x0010fbc7
LAB_0010fba7:
CMP ECX,0x7
JNZ 0x0010fbb3
MOVQ XMM0,RDX
JMP 0x0010fbc7
LAB_0010fbb3:
LEA RSI,[RSP + 0x8]
CALL 0x0013... |
uint JS_NumberIsInteger(int8 param_1,double param_2,uint param_3)
{
int iVar1;
uint uVar2;
double dVar3;
double local_10;
uVar2 = 0;
if ((param_3 == 7) || (param_3 == 0)) {
if (param_3 < 3) {
param_2 = (double)SUB84(param_2,0);
}
else if ((param_3 != 7) &&
(iVar1 = __JS_To... | |
1,226 | my_is_symlink | eloqsql/mysys/my_symlink.c | int my_is_symlink(const char *filename __attribute__((unused)))
{
#if defined (HAVE_LSTAT) && defined (S_ISLNK)
struct stat stat_buff;
if (lstat(filename, &stat_buff))
return 0;
MSAN_STAT_WORKAROUND(&stat_buff);
return !!S_ISLNK(stat_buff.st_mode);
#elif defined (_WIN32)
DWORD dwAttr = GetFileAttributes(f... | O0 | c | my_is_symlink:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x284d0
cmpl $0x0, %eax
je 0x812ed
movl $0x0, -0x4(%rbp)
jmp 0x8130c
movl -0x88(%rbp), %eax
andl $0xf000, %eax # imm = 0xF000
cmpl $0xa000, %eax # imm = 0xA000
sete %... | my_is_symlink:
push rbp
mov rbp, rsp
sub rsp, 0A0h
mov [rbp+var_10], rdi
mov rdi, [rbp+var_10]
lea rsi, [rbp+var_A0]
call _lstat64
cmp eax, 0
jz short loc_812ED
mov [rbp+var_4], 0
jmp short loc_8130C
loc_812ED:
mov eax, [rbp+var_88]
and eax, 0F000h
cmp eax, 0A000h
... | _BOOL8 my_is_symlink(long long a1)
{
_BYTE v2[24]; // [rsp+0h] [rbp-A0h] BYREF
int v3; // [rsp+18h] [rbp-88h]
long long v4; // [rsp+90h] [rbp-10h]
v4 = a1;
return !(unsigned int)lstat64(a1, v2) && (v3 & 0xF000) == 40960;
}
| my_is_symlink:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x10],RDI
MOV RDI,qword ptr [RBP + -0x10]
LEA RSI,[RBP + -0xa0]
CALL 0x001284d0
CMP EAX,0x0
JZ 0x001812ed
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0018130c
LAB_001812ed:
MOV EAX,dword ptr [RBP + -0x88]
AND EAX,0xf000
CMP EAX,0xa000
SETZ AL
XOR AL,0xff
X... |
bool my_is_symlink(char *param_1)
{
int iVar1;
stat64 local_a8;
char *local_18;
local_18 = param_1;
iVar1 = lstat64(param_1,&local_a8);
return iVar1 == 0 && (local_a8.st_mode & 0xf000) == 0xa000;
}
| |
1,227 | testing::Test::Run() | giladroyz[P]FindPeaks/build_O1/_deps/googletest-src/googletest/src/gtest.cc | void Test::Run() {
if (!HasSameFixtureClass()) return;
internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
impl->os_stack_trace_getter()->UponLeavingGTest();
internal::HandleExceptionsInMethodIfSupported(this, &Test::SetUp, "SetUp()");
// We will run the test only if SetUp() was successful and ... | O1 | cpp | testing::Test::Run():
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x20574
testb %al, %al
je 0x20c51
callq 0x19012
movq 0x38c50(%rip), %r14 # 0x597b0
cmpq $0x0, 0x280(%r14)
jne 0x20b85
movl $0x8, %edi
callq 0x84b0
leaq 0x37ac5(%rip), %rcx # 0x58640
movq %rcx, (%rax)
movq %rax, 0x280(%r14)
movq 0x280(%... | _ZN7testing4Test3RunEv:
push r14
push rbx
push rax
mov rbx, rdi
call _ZN7testing4Test19HasSameFixtureClassEv; testing::Test::HasSameFixtureClass(void)
test al, al
jz loc_20C51
call _ZN7testing8UnitTest11GetInstanceEv; testing::UnitTest::GetInstance(void)
mov r14, cs:qword_597B0
cmp qw... | char testing::Test::Run(testing::Test *this)
{
char result; // al
testing::internal::UnitTestImpl *v2; // r14
_QWORD *v3; // rax
_QWORD *v4; // rax
_QWORD *v5; // rax
result = testing::Test::HasSameFixtureClass(this);
if ( result )
{
testing::UnitTest::GetInstance(this);
v2 = qword_597B0;
... | Run:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
CALL 0x00120574
TEST AL,AL
JZ 0x00120c51
CALL 0x00119012
MOV R14,qword ptr [0x001597b0]
CMP qword ptr [R14 + 0x280],0x0
JNZ 0x00120b85
MOV EDI,0x8
CALL 0x001084b0
LEA RCX,[0x158640]
MOV qword ptr [RAX],RCX
MOV qword ptr [R14 + 0x280],RAX
LAB_00120b85:
MOV RDI,qword ptr [R14 +... |
/* testing::Test::Run() */
void __thiscall testing::Test::Run(Test *this)
{
int8 uVar1;
char cVar2;
int8 *puVar3;
cVar2 = HasSameFixtureClass();
if (cVar2 != '\0') {
UnitTest::GetInstance();
uVar1 = UnitTest::GetInstance()::instance._64_8_;
if (*(long *)(UnitTest::GetInstance()::instance._64... | |
1,228 | multi_alloc_root | eloqsql/mysys/my_alloc.c | void *multi_alloc_root(MEM_ROOT *root, ...)
{
va_list args;
char **ptr, *start, *res;
size_t tot_length, length;
DBUG_ENTER("multi_alloc_root");
/*
We don't need to do DBUG_PRINT here as it will be done when alloc_root
is called
*/
va_start(args, root);
tot_length= 0;
while ((ptr= va_arg(arg... | O0 | c | multi_alloc_root:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp # imm = 0x170
testb %al, %al
je 0x6a951
movaps %xmm0, -0xe0(%rbp)
movaps %xmm1, -0xd0(%rbp)
movaps %xmm2, -0xc0(%rbp)
movaps %xmm3, -0xb0(%rbp)
movaps %xmm4, -0xa0(%rbp)
movaps %xmm5, -0x90(%rbp)
movaps %xmm6, -0x80(%rbp)
movaps %xmm7, -0x70(%rbp... | multi_alloc_root:
push rbp
mov rbp, rsp
sub rsp, 170h
test al, al
jz short loc_6A951
movaps [rbp+var_E0], xmm0
movaps [rbp+var_D0], xmm1
movaps [rbp+var_C0], xmm2
movaps [rbp+var_B0], xmm3
movaps [rbp+var_A0], xmm4
movaps [rbp+var_90], xmm5
movaps [rbp+var_80], xmm6
movaps [rbp+var_70], xmm7
... | char * multi_alloc_root(
_QWORD **a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14,
... | multi_alloc_root:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x170
TEST AL,AL
JZ 0x0016a951
MOVAPS xmmword ptr [RBP + -0xe0],XMM0
MOVAPS xmmword ptr [RBP + -0xd0],XMM1
MOVAPS xmmword ptr [RBP + -0xc0],XMM2
MOVAPS xmmword ptr [RBP + -0xb0],XMM3
MOVAPS xmmword ptr [RBP + -0xa0],XMM4
MOVAPS xmmword ptr [RBP + -0x90],XMM5
MOVAPS xmmword... |
/* WARNING: Restarted to delay deadcode elimination for space: stack */
long multi_alloc_root(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,
int8 param_9,int8 param_10,int8 param_11,int8 param_12,
... | |
1,229 | my_uca_init_one_contraction | eloqsql/strings/ctype-uca.c | static uint16 *
my_uca_init_one_contraction(MY_CONTRACTIONS *contractions,
my_wc_t *str, uint length, my_bool with_context)
{
int flag;
uint i;
my_uca_add_contraction_flag(contractions, str[0],
with_context ?
MY_UCA_PREVIOUS_C... | O3 | c | my_uca_init_one_contraction:
pushq %rbp
movq %rsp, %rbp
movq (%rsi), %rax
andl $0xfff, %eax # imm = 0xFFF
testb %cl, %cl
movl $0x1, %r8d
movl $0x40, %r9d
cmovel %r8d, %r9d
movq 0x10(%rdi), %r8
orb %r9b, (%r8,%rax)
leal -0x1(%rdx), %r8d
movl $0x1, %eax
cmpl $0x2, %r8d
jb 0x3f627
movl %r8d, %eax
movb $0x4, %r8... | my_uca_init_one_contraction:
push rbp
mov rbp, rsp
mov rax, [rsi]
and eax, 0FFFh
test cl, cl
mov r8d, 1
mov r9d, 40h ; '@'
cmovz r9d, r8d
mov r8, [rdi+10h]
or [r8+rax], r9b
lea r8d, [rdx-1]
mov eax, 1
cmp r8d, 2
jb short loc_3F627
mov eax, r8d
mov r8b, 4
mov... | long long my_uca_init_one_contraction(_QWORD *a1, _QWORD *a2, unsigned int a3, char a4)
{
char v4; // r9
long long v5; // rax
char v6; // r8
long long v7; // r9
long long v8; // rax
char v9; // r9
long long v10; // rax
long long i; // r9
v4 = 64;
if ( !a4 )
v4 = 1;
*(_BYTE *)(a1[2] + (*a2 & ... | my_uca_init_one_contraction:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RSI]
AND EAX,0xfff
TEST CL,CL
MOV R8D,0x1
MOV R9D,0x40
CMOVZ R9D,R8D
MOV R8,qword ptr [RDI + 0x10]
OR byte ptr [R8 + RAX*0x1],R9B
LEA R8D,[RDX + -0x1]
MOV EAX,0x1
CMP R8D,0x2
JC 0x0013f627
MOV EAX,R8D
MOV R8B,0x4
MOV R9D,0x1
LAB_0013f609:
MOV R10,qwor... |
long my_uca_init_one_contraction(long *param_1,int8 *param_2,uint param_3,char param_4)
{
byte *pbVar1;
ulong uVar2;
long lVar3;
byte bVar4;
ulong uVar5;
bVar4 = 0x40;
if (param_4 == '\0') {
bVar4 = 1;
}
pbVar1 = (byte *)(param_1[2] + (ulong)((uint)*param_2 & 0xfff));
*pbVar1 = *pbVar1 | bV... | |
1,230 | Lex_input_stream::get_body_utf8_maximum_length(THD*) | eloqsql/sql/sql_lex.cc | size_t Lex_input_stream::get_body_utf8_maximum_length(THD *thd)
{
/*
String literals can grow during escaping:
1a. Character string '<TAB>' can grow to '\t', 3 bytes to 4 bytes growth.
1b. Character string '1000 times <TAB>' grows from
1002 to 2002 bytes (including quotes), which gives a little bi... | O0 | cpp | Lex_input_stream::get_body_utf8_maximum_length(THD*):
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
movq -0x10(%rbp), %rcx
movq 0xb50(%rcx), %rcx
movl 0x98(%rcx), %ecx
xorl %edx, %edx
divq %rcx
leaq 0x14016bf(%rip), %rcx # 0x1cc16a0
movl 0x9c(%rcx)... | _ZN16Lex_input_stream28get_body_utf8_maximum_lengthEP3THD:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov rax, [rax+48h]
mov rcx, [rbp+var_10]
mov rcx, [rcx+0B50h]
mov ecx, [rcx+98h]
xor edx, edx
div rcx
lea rcx, my_charset_utf8mb... | unsigned long long Lex_input_stream::get_body_utf8_maximum_length(Lex_input_stream *this, THD *a2)
{
return 2
* *((unsigned int *)&my_charset_utf8mb3_bin + 39)
* (*((_QWORD *)this + 9)
/ (unsigned long long)*(unsigned int *)(*((_QWORD *)a2 + 362) + 152LL));
}
| __cxx_global_var_init.6:
PUSH RBP
MOV RBP,RSP
LEA RDI,[0x26969b0]
MOV ESI,0x1000000
CALL 0x008db900
POP RBP
RET
|
void __cxx_global_var_init_6(void)
{
date_conv_mode_t::date_conv_mode_t((date_conv_mode_t *)&TIME_NO_ZERO_DATE,0x1000000);
return;
}
| |
1,231 | js_mallocz | bluesky950520[P]quickjs/quickjs.c | void *js_mallocz(JSContext *ctx, size_t size)
{
void *ptr;
ptr = js_mallocz_rt(ctx->rt, size);
if (unlikely(!ptr)) {
JS_ThrowOutOfMemory(ctx);
return NULL;
}
return ptr;
} | O0 | c | js_mallocz:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rdi
movq 0x20(%rsp), %rsi
callq 0x208a0
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x20ad1
m... | js_mallocz:
sub rsp, 38h
mov [rsp+38h+var_10], rdi
mov [rsp+38h+var_18], rsi
mov rax, [rsp+38h+var_10]
mov rdi, [rax+18h]
mov rsi, [rsp+38h+var_18]
call js_mallocz_rt
mov [rsp+38h+var_20], rax
cmp [rsp+38h+var_20], 0
setnz al
xor al, 0FFh
xor al, 0FFh
xor al, 0FFh
and ... | long long js_mallocz(long long a1, unsigned long long a2)
{
int v2; // edx
long long v3; // rcx
int v4; // r8d
int v5; // r9d
long long v7; // [rsp+18h] [rbp-20h]
v7 = js_mallocz_rt(*(_QWORD *)(a1 + 24), a2);
if ( v7 )
return v7;
JS_ThrowOutOfMemory(a1, a2, v2, v3, v4, v5);
return 0LL;
}
| js_mallocz:
SUB RSP,0x38
MOV qword ptr [RSP + 0x28],RDI
MOV qword ptr [RSP + 0x20],RSI
MOV RAX,qword ptr [RSP + 0x28]
MOV RDI,qword ptr [RAX + 0x18]
MOV RSI,qword ptr [RSP + 0x20]
CALL 0x001208a0
MOV qword ptr [RSP + 0x18],RAX
CMP qword ptr [RSP + 0x18],0x0
SETNZ AL
XOR AL,0xff
XOR AL,0xff
XOR AL,0xff
AND AL,0x1
MOVZX ... |
long js_mallocz(long param_1,int8 param_2)
{
long local_8;
local_8 = js_mallocz_rt(*(int8 *)(param_1 + 0x18),param_2);
if (local_8 == 0) {
JS_ThrowOutOfMemory(param_1);
local_8 = 0;
}
return local_8;
}
| |
1,232 | js_mallocz | bluesky950520[P]quickjs/quickjs.c | void *js_mallocz(JSContext *ctx, size_t size)
{
void *ptr;
ptr = js_mallocz_rt(ctx->rt, size);
if (unlikely(!ptr)) {
JS_ThrowOutOfMemory(ctx);
return NULL;
}
return ptr;
} | O1 | c | js_mallocz:
pushq %rbx
movq %rsi, %rdx
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
pushq $0x1
popq %rsi
callq 0xec78
testq %rax, %rax
je 0xed97
popq %rbx
retq
movq %rbx, %rdi
callq 0x1bf4f
xorl %eax, %eax
jmp 0xed95
| js_mallocz:
push rbx
mov rdx, rsi
mov rbx, rdi
mov rdi, [rdi+18h]
push 1
pop rsi
call js_calloc_rt
test rax, rax
jz short loc_ED97
loc_ED95:
pop rbx
retn
loc_ED97:
mov rdi, rbx
call JS_ThrowOutOfMemory
xor eax, eax
jmp short loc_ED95
| long long js_mallocz(long long a1, unsigned long long a2)
{
long long result; // rax
result = js_calloc_rt(*(_QWORD *)(a1 + 24), 1uLL, a2);
if ( !result )
{
JS_ThrowOutOfMemory(a1);
return 0LL;
}
return result;
}
| js_mallocz:
PUSH RBX
MOV RDX,RSI
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x18]
PUSH 0x1
POP RSI
CALL 0x0010ec78
TEST RAX,RAX
JZ 0x0010ed97
LAB_0010ed95:
POP RBX
RET
LAB_0010ed97:
MOV RDI,RBX
CALL 0x0011bf4f
XOR EAX,EAX
JMP 0x0010ed95
|
long js_mallocz(long param_1,int8 param_2)
{
long lVar1;
lVar1 = js_calloc_rt(*(int8 *)(param_1 + 0x18),1,param_2);
if (lVar1 == 0) {
JS_ThrowOutOfMemory(param_1);
lVar1 = 0;
}
return lVar1;
}
| |
1,233 | ps_fetch_datetime | eloqsql/libmariadb/libmariadb/ma_stmt_codec.c | static
void ps_fetch_datetime(MYSQL_BIND *r_param, const MYSQL_FIELD * field,
unsigned char **row)
{
MYSQL_TIME *t= (MYSQL_TIME *)r_param->buffer;
unsigned int len= net_field_length(row);
switch (r_param->buffer_type) {
case MYSQL_TYPE_DATETIME:
case MYSQL_TYPE_TIMESTAMP:
con... | O0 | c | ps_fetch_datetime:
pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x68(%rbp)
movq %rsi, -0x70(%rbp)
movq %rdx, -0x78(%rbp)
movq -0x68(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x80(%rbp)
movq -0x78(%rbp), %rdi
callq 0x1c9d0
movl %eax, -0x8... | ps_fetch_datetime:
push rbp
mov rbp, rsp
sub rsp, 110h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_68], rdi
mov [rbp+var_70], rsi
mov [rbp+var_78], rdx
mov rax, [rbp+var_68]
mov rax, [rax+10h]
mov [rbp+var_80], rax
mov rdi, [rbp+var_78]
call net_field_length
mov ... | unsigned long long ps_fetch_datetime(long long a1, long long a2, unsigned __int8 **a3)
{
const char *v3; // rdx
long long v5; // [rsp+28h] [rbp-E8h]
long long v6; // [rsp+28h] [rbp-E8h]
int v7; // [rsp+30h] [rbp-E0h] BYREF
int v8; // [rsp+34h] [rbp-DCh]
int v9; // [rsp+38h] [rbp-D8h]
int v10; // [rsp+3Ch... | ps_fetch_datetime:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x110
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV qword ptr [RBP + -0x78],RDX
MOV RAX,qword ptr [RBP + -0x68]
MOV RAX,qword ptr [RAX + 0x10]
MOV qword ptr [RBP + -0x80],RAX
MOV RDI,qword pt... |
void ps_fetch_datetime(long param_1,long param_2,long *param_3)
{
int iVar1;
size_t sVar2;
char *pcVar3;
long in_FS_OFFSET;
long local_f0;
uint local_e8;
uint local_e4;
uint local_e0;
uint local_dc;
uint local_d8;
uint local_d4;
int8 local_d0;
char local_c8;
int4 local_bc;
int4 local_b8 ... | |
1,234 | LefDefParser::lefwViaRuleGenLayer(char const*, char const*, double, double, double, double) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefwWriter.cpp | int
lefwViaRuleGenLayer(const char *layerName,
const char *direction,
double minWidth,
double maxWidth, // optional
double overhang,
double metalOverhang)
{ // optional
int status;
... | O0 | cpp | LefDefParser::lefwViaRuleGenLayer(char const*, char const*, double, double, double, double):
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movsd %xmm0, 0x28(%rsp)
movsd %xmm1, 0x20(%rsp)
movsd %xmm2, 0x18(%rsp)
movsd %xmm3, 0x10(%rsp)
leaq 0x19783(%rip), %rax # 0x32e00
cmpq $0x0, (%rax)
jne 0x19690
m... | _ZN12LefDefParser19lefwViaRuleGenLayerEPKcS1_dddd:
sub rsp, 48h
mov [rsp+48h+var_10], rdi
mov [rsp+48h+var_18], rsi
movsd [rsp+48h+var_20], xmm0
movsd [rsp+48h+var_28], xmm1
movsd [rsp+48h+var_30], xmm2
movsd [rsp+48h+var_38], xmm3
lea rax, _ZN12LefDefParser8lefwFileE; LefDefParser::lefwFile
cmp... | long long LefDefParser::lefwViaRuleGenLayer(
LefDefParser *this,
const char *a2,
const char *a3,
double a4,
double a5,
double a6,
double a7,
int a8,
int a9,
int a10)
{
const char *v10; // rdx
int v11; // ecx
int v12; // r8d
int v13... | lefwViaRuleGenLayer:
SUB RSP,0x48
MOV qword ptr [RSP + 0x38],RDI
MOV qword ptr [RSP + 0x30],RSI
MOVSD qword ptr [RSP + 0x28],XMM0
MOVSD qword ptr [RSP + 0x20],XMM1
MOVSD qword ptr [RSP + 0x18],XMM2
MOVSD qword ptr [RSP + 0x10],XMM3
LEA RAX,[0x132e00]
CMP qword ptr [RAX],0x0
JNZ 0x00119690
MOV dword ptr [RSP + 0x44],0x1... |
/* LefDefParser::lefwViaRuleGenLayer(char const*, char const*, double, double, double, double) */
int LefDefParser::lefwViaRuleGenLayer
(char *param_1,char *param_2,double param_3,double param_4,double param_5,
double param_6)
{
int local_4;
if (lefwFile == (_IO_FILE *)0x0) {
l... | |
1,235 | get_dynamic | eloqsql/mysys/array.c | void get_dynamic(DYNAMIC_ARRAY *array, void *element, uint idx)
{
if (idx >= array->elements)
{
DBUG_PRINT("warning",("To big array idx: %d, array size is %d",
idx,array->elements));
bzero(element,array->size_of_element);
return;
}
memcpy(element,array->buffer+idx*array->si... | O0 | c | get_dynamic:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jb 0x84e59
jmp 0x84e41
jmp 0x84e43
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, %edx
xorl %esi, ... | get_dynamic:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov eax, [rbp+var_14]
mov rcx, [rbp+var_8]
cmp eax, [rcx+8]
jb short loc_84E59
jmp short $+2
loc_84E41:
jmp short $+2
loc_84E43:
mov rdi, [rbp+var_10]
mov ... | long long get_dynamic(long long a1, long long a2, unsigned int a3)
{
if ( a3 < *(_DWORD *)(a1 + 8) )
return memcpy(a2, *(_DWORD *)(a1 + 20) * a3 + *(_QWORD *)a1, *(unsigned int *)(a1 + 20));
else
return memset(a2, 0LL, *(unsigned int *)(a1 + 20));
}
| get_dynamic:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV EAX,dword ptr [RBP + -0x14]
MOV RCX,qword ptr [RBP + -0x8]
CMP EAX,dword ptr [RCX + 0x8]
JC 0x00184e59
JMP 0x00184e41
LAB_00184e41:
JMP 0x00184e43
LAB_00184e43:
MOV RDI,qword... |
void get_dynamic(long *param_1,void *param_2,uint param_3)
{
if (param_3 < *(uint *)(param_1 + 1)) {
memcpy(param_2,(void *)(*param_1 + (ulong)(param_3 * *(int *)((long)param_1 + 0x14))),
(ulong)*(uint *)((long)param_1 + 0x14));
}
else {
memset(param_2,0,(ulong)*(uint *)((long)param_1 + 0x14)... | |
1,236 | my_hash_sort_ucs2_bin | eloqsql/strings/ctype-ucs2.c | static void
my_hash_sort_ucs2_bin(CHARSET_INFO *cs,
const uchar *key, size_t len, ulong *nr1, ulong *nr2)
{
size_t lengthsp= my_lengthsp_mb2(cs, (const char *) key, len);
my_hash_sort_ucs2_nopad_bin(cs, key, lengthsp, nr1, nr2);
} | O3 | c | my_hash_sort_ucs2_bin:
movq %rdx, %rax
cmpq $0x2, %rdx
jl 0x8da1d
cmpb $0x20, -0x1(%rsi,%rax)
jne 0x8da15
leaq -0x2(%rax), %rdx
cmpb $0x0, -0x2(%rsi,%rax)
je 0x8d9fa
movq (%rcx), %rdx
movq (%r8), %rdi
jmp 0x8da29
movq (%rcx), %rdx
movq (%r8), %rdi
cmpq $0x1, %rax
jne 0x8da5c
pushq %rbp
movq %rsp, %rbp
addq %rsi, %rax
m... | my_hash_sort_ucs2_bin:
mov rax, rdx
cmp rdx, 2
jl short loc_8DA1D
cmp byte ptr [rsi+rax-1], 20h ; ' '
jnz short loc_8DA15
lea rdx, [rax-2]
cmp byte ptr [rsi+rax-2], 0
jz short my_hash_sort_ucs2_bin
loc_8DA15:
mov rdx, [rcx]
mov rdi, [r8]
jmp short loc_8DA29
loc_8DA1D:
mov ... | unsigned long long my_hash_sort_ucs2_bin(
long long a1,
unsigned long long a2,
long long a3,
long long *a4,
long long *a5)
{
unsigned long long result; // rax
long long v6; // rdx
long long v7; // rdi
while ( 1 )
{
result = a3;
if ( a3 < 2 )
break;
i... | my_hash_sort_ucs2_bin:
MOV RAX,RDX
CMP RDX,0x2
JL 0x0018da1d
CMP byte ptr [RSI + RAX*0x1 + -0x1],0x20
JNZ 0x0018da15
LEA RDX,[RAX + -0x2]
CMP byte ptr [RSI + RAX*0x1 + -0x2],0x0
JZ 0x0018d9fa
LAB_0018da15:
MOV RDX,qword ptr [RCX]
MOV RDI,qword ptr [R8]
JMP 0x0018da29
LAB_0018da1d:
MOV RDX,qword ptr [RCX]
MOV RDI,qword ... |
void my_hash_sort_ucs2_bin
(int8 param_1,byte *param_2,long param_3,ulong *param_4,long *param_5)
{
byte *pbVar1;
long lVar2;
ulong uVar3;
long lVar4;
do {
lVar2 = param_3;
if (lVar2 < 2) {
uVar3 = *param_4;
lVar4 = *param_5;
if (lVar2 != 1) goto LAB_0018da5c;
... | |
1,237 | ps_fetch_string | eloqsql/libmariadb/libmariadb/ma_stmt_codec.c | static
void ps_fetch_string(MYSQL_BIND *r_param,
const MYSQL_FIELD *field __attribute__((unused)),
unsigned char **row)
{
/* C-API differs from PHP. While PHP just converts string to string,
C-API needs to convert the string to the defined type with in
the result b... | O0 | c | ps_fetch_string:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x20e70
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq (%rax), %rsi
movq -0x20(%rbp), %rdx
callq 0x3d290
movq -0x20(%rbp), %rcx
movq -0x... | ps_fetch_string:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rdi, [rbp+var_18]
call net_field_length
mov [rbp+var_20], rax
mov rdi, [rbp+var_8]
mov rax, [rbp+var_18]
mov rsi, [rax]
mov rdx, [rbp+var_20]
call ... | unsigned __int8 ** ps_fetch_string(long long a1, long long a2, unsigned __int8 **a3)
{
unsigned __int8 **result; // rax
long long v4; // [rsp+0h] [rbp-20h]
v4 = net_field_length(a3);
convert_froma_string(a1, *a3, v4);
result = a3;
*a3 += v4;
return result;
}
| ps_fetch_string:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RDI,qword ptr [RBP + -0x18]
CALL 0x00120e70
MOV qword ptr [RBP + -0x20],RAX
MOV RDI,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,qword ptr [RAX]
MOV RDX... |
void ps_fetch_string(int8 param_1,int8 param_2,long *param_3)
{
long lVar1;
lVar1 = net_field_length(param_3);
convert_froma_string(param_1,*param_3,lVar1);
*param_3 = lVar1 + *param_3;
return;
}
| |
1,238 | ps_fetch_string | eloqsql/libmariadb/libmariadb/ma_stmt_codec.c | static
void ps_fetch_string(MYSQL_BIND *r_param,
const MYSQL_FIELD *field __attribute__((unused)),
unsigned char **row)
{
/* C-API differs from PHP. While PHP just converts string to string,
C-API needs to convert the string to the defined type with in
the result b... | O3 | c | ps_fetch_string:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x1cd19
movq %rax, %r15
movq (%rbx), %rsi
movq %r14, %rdi
movq %rax, %rdx
callq 0x2d40d
addq %r15, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
| ps_fetch_string:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rbx, rdx
mov r14, rdi
mov rdi, rdx
call net_field_length
mov r15, rax
mov rsi, [rbx]
mov rdi, r14
mov rdx, rax
call convert_froma_string
add [rbx], r15
add rsp, 8
pop rbx
pop ... | long long ps_fetch_string(long long a1, long long a2, unsigned __int8 **a3)
{
unsigned long long v4; // r15
long long result; // rax
v4 = net_field_length(a3);
result = convert_froma_string(a1, *a3, v4);
*a3 += v4;
return result;
}
| ps_fetch_string:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RDI
MOV RDI,RDX
CALL 0x0011cd19
MOV R15,RAX
MOV RSI,qword ptr [RBX]
MOV RDI,R14
MOV RDX,RAX
CALL 0x0012d40d
ADD qword ptr [RBX],R15
ADD RSP,0x8
POP RBX
POP R14
POP R15
POP RBP
RET
|
void ps_fetch_string(int8 param_1,int8 param_2,long *param_3)
{
long lVar1;
lVar1 = net_field_length(param_3);
convert_froma_string(param_1,*param_3,lVar1);
*param_3 = *param_3 + lVar1;
return;
}
| |
1,239 | intx::operator<(intx::uint<256u> const&, intx::uint<256u> const&) | corpus-core[P]colibri-stateless/build_O2/_deps/intx-src/include/intx/intx.hpp | inline constexpr bool operator<(const uint256& x, const uint256& y) noexcept
{
auto xp = uint128{x[2], x[3]};
auto yp = uint128{y[2], y[3]};
if (xp == yp)
{
xp = uint128{x[0], x[1]};
yp = uint128{y[0], y[1]};
}
return xp < yp;
} | O2 | cpp | intx::operator<(intx::uint<256u> const&, intx::uint<256u> const&):
movq 0x10(%rdi), %rcx
movq 0x18(%rdi), %rax
movq 0x10(%rsi), %rdx
movq 0x18(%rsi), %r8
movq %rcx, %r9
xorq %rdx, %r9
movq %rax, %r10
xorq %r8, %r10
orq %r9, %r10
jne 0x3ad9e
movq (%rdi), %rcx
movq 0x8(%rdi), %rax
movq (%rsi), %rdx
movq 0x8(%rsi), %r8
cm... | _ZN4intxltERKNS_4uintILj256EEES3_:
mov rcx, [rdi+10h]
mov rax, [rdi+18h]
mov rdx, [rsi+10h]
mov r8, [rsi+18h]
mov r9, rcx
xor r9, rdx
mov r10, rax
xor r10, r8
or r10, r9
jnz short loc_3AD9E
mov rcx, [rdi]
mov rax, [rdi+8]
mov rdx, [rsi]
mov r8, [rsi+8]
loc_3AD9E:... | bool intx::operator<(unsigned long long *a1, unsigned long long *a2)
{
unsigned long long v2; // rcx
unsigned long long v3; // rax
unsigned long long v4; // rdx
unsigned long long v5; // r8
v2 = a1[2];
v3 = a1[3];
v4 = a2[2];
v5 = a2[3];
if ( *((_OWORD *)a2 + 1) - *((_OWORD *)a1 + 1) == 0LL )
{
... | operator<:
MOV RCX,qword ptr [RDI + 0x10]
MOV RAX,qword ptr [RDI + 0x18]
MOV RDX,qword ptr [RSI + 0x10]
MOV R8,qword ptr [RSI + 0x18]
MOV R9,RCX
XOR R9,RDX
MOV R10,RAX
XOR R10,R8
OR R10,R9
JNZ 0x0013ad9e
MOV RCX,qword ptr [RDI]
MOV RAX,qword ptr [RDI + 0x8]
MOV RDX,qword ptr [RSI]
MOV R8,qword ptr [RSI + 0x8]
LAB_0013a... |
/* intx::TEMPNAMEPLACEHOLDERVALUE(intx::uint<256u> const&, intx::uint<256u> const&) */
int8 intx::operator<(uint *param_1,uint *param_2)
{
ulong uVar1;
ulong uVar2;
ulong uVar3;
ulong uVar4;
uVar2 = *(ulong *)(param_1 + 0x10);
uVar1 = *(ulong *)(param_1 + 0x18);
uVar3 = *(ulong *)(param_2 + 0x10);
... | |
1,240 | exec_REDO_LOGREC_DEBUG_INFO | eloqsql/storage/maria/ma_recovery.c | prototype_redo_exec_hook(DEBUG_INFO)
{
char *data;
enum translog_debug_info_type debug_info;
enlarge_buffer(rec);
if (log_record_buffer.str == NULL ||
translog_read_record(rec->lsn, 0, rec->record_length,
log_record_buffer.str, NULL) !=
rec->record_length)
{
eprint(... | O3 | c | exec_REDO_LOGREC_DEBUG_INFO:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl 0x14(%rdi), %edx
cmpq %rdx, 0xbd3080(%rip) # 0xc27c88
jae 0x54c30
movq %rdx, 0xbd3077(%rip) # 0xc27c88
movq 0xbd3068(%rip), %rsi # 0xc27c80
movl $0x50, %ecx
xorl %edi, %edi
callq 0xbf444
movq %rax, %rcx
movq %rax... | exec_REDO_LOGREC_DEBUG_INFO:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdi
mov edx, [rdi+14h]
cmp cs:log_record_buffer_1, rdx
jnb short loc_54C30
mov cs:log_record_buffer_1, rdx
mov rsi, cs:log_record_buffer_0
mov ecx, 50h ; 'P'
xor edi, edi
call my_realloc
mov ... | long long exec_REDO_LOGREC_DEBUG_INFO(long long a1, long long a2, long long a3, long long a4, int a5, int a6)
{
unsigned long long v6; // rdx
long long v7; // rcx
unsigned int v8; // r14d
int record; // eax
v6 = *(unsigned int *)(a1 + 20);
if ( log_record_buffer_1 >= v6 )
{
v7 = log_record_buffer_0;... | exec_REDO_LOGREC_DEBUG_INFO:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDI
MOV EDX,dword ptr [RDI + 0x14]
CMP qword ptr [0x00d27c88],RDX
JNC 0x00154c30
MOV qword ptr [0x00d27c88],RDX
MOV RSI,qword ptr [0x00d27c80]
MOV ECX,0x50
XOR EDI,EDI
CALL 0x001bf444
MOV RCX,RAX
MOV qword ptr [0x00d27c80],RAX
JMP 0x00154c37
LA... |
int8 exec_REDO_LOGREC_DEBUG_INFO(int8 *param_1)
{
int iVar1;
ulong uVar2;
uVar2 = (ulong)*(uint *)((long)param_1 + 0x14);
if (log_record_buffer_1 < uVar2) {
log_record_buffer_1 = uVar2;
log_record_buffer_0 = (char *)my_realloc(0,log_record_buffer_0,uVar2,0x50);
}
if ((log_record_buffer_0 != (ch... | |
1,241 | ggml_status_to_string | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml.c | const char * ggml_status_to_string(enum ggml_status status) {
switch (status) {
case GGML_STATUS_ALLOC_FAILED: return "GGML status: error (failed to allocate memory)";
case GGML_STATUS_FAILED: return "GGML status: error (operation failed)";
case GGML_STATUS_SUCCESS: return "GGML s... | O3 | c | ggml_status_to_string:
addl $0x2, %edi
cmpl $0x3, %edi
ja 0x199e0
movl %edi, %eax
leaq 0x32a48(%rip), %rcx # 0x4c420
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
retq
leaq 0x32c17(%rip), %rax # 0x4c5fe
retq
| ggml_status_to_string:
add edi, 2
cmp edi, 3
ja short loc_199E0
mov eax, edi
lea rcx, unk_4C420
movsxd rax, dword ptr [rcx+rax*4]
add rax, rcx
retn
loc_199E0:
lea rax, aGgmlStatusUnkn; "GGML status: unknown"
retn
| const char * ggml_status_to_string(int a1)
{
unsigned int v1; // edi
v1 = a1 + 2;
if ( v1 > 3 )
return "GGML status: unknown";
else
return (char *)dword_4C420 + dword_4C420[v1];
}
| ggml_status_to_string:
ADD EDI,0x2
CMP EDI,0x3
JA 0x001199e0
MOV EAX,EDI
LEA RCX,[0x14c420]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
RET
LAB_001199e0:
LEA RAX,[0x14c5fe]
RET
|
char * ggml_status_to_string(int param_1)
{
if (param_1 + 2U < 4) {
return &DAT_0014c420 + *(int *)(&DAT_0014c420 + (ulong)(param_1 + 2U) * 4);
}
return "GGML status: unknown";
}
| |
1,242 | char const* google::protobuf::internal::EpsCopyInputStream::AppendUntilEnd<google::protobuf::internal::EpsCopyInputStream::AppendString(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)::'lambda'(char const*, long)>(char const*, google::protobuf::internal::EpsCopyInputStream:... | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/parse_context.h | const char* AppendUntilEnd(const char* ptr, const A& append) {
if (ptr - buffer_end_ > limit_) return nullptr;
while (limit_ > kSlopBytes) {
size_t chunk_size = buffer_end_ + kSlopBytes - ptr;
append(ptr, chunk_size);
ptr = Next();
if (ptr == nullptr) return limit_end_;
ptr += kSlo... | O3 | c | char const* google::protobuf::internal::EpsCopyInputStream::AppendUntilEnd<google::protobuf::internal::EpsCopyInputStream::AppendString(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)::'lambda'(char const*, long)>(char const*, google::protobuf::internal::EpsCopyInputStream:... | _ZN6google8protobuf8internal18EpsCopyInputStream14AppendUntilEndIZNS2_12AppendStringEPKcPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEUlS5_lE_EES5_S5_RKT_:
push r15
push r14
push rbx
mov rbx, rdx
mov rcx, [rdi+8]
mov rdx, rsi
sub rdx, rcx
movsxd r14, dword ptr [rdi+1Ch]
cmp rdx, r1... | long long google::protobuf::internal::EpsCopyInputStream::AppendUntilEnd<google::protobuf::internal::EpsCopyInputStream::AppendString(char const*,std::string *)::{lambda(char const*,long)#1}>(
google::protobuf::internal::EpsCopyInputStream *this,
_BYTE *a2,
_QWORD **a3)
{
long long v4; // rcx... | AppendUntilEnd<google::protobuf::internal::EpsCopyInputStream::AppendString(char_const*,std::__cxx11::string*)::{lambda(char_const*,long)#1}>:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV RCX,qword ptr [RDI + 0x8]
MOV RDX,RSI
SUB RDX,RCX
MOVSXD R14,dword ptr [RDI + 0x1c]
CMP RDX,R14
JLE 0x001ab2f0
XOR R14D,R14D
JMP 0x001... |
/* char const*
google::protobuf::internal::EpsCopyInputStream::AppendUntilEnd<google::protobuf::internal::EpsCopyInputStream::AppendString(char
const*, std::__cxx11::string*)::{lambda(char const*, long)#1}>(char const*,
google::protobuf::internal::EpsCopyInputStream::AppendString(char const*,
std::__cxx11:... | |
1,243 | skip | eloqsql/unittest/mytap/tap.c | void
skip(int how_many, char const * const fmt, ...)
{
char reason[80];
if (fmt && *fmt)
{
va_list ap;
va_start(ap, fmt);
vsnprintf(reason, sizeof(reason), fmt, ap);
va_end(ap);
}
else
reason[0] = '\0';
while (how_many-- > 0)
{
va_list ap;
memset((char*) &ap, 0, sizeof(ap)); ... | O0 | c | skip:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp # imm = 0x160
testb %al, %al
je 0xdb537
movaps %xmm0, -0x130(%rbp)
movaps %xmm1, -0x120(%rbp)
movaps %xmm2, -0x110(%rbp)
movaps %xmm3, -0x100(%rbp)
movaps %xmm4, -0xf0(%rbp)
movaps %xmm5, -0xe0(%rbp)
movaps %xmm6, -0xd0(%rbp)
movaps %xmm7, -0xc0(%rbp)
movq %... | skip:
push rbp
mov rbp, rsp
sub rsp, 160h
test al, al
jz short loc_DB537
movaps [rbp+var_130], xmm0
movaps [rbp+var_120], xmm1
movaps [rbp+var_110], xmm2
movaps [rbp+var_100], xmm3
movaps [rbp+var_F0], xmm4
movaps [rbp+var_E0], xmm5
movaps [rbp+var_D0], xmm6
movaps [rbp+var_C0], xmm7
loc_DB53... | unsigned long long skip(int a1, _BYTE *a2, ...)
{
int v2; // eax
_BYTE v4[32]; // [rsp+B0h] [rbp-B0h] BYREF
va_list va; // [rsp+D0h] [rbp-90h] BYREF
_BYTE *v6; // [rsp+F0h] [rbp-70h]
int v7; // [rsp+FCh] [rbp-64h]
char v8[88]; // [rsp+100h] [rbp-60h] BYREF
unsigned long long v9; // [rsp+158h] [rbp-8h]
... | skip:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x160
TEST AL,AL
JZ 0x001db537
MOVAPS xmmword ptr [RBP + -0x130],XMM0
MOVAPS xmmword ptr [RBP + -0x120],XMM1
MOVAPS xmmword ptr [RBP + -0x110],XMM2
MOVAPS xmmword ptr [RBP + -0x100],XMM3
MOVAPS xmmword ptr [RBP + -0xf0],XMM4
MOVAPS xmmword ptr [RBP + -0xe0],XMM5
MOVAPS xmmword ptr [RB... |
void skip(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,int param_9,
char *param_10,int8 param_11,int8 param_12,int8 param_13,
int8 param_14)
{
char in_AL;
long in_FS_OFFSET;
int1 local_168 [16];
int8 local_158;
int8 local... | |
1,244 | skip | eloqsql/unittest/mytap/tap.c | void
skip(int how_many, char const * const fmt, ...)
{
char reason[80];
if (fmt && *fmt)
{
va_list ap;
va_start(ap, fmt);
vsnprintf(reason, sizeof(reason), fmt, ap);
va_end(ap);
}
else
reason[0] = '\0';
while (how_many-- > 0)
{
va_list ap;
memset((char*) &ap, 0, sizeof(ap)); ... | O3 | c | skip:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movl %edi, %ebx
movq %rdx, -0x140(%rbp)
movq %rcx, -0x138(%rbp)
movq %r8, -0x130(%rbp)
movq %r9, -0x128(%rbp)
testb %al, %al
je 0x9251b
movaps %xmm0, -0x120(%rbp)
movaps %xmm1, -0x110(%rbp)... | skip:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 128h
mov ebx, edi
mov [rbp+var_140], rdx
mov [rbp+var_138], rcx
mov [rbp+var_130], r8
mov [rbp+var_128], r9
test al, al
jz short loc_9251B
movaps [rbp+var_120], xmm0
movaps [rbp+var_... | unsigned long long skip(int a1, _BYTE *a2, ...)
{
unsigned int v2; // ebx
va_list va; // [rsp+B0h] [rbp-A0h] BYREF
char v5[80]; // [rsp+D0h] [rbp-80h] BYREF
unsigned long long v6; // [rsp+120h] [rbp-30h]
v6 = __readfsqword(0x28u);
if ( a2 && *a2 )
{
va_start(va, a2);
__vsnprintf_chk(v5, 80LL, 1LL... | skip:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x128
MOV EBX,EDI
MOV qword ptr [RBP + -0x140],RDX
MOV qword ptr [RBP + -0x138],RCX
MOV qword ptr [RBP + -0x130],R8
MOV qword ptr [RBP + -0x128],R9
TEST AL,AL
JZ 0x0019251b
MOVAPS xmmword ptr [RBP + -0x120],XMM0
MOVAPS xmmword ptr [RBP + -0... |
void skip(int4 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,int param_9,
char *param_10,int8 param_11,int8 param_12,int8 param_13,
int8 param_14)
{
int *puVar1;
char in_AL;
uint uVar2;
long in_FS_OFFSET;
int1 local_158 [16];
... | |
1,245 | ma_ck_delete | eloqsql/storage/maria/ma_delete.c | my_bool _ma_ck_delete(MARIA_HA *info, MARIA_KEY *key)
{
MARIA_SHARE *share= info->s;
int res;
my_bool buff_alloced;
LSN lsn= LSN_IMPOSSIBLE;
my_off_t new_root= share->state.key_root[key->keyinfo->key_nr];
uchar *key_buff, *save_key_data;
MARIA_KEY org_key;
DBUG_ENTER("_ma_ck_delete");
LINT_INIT_STRUC... | O3 | c | ma_ck_delete:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq (%rdi), %r13
movq $0x0, -0x48(%rbp)
movq 0x118(%r13), %rax
movq 0x8(%rsi), %rcx
movzbl 0xa5(%rcx), %edx
movq (%rax,%rdx,8), %ra... | _ma_ck_delete:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov r14, rsi
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov r13, [rdi]
mov [rbp+var_48], 0
mov rax, [r13+118h]
mov rcx, [rsi+8]
movzx edx, byte ptr [rcx+0A5h... | bool ma_ck_delete(_QWORD **a1, long long *a2)
{
_DWORD *v3; // r13
long long v4; // rcx
unsigned long long v5; // rsi
unsigned long long v6; // rax
bool v7; // cc
unsigned long long v8; // rax
char *v9; // r15
long long v10; // rax
long long v11; // r12
__int128 v12; // xmm1
unsigned __int8 v13; ... | _ma_ck_delete:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV R14,RSI
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV R13,qword ptr [RDI]
MOV qword ptr [RBP + -0x48],0x0
MOV RAX,qword ptr [R13 + 0x118]
MOV RCX,qword ptr [RSI + 0x8]
MOVZX EDX,byte ptr [RCX ... |
bool _ma_ck_delete(long *param_1,ulong *param_2)
{
ushort uVar1;
int iVar2;
long lVar3;
void *__src;
byte bVar4;
char cVar5;
ulong uVar6;
int1 *__dest;
ulong *puVar7;
int8 uVar8;
uint uVar9;
long in_FS_OFFSET;
bool bVar10;
ulong local_78;
int4 uStack_70;
int4 uStack_6c;
ulong local_6... | |
1,246 | ssz_add_gindex | corpus-core[P]colibri-stateless/src/util/ssz_merkle.c | gindex_t ssz_add_gindex(gindex_t gindex1, gindex_t gindex2) {
uint32_t depth = log2_ceil((uint32_t) gindex2 + 1) - 1;
if (depth > 63) {
log_error("gindex depth is too large: %u", depth);
return 0;
}
return (gindex1 << depth) | (gindex2 & ((1 << depth) - 1));
} | O1 | c | ssz_add_gindex:
pushq %rbx
movq %rsi, %rbx
leal 0x1(%rsi), %eax
movl $0xffffffff, %ecx # imm = 0xFFFFFFFF
cmpl $0x2, %eax
jb 0x14d74
bsrl %eax, %edx
movl %edx, %ecx
xorl $-0x20, %ecx
leal -0x1(%rax), %esi
addl $0x21, %ecx
testl %esi, %eax
cmovel %edx, %ecx
decl %ecx
cmpl $0x40, %ecx
jb 0x14d8f
xorl %ebx, %ebx
xor... | ssz_add_gindex:
push rbx
mov rbx, rsi
lea eax, [rsi+1]
mov ecx, 0FFFFFFFFh
cmp eax, 2
jb short loc_14D74
bsr edx, eax
mov ecx, edx
xor ecx, 0FFFFFFE0h
lea esi, [rax-1]
add ecx, 21h ; '!'
test eax, esi
cmovz ecx, edx
dec ecx
loc_14D74:
cmp ecx, 40h ; '@'
jb s... | long long ssz_add_gindex(long long a1, long long a2)
{
unsigned int v2; // eax
unsigned int v3; // ecx
unsigned int v4; // edx
unsigned int v5; // ecx
long long v6; // rbx
long long v7; // rdx
int v8; // ecx
int v9; // r8d
int v10; // r9d
v2 = a2 + 1;
v3 = -1;
if ( (unsigned int)(a2 + 1) >= 2 ... | ssz_add_gindex:
PUSH RBX
MOV RBX,RSI
LEA EAX,[RSI + 0x1]
MOV ECX,0xffffffff
CMP EAX,0x2
JC 0x00114d74
BSR EDX,EAX
MOV ECX,EDX
XOR ECX,0xffffffe0
LEA ESI,[RAX + -0x1]
ADD ECX,0x21
TEST EAX,ESI
CMOVZ ECX,EDX
DEC ECX
LAB_00114d74:
CMP ECX,0x40
JC 0x00114d8f
XOR EBX,EBX
XOR EAX,EAX
CALL 0x0011869f
TEST EAX,EAX
JZ 0x00114da... |
ulong ssz_add_gindex(long param_1,uint param_2)
{
uint uVar1;
uint uVar2;
int iVar3;
uint uVar4;
ulong uVar5;
uVar2 = param_2 + 1;
uVar4 = 0xffffffff;
if (1 < uVar2) {
uVar1 = 0x1f;
if (uVar2 != 0) {
for (; uVar2 >> uVar1 == 0; uVar1 = uVar1 - 1) {
}
}
uVar4 = (uVar1 ^ 0... | |
1,247 | ssz_add_gindex | corpus-core[P]colibri-stateless/src/util/ssz_merkle.c | gindex_t ssz_add_gindex(gindex_t gindex1, gindex_t gindex2) {
uint32_t depth = log2_ceil((uint32_t) gindex2 + 1) - 1;
if (depth > 63) {
log_error("gindex depth is too large: %u", depth);
return 0;
}
return (gindex1 << depth) | (gindex2 & ((1 << depth) - 1));
} | O3 | c | ssz_add_gindex:
pushq %rbx
leal 0x1(%rsi), %eax
cmpl $0x2, %eax
jae 0x14818
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x17e1b
testl %eax, %eax
je 0x14848
callq 0x54da
xorl %ebx, %ebx
jmp 0x14848
movq %rsi, %rbx
bsrl %eax, %edx
movl %edx, %ecx
xorl $0x1f, %ecx
leal -0x1(%rax), %esi
movb $0x20, %r8b
subb %cl, %r8b
testl %esi... | ssz_add_gindex:
push rbx
lea eax, [rsi+1]
cmp eax, 2
jnb short loc_14818
xor ebx, ebx
xor eax, eax
call c4_get_log_level
test eax, eax
jz short loc_14848
call ssz_add_gindex_cold_1
xor ebx, ebx
jmp short loc_14848
loc_14818:
mov rbx, rsi
bsr edx, eax
mov ecx, edx... | long long ssz_add_gindex(long long a1, long long a2)
{
long long v2; // rbx
long long v3; // rdx
int v4; // ecx
int v5; // r8d
int v6; // r9d
int v7; // edx
char v8; // cl
if ( (unsigned int)(a2 + 1) >= 2 )
{
_BitScanReverse((unsigned int *)&v7, a2 + 1);
v8 = 32 - (v7 ^ 0x1F);
if ( ((uns... | ssz_add_gindex:
PUSH RBX
LEA EAX,[RSI + 0x1]
CMP EAX,0x2
JNC 0x00114818
XOR EBX,EBX
XOR EAX,EAX
CALL 0x00117e1b
TEST EAX,EAX
JZ 0x00114848
CALL 0x001054da
XOR EBX,EBX
JMP 0x00114848
LAB_00114818:
MOV RBX,RSI
BSR EDX,EAX
MOV ECX,EDX
XOR ECX,0x1f
LEA ESI,[RAX + -0x1]
MOV R8B,0x20
SUB R8B,CL
TEST EAX,ESI
MOVZX ECX,R8B
CMO... |
ulong ssz_add_gindex(long param_1,uint param_2)
{
uint uVar1;
int iVar2;
byte bVar3;
ulong uVar4;
uVar1 = param_2 + 1;
if (uVar1 < 2) {
uVar4 = 0;
iVar2 = c4_get_log_level();
if (iVar2 != 0) {
ssz_add_gindex_cold_1();
uVar4 = 0;
}
}
else {
iVar2 = 0x1f;
if (uVar1... | |
1,248 | strxmov | eloqsql/strings/strxmov.c | char *strxmov(char *dst,const char *src, ...)
{
va_list pvar;
va_start(pvar,src);
while (src != NullS) {
while ((*dst++ = *src++)) ;
dst--;
src = va_arg(pvar, char *);
}
va_end(pvar);
*dst = 0; /* there might have been no sources! */
return dst;
} | O3 | c | strxmov:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movl %eax, %r10d
movq %rdi, %rax
leaq -0xd0(%rbp), %rdi
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movq %r9, 0x28(%rdi)
testb %r10b, %r10b
je 0xd73f0
movaps %xmm0, -0xa0(%rbp)
movaps %xmm1, -0x90(%rbp)
movaps %xmm2, -0x80(%rbp)
movaps %xmm3, -0x... | strxmov:
push rbp
mov rbp, rsp
sub rsp, 50h
mov r10d, eax
mov rax, rdi
lea rdi, [rbp+var_D0]
mov [rdi+10h], rdx
mov [rdi+18h], rcx
mov [rdi+20h], r8
mov [rdi+28h], r9
test r10b, r10b
jz short loc_D73F0
movaps [rbp+var_A0], xmm0
movaps [rbp+var_90], xmm1
movaps [rbp+var_... | char *strxmov(char *a1, char *a2, ...)
{
char *result; // rax
char *reg_save_area; // rcx
unsigned int gp_offset; // edx
char *overflow_arg_area; // rdi
char *v6; // r8
char v7; // r9
char *v8; // r9
va_list va; // [rsp+B0h] [rbp-20h] BYREF
result = a1;
va_start(va, a2);
if ( a2 )
{
reg_sav... | strxmov:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV R10D,EAX
MOV RAX,RDI
LEA RDI,[RBP + -0xd0]
MOV qword ptr [RDI + 0x10],RDX
MOV qword ptr [RDI + 0x18],RCX
MOV qword ptr [RDI + 0x20],R8
MOV qword ptr [RDI + 0x28],R9
TEST R10B,R10B
JZ 0x001d73f0
MOVAPS xmmword ptr [RBP + -0xa0],XMM0
MOVAPS xmmword ptr [RBP + -0x90],XMM1
MOV... |
void strxmov(char *param_1,char *param_2)
{
char cVar1;
int8 *puVar2;
int8 *puVar3;
ulong uVar4;
int8 *puVar5;
int8 local_d8 [22];
uint local_28;
puVar2 = (int8 *)&stack0x00000008;
if (param_2 != (char *)0x0) {
local_28 = 0x10;
puVar3 = puVar2;
do {
for (; cVar1 = *param_2, *par... | |
1,249 | binding_system_resolve_binding | tsotchke[P]eshkol/src/frontend/binding/core/binding_management.c | uint64_t binding_system_resolve_binding(BindingSystem* system, StringId name) {
assert(system != NULL);
assert(name != NULL);
// Get current scope
uint64_t scope_id = system->current_scope_id;
// Search for binding in current scope and parent scopes
while (scope_id != 0) {
// S... | O0 | c | binding_system_resolve_binding:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0xbba9
jmp 0xbbc8
leaq 0x61cf(%rip), %rdi # 0x11d7f
leaq 0x63bb(%rip), %rsi # 0x11f72
movl $0x56, %edx
leaq 0x645e(%rip), %rcx # 0x12021
callq 0x10a0
cmpq $0... | binding_system_resolve_binding:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
cmp [rbp+var_10], 0
jz short loc_BBA9
jmp short loc_BBC8
loc_BBA9:
lea rdi, aSystemNull; "system != NULL"
lea rsi, aWorkspaceLlm4b_7; "/workspace/llm4binary/github/2025_... | long long binding_system_resolve_binding(_QWORD *a1, long long a2)
{
unsigned long long j; // [rsp+8h] [rbp-28h]
long long i; // [rsp+10h] [rbp-20h]
if ( !a1 )
__assert_fail(
"system != NULL",
"/workspace/llm4binary/github/2025_star3/tsotchke[P]eshkol/src/frontend/binding/core/binding_management... | binding_system_resolve_binding:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
CMP qword ptr [RBP + -0x10],0x0
JZ 0x0010bba9
JMP 0x0010bbc8
LAB_0010bba9:
LEA RDI,[0x111d7f]
LEA RSI,[0x111f72]
MOV EDX,0x56
LEA RCX,[0x112021]
CALL 0x001010a0
LAB_0010bbc8:
CMP qword ptr [... |
int8 binding_system_resolve_binding(long param_1,char *param_2)
{
int iVar1;
ulong local_30;
long local_28;
if (param_1 == 0) {
/* WARNING: Subroutine does not return */
__assert_fail("system != NULL",
"/workspace/llm4binary/github/2025_star3/tsotchke[P]eshkol/src/... | |
1,250 | nlohmann::json_abi_v3_11_3::operator==(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<u... | monkey531[P]llama/common/json.hpp | constexpr value_t type() const noexcept
{
return m_data.m_type;
} | O2 | cpp | nlohmann::json_abi_v3_11_3::operator==(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<u... | _ZN8nlohmann16json_abi_v3_11_3eqERKNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEESF_:
push rbx
movzx eax, byte ptr [rdi]
mov cl, [rsi]
cmp al, cl
jnz short loc_4A230
cmp eax, 8; switch 9 cases
ja def_4A2... | char nlohmann::json_abi_v3_11_3::operator==(unsigned __int8 *a1, unsigned __int8 *a2, __m128d a3)
{
unsigned __int8 v3; // al
unsigned __int8 v4; // cl
__m128d v6; // rt1
unsigned __int8 v7; // dl
__m128d v8; // xmm0
__m128d v9; // xmm1
__m128d v10; // rt1
__int8 v11; // xmm1_1
unsigned __int8 v12; /... | operator==:
PUSH RBX
MOVZX EAX,byte ptr [RDI]
MOV CL,byte ptr [RSI]
CMP AL,CL
JNZ 0x0014a230
CMP EAX,0x8
JA 0x0014a343
MOV EAX,EAX
LEA RCX,[0x18caa4]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_5:
MOV RAX,qword ptr [RDI + 0x8]
CMP RAX,qword ptr [RSI + 0x8]
JMP 0x0014a2e8
LAB_0014a230:
MOV ED... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* nlohmann::json_abi_v3_11_3::TEMPNAMEPLACEHOLDERVALUE(nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohma... | |
1,251 | nlohmann::json_abi_v3_11_3::operator==(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<u... | monkey531[P]llama/common/json.hpp | constexpr value_t type() const noexcept
{
return m_data.m_type;
} | O3 | cpp | nlohmann::json_abi_v3_11_3::operator==(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<u... | _ZN8nlohmann16json_abi_v3_11_3eqERKNS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEESF_:
push r15
push r14
push r12
push rbx
sub rsp, 38h
movzx eax, byte ptr [rdi]
mov cl, [rsi]
cmp al, cl
jnz short loc... | long long nlohmann::json_abi_v3_11_3::operator==(unsigned __int8 *a1, unsigned __int8 *a2, __m128d a3)
{
unsigned int v3; // ebx
unsigned __int8 v4; // al
unsigned __int8 v5; // cl
bool v6; // zf
__m128d v7; // rt1
unsigned __int8 v8; // dl
__m128d v9; // xmm0
__m128d v10; // xmm1
__m128d v11; // rt1... | operator==:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x38
MOVZX EAX,byte ptr [RDI]
MOV CL,byte ptr [RSI]
CMP AL,CL
JNZ 0x0014de34
CMP EAX,0x8
JA 0x0014dffc
MOV BL,0x1
MOV EAX,EAX
LEA RCX,[0x1a7ad4]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_5:
MOV RAX,qword ptr [RDI + 0x8]
CMP RAX,qword ... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* nlohmann::json_abi_v3_11_3::TEMPNAMEPLACEHOLDERVALUE(nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohma... | |
1,252 | my_coll_parser_scan_reset_before | eloqsql/strings/ctype-uca.c | static int
my_coll_parser_scan_reset_before(MY_COLL_RULE_PARSER *p)
{
MY_COLL_LEXEM *lexem= my_coll_parser_curr(p);
if (!lex_cmp(lexem, C_STRING_WITH_LEN("[before primary]")) ||
!lex_cmp(lexem, C_STRING_WITH_LEN("[before 1]")))
{
p->rule.before_level= 1;
}
else if (!lex_cmp(lexem, C_STRING_WITH_LEN(... | O0 | c | my_coll_parser_scan_reset_before:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x4e7e0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x2c69a(%rip), %rsi # 0x7b9ce
movl $0x10, %edx
callq 0x4ef60
cmpl $0x0, %eax
je 0x4f35d
movq -0x18(%rbp), %rdi
leaq 0x2c691(%ri... | my_coll_parser_scan_reset_before:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov rdi, [rbp+var_10]
call my_coll_parser_curr
mov [rbp+var_18], rax
mov rdi, [rbp+var_18]
lea rsi, aBeforePrimary; "[before primary]"
mov edx, 10h
call lex_cmp
cmp eax, 0
jz shor... | long long my_coll_parser_scan_reset_before(long long a1)
{
long long v2; // [rsp+8h] [rbp-18h]
v2 = my_coll_parser_curr(a1);
if ( !(unsigned int)lex_cmp(v2, (long long)"[before primary]", 0x10uLL)
|| !(unsigned int)lex_cmp(v2, (long long)"[before 1]", 0xAuLL) )
{
*(_QWORD *)(a1 + 224) = 1LL;
retur... | my_coll_parser_scan_reset_before:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x0014e7e0
MOV qword ptr [RBP + -0x18],RAX
MOV RDI,qword ptr [RBP + -0x18]
LEA RSI,[0x17b9ce]
MOV EDX,0x10
CALL 0x0014ef60
CMP EAX,0x0
JZ 0x0014f35d
MOV RDI,qword ptr [RBP + -0x18]
LE... |
int4 my_coll_parser_scan_reset_before(long param_1)
{
int iVar1;
int4 uVar2;
int8 uVar3;
uVar3 = my_coll_parser_curr(param_1);
iVar1 = lex_cmp(uVar3,"[before primary]",0x10);
if ((iVar1 == 0) || (iVar1 = lex_cmp(uVar3,"[before 1]",10), iVar1 == 0)) {
*(int8 *)(param_1 + 0xe0) = 1;
}
else {
... | |
1,253 | js_date_getTimezoneOffset | bluesky950520[P]quickjs/quickjs.c | static JSValue js_date_getTimezoneOffset(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
// getTimezoneOffset()
double v;
if (JS_ThisTimeValue(ctx, &v, this_val))
return JS_EXCEPTION;
if (isnan(v))
return JS_NAN;
else
/* ... | O2 | c | js_date_getTimezoneOffset:
pushq %rax
movq %rdx, %rcx
movq %rsi, %rdx
movq %rsp, %rsi
callq 0x4a403
testl %eax, %eax
je 0x49f10
pushq $0x6
popq %rdx
xorl %eax, %eax
jmp 0x49f32
movsd (%rsp), %xmm0
ucomisd %xmm0, %xmm0
jp 0x49f34
callq 0xe150
cvttsd2si %xmm0, %rdi
callq 0x4a679
movslq %eax, %rdi
callq 0x20a0b
popq %rcx
... | js_date_getTimezoneOffset:
push rax
mov rcx, rdx
mov rdx, rsi
mov rsi, rsp
call JS_ThisTimeValue
test eax, eax
jz short loc_49F10
push 6
pop rdx
xor eax, eax
jmp short loc_49F32
loc_49F10:
movsd xmm0, [rsp+8+var_8]
ucomisd xmm0, xmm0
jp short loc_49F34
call _trunc
cvtt... | long long js_date_getTimezoneOffset(long long a1, long long a2, long long a3)
{
double v3; // rax
double v5; // xmm0_8
int TimezoneOffset; // eax
double v7; // [rsp+0h] [rbp-8h] BYREF
v7 = v3;
if ( (unsigned int)JS_ThisTimeValue(a1, &v7, a2, a3) )
return 0LL;
v5 = trunc(v7);
TimezoneOffset = getTi... | js_date_getTimezoneOffset:
PUSH RAX
MOV RCX,RDX
MOV RDX,RSI
MOV RSI,RSP
CALL 0x0014a403
TEST EAX,EAX
JZ 0x00149f10
PUSH 0x6
POP RDX
XOR EAX,EAX
JMP 0x00149f32
LAB_00149f10:
MOVSD XMM0,qword ptr [RSP]
UCOMISD XMM0,XMM0
JP 0x00149f34
CALL 0x0010e150
CVTTSD2SI RDI,XMM0
CALL 0x0014a679
MOVSXD RDI,EAX
CALL 0x00120a0b
LAB_00... |
int8 js_date_getTimezoneOffset(int8 param_1,int8 param_2,int8 param_3)
{
int iVar1;
double in_RAX;
int8 uVar2;
double dVar3;
double local_8;
local_8 = in_RAX;
iVar1 = JS_ThisTimeValue(param_1,&local_8,param_2,param_3);
if (iVar1 == 0) {
if (NAN(local_8)) {
uVar2 = 0x7ff8000000000000;
... | |
1,254 | LefDefParser::defwHistory(char const*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defwWriter.cpp | int
defwHistory(const char *string)
{
char *c;
defwFunc = DEFW_HISTORY; // Current function of writer
if (!defwFile)
return DEFW_UNINITIALIZED;
if (!defwDidInit)
return DEFW_BAD_ORDER;
if (string == 0 || *string == 0)
return DEFW_BAD_DATA;
for (c = (char*) string; *c; ... | O0 | cpp | LefDefParser::defwHistory(char const*):
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
leaq 0x19d18(%rip), %rax # 0x2b168
movl $0xb, (%rax)
leaq 0x19cfb(%rip), %rax # 0x2b158
cmpq $0x0, (%rax)
jne 0x11470
movl $0x1, 0x14(%rsp)
jmp 0x11535
leaq 0x19cfd(%rip), %rax # 0x2b174
cmpl $0x0, (%rax)
jne 0x11489
movl $0x2, 0x... | _ZN12LefDefParser11defwHistoryEPKc:
sub rsp, 18h
mov [rsp+18h+var_10], rdi
lea rax, _ZN12LefDefParser8defwFuncE; LefDefParser::defwFunc
mov dword ptr [rax], 0Bh
lea rax, _ZN12LefDefParser8defwFileE; LefDefParser::defwFile
cmp qword ptr [rax], 0
jnz short loc_11470
mov [rsp+18h+var_4], 1
... | long long LefDefParser::defwHistory(LefDefParser *this, const char *a2)
{
LefDefParser *i; // [rsp+0h] [rbp-18h]
LefDefParser::defwFunc = 11;
if ( LefDefParser::defwFile )
{
if ( LefDefParser::defwDidInit )
{
if ( this && *(_BYTE *)this )
{
for ( i = this; *(_BYTE *)i; i = (LefDefP... | defwHistory:
SUB RSP,0x18
MOV qword ptr [RSP + 0x8],RDI
LEA RAX,[0x12b168]
MOV dword ptr [RAX],0xb
LEA RAX,[0x12b158]
CMP qword ptr [RAX],0x0
JNZ 0x00111470
MOV dword ptr [RSP + 0x14],0x1
JMP 0x00111535
LAB_00111470:
LEA RAX,[0x12b174]
CMP dword ptr [RAX],0x0
JNZ 0x00111489
MOV dword ptr [RSP + 0x14],0x2
JMP 0x00111535... |
/* LefDefParser::defwHistory(char const*) */
int4 LefDefParser::defwHistory(char *param_1)
{
char *local_18;
int4 local_4;
defwFunc = 0xb;
if (defwFile == (FILE *)0x0) {
local_4 = 1;
}
else if (defwDidInit == 0) {
local_4 = 2;
}
else if ((param_1 == (char *)0x0) || (local_18 = param_1, *pa... | |
1,255 | minja::FilterTemplateToken::~FilterTemplateToken() | monkey531[P]llama/common/minja.hpp | FilterTemplateToken(const Location & location, SpaceHandling pre, SpaceHandling post, std::shared_ptr<Expression> && filter)
: TemplateToken(Type::Filter, location, pre, post), filter(std::move(filter)) {} | O3 | cpp | minja::FilterTemplateToken::~FilterTemplateToken():
pushq %rbx
movq %rdi, %rbx
leaq 0x82d61(%rip), %rax # 0xe1e68
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x38(%rdi), %rdi
testq %rdi, %rdi
je 0x5f11c
callq 0x348da
leaq 0x820a5(%rip), %rax # 0xe11c8
addq $0x10, %rax
movq %rax, (%rbx)
movq 0x18(%rbx), %rdi
testq %... | _ZN5minja19FilterTemplateTokenD0Ev:
push rbx
mov rbx, rdi
lea rax, _ZTVN5minja19FilterTemplateTokenE; `vtable for'minja::FilterTemplateToken
add rax, 10h
mov [rdi], rax
mov rdi, [rdi+38h]
test rdi, rdi
jz short loc_5F11C
call _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_r... | void minja::FilterTemplateToken::~FilterTemplateToken(minja::FilterTemplateToken *this)
{
volatile signed __int32 *v2; // rdi
volatile signed __int32 *v3; // rdi
*(_QWORD *)this = &`vtable for'minja::FilterTemplateToken + 2;
v2 = (volatile signed __int32 *)*((_QWORD *)this + 7);
if ( v2 )
std::_Sp_count... | ~FilterTemplateToken:
PUSH RBX
MOV RBX,RDI
LEA RAX,[0x1e1e68]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RDI,qword ptr [RDI + 0x38]
TEST RDI,RDI
JZ 0x0015f11c
CALL 0x001348da
LAB_0015f11c:
LEA RAX,[0x1e11c8]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
MOV RDI,qword ptr [RBX + 0x18]
TEST RDI,RDI
JZ 0x0015f138
CALL 0x001348da
LAB... |
/* minja::FilterTemplateToken::~FilterTemplateToken() */
void __thiscall minja::FilterTemplateToken::~FilterTemplateToken(FilterTemplateToken *this)
{
*(int ***)this = &PTR__FilterTemplateToken_001e1e78;
if (*(_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> **)(this + 0x38) !=
(_Sp_counted_base<(__gnu_cxx::_L... | |
1,256 | ma_ck_write_btree | eloqsql/storage/maria/ma_write.c | static my_bool _ma_ck_write_btree(MARIA_HA *info, MARIA_KEY *key)
{
my_bool error;
MARIA_KEYDEF *keyinfo= key->keyinfo;
my_off_t *root= &info->s->state.key_root[keyinfo->key_nr];
DBUG_ENTER("_ma_ck_write_btree");
error= _ma_ck_write_btree_with_log(info, key, root,
keyinf... | O0 | c | ma_ck_write_btree:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x118(%rax), %rax
movq -0x20(%rbp), %rcx
movzbl 0xa5(%rcx), %ecx
shlq $0x3, %rcx
addq %rcx, %rax
mov... | _ma_ck_write_btree:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
mov rax, [rax+8]
mov [rbp+var_20], rax
mov rax, [rbp+var_8]
mov rax, [rax]
mov rax, [rax+118h]
mov rcx, [rbp+var_20]
movzx ecx, byte ptr [rcx+0A5h]
shl... | char ma_ck_write_btree(_QWORD *a1, long long a2)
{
char v3; // [rsp+1Fh] [rbp-11h]
v3 = ma_ck_write_btree_with_log(
a1,
a2,
8LL * *(unsigned __int8 *)(*(_QWORD *)(a2 + 8) + 165LL) + *(_QWORD *)(*a1 + 280LL),
(unsigned int)(*(_DWORD *)(a2 + 24) | *(_DWORD *)(*(_QWORD *)(a2 + 8) ... | _ma_ck_write_btree:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x118]
MOV RCX,qword ptr [RBP... |
char _ma_ck_write_btree(long *param_1,long param_2)
{
char local_19;
local_19 = _ma_ck_write_btree_with_log
(param_1,param_2,
*(long *)(*param_1 + 0x118) +
(ulong)*(byte *)(*(long *)(param_2 + 8) + 0xa5) * 8,
*(uint ... | |
1,257 | js_array_buffer_get_byteLength | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_buffer_get_byteLength(JSContext *ctx,
JSValue this_val,
int class_id)
{
JSArrayBuffer *abuf = JS_GetOpaque2(ctx, this_val, class_id);
if (!abuf)
return JS_EXCEPTION;
/* return 0 if det... | O1 | c | js_array_buffer_get_byteLength:
pushq %rax
callq 0x269a1
testq %rax, %rax
je 0x7ef32
movslq (%rax), %rcx
xorl %esi, %esi
movl %ecx, %eax
cvtsi2sd %rax, %xmm0
testq %rcx, %rcx
movq %xmm0, %rax
cmovnsq %rcx, %rax
movl $0x7, %edx
cmovnsq %rsi, %rdx
jmp 0x7ef39
movl $0x6, %edx
xorl %eax, %eax
popq %rcx
retq
| js_array_buffer_get_byteLength:
push rax
call JS_GetOpaque2
test rax, rax
jz short loc_7EF32
movsxd rcx, dword ptr [rax]
xor esi, esi
mov eax, ecx
cvtsi2sd xmm0, rax
test rcx, rcx
movq rax, xmm0
cmovns rax, rcx
mov edx, 7
cmovns rdx, rsi
jmp short loc_7EF39
loc_7EF32:
mov edx,... | long long js_array_buffer_get_byteLength(long long a1, long long a2, int a3, unsigned int a4)
{
int *Opaque2; // rax
long long v5; // rcx
long long result; // rax
Opaque2 = (int *)JS_GetOpaque2(a1, a2, a3, a4);
if ( Opaque2 )
{
v5 = *Opaque2;
*(double *)&result = (double)*Opaque2;
if ( v5 >= 0... | js_array_buffer_get_byteLength:
PUSH RAX
CALL 0x001269a1
TEST RAX,RAX
JZ 0x0017ef32
MOVSXD RCX,dword ptr [RAX]
XOR ESI,ESI
MOV EAX,ECX
CVTSI2SD XMM0,RAX
TEST RCX,RCX
MOVQ RAX,XMM0
CMOVNS RAX,RCX
MOV EDX,0x7
CMOVNS RDX,RSI
JMP 0x0017ef39
LAB_0017ef32:
MOV EDX,0x6
XOR EAX,EAX
LAB_0017ef39:
POP RCX
RET
|
int1 [16] js_array_buffer_get_byteLength(void)
{
uint uVar1;
uint *puVar2;
double dVar3;
double dVar4;
int8 uVar5;
int1 auVar6 [16];
puVar2 = (uint *)JS_GetOpaque2();
if (puVar2 == (uint *)0x0) {
dVar3 = 0.0;
uVar5 = 6;
}
else {
uVar1 = *puVar2;
dVar4 = (double)(long)(int)uVar1... | |
1,258 | int OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<double>(int, int, OpenSubdiv::v3_6_0::Far::SparseMatrix<double> const&, OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/far/patchTableFactory.cpp | int
PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints(
int levelIndex, Index faceIndex,
SparseMatrix<REAL> const & matrix,
PatchDescriptor::Type patchType,
Index const sourcePoints[],
int sourcePointOffset,
Index patc... | O1 | cpp | int OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<double>(int, int, OpenSubdiv::v3_6_0::Far::SparseMatrix<double> const&, OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq... | _ZN10OpenSubdiv6v3_6_03Far17PatchTableBuilder16LocalPointHelper22AppendLocalPatchPointsIfEEiiiRKNS1_12SparseMatrixIT_EENS1_15PatchDescriptor4TypeEPKiiPi:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov [rsp+88h+var_58], r9
mov r13d, edx
mov [rsp+88h+var_64], esi
... | long long OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<float>(
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper *this,
int a2,
int a3,
unsigned int *a4,
int a5,
long long a6,
unsigned int a7,
long long a... | AppendLocalPatchPoints<float>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV qword ptr [RSP + 0x30],R9
MOV R13D,EDX
MOV dword ptr [RSP + 0x24],ESI
MOV RBX,RDI
MOV qword ptr [RSP + 0x18],RCX
MOV R14D,dword ptr [RCX]
XOR ECX,ECX
CMP R8D,0x9
LEA RAX,[0x1b9000]
CMOVNZ RAX,RCX
CMP R8D,0x3
LEA R12,[0... |
/* int
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<float>(int,
int, OpenSubdiv::v3_6_0::Far::SparseMatrix<float> const&,
OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*) */
int __thiscall
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHel... | |
1,259 | int OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<double>(int, int, OpenSubdiv::v3_6_0::Far::SparseMatrix<double> const&, OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/far/patchTableFactory.cpp | int
PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints(
int levelIndex, Index faceIndex,
SparseMatrix<REAL> const & matrix,
PatchDescriptor::Type patchType,
Index const sourcePoints[],
int sourcePointOffset,
Index patc... | O2 | cpp | int OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<double>(int, int, OpenSubdiv::v3_6_0::Far::SparseMatrix<double> const&, OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq... | _ZN10OpenSubdiv6v3_6_03Far17PatchTableBuilder16LocalPointHelper22AppendLocalPatchPointsIfEEiiiRKNS1_12SparseMatrixIT_EENS1_15PatchDescriptor4TypeEPKiiPi:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov r14, r9
mov r9d, edx
mov [rsp+88h+var_6C], esi
mov rbx, r... | long long OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<float>(
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper *this,
int a2,
unsigned int a3,
int *a4,
long long a5,
long long a6,
unsigned int a7,
long ... | AppendLocalPatchPoints<float>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R14,R9
MOV R9D,EDX
MOV dword ptr [RSP + 0x1c],ESI
MOV RBX,RDI
MOV qword ptr [RSP + 0x8],RCX
MOVSXD R12,dword ptr [RCX]
MOV R15D,dword ptr [RDI + 0x10]
MOV BPL,byte ptr [RDI + 0x8]
XOR ECX,ECX
ADD R15D,dword ptr [RDI + ... |
/* int
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<float>(int,
int, OpenSubdiv::v3_6_0::Far::SparseMatrix<float> const&,
OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*) */
int __thiscall
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHel... | |
1,260 | int OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<double>(int, int, OpenSubdiv::v3_6_0::Far::SparseMatrix<double> const&, OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/far/patchTableFactory.cpp | int
PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints(
int levelIndex, Index faceIndex,
SparseMatrix<REAL> const & matrix,
PatchDescriptor::Type patchType,
Index const sourcePoints[],
int sourcePointOffset,
Index patc... | O3 | cpp | int OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<double>(int, int, OpenSubdiv::v3_6_0::Far::SparseMatrix<double> const&, OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq... | _ZN10OpenSubdiv6v3_6_03Far17PatchTableBuilder16LocalPointHelper22AppendLocalPatchPointsIfEEiiiRKNS1_12SparseMatrixIT_EENS1_15PatchDescriptor4TypeEPKiiPi:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 68h
mov [rsp+98h+var_68], r9
mov r12, rcx
mov r9d, edx
mov [rsp+9... | long long OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<float>(
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper *this,
int a2,
unsigned int a3,
unsigned int *a4,
long long a5,
long long a6,
unsigned int a7,
... | AppendLocalPatchPoints<float>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x68
MOV qword ptr [RSP + 0x30],R9
MOV R12,RCX
MOV R9D,EDX
MOV dword ptr [RSP + 0x1c],ESI
MOV RBX,RDI
MOV EBP,dword ptr [RCX]
XOR ECX,ECX
CMP R8D,0x9
LEA RAX,[0x1bc740]
CMOVNZ RAX,RCX
CMP R8D,0x3
LEA R13,[0x1bc730]
CMOVNZ R13,R... |
/* int
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHelper::AppendLocalPatchPoints<float>(int,
int, OpenSubdiv::v3_6_0::Far::SparseMatrix<float> const&,
OpenSubdiv::v3_6_0::Far::PatchDescriptor::Type, int const*, int, int*) */
int __thiscall
OpenSubdiv::v3_6_0::Far::PatchTableBuilder::LocalPointHel... | |
1,261 | rw_pr_unlock | eloqsql/mysys/thr_rwlock.c | int rw_pr_unlock(rw_pr_lock_t *rwlock)
{
if (rwlock->active_writer)
{
/* We are unlocking wr-lock. */
#ifdef SAFE_MUTEX
rwlock->writer_thread= 0;
#endif
rwlock->active_writer= FALSE;
if (rwlock->writers_waiting_readers)
{
/*
Avoid expensive cond signal in case when there is no cont... | O0 | c | rw_pr_unlock:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpb $0x0, 0x60(%rax)
je 0xfb6f0
movq -0x8(%rbp), %rax
movb $0x0, 0x60(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x5c(%rax)
je 0xfb6e5
movq -0x8(%rbp), %rdi
addq $0x28, %rdi
callq 0x2a580
movq -0x8(%rbp), %rdi
callq 0x2a1... | rw_pr_unlock:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
cmp byte ptr [rax+60h], 0
jz short loc_FB6F0
mov rax, [rbp+var_8]
mov byte ptr [rax+60h], 0
mov rax, [rbp+var_8]
cmp dword ptr [rax+5Ch], 0
jz short loc_FB6E5
mov rdi, [rbp+var... | long long rw_pr_unlock(long long a1)
{
if ( *(_BYTE *)(a1 + 96) )
{
*(_BYTE *)(a1 + 96) = 0;
if ( *(_DWORD *)(a1 + 92) )
pthread_cond_signal(a1 + 40);
}
else
{
pthread_mutex_lock(a1);
if ( !--*(_DWORD *)(a1 + 88) && *(_DWORD *)(a1 + 92) )
pthread_cond_signal(a1 + 40);
}
pthrea... | rw_pr_unlock:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
CMP byte ptr [RAX + 0x60],0x0
JZ 0x001fb6f0
MOV RAX,qword ptr [RBP + -0x8]
MOV byte ptr [RAX + 0x60],0x0
MOV RAX,qword ptr [RBP + -0x8]
CMP dword ptr [RAX + 0x5c],0x0
JZ 0x001fb6e5
MOV RDI,qword ptr [RBP + -0x8... |
int8 rw_pr_unlock(pthread_mutex_t *param_1)
{
if (*(char *)((long)param_1 + 0x60) == '\0') {
pthread_mutex_lock(param_1);
*(int *)((long)param_1 + 0x58) = *(int *)((long)param_1 + 0x58) + -1;
if ((*(int *)((long)param_1 + 0x58) == 0) && (*(int *)((long)param_1 + 0x5c) != 0)) {
pthread_cond_signal(... | |
1,262 | 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(KeyType && key)
{
// at only works for objects
if (JSON_HEDLEY_UNLIKELY(!is_object()))
{
JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
}
auto it = m_data.m_value.object->find(std::forward<KeyType>(ke... | 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_IhSaIhEEvE2atIRA10_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_:
sub rsp, 0C8h
mov [rsp+0C8h+var_8], rdi
... | long long ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA10_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_(
long long a1,
long lon... | |||
1,263 | 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(KeyType && key)
{
// at only works for objects
if (JSON_HEDLEY_UNLIKELY(!is_object()))
{
JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
}
auto it = m_data.m_value.object->find(std::forward<KeyType>(ke... | O2 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA9_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_:
push rbp; char
push r15; int
push r14; i... | long long ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA9_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_(
long long a1,
long long... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA9_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x48
... |
long _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA9_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_
(basic_json<nlohmann::json_ab... | |
1,264 | 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(KeyType && key)
{
// at only works for objects
if (JSON_HEDLEY_UNLIKELY(!is_object()))
{
JSON_THROW(type_error::create(304, detail::concat("cannot use at() with ", type_name()), this));
}
auto it = m_data.m_value.object->find(std::forward<KeyType>(ke... | O3 | cpp | nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned c... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA13_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_:
push rbp; char
push r15; int
push r14; ... | long long ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA13_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_(
long long a1,
_BYTE *a... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA13_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB... |
char * _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE2atIRA13_KcTnNSt9enable_ifIXsr6detail32is_usable_as_basic_json_key_typeISD_T_EE5valueEiE4typeELi0EEERSD_OSJ_
(basic_json<nlohmann::js... | |
1,265 | translog_close_log_file | eloqsql/storage/maria/ma_loghandler.c | static my_bool translog_close_log_file(TRANSLOG_FILE *file)
{
int rc= 0;
flush_pagecache_blocks(log_descriptor.pagecache, &file->handler,
FLUSH_RELEASE);
/*
Sync file when we close it
TODO: sync only we have changed the log
*/
if (!file->is_sync)
{
rc= mysql_file_sync(fi... | O3 | c | translog_close_log_file:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
movq 0x3c987b(%rip), %rdi # 0x3ffef0
leaq 0x8(%rbx), %rsi
movl $0x1, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x3e0a0
cmpb $0x0, 0x51(%rbx)
jne 0x366c7
movl 0x18(%rbx), %r14d
leaq 0x351977(%rip), %rax # 0x... | translog_close_log_file:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 50h
mov rbx, rdi
mov rdi, cs:log_descriptor
lea rsi, [rbx+8]
mov edx, 1
xor ecx, ecx
xor r8d, r8d
call flush_pagecache_blocks_with_filter
cmp byte ptr [rbx+51h], 0
jnz short loc_366C7
mov r1... | long long translog_close_log_file(long long a1)
{
unsigned int v1; // r14d
long long v2; // rax
unsigned int v3; // r14d
long long v4; // rax
_BYTE v6[88]; // [rsp+8h] [rbp-58h] BYREF
flush_pagecache_blocks_with_filter(log_descriptor[0], a1 + 8, 1LL, 0LL, 0LL);
if ( !*(_BYTE *)(a1 + 81) )
{
v1 = *... | translog_close_log_file:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x50
MOV RBX,RDI
MOV RDI,qword ptr [0x004ffef0]
LEA RSI,[RBX + 0x8]
MOV EDX,0x1
XOR ECX,ECX
XOR R8D,R8D
CALL 0x0013e0a0
CMP byte ptr [RBX + 0x51],0x0
JNZ 0x001366c7
MOV R14D,dword ptr [RBX + 0x18]
LEA RAX,[0x488010]
MOV RAX,qword ptr [RAX]
LEA RDI,... |
void translog_close_log_file(long param_1)
{
int4 uVar1;
long lVar2;
int1 local_60 [72];
flush_pagecache_blocks_with_filter(log_descriptor,param_1 + 8,1,0,0);
if (*(char *)(param_1 + 0x51) == '\0') {
uVar1 = *(int4 *)(param_1 + 0x18);
lVar2 = (**(code **)(PSI_server + 0x158))(local_60,uVar1,0x10)... | |
1,266 | write_hook_for_clr_end | eloqsql/storage/maria/ma_key_recover.c | my_bool write_hook_for_clr_end(enum translog_record_type type
__attribute__ ((unused)),
TRN *trn, MARIA_HA *tbl_info,
LSN *lsn __attribute__ ((unused)),
void *hook_arg)
{
MARIA_SHARE *share= tbl... | O0 | c | write_hook_for_clr_end:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
movb $0x0, -0x39(%rbp)
jmp 0x... | write_hook_for_clr_end:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_4], edi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov rax, [rbp+var_18]
mov rax, [rax]
mov [rbp+var_30], rax
mov rax, [rbp+var_28]
mov [rbp+var_38], rax... | bool write_hook_for_clr_end(long long a1, long long a2, long long *a3, long long a4, long long a5)
{
bool v6; // [rsp+Fh] [rbp-51h]
bool v7; // [rsp+27h] [rbp-39h]
long long v8; // [rsp+30h] [rbp-30h]
v8 = *a3;
v7 = 0;
*(_QWORD *)(a2 + 152) = *(_QWORD *)a5;
switch ( *(_DWORD *)(a5 + 8) )
{
case 0x... | write_hook_for_clr_end:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword pt... |
bool write_hook_for_clr_end
(int8 param_1,long param_2,long *param_3,int8 param_4,int8 *param_5
)
{
long lVar1;
int iVar2;
bool local_59;
bool local_41;
lVar1 = *param_3;
local_41 = false;
*(int8 *)(param_2 + 0x98) = *param_5;
switch(*(int4 *)(param_5 + 1)) {
case 0x... | |
1,267 | get_charsets_dir | eloqsql/mysys/charset.c | char *get_charsets_dir(char *buf)
{
const char *sharedir= SHAREDIR;
char *res;
DBUG_ENTER("get_charsets_dir");
if (charsets_dir != NULL)
strmake(buf, charsets_dir, FN_REFLEN-1);
else
{
if (test_if_hard_path(sharedir) ||
is_prefix(sharedir, DEFAULT_CHARSET_HOME))
strxmov(buf, sharedir, "/", C... | O0 | c | get_charsets_dir:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x500cd(%rip), %rax # 0xaf770
movq %rax, -0x10(%rbp)
leaq 0x3af8c2(%rip), %rax # 0x40ef70
cmpq $0x0, (%rax)
je 0x5f6ce
movq -0x8(%rbp), %rdi
leaq 0x3af8b1(%rip), %rax # 0x40ef70
movq (%rax), %rsi
movl $0x1ff, %edx ... | get_charsets_dir:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
lea rax, aHomeMonoInstal; "/home/mono/install/share"
mov [rbp+var_10], rax
lea rax, charsets_dir
cmp qword ptr [rax], 0
jz short loc_5F6CE
mov rdi, [rbp+var_8]
lea rax, charsets_dir
mov rsi, [rax]
m... | _BYTE * get_charsets_dir(_BYTE *a1)
{
int v1; // r9d
if ( charsets_dir )
{
strmake(a1, charsets_dir, 511LL);
}
else if ( (unsigned int)test_if_hard_path("/home/mono/install/share")
|| (unsigned int)is_prefix("/home/mono/install/share", "/home/mono/install") )
{
strxmov(
(_DWORD)a1,
... | get_charsets_dir:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
LEA RAX,[0x1af770]
MOV qword ptr [RBP + -0x10],RAX
LEA RAX,[0x50ef70]
CMP qword ptr [RAX],0x0
JZ 0x0015f6ce
MOV RDI,qword ptr [RBP + -0x8]
LEA RAX,[0x50ef70]
MOV RSI,qword ptr [RAX]
MOV EDX,0x1ff
CALL 0x001abb70
JMP 0x0015f748
LAB_0015f6... |
int8 get_charsets_dir(int8 param_1)
{
int iVar1;
int8 uVar2;
if (charsets_dir == 0) {
iVar1 = test_if_hard_path("/home/mono/install/share");
if ((iVar1 == 0) &&
(iVar1 = is_prefix("/home/mono/install/share","/home/mono/install"), iVar1 == 0)) {
strxmov(param_1,"/home/mono/install",&DAT_0... | |
1,268 | ntt_conv | bluesky950520[P]quickjs/libbf.c | static int ntt_conv(BFNTTState *s, NTTLimb *buf1, NTTLimb *buf2,
int k, int k_tot, limb_t m_idx)
{
limb_t n1, n2, i;
int k1, k2;
if (k <= NTT_TRIG_K_MAX) {
k1 = k;
} else {
/* recursive split of the FFT */
k1 = bf_min(k / 2, NTT_TRIG_K_MAX);
}
k2 = k ... | O2 | c | ntt_conv:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %r10
movl %r8d, 0x8(%rsp)
movl %ecx, %r15d
movq %rdx, 0x20(%rsp)
movq %rsi, %r14
movl %ecx, %eax
shrl %eax
cmpl $0x13, %eax
pushq $0x13
popq %rbp
cmovbl %eax, %ebp
cmpl $0x14, %ecx
cmovll %ecx, %ebp
movl %ecx, %r13d
s... | ntt_conv:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov r10, r9
mov dword ptr [rsp+78h+var_70], r8d
mov r15d, ecx
mov [rsp+78h+var_58], rdx
mov r14, rsi
mov eax, ecx
shr eax, 1
cmp eax, 13h
push 13h
pop rbp
cmovb ebp, eax
cmp ec... | long long ntt_conv(unsigned long long a1, long long a2, long long a3, int a4, unsigned int a5, long long a6)
{
int v7; // ebp
unsigned int v8; // r13d
long long v9; // rbx
int v10; // eax
unsigned int v11; // ecx
int v12; // eax
long long v13; // r10
unsigned long long v14; // r12
unsigned long long ... | ntt_conv:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV R10,R9
MOV dword ptr [RSP + 0x8],R8D
MOV R15D,ECX
MOV qword ptr [RSP + 0x20],RDX
MOV R14,RSI
MOV EAX,ECX
SHR EAX,0x1
CMP EAX,0x13
PUSH 0x13
POP RBP
CMOVC EBP,EAX
CMP ECX,0x14
CMOVL EBP,ECX
MOV R13D,ECX
SUB R13D,EBP
PUSH 0x1
POP RBX
MOV R12... |
int ntt_conv(long param_1,long param_2,long param_3,uint param_4,uint param_5,int8 param_6)
{
ulong uVar1;
int8 uVar2;
ulong uVar3;
int1 auVar4 [16];
int1 auVar5 [16];
int iVar6;
int iVar7;
long lVar8;
long lVar9;
ulong uVar10;
ulong uVar11;
long lVar12;
uint uVar13;
long lVar14;
int iVa... | |
1,269 | get_date | eloqsql/mysys/mf_getdate.c | void get_date(register char * to, int flag, time_t date)
{
reg2 struct tm *start_time;
time_t skr;
#if defined(HAVE_LOCALTIME_R) && defined(_REENTRANT)
struct tm tm_tmp;
#endif
skr=date ? date : (time_t) my_time(0);
#if defined(HAVE_LOCALTIME_R) && defined(_REENTRANT)
if (flag & GETDATE_GMT)
gmtime_... | O3 | c | get_date:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movl %esi, %ebx
movq %rdi, %r14
testq %rdx, %rdx
jne 0x52b47
callq 0x5b814
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
mulq %rcx
shrq $0x12, %rdx
movq %rdx, -0x18(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x50(%rbp), %rsi
testb $0x8, ... | get_date:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 50h
mov ebx, esi
mov r14, rdi
test rdx, rdx
jnz short loc_52B47
call my_hrtime
mov rcx, 431BDE82D7B634DBh
mul rcx
shr rdx, 12h
loc_52B47:
mov [rbp+var_18], rdx
lea rdi, [rbp+var_18]
lea rsi, [rbp+var_50... | long long get_date(long long a1, char a2, unsigned long long a3)
{
const char *v3; // rcx
long long v4; // r8
long long v5; // r9
long long result; // rax
long long v7; // rax
long long v8; // rax
const char *v9; // rcx
int v10; // [rsp+0h] [rbp-60h]
long long v11; // [rsp+0h] [rbp-60h]
int v12; //... | get_date:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x50
MOV EBX,ESI
MOV R14,RDI
TEST RDX,RDX
JNZ 0x00152b47
CALL 0x0015b814
MOV RCX,0x431bde82d7b634db
MUL RCX
SHR RDX,0x12
LAB_00152b47:
MOV qword ptr [RBP + -0x18],RDX
LEA RDI,[RBP + -0x18]
LEA RSI,[RBP + -0x50]
TEST BL,0x8
JNZ 0x00152b5f
CALL 0x001281b0
JMP 0x001... |
void get_date(int8 param_1,ulong param_2,ulong param_3)
{
int8 uVar1;
char *pcVar2;
tm local_58;
ulong local_20;
if (param_3 == 0) {
param_3 = my_hrtime();
param_3 = param_3 / 1000000;
}
local_20 = param_3;
if ((param_2 & 8) == 0) {
localtime_r((time_t *)&local_20,&local_58);
}
else... | |
1,270 | fini_one_value | eloqsql/mysys/my_getopt.c | static void fini_one_value(const struct my_option *option, void *variable,
longlong value __attribute__ ((unused)))
{
DBUG_ENTER("fini_one_value");
switch ((option->var_type & GET_TYPE_MASK)) {
case GET_STR_ALLOC:
my_free(*((char**) variable));
*((char**) variable)= NULL;
break;
default: /* du... | O0 | c | fini_one_value:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x30(%rax), %eax
andl $0x3f, %eax
subl $0xa, %eax
jne 0x7945e
jmp 0x79445
movq -0x10(%rbp), %rax
movq (%rax), %rdi
callq 0x7bd00
movq -0x10(%rbp), %rax
movq $0x0, (%... | fini_one_value:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_8]
mov eax, [rax+30h]
and eax, 3Fh
sub eax, 0Ah
jnz short loc_7945E
jmp short $+2
loc_79445:
mov rax, [rbp+var_10]
mov rdi, [rax]
c... | _QWORD * fini_one_value(long long a1, _QWORD *a2)
{
_QWORD *result; // rax
result = (_QWORD *)((*(_DWORD *)(a1 + 48) & 0x3Fu) - 10);
if ( (*(_DWORD *)(a1 + 48) & 0x3F) == 0xA )
{
my_free(*a2);
result = a2;
*a2 = 0LL;
}
return result;
}
| fini_one_value:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x30]
AND EAX,0x3f
SUB EAX,0xa
JNZ 0x0017945e
JMP 0x00179445
LAB_00179445:
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,qwor... |
void fini_one_value(long param_1,int8 *param_2)
{
if ((*(uint *)(param_1 + 0x30) & 0x3f) == 10) {
my_free(*param_2);
*param_2 = 0;
}
return;
}
| |
1,271 | nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::... | monkey531[P]llama/common/json.hpp | void dump_float(number_float_t x)
{
// NaN / inf
if (!std::isfinite(x))
{
o->write_characters("null", 4);
return;
}
// If number_float_t is an IEEE-754 single or double precision number,
// use the Grisu2 algorithm to produce short numbers whi... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::... | _ZN8nlohmann16json_abi_v3_11_36detail10serializerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE10dump_floatEd:
push r14
push rbx
push rax
mov rbx, rdi
movq rax, xmm0
btr rax, 3Fh ; '?'
mov rcx, 7FF000000... | long long nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::dump_float(
_QWORD *a1,
... | dump_float:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOVQ RAX,XMM0
BTR RAX,0x3f
MOV RCX,0x7ff0000000000000
CMP RAX,RCX
JL 0x001b7bcf
MOV RDI,qword ptr [RBX]
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x8]
LEA RSI,[0x1f0477]
MOV EDX,0x4
ADD RSP,0x8
POP RBX
POP R14
JMP RAX
LAB_001b7bcf:
LEA R14,[RBX + 0x10]
LEA RSI,[... |
/* nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
... | |
1,272 | JS_AddIntrinsicProxy | bluesky950520[P]quickjs/quickjs.c | void JS_AddIntrinsicProxy(JSContext *ctx)
{
JSRuntime *rt = ctx->rt;
JSValue obj1;
if (!JS_IsRegisteredClass(rt, JS_CLASS_PROXY)) {
init_class_range(rt, js_proxy_class_def, JS_CLASS_PROXY,
countof(js_proxy_class_def));
rt->class_array[JS_CLASS_PROXY].exotic = &js_pr... | O2 | c | JS_AddIntrinsicProxy:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x18(%rdi), %r14
cmpl $0x31, 0x78(%r14)
jb 0x1cea6
movq 0x80(%r14), %rax
cmpl $0x0, 0x780(%rax)
jne 0x1cede
leaq 0x9cda3(%rip), %rsi # 0xb9c50
pushq $0x30
popq %rdx
pushq $0x1
popq %rcx
movq %r14, %rdi
callq 0x1b1c1
movq 0x... | JS_AddIntrinsicProxy:
push r15
push r14
push rbx
sub rsp, 10h
mov rbx, rdi
mov r14, [rdi+18h]
cmp dword ptr [r14+78h], 31h ; '1'
jb short loc_1CEA6
mov rax, [r14+80h]
cmp dword ptr [rax+780h], 0
jnz short loc_1CEDE
loc_1CEA6:
lea rsi, js_proxy_class_def
push 30h ; '0'
po... | long long JS_AddIntrinsicProxy(long long *a1)
{
long long v1; // r14
long long v2; // rax
long long v3; // rax
long long v4; // rdx
int v5; // r14d
int v6; // r15d
v1 = a1[3];
if ( *(_DWORD *)(v1 + 120) < 0x31u || !*(_DWORD *)(*(_QWORD *)(v1 + 128) + 1920LL) )
{
init_class_range(a1[3], (long lon... | JS_AddIntrinsicProxy:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV RBX,RDI
MOV R14,qword ptr [RDI + 0x18]
CMP dword ptr [R14 + 0x78],0x31
JC 0x0011cea6
MOV RAX,qword ptr [R14 + 0x80]
CMP dword ptr [RAX + 0x780],0x0
JNZ 0x0011cede
LAB_0011cea6:
LEA RSI,[0x1b9c50]
PUSH 0x30
POP RDX
PUSH 0x1
POP RCX
MOV RDI,R14
CALL 0x0011... |
void JS_AddIntrinsicProxy(long param_1)
{
long lVar1;
int1 auVar2 [16];
lVar1 = *(long *)(param_1 + 0x18);
if ((*(uint *)(lVar1 + 0x78) < 0x31) || (*(int *)(*(long *)(lVar1 + 0x80) + 0x780) == 0)) {
init_class_range(lVar1,js_proxy_class_def,0x30,1);
lVar1 = *(long *)(lVar1 + 0x80);
*(int1 **)(l... | |
1,273 | pfs_get_thread_file_descriptor_locker_v1 | eloqsql/storage/perfschema/pfs.cc | PSI_file_locker*
pfs_get_thread_file_descriptor_locker_v1(PSI_file_locker_state *state,
File file, PSI_file_operation op)
{
int index= static_cast<int> (file);
assert(static_cast<int> (op) >= 0);
assert(static_cast<uint> (op) < array_elements(file_operation_map));
assert... | O0 | cpp | pfs_get_thread_file_descriptor_locker_v1:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl -0x14(%rbp), %eax
movl %eax, -0x1c(%rbp)
movb $0x1, %al
cmpl $0x0, -0x1c(%rbp)
movb %al, -0x51(%rbp)
jl 0x2fd57
movslq -0x1c(%rbp), %rax
leaq 0x3dbff2(%rip), %r... | pfs_get_thread_file_descriptor_locker_v1:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_18], edx
mov eax, [rbp+var_14]
mov [rbp+var_1C], eax
mov al, 1
cmp [rbp+var_1C], 0
mov [rbp+var_51], al
jl short loc_2FD57
movsxd rax, [r... | long long pfs_get_thread_file_descriptor_locker_v1(long long a1, int a2, int a3)
{
long long v3; // rcx
bool v5; // [rsp+Fh] [rbp-51h]
long long v6; // [rsp+18h] [rbp-48h]
int v7; // [rsp+24h] [rbp-3Ch]
long long THR_PFS; // [rsp+28h] [rbp-38h]
long long v9; // [rsp+30h] [rbp-30h]
PFS_file *v10; // [rsp+... | pfs_get_thread_file_descriptor_locker_v1:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV dword ptr [RBP + -0x18],EDX
MOV EAX,dword ptr [RBP + -0x14]
MOV dword ptr [RBP + -0x1c],EAX
MOV AL,0x1
CMP dword ptr [RBP + -0x1c],0x0
MOV byte ptr [RBP + -0x51],AL
JL 0x0012fd... |
uint * pfs_get_thread_file_descriptor_locker_v1(uint *param_1,int param_2,uint param_3)
{
PFS_file *this;
int8 uVar1;
int8 *puVar2;
long lVar3;
int4 uVar4;
long lVar5;
uint local_44;
uint *local_10;
if (param_2 < 0 || file_handle_max <= param_2) {
local_10 = (uint *)0x0;
}
else {
this... | |
1,274 | testing::TestResult::GetTestProperty(int) const | giladroyz[P]FindPeaks/build_O1/_deps/googletest-src/googletest/src/gtest.cc | const TestProperty& TestResult::GetTestProperty(int i) const {
if (i < 0 || i >= test_property_count()) internal::posix::Abort();
return test_properties_.at(static_cast<size_t>(i));
} | O1 | cpp | testing::TestResult::GetTestProperty(int) const:
pushq %rax
testl %esi, %esi
js 0x1fc8f
movq 0x50(%rdi), %rax
movq 0x58(%rdi), %rcx
subq %rax, %rcx
shrq $0x6, %rcx
cmpl %esi, %ecx
jle 0x1fc8f
movl %esi, %esi
movq 0x58(%rdi), %rdx
subq %rax, %rdx
sarq $0x6, %rdx
cmpq %rsi, %rdx
jbe 0x1fc94
shlq $0x6, %rsi
addq %rsi, %ra... | _ZNK7testing10TestResult15GetTestPropertyEi:
push rax
test esi, esi
js short loc_1FC8F
mov rax, [rdi+50h]
mov rcx, [rdi+58h]
sub rcx, rax
shr rcx, 6
cmp ecx, esi
jle short loc_1FC8F
mov esi, esi
mov rdx, [rdi+58h]
sub rdx, rax
sar rdx, 6
cmp rdx, rsi
jbe short ... | long long testing::TestResult::GetTestProperty(testing::TestResult *this, int a2)
{
long long v2; // rax
unsigned long long v3; // rdx
if ( a2 < 0 || (v2 = *((_QWORD *)this + 10), (int)((unsigned long long)(*((_QWORD *)this + 11) - v2) >> 6) <= a2) )
testing::internal::posix::Abort(this);
v3 = (*((_QWORD ... | GetTestProperty:
PUSH RAX
TEST ESI,ESI
JS 0x0011fc8f
MOV RAX,qword ptr [RDI + 0x50]
MOV RCX,qword ptr [RDI + 0x58]
SUB RCX,RAX
SHR RCX,0x6
CMP ECX,ESI
JLE 0x0011fc8f
MOV ESI,ESI
MOV RDX,qword ptr [RDI + 0x58]
SUB RDX,RAX
SAR RDX,0x6
CMP RDX,RSI
JBE 0x0011fc94
SHL RSI,0x6
ADD RAX,RSI
POP RCX
RET
LAB_0011fc8f:
CALL 0x001... |
/* testing::TestResult::GetTestProperty(int) const */
ulong __thiscall testing::TestResult::GetTestProperty(TestResult *this,int param_1)
{
long lVar1;
char *pcVar2;
if ((param_1 < 0) ||
(lVar1 = *(long *)(this + 0x50), (int)((ulong)(*(long *)(this + 0x58) - lVar1) >> 6) <= param_1
)) {
intern... | |
1,275 | mi_read_rnd_pack_record | eloqsql/storage/myisam/mi_packrec.c | int _mi_read_rnd_pack_record(MI_INFO *info, uchar *buf,
register my_off_t filepos,
my_bool skip_deleted_blocks)
{
uint b_type;
MI_BLOCK_INFO block_info;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("_mi_read_rnd_pack_record");
if (filepos >= info->state->data_file_length)
{
my_errno= HA_ERR_... | O3 | c | mi_read_rnd_pack_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq 0x8(%rdi), %rax
cmpq %rdx, 0x28(%rax)
jbe 0x86f1d
movl %ecx, %r12d
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
testb $0x2, 0x1c8(%rdi)
jne 0x86f... | _mi_read_rnd_pack_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0B8h
mov rax, fs:28h
mov [rbp+var_30], rax
mov rax, [rdi+8]
cmp [rax+28h], rdx
jbe short loc_86F1D
mov r12d, ecx
mov r15, rdx
mov rbx, rsi
mov r14, rdi
test... | long long mi_read_rnd_pack_record(long long a1, const char *a2, unsigned long long a3, char a4)
{
long long v6; // rbx
_QWORD *v7; // r14
_QWORD *v8; // rcx
unsigned int v9; // r8d
const char *v11; // r13
const char *v12; // r12
long long v13; // rax
long long v14; // r13
long long v15; // rax
char... | _mi_read_rnd_pack_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xb8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RDI + 0x8]
CMP qword ptr [RAX + 0x28],RDX
JBE 0x00186f1d
MOV R12D,ECX
MOV R15,RDX
MOV RBX,RSI
MOV R14,RDI
TEST byte ptr [RDI + 0x1c8],0x... |
ulong _mi_read_rnd_pack_record(long *param_1,int8 param_2,ulong param_3,char param_4)
{
int iVar1;
int4 *puVar2;
uint *puVar3;
long lVar4;
ulong uVar5;
int4 uVar6;
long lVar7;
long lVar8;
long in_FS_OFFSET;
int1 local_e8 [72];
long local_a0;
int4 local_94;
int1 local_90 [24];
long local_78... | |
1,276 | JS_DetectModule | bluesky950520[P]quickjs/quickjs.c | BOOL JS_DetectModule(const char *input, size_t input_len)
{
JSRuntime *rt;
JSContext *ctx;
JSValue val;
BOOL is_module;
is_module = TRUE;
rt = JS_NewRuntime();
if (!rt)
return FALSE;
ctx = JS_NewContextRaw(rt);
if (!ctx) {
JS_FreeRuntime(rt);
return FALSE;
... | O2 | c | JS_DetectModule:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, %r12
callq 0x17e46
testq %rax, %rax
je 0x336fa
movq %rax, %rbx
movq %rax, %rdi
callq 0x182dd
testq %rax, %rax
je 0x336fe
movq %rax, %r14
movq %rax, %rdi
callq 0x191bb
orl $-0x1, 0x8(%rsp)
movl ... | JS_DetectModule:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r15, rsi
mov r12, rdi
call JS_NewRuntime
test rax, rax
jz loc_336FA
mov rbx, rax
mov rdi, rax
call JS_NewContextRaw
test rax, rax
jz short loc_336FE
mov r14, rax
mov ... | _BOOL8 JS_DetectModule(
char *a1,
long long a2,
__m128 a3,
__m128 a4,
__m128 a5,
__m128 a6,
double a7,
double a8,
__m128 a9,
__m128 a10)
{
long long v10; // rax
long long v11; // rbx
unsigned int *v12; // rax
unsigned int *v13; // ... | JS_DetectModule:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R15,RSI
MOV R12,RDI
CALL 0x00117e46
TEST RAX,RAX
JZ 0x001336fa
MOV RBX,RAX
MOV RDI,RAX
CALL 0x001182dd
TEST RAX,RAX
JZ 0x001336fe
MOV R14,RAX
MOV RDI,RAX
CALL 0x001191bb
OR dword ptr [RSP + 0x8],0xffffffff
MOV dword ptr [RSP],0x21
L... |
bool JS_DetectModule(int8 param_1,int8 param_2)
{
long lVar1;
long lVar2;
char *__haystack;
char *pcVar3;
bool bVar4;
int1 auVar5 [16];
lVar1 = JS_NewRuntime();
if (lVar1 == 0) {
bVar4 = false;
}
else {
lVar2 = JS_NewContextRaw(lVar1);
if (lVar2 == 0) {
bVar4 = false;
}
... | |
1,277 | minja::Value::operator-(minja::Value const&) const | monkey531[P]llama/common/./minja.hpp | Value operator-(const Value& rhs) const {
if (is_number_integer() && rhs.is_number_integer())
return get<int64_t>() - rhs.get<int64_t>();
else
return get<double>() - rhs.get<double>();
} | O3 | cpp | minja::Value::operator-(minja::Value const&) const:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movb 0x40(%rsi), %al
addb $-0x5, %al
cmpb $0x1, %al
ja 0x5853f
movb 0x40(%r14), %al
addb $-0x5, %al
cmpb $0x1, %al
ja 0x5853f
movq %rsi, %rdi
callq 0x3da46
movq %rax, %r15
movq %r14, %rd... | _ZNK5minja5ValuemiERKS0_:
push r15
push r14
push rbx
sub rsp, 10h
mov r14, rdx
mov rbx, rdi
mov al, [rsi+40h]
add al, 0FBh
cmp al, 1
ja short loc_5853F
mov al, [r14+40h]
add al, 0FBh
cmp al, 1
ja short loc_5853F
mov rdi, rsi
call _ZNK5minja5Value3getIlEET_v;... | long long minja::Value::operator-(long long a1, long long a2, long long a3)
{
long long v4; // r15
long long v5; // rax
char *v6; // r14
double v7; // xmm1_8
double v9; // [rsp+8h] [rbp-20h]
if ( (unsigned __int8)(*(_BYTE *)(a2 + 64) - 5) > 1u || (unsigned __int8)(*(_BYTE *)(a3 + 64) - 5) > 1u )
{
v... | operator-:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x10
MOV R14,RDX
MOV RBX,RDI
MOV AL,byte ptr [RSI + 0x40]
ADD AL,0xfb
CMP AL,0x1
JA 0x0015853f
MOV AL,byte ptr [R14 + 0x40]
ADD AL,0xfb
CMP AL,0x1
JA 0x0015853f
MOV RDI,RSI
CALL 0x0013da46
MOV R15,RAX
MOV RDI,R14
CALL 0x0013da46
SUB R15,RAX
LEA R14,[RBX + 0x40]
XORPD XMM0,X... |
/* minja::Value::TEMPNAMEPLACEHOLDERVALUE(minja::Value const&) const */
Value * __thiscall minja::Value::operator-(Value *this,Value *param_1)
{
long lVar1;
long lVar2;
Value *in_RDX;
double dVar3;
double dVar4;
if (((byte)((char)param_1[0x40] - 5U) < 2) && ((byte)((char)in_RDX[0x40] - 5U) < 2)) {
... | |
1,278 | mi_reset | eloqsql/storage/myisam/mi_extra.c | int mi_reset(MI_INFO *info)
{
int error= 0;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("mi_reset");
/*
Free buffers and reset the following flags:
EXTRA_CACHE, EXTRA_WRITE_CACHE, EXTRA_KEYREAD, EXTRA_QUICK
If the row buffer cache is large (for dynamic tables), reduce it
to save memory.
*/
if (... | O0 | c | mi_reset:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x1c8(%rax), %eax
andl $0x12, %eax
cmpl $0x0, %eax
je 0xb0d76
movq -0x8(%rbp), %rax
movl 0x1c8(%rax), %ecx
andl $-0x13, %ecx
movl %e... | mi_reset:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_C], 0
mov rax, [rbp+var_8]
mov rax, [rax]
mov [rbp+var_18], rax
mov rax, [rbp+var_8]
mov eax, [rax+1C8h]
and eax, 12h
cmp eax, 0
jz short loc_B0D76
mov rax, [rbp+var_8]
mov ecx, [ra... | long long mi_reset(long long *a1)
{
long long v2; // [rsp+8h] [rbp-18h]
unsigned int v3; // [rsp+14h] [rbp-Ch]
v3 = 0;
v2 = *a1;
if ( (a1[57] & 0x12) != 0 )
{
*((_DWORD *)a1 + 114) &= 0xFFFFFFED;
v3 = end_io_cache(a1 + 68);
}
if ( *(_DWORD *)(v2 + 392) )
mi_alloc_rec_buff(a1, -1LL, a1 + 36... | mi_reset:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x1c8]
AND EAX,0x12
CMP EAX,0x0
JZ 0x001b0d76
MOV RAX,qword ptr [RBP + ... |
int4 mi_reset(long *param_1)
{
long lVar1;
int4 local_14;
local_14 = 0;
lVar1 = *param_1;
if ((*(uint *)(param_1 + 0x39) & 0x12) != 0) {
*(uint *)(param_1 + 0x39) = *(uint *)(param_1 + 0x39) & 0xffffffed;
local_14 = end_io_cache(param_1 + 0x44);
}
if (*(int *)(lVar1 + 0x188) != 0) {
mi_al... | |
1,279 | common_kv_cache_dump_view(llama_kv_cache_view const&, int) | monkey531[P]llama/common/common.cpp | void common_kv_cache_dump_view(const llama_kv_cache_view & view, int row_size) {
static const char slot_chars[] = ".123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+";
printf("=== Dumping KV cache. total cells %d, max sequences per cell %d, populated cells %d, total tokens in cache %d, largest emp... | O3 | cpp | common_kv_cache_dump_view(llama_kv_cache_view const&, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl (%rdi), %esi
movl 0x4(%rdi), %edx
movl 0xc(%rdi), %ecx
movl 0x8(%rdi), %r8d
movl 0x10(%rdi), %r9d
movl 0x14(%rdi), %eax
movl %eax, (%rsp)
leaq 0x7... | _Z25common_kv_cache_dump_viewRK19llama_kv_cache_viewi:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov ebx, esi
mov r14, rdi
mov esi, [rdi]
mov edx, [rdi+4]
mov ecx, [rdi+0Ch]
mov r8d, [rdi+8]
mov r9d, [rdi+10h]
mov eax, [rdi+14h]
mov [rsp+38h+... | long long common_kv_cache_dump_view(long long a1, int a2)
{
long long v2; // r12
int v3; // ebp
long long v4; // rcx
long long v5; // rdx
long long v6; // rax
printf(
"=== Dumping KV cache. total cells %d, max sequences per cell %d, populated cells %d, total tokens in cache %d, large"
"st empty sl... | common_kv_cache_dump_view:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV EBX,ESI
MOV R14,RDI
MOV ESI,dword ptr [RDI]
MOV EDX,dword ptr [RDI + 0x4]
MOV ECX,dword ptr [RDI + 0xc]
MOV R8D,dword ptr [RDI + 0x8]
MOV R9D,dword ptr [RDI + 0x10]
MOV EAX,dword ptr [RDI + 0x14]
MOV dword ptr [RSP],EAX
LEA RD... |
/* common_kv_cache_dump_view(llama_kv_cache_view const&, int) */
void common_kv_cache_dump_view(llama_kv_cache_view *param_1,int param_2)
{
uint uVar1;
int8 in_RAX;
ulong uVar2;
long lVar3;
uint uVar4;
long lVar5;
printf("=== Dumping KV cache. total cells %d, max sequences per cell %d, populated cel... | |
1,280 | convert_dirname | eloqsql/mysys/mf_dirname.c | char *convert_dirname(char *to, const char *from, const char *from_end)
{
char *to_org=to;
#ifdef BACKSLASH_MBTAIL
CHARSET_INFO *fs= fs_character_set();
#endif
DBUG_ENTER("convert_dirname");
/* We use -2 here, becasue we need place for the last FN_LIBCHAR */
if (!from_end || (from_end - from) > FN_REFLEN-2)
... | O3 | c | convert_dirname:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rdx, %rax
subq %rsi, %rax
leaq 0x1fe(%rsi), %rcx
cmpq $0x1ff, %rax # imm = 0x1FF
movq %rdx, %rax
cmovgeq %rcx, %rax
testq %rdx, %rdx
cmoveq %rcx, %rax
subq %rsi, %rax
movq %rax, %rdx
callq 0xd6a30
cmpq %rbx, %rax
je 0x942... | convert_dirname:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rax, rdx
sub rax, rsi
lea rcx, [rsi+1FEh]
cmp rax, 1FFh
mov rax, rdx
cmovge rax, rcx
test rdx, rdx
cmovz rax, rcx
sub rax, rsi
mov rdx, rax
call strmake
cmp rax, rbx
jz short loc_942F... | _WORD * convert_dirname(_WORD *a1, long long a2, long long a3)
{
long long v3; // rax
_WORD *result; // rax
v3 = a3;
if ( a3 - a2 >= 511 )
v3 = a2 + 510;
if ( !a3 )
v3 = a2 + 510;
result = (_WORD *)strmake(a1, a2, v3 - a2);
if ( result != a1 && *((_BYTE *)result - 1) && *((_BYTE *)result - 1) != ... | convert_dirname:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RAX,RDX
SUB RAX,RSI
LEA RCX,[RSI + 0x1fe]
CMP RAX,0x1ff
MOV RAX,RDX
CMOVGE RAX,RCX
TEST RDX,RDX
CMOVZ RAX,RCX
SUB RAX,RSI
MOV RDX,RAX
CALL 0x001d6a30
CMP RAX,RBX
JZ 0x001942fa
MOVZX ECX,byte ptr [RAX + -0x1]
TEST ECX,ECX
JZ 0x001942fa
CMP ECX,0x2f
... |
int2 * convert_dirname(int2 *param_1,long param_2,long param_3)
{
long lVar1;
int2 *puVar2;
lVar1 = param_3;
if (0x1fe < param_3 - param_2) {
lVar1 = param_2 + 0x1fe;
}
if (param_3 == 0) {
lVar1 = param_2 + 0x1fe;
}
puVar2 = (int2 *)strmake(param_1,param_2,lVar1 - param_2);
if (((puVar2 !... | |
1,281 | mi_close | eloqsql/storage/myisam/mi_close.c | int mi_close(register MI_INFO *info)
{
int error=0,flag;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("mi_close");
DBUG_PRINT("enter",("base: %p reopen: %u locks: %u",
info, (uint) share->reopen,
(uint) share->tot_locks));
if (info->open_list.data)
mysql_mutex_lock(&THR_LOCK_my... | O3 | c | mi_close:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movq (%rdi), %r15
cmpq $0x0, 0x218(%rdi)
je 0x2b3c7
leaq 0x3840f0(%rip), %rax # 0x3af4a0
cmpq $0x0, 0x40(%rax)
jne 0x2b7c7
leaq 0x3840de(%rip), %rdi # 0x3af4a0
callq 0x28530
movl 0x1f4(%rbx... | mi_close:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov rbx, rdi
mov r15, [rdi]
cmp qword ptr [rdi+218h], 0
jz short loc_2B3C7
lea rax, THR_LOCK_myisam
cmp qword ptr [rax+40h], 0
jnz loc_2B7C7
lea rdi, THR_LOCK_myisam
call ... | long long mi_close(_QWORD *a1, const char *a2)
{
long long v3; // r15
int v4; // eax
unsigned int v5; // r14d
long long v6; // rdx
long long v7; // rcx
long long v8; // rdx
long long v9; // rcx
int v10; // r13d
long long v11; // rcx
long long v12; // rdi
long long v13; // rdi
long long v14; // ... | mi_close:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV RBX,RDI
MOV R15,qword ptr [RDI]
CMP qword ptr [RDI + 0x218],0x0
JZ 0x0012b3c7
LEA RAX,[0x4af4a0]
CMP qword ptr [RAX + 0x40],0x0
JNZ 0x0012b7c7
LEA RDI,[0x4af4a0]
CALL 0x00128530
LAB_0012b3c7:
MOV EAX,dword ptr [RBX + 0x1f4]
XOR... |
int mi_close(long *param_1)
{
pthread_mutex_t *__mutex;
byte bVar1;
int4 uVar2;
int iVar3;
int *piVar4;
long lVar5;
long lVar6;
long lVar7;
int iVar8;
int1 local_80 [72];
int local_38;
int local_34;
lVar6 = *param_1;
if (param_1[0x43] != 0) {
if (THR_LOCK_myisam._64_8_ == 0) {
... | |
1,282 | minja::CallExpr::CallExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, minja::ArgumentsExpression&&) | monkey531[P]llama/common/minja.hpp | CallExpr(const Location & location, std::shared_ptr<Expression> && obj, ArgumentsExpression && a)
: Expression(location), object(std::move(obj)), args(std::move(a)) {} | O2 | cpp | minja::CallExpr::CallExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&, minja::ArgumentsExpression&&):
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
callq 0x628da
leaq 0x8dfca(%rip), %rax # 0xfc8d0
addq $0x10, %rax
movq %rax, (%r15)
andq $0x0, 0x28(%r15)
movups (%r... | _ZN5minja8CallExprC2ERKNS_8LocationEOSt10shared_ptrINS_10ExpressionEEONS_19ArgumentsExpressionE:
push r15
push r14
push rbx
mov rbx, rcx
mov r14, rdx
mov r15, rdi
call _ZN5minja10ExpressionC2ERKNS_8LocationE; minja::Expression::Expression(minja::Location const&)
lea rax, _ZTVN5minja8CallExpr... | long long minja::CallExpr::CallExpr(long long a1, _QWORD *a2, __int128 *a3, long long a4)
{
__int128 v6; // xmm0
minja::Expression::Expression((_QWORD *)a1, a2);
*(_QWORD *)a1 = &`vtable for'minja::CallExpr + 2;
*(_QWORD *)(a1 + 40) = 0LL;
v6 = *a3;
*((_QWORD *)a3 + 1) = 0LL;
*(_OWORD *)(a1 + 32) = v6;
... | CallExpr:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RCX
MOV R14,RDX
MOV R15,RDI
CALL 0x001628da
LEA RAX,[0x1fc8d0]
ADD RAX,0x10
MOV qword ptr [R15],RAX
AND qword ptr [R15 + 0x28],0x0
MOVUPS XMM0,xmmword ptr [R14]
AND qword ptr [R14 + 0x8],0x0
MOVUPS xmmword ptr [R15 + 0x20],XMM0
AND qword ptr [R14],0x0
ADD R15,0x30
MOV RDI,R1... |
/* minja::CallExpr::CallExpr(minja::Location const&, std::shared_ptr<minja::Expression>&&,
minja::ArgumentsExpression&&) */
void __thiscall
minja::CallExpr::CallExpr
(CallExpr *this,Location *param_1,shared_ptr *param_2,ArgumentsExpression *param_3)
{
int8 uVar1;
Expression::Expression((Expressio... | |
1,283 | hashcmp | eloqsql/mysys/hash.c | static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key,
size_t length)
{
size_t rec_keylength;
uchar *rec_key= (uchar*) my_hash_key(hash, pos->data, &rec_keylength, 1);
return ((length && length != rec_keylength) ||
my_strnncoll(hash->charset, (uchar*) rec_key, rec_keylength,
... | O3 | c | hashcmp:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r15
movq %rdx, %rbx
movq %rdi, %r14
movq 0x50(%rdi), %rax
testq %rax, %rax
je 0x299fc
leaq -0x28(%rbp), %r12
movq %rsi, %rdi
movq %r12, %rsi
movl $0x1, %edx
callq *%rax
movq %rax, %rsi
movq (%r12), %rdx
jmp 0x29... | hashcmp:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
sub rsp, 10h
mov r15, rcx
mov rbx, rdx
mov r14, rdi
mov rax, [rdi+50h]
test rax, rax
jz short loc_299FC
lea r12, [rbp+var_28]
mov rdi, rsi
mov rsi, r12
mov edx, 1
call rax
mov rsi, ra... | _BOOL8 hashcmp(_QWORD *a1, long long a2, long long a3, long long a4)
{
long long ( *v6)(long long, _QWORD *, long long); // rax
long long v7; // rsi
long long v8; // rdx
_BOOL8 result; // rax
_QWORD v10[5]; // [rsp+8h] [rbp-28h] BYREF
v6 = (long long ( *)(long long, _QWORD *, long long))a1[10];
if ( v6 ... | hashcmp:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV R15,RCX
MOV RBX,RDX
MOV R14,RDI
MOV RAX,qword ptr [RDI + 0x50]
TEST RAX,RAX
JZ 0x001299fc
LEA R12,[RBP + -0x28]
MOV RDI,RSI
MOV RSI,R12
MOV EDX,0x1
CALL RAX
MOV RSI,RAX
MOV RDX,qword ptr [R12]
JMP 0x00129a07
LAB_001299fc:
MOV RDX,qword p... |
bool hashcmp(long *param_1,long param_2,int8 param_3,long param_4)
{
int iVar1;
bool bVar2;
long local_30;
if ((code *)param_1[10] == (code *)0x0) {
local_30 = param_1[1];
param_2 = param_2 + *param_1;
}
else {
param_2 = (*(code *)param_1[10])(param_2,&local_30,1);
}
bVar2 = true;
if ... | |
1,284 | lf_alloc_new | eloqsql/mysys/lf_alloc-pin.c | void *lf_alloc_new(LF_PINS *pins)
{
LF_ALLOCATOR *allocator= (LF_ALLOCATOR *)(pins->pinbox->free_func_arg);
uchar *node;
for (;;)
{
do
{
node= allocator->top;
lf_pin(pins, 0, node);
} while (node != allocator->top && LF_BACKOFF());
if (!node)
{
node= (void *)my_malloc(key_me... | O3 | c | lf_alloc_new:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movq 0x30(%rax), %r15
leaq 0x2e078d(%rip), %rcx # 0x386018
movq 0x48(%r15), %r14
movq %r14, %rax
xchgq %rax, (%rbx)
cmpq 0x48(%r15), %r14
je 0xa58a9
movl (%rcx), %eax
testl %eax, %eax
je 0xa588b... | lf_alloc_new:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rbx, rdi
mov rax, [rdi+20h]
mov r15, [rax+30h]
lea rcx, my_cpu_relax_multiplier
loc_A588B:
mov r14, [r15+48h]
mov rax, r14
xchg rax, [rbx]
cmp r14, [r15+48h]
jz short loc_A58A9
mov eax,... | long long lf_alloc_new(long long a1)
{
long long v1; // r15
long long v2; // r14
int i; // eax
void ( *v4)(long long); // rax
v1 = *(_QWORD *)(*(_QWORD *)(a1 + 32) + 48LL);
while ( 1 )
{
while ( 1 )
{
v2 = *(_QWORD *)(v1 + 72);
_InterlockedExchange64((volatile long long *)a1, v2);
... | lf_alloc_new:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x20]
MOV R15,qword ptr [RAX + 0x30]
LEA RCX,[0x486018]
LAB_001a588b:
MOV R14,qword ptr [R15 + 0x48]
MOV RAX,R14
XCHG qword ptr [RBX],RAX
CMP R14,qword ptr [R15 + 0x48]
JZ 0x001a58a9
MOV EAX,dword ptr [RCX]
TEST ... |
long lf_alloc_new(long *param_1)
{
long lVar1;
int iVar2;
long lVar3;
bool bVar4;
lVar1 = *(long *)(param_1[4] + 0x30);
do {
while( true ) {
lVar3 = *(long *)(lVar1 + 0x48);
LOCK();
*param_1 = lVar3;
UNLOCK();
iVar2 = my_cpu_relax_multiplier;
if (lVar3 == *(long ... | |
1,285 | js_number_toPrecision | bluesky950520[P]quickjs/quickjs.c | static JSValue js_number_toPrecision(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue val;
int p;
double d;
val = js_thisNumberValue(ctx, this_val);
if (JS_IsException(val))
return val;
if (JS_ToFloat64Free(ctx, &d, val))
... | O1 | c | js_number_toPrecision:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movq %rdi, %r14
callq 0x7a70b
movq %rax, %r15
movq %rdx, %rbx
cmpl $0x6, %ebx
jne 0x7a179
movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000
movq %r15, %rcx
jmp 0x7a1e1
cmpl $0x2, %ebx
ja 0x7a18b
cvtsi2sd %r15d, %... | js_number_toPrecision:
push r15
push r14
push r12
push rbx
sub rsp, 18h
mov r12, r8
mov r14, rdi
call js_thisNumberValue
mov r15, rax
mov rbx, rdx
cmp ebx, 6
jnz short loc_7A179
mov rax, 0FFFFFFFF00000000h
mov rcx, r15
jmp short loc_7A1E1
loc_7A179:
cmp ebx, 2
... | unsigned long long js_number_toPrecision(
long long a1,
double a2,
__m128 a3,
__m128 a4,
__m128 a5,
double a6,
double a7,
__m128 a8,
__m128 a9,
long long a10,
long long a11,
long long a12,
long long *a13)
{
long l... | js_number_toPrecision:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R12,R8
MOV R14,RDI
CALL 0x0017a70b
MOV R15,RAX
MOV RBX,RDX
CMP EBX,0x6
JNZ 0x0017a179
MOV RAX,-0x100000000
MOV RCX,R15
JMP 0x0017a1e1
LAB_0017a179:
CMP EBX,0x2
JA 0x0017a18b
CVTSI2SD XMM0,R15D
MOVSD qword ptr [RSP + 0x8],XMM0
JMP 0x0017a1b5
LAB... |
int1 [16] js_number_toPrecision(int8 param_1)
{
int iVar1;
double dVar2;
ulong uVar3;
int8 uVar4;
uint uVar5;
int8 *in_R8;
double dVar6;
int1 auVar7 [16];
int1 auVar8 [16];
double local_30;
int *local_28;
auVar7 = js_thisNumberValue();
dVar6 = auVar7._0_8_;
uVar5 = auVar7._8_4_;
if (... | |
1,286 | nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::all... | monkey531[P]llama/common/json.hpp | const string_type& key() const
{
JSON_ASSERT(anchor.m_object != nullptr);
switch (anchor.m_object->type())
{
// use integer array index as key
case value_t::array:
{
if (array_index != array_index_last)
{
... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::all... | _ZNK8nlohmann16json_abi_v3_11_36detail21iteration_proxy_valueINS1_9iter_implINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES6_IhSaIhEEvEEEEE3keyEv:
push rbx
mov rax, [rdi]
test rax, rax
jz short loc_ACFFC
mov rbx, rdi
movzx ... | long long nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<u... | key:
PUSH RBX
MOV RAX,qword ptr [RDI]
TEST RAX,RAX
JZ 0x001acffc
MOV RBX,RDI
MOVZX EAX,byte ptr [RAX]
CMP EAX,0x1
JZ 0x001acfea
CMP EAX,0x2
JNZ 0x001acff3
MOV RSI,qword ptr [RBX + 0x20]
CMP RSI,qword ptr [RBX + 0x28]
JZ 0x001acfe4
LEA RDI,[RBX + 0x30]
CALL 0x001ad0b1
MOV RAX,qword ptr [RBX + 0x20]
MOV qword ptr [RBX + ... |
/* nlohmann::json_abi_v3_11_3::detail::iteration_proxy_value<nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializ... | |
1,287 | common_kv_cache_dump_view(llama_kv_cache_view const&, int) | llama.cpp/common/common.cpp | void common_kv_cache_dump_view(const llama_kv_cache_view & view, int row_size) {
static const char slot_chars[] = ".123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+";
printf("=== Dumping KV cache. total cells %d, max sequences per cell %d, populated cells %d, total tokens in cache %d, largest emp... | O3 | cpp | common_kv_cache_dump_view(llama_kv_cache_view const&, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl (%rdi), %esi
movl 0x4(%rdi), %edx
movl 0xc(%rdi), %ecx
movl 0x8(%rdi), %r8d
movl 0x10(%rdi), %r9d
movl 0x14(%rdi), %eax
movl %eax, (%rsp)
leaq 0x2... | _Z25common_kv_cache_dump_viewRK19llama_kv_cache_viewi:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov ebx, esi
mov r14, rdi
mov esi, [rdi]
mov edx, [rdi+4]
mov ecx, [rdi+0Ch]
mov r8d, [rdi+8]
mov r9d, [rdi+10h]
mov eax, [rdi+14h]
mov [rsp+38h+... | long long common_kv_cache_dump_view(long long a1, int a2)
{
long long v2; // r12
int v3; // ebp
long long v4; // rcx
long long v5; // rdx
long long v6; // rax
printf(
"=== Dumping KV cache. total cells %d, max sequences per cell %d, populated cells %d, total tokens in cache %d, large"
"st empty sl... | common_kv_cache_dump_view:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV EBX,ESI
MOV R14,RDI
MOV ESI,dword ptr [RDI]
MOV EDX,dword ptr [RDI + 0x4]
MOV ECX,dword ptr [RDI + 0xc]
MOV R8D,dword ptr [RDI + 0x8]
MOV R9D,dword ptr [RDI + 0x10]
MOV EAX,dword ptr [RDI + 0x14]
MOV dword ptr [RSP],EAX
LEA RD... |
/* common_kv_cache_dump_view(llama_kv_cache_view const&, int) */
void common_kv_cache_dump_view(llama_kv_cache_view *param_1,int param_2)
{
uint uVar1;
int8 in_RAX;
ulong uVar2;
long lVar3;
uint uVar4;
long lVar5;
printf("=== Dumping KV cache. total cells %d, max sequences per cell %d, populated cel... | |
1,288 | r3d_shader_load_screen_ambient_ibl | r3d/src/r3d_state.c | void r3d_shader_load_screen_ambient_ibl(void)
{
const char* defines[] = { "#define IBL" };
char* fsCode = r3d_shader_inject_defines(FS_SCREEN_AMBIENT, defines, 1);
R3D.shader.screen.ambientIbl.id = rlLoadShaderCode(VS_COMMON_SCREEN, fsCode);
RL_FREE(fsCode);
r3d_shader_screen_ambient_ibl_t* shader... | O0 | c | r3d_shader_load_screen_ambient_ibl:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0xb4b59(%rip), %rax # 0x218d88
movq %rax, -0x8(%rbp)
leaq -0x8(%rbp), %rsi
leaq 0x54c52(%rip), %rdi # 0x1b8e90
movl $0x1, %edx
callq 0x1656b0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rsi
leaq 0x4ee89(%rip), %rdi # 0x1b30e0... | r3d_shader_load_screen_ambient_ibl:
push rbp
mov rbp, rsp
sub rsp, 20h
mov rax, cs:off_218D88; "#define IBL"
mov [rbp+var_8], rax
lea rsi, [rbp+var_8]
lea rdi, FS_SCREEN_AMBIENT; "#version 330 core\n#ifdef IBL\n#define "...
mov edx, 1
call r3d_shader_inject_defines
mov [rbp+var_10]... | long long r3d_shader_load_screen_ambient_ibl()
{
int v0; // r8d
int v1; // r9d
long long v3; // [rsp+10h] [rbp-10h]
const char *v4; // [rsp+18h] [rbp-8h] BYREF
v4 = "#define IBL";
v3 = r3d_shader_inject_defines(
"#version 330 core\n"
"#ifdef IBL\n"
"#define PI 3.14159265358979323... | |||
1,289 | r3d_shader_load_screen_ambient_ibl | r3d/src/r3d_state.c | void r3d_shader_load_screen_ambient_ibl(void)
{
const char* defines[] = { "#define IBL" };
char* fsCode = r3d_shader_inject_defines(FS_SCREEN_AMBIENT, defines, 1);
R3D.shader.screen.ambientIbl.id = rlLoadShaderCode(VS_COMMON_SCREEN, fsCode);
RL_FREE(fsCode);
r3d_shader_screen_ambient_ibl_t* shader... | O3 | c | r3d_shader_load_screen_ambient_ibl:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0x5c556(%rip), %rdi # 0x120c10
callq 0x8180
leaq 0xd(%rax), %rdi
callq 0x84d0
movq %rax, %rbx
testq %rax, %rax
je 0xc476f
leaq 0x5c535(%rip), %r14 # 0x120c10
leaq 0x4ef79(%rip), %rsi # 0x11365b
mo... | r3d_shader_load_screen_ambient_ibl:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
lea rdi, FS_SCREEN_AMBIENT; "#version 330 core\n#ifdef IBL\n#define "...
call _strlen
lea rdi, [rax+0Dh]
call _malloc
mov rbx, rax
test rax, rax
jz loc_C476F
lea r14, FS_SCREEN_... | long long r3d_shader_load_screen_ambient_ibl()
{
long long v0; // rax
long long v1; // rbx
long long v2; // rax
long long v3; // r12
long long v4; // r15
unsigned int ShaderCode; // r14d
int v6; // r8d
int v7; // r9d
v0 = strlen(
"#version 330 core\n"
"#ifdef IBL\n"
"#defin... | r3d_shader_load_screen_ambient_ibl:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
LEA RDI,[0x220c10]
CALL 0x00108180
LEA RDI,[RAX + 0xd]
CALL 0x001084d0
MOV RBX,RAX
TEST RAX,RAX
JZ 0x001c476f
LEA R14,[0x220c10]
LEA RSI,[0x21365b]
MOV RDI,R14
CALL 0x001080c0
TEST RAX,RAX
JZ 0x001c4a3c
MOV R12,RAX
MOV RDI,RAX
... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void r3d_shader_load_screen_ambient_ibl(void)
{
int4 uVar1;
size_t sVar2;
char *__dest;
char *__s;
char *pcVar3;
sVar2 = strlen(
"#version 330 core\n#ifdef IBL\n#define PI 3.141592653589793238462643383... | |
1,290 | stmt_buffered_fetch | eloqsql/libmariadb/libmariadb/mariadb_stmt.c | static int stmt_buffered_fetch(MYSQL_STMT *stmt, uchar **row)
{
if (!stmt->result_cursor)
{
*row= NULL;
stmt->state= MYSQL_STMT_FETCH_DONE;
return MYSQL_NO_DATA;
}
stmt->state= MYSQL_STMT_USER_FETCHING;
*row= (uchar *)stmt->result_cursor->data;
stmt->result_cursor= stmt->result_cursor->next;
... | O3 | c | stmt_buffered_fetch:
movq 0xe0(%rdi), %rax
testq %rax, %rax
je 0x65623
pushq %rbp
movq %rsp, %rbp
movl $0x5, 0x50(%rdi)
movq 0x8(%rax), %rax
movq %rax, (%rsi)
movq 0xe0(%rdi), %rax
movq (%rax), %rax
movq %rax, 0xe0(%rdi)
xorl %eax, %eax
popq %rbp
retq
movq $0x0, (%rsi)
movl $0x6, 0x50(%rdi)
movl $0x64, %eax
retq
| stmt_buffered_fetch:
mov rax, [rdi+0E0h]
test rax, rax
jz short loc_65623
push rbp
mov rbp, rsp
mov dword ptr [rdi+50h], 5
mov rax, [rax+8]
mov [rsi], rax
mov rax, [rdi+0E0h]
mov rax, [rax]
mov [rdi+0E0h], rax
xor eax, eax
pop rbp
retn
loc_65623:
mov qword ptr [rsi... | long long stmt_buffered_fetch(long long a1, _QWORD *a2)
{
long long v2; // rax
v2 = *(_QWORD *)(a1 + 224);
if ( v2 )
{
*(_DWORD *)(a1 + 80) = 5;
*a2 = *(_QWORD *)(v2 + 8);
*(_QWORD *)(a1 + 224) = **(_QWORD **)(a1 + 224);
return 0LL;
}
else
{
*a2 = 0LL;
*(_DWORD *)(a1 + 80) = 6;
... | stmt_buffered_fetch:
MOV RAX,qword ptr [RDI + 0xe0]
TEST RAX,RAX
JZ 0x00165623
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RDI + 0x50],0x5
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RSI],RAX
MOV RAX,qword ptr [RDI + 0xe0]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RDI + 0xe0],RAX
XOR EAX,EAX
POP RBP
RET
LAB_00165623:
MOV qword p... |
int8 stmt_buffered_fetch(long param_1,int8 *param_2)
{
if (*(long *)(param_1 + 0xe0) != 0) {
*(int4 *)(param_1 + 0x50) = 5;
*param_2 = *(int8 *)(*(long *)(param_1 + 0xe0) + 8);
*(int8 *)(param_1 + 0xe0) = **(int8 **)(param_1 + 0xe0);
return 0;
}
*param_2 = 0;
*(int4 *)(param_1 + 0x50) = 6;
r... | |
1,291 | bf_log_internal | bluesky950520[P]quickjs/libbf.c | static int bf_log_internal(bf_t *r, const bf_t *a, limb_t prec, void *opaque)
{
bf_context_t *s = r->ctx;
bf_t T_s, *T = &T_s;
bf_t U_s, *U = &U_s;
bf_t V_s, *V = &V_s;
slimb_t n, prec1, l, i, K;
assert(r != a);
bf_init(s, T);
/* argument reduction 1 */
/* T=a*2^n with 2/3 <= T <= ... | O2 | c | bf_log_internal:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, %r12
movq %rdi, 0x28(%rsp)
movq (%rdi), %rbx
leaq 0x30(%rsp), %r14
movq %rbx, (%r14)
andl $0x0, 0x8(%r14)
movabsq $-0x8000000000000000, %rbp # imm = 0x8000000000000000
movq %rbp, 0x10(%r14)
xorps %xmm0, %xmm0
... | bf_log_internal:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0F8h
mov r12, rdx
mov [rsp+128h+var_100], rdi
mov rbx, [rdi]
lea r14, [rsp+128h+var_F8]
mov [r14], rbx
and dword ptr [r14+8], 0
mov rbp, 8000000000000000h
mov [r14+10h], rbp
xorps xmm0... | long long bf_log_internal(long long *a1, long long a2, unsigned long long a3)
{
long long v4; // rbx
signed long long v5; // r13
signed long long v6; // r14
signed long long v7; // rbx
unsigned long long v8; // rbp
long long v9; // rbp
long long v12; // [rsp+8h] [rbp-120h]
long long v13; // [rsp+18h] [... | bf_log_internal:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xf8
MOV R12,RDX
MOV qword ptr [RSP + 0x28],RDI
MOV RBX,qword ptr [RDI]
LEA R14,[RSP + 0x30]
MOV qword ptr [R14],RBX
AND dword ptr [R14 + 0x8],0x0
MOV RBP,-0x8000000000000000
MOV qword ptr [R14 + 0x10],RBP
XORPS XMM0,XMM0
MOVUPS xmmword ptr ... |
int8 bf_log_internal(int8 *param_1,int8 param_2,ulong param_3)
{
int8 uVar1;
int iVar2;
long lVar3;
ulong uVar4;
long lVar5;
long lVar6;
long lVar7;
long lVar8;
int8 local_f8;
int4 local_f0;
long local_e8;
int8 local_e0;
int8 uStack_d8;
int8 local_d0;
int4 local_c8;
int8 local_c0;
in... | |
1,292 | minja::Parser::parseVarNames[abi:cxx11]() | monkey531[P]llama/common/minja.hpp | std::vector<std::string> parseVarNames() {
static std::regex varnames_regex(R"(((?:\w+)(?:[\r\n\s]*,[\r\n\s]*(?:\w+))*)[\r\n\s]*)");
std::vector<std::string> group;
if ((group = consumeTokenGroups(varnames_regex)).empty()) throw std::runtime_error("Expected variable names");
std::vector<std::st... | O2 | cpp | minja::Parser::parseVarNames[abi:cxx11]():
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1e0, %rsp # imm = 0x1E0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x9f4f6(%rip), %rax # 0xcff90
movb (%rax), %al
testb %al, %al
je 0x30ba0
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
lea... | _ZN5minja6Parser13parseVarNamesB5cxx11Ev:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 1E0h
mov r14, rsi
mov rbx, rdi
lea rax, _ZGVZN5minja6Parser13parseVarNamesB5cxx11EvE14varnames_regexB5cxx11; `guard variable for'minja::Parser::parseVarNames(void)::varnames_regex
mov al, [... | long long minja::Parser::parseVarNames[abi:cxx11](long long a1, long long a2)
{
__int128 v2; // kr00_16
_QWORD *v3; // rax
std::runtime_error *exception; // rbx
__int128 v6; // [rsp+0h] [rbp-208h] BYREF
long long v7; // [rsp+10h] [rbp-1F8h]
_QWORD v8[2]; // [rsp+20h] [rbp-1E8h] BYREF
char v9; // [rsp+30h... | parseVarNames[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x1e0
MOV R14,RSI
MOV RBX,RDI
LEA RAX,[0x1cff90]
MOV AL,byte ptr [RAX]
TEST AL,AL
JZ 0x00130ba0
LAB_00130aa4:
XORPS XMM0,XMM0
MOVAPS xmmword ptr [RSP],XMM0
AND qword ptr [RSP + 0x10],0x0
LAB_00130ab1:
LEA RDX,[0x1cff70]
LEA RDI,[RSP + 0x60]
... |
/* minja::Parser::parseVarNames[abi:cxx11]() */
void minja::Parser::parseVarNames_abi_cxx11_(void)
{
long lVar1;
long lVar2;
int iVar3;
istream *piVar4;
runtime_error *this;
vector<std::__cxx11::string,std::allocator<std::__cxx11::string>> *in_RDI;
long local_208;
long lStack_200;
int8 local_1f8;
... | |
1,293 | uf_space_endspace_selected | eloqsql/storage/myisam/mi_packrec.c | static void uf_space_endspace_selected(MI_COLUMNDEF *rec, MI_BIT_BUFF *bit_buff,
uchar *to, uchar *end)
{
uint spaces;
if (get_bit(bit_buff))
bfill((uchar*) to,(end-to),' ');
else
{
if (get_bit(bit_buff))
{
if ((spaces=get_bits(bit_buff,rec->space_length_bits))+to > end)
{
bi... | O3 | c | uf_space_endspace_selected:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r13
movl 0x4(%rsi), %eax
testl %eax, %eax
je 0x841cd
movl (%r15), %r12d
decl %eax
movl %eax, 0x4(%r15)
btl %eax, %r12d
jb 0x84242
testl %ea... | uf_space_endspace_selected_0:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rcx
mov r14, rdx
mov r15, rsi
mov r13, rdi
mov eax, [rsi+4]
test eax, eax
jz short loc_841CD
mov r12d, [r15]
dec eax
mov [r15+4], eax
bt ... | _BYTE * uf_space_endspace_selected_0(long long a1, unsigned int *a2, _BYTE *a3, _BYTE *a4)
{
unsigned int v6; // eax
unsigned int v7; // r12d
unsigned int v8; // eax
unsigned int v9; // eax
unsigned int v10; // r13d
unsigned int v11; // ecx
int v12; // r13d
int v13; // r12d
unsigned int v14; // r12d
... | uf_space_endspace_selected:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RCX
MOV R14,RDX
MOV R15,RSI
MOV R13,RDI
MOV EAX,dword ptr [RSI + 0x4]
TEST EAX,EAX
JZ 0x001841cd
MOV R12D,dword ptr [R15]
DEC EAX
MOV dword ptr [R15 + 0x4],EAX
BT R12D,EAX
JC 0x00184242
TEST EAX,EAX
JNZ 0x0018... |
void uf_space_endspace_selected(long param_1,uint *param_2,void *param_3,ulong param_4)
{
uint uVar1;
uint uVar2;
uint uVar3;
byte bVar4;
size_t __n;
uint uVar5;
if (param_2[1] == 0) {
fill_buffer(param_2);
param_2[1] = 0x1f;
uVar5 = *param_2;
uVar3 = 0x1f;
if ((int)uVar5 < 0) got... | |
1,294 | js_thisBooleanValue | bluesky950520[P]quickjs/quickjs.c | static JSValue js_thisBooleanValue(JSContext *ctx, JSValue this_val)
{
if (JS_VALUE_GET_TAG(this_val) == JS_TAG_BOOL)
return js_dup(this_val);
if (JS_VALUE_GET_TAG(this_val) == JS_TAG_OBJECT) {
JSObject *p = JS_VALUE_GET_OBJ(this_val);
if (p->class_id == JS_CLASS_BOOLEAN) {
... | O1 | c | js_thisBooleanValue:
pushq %rbx
subq $0x10, %rsp
movq %rsi, (%rsp)
cmpl $-0x1, %edx
je 0x7a852
cmpl $0x1, %edx
jne 0x7a874
movq %rsi, %rbx
movq %rsi, 0x8(%rsp)
cmpl $-0x9, %edx
jb 0x7a889
movq 0x8(%rsp), %rax
incl (%rax)
jmp 0x7a889
movq (%rsp), %rcx
movb $0x1, %al
cmpw $0x6, 0x6(%rcx)
jne 0x7a870
movq 0x38(%rcx), %rdx... | js_thisBooleanValue:
push rbx
sub rsp, 10h
mov [rsp+18h+var_18], rsi
cmp edx, 0FFFFFFFFh
jz short loc_7A852
cmp edx, 1
jnz short loc_7A874
mov rbx, rsi
mov [rsp+18h+var_10], rsi
cmp edx, 0FFFFFFF7h
jb short loc_7A889
mov rax, [rsp+18h+var_10]
inc dword ptr [rax]
jmp ... | long long js_thisBooleanValue(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)... | js_thisBooleanValue:
PUSH RBX
SUB RSP,0x10
MOV qword ptr [RSP],RSI
CMP EDX,-0x1
JZ 0x0017a852
CMP EDX,0x1
JNZ 0x0017a874
MOV RBX,RSI
MOV qword ptr [RSP + 0x8],RSI
CMP EDX,-0x9
JC 0x0017a889
MOV RAX,qword ptr [RSP + 0x8]
INC dword ptr [RAX]
JMP 0x0017a889
LAB_0017a852:
MOV RCX,qword ptr [RSP]
MOV AL,0x1
CMP word ptr [RC... |
/* WARNING: Removing unreachable block (ram,0x0017a849) */
int1 [16] js_thisBooleanValue(int8 param_1,long param_2,int8 param_3)
{
bool bVar1;
long unaff_RBX;
int1 auVar2 [16];
if ((int)param_3 == -1) {
bVar1 = true;
if ((*(short *)(param_2 + 6) == 6) &&
(param_3 = *(int8 *)(param_2 + 0x38... | |
1,295 | js_thisBooleanValue | bluesky950520[P]quickjs/quickjs.c | static JSValue js_thisBooleanValue(JSContext *ctx, JSValue this_val)
{
if (JS_VALUE_GET_TAG(this_val) == JS_TAG_BOOL)
return js_dup(this_val);
if (JS_VALUE_GET_TAG(this_val) == JS_TAG_OBJECT) {
JSObject *p = JS_VALUE_GET_OBJ(this_val);
if (p->class_id == JS_CLASS_BOOLEAN) {
... | O3 | c | js_thisBooleanValue:
pushq %rbx
movq %rsi, %rbx
cmpl $0x1, %edx
je 0x7d1b9
cmpl $-0x1, %edx
jne 0x7d1a4
cmpw $0x6, 0x6(%rbx)
jne 0x7d1a4
movq 0x38(%rbx), %rdx
cmpl $0x1, %edx
jne 0x7d1a4
movq 0x30(%rbx), %rbx
jmp 0x7d1b9
leaq 0x27e19(%rip), %rsi # 0xa4fc4
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x22d8b
movl $0x6, %ed... | js_thisBooleanValue:
push rbx
mov rbx, rsi
cmp edx, 1
jz short loc_7D1B9
cmp edx, 0FFFFFFFFh
jnz short loc_7D1A4
cmp word ptr [rbx+6], 6
jnz short loc_7D1A4
mov rdx, [rbx+38h]
cmp edx, 1
jnz short loc_7D1A4
mov rbx, [rbx+30h]
jmp short loc_7D1B9
loc_7D1A4:
lea rsi... | long long js_thisBooleanValue(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)... | js_thisBooleanValue:
PUSH RBX
MOV RBX,RSI
CMP EDX,0x1
JZ 0x0017d1b9
CMP EDX,-0x1
JNZ 0x0017d1a4
CMP word ptr [RBX + 0x6],0x6
JNZ 0x0017d1a4
MOV RDX,qword ptr [RBX + 0x38]
CMP EDX,0x1
JNZ 0x0017d1a4
MOV RBX,qword ptr [RBX + 0x30]
JMP 0x0017d1b9
LAB_0017d1a4:
LEA RSI,[0x1a4fc4]
XOR EBX,EBX
XOR EAX,EAX
CALL 0x00122d8b
MOV... |
int1 [16] js_thisBooleanValue(int8 param_1,long param_2,int8 param_3)
{
int1 auVar1 [16];
if ((int)param_3 != 1) {
if ((((int)param_3 == -1) && (*(short *)(param_2 + 6) == 6)) &&
(param_3 = *(int8 *)(param_2 + 0x38), (int)param_3 == 1)) {
param_2 = *(long *)(param_2 + 0x30);
}
else {
... | |
1,296 | get_date_string | bluesky950520[P]quickjs/quickjs.c | static JSValue get_date_string(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv, int magic)
{
// _string(obj, fmt, part)
char buf[64];
double fields[9];
int res, fmt, part, pos;
int y, mon, d, h, m, s, ms, wd, tz;
fmt = (magic >> 4) & 0x0F;
part = mag... | O1 | c | get_date_string:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %r9d, %ebx
movq %rdi, %rbp
movl %r9d, %r8d
shrl $0x4, %r8d
movl %r8d, %r12d
andl $0xf, %r12d
movl %r9d, %r13d
andl $0xf, %r13d
andl $0x1, %r8d
leaq 0x80(%rsp), %rcx
xorl %r14d, %r14d
xorl %r9d, %r9d
callq 0x5aac5
mo... | get_date_string:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0C8h
mov ebx, r9d
mov rbp, rdi
mov r8d, r9d
shr r8d, 4
mov r12d, r8d
and r12d, 0Fh
mov r13d, r9d
and r13d, 0Fh
and r8d, 1
lea rcx, [rsp+0F8h+var_78]
xor r14d, r14d
xor r9... | unsigned long long get_date_string(
long long a1,
long long a2,
long long a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11,
long long a12,
long long a13,
unsigned ... | get_date_string:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xc8
MOV EBX,R9D
MOV RBP,RDI
MOV R8D,R9D
SHR R8D,0x4
MOV R12D,R8D
AND R12D,0xf
MOV R13D,R9D
AND R13D,0xf
AND R8D,0x1
LEA RCX,[RSP + 0x80]
XOR R14D,R14D
XOR R9D,R9D
CALL 0x0015aac5
MOV R15D,0x6
TEST EAX,EAX
JS 0x0015a085
JZ 0x0015a06b
MOV qwo... |
int1 [16] get_date_string(long param_1)
{
int *piVar1;
int iVar2;
int iVar3;
long lVar4;
uint uVar5;
char *pcVar6;
ulong uVar7;
int4 uVar8;
uint in_R9D;
uint uVar9;
uint uVar10;
uint uVar11;
uint uVar12;
int iVar13;
int1 auVar14 [16];
int1 auVar15 [16];
char local_b8 [64];
double ... | |
1,297 | PVG_FT_Stroker_New | dmazzella[P]pylunasvg/lunasvg/plutovg/source/plutovg-ft-stroker.c | PVG_FT_Error PVG_FT_Stroker_New(PVG_FT_Stroker* astroker)
{
PVG_FT_Error error = 0; /* assigned in PVG_FT_NEW */
PVG_FT_Stroker stroker = NULL;
stroker = (PVG_FT_StrokerRec*)calloc(1, sizeof(PVG_FT_StrokerRec));
if (stroker) {
ft_stroke_border_init(&stroker->borders[0]);
ft_stroke_bor... | O1 | c | PVG_FT_Stroker_New:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0xc0, %esi
callq 0x3130
testq %rax, %rax
je 0x1cf17
xorps %xmm0, %xmm0
movups %xmm0, 0x70(%rax)
xorl %ecx, %ecx
movq %rcx, 0x80(%rax)
movl $0xffffffff, %edx # imm = 0xFFFFFFFF
movl %edx, 0x8c(%rax)
movb %cl, 0x90(%rax)
movups %xmm0, 0x98(%rax)
m... | PVG_FT_Stroker_New:
push rbx
mov rbx, rdi
mov edi, 1
mov esi, 0C0h
call _calloc
test rax, rax
jz short loc_1CF17
xorps xmm0, xmm0
movups xmmword ptr [rax+70h], xmm0
xor ecx, ecx
mov [rax+80h], rcx
mov edx, 0FFFFFFFFh
mov [rax+8Ch], edx
mov [rax+90h], cl
movups xmmword p... | long long PVG_FT_Stroker_New(long long *a1)
{
long long v1; // rax
v1 = calloc(1LL, 192LL);
if ( v1 )
{
*(_OWORD *)(v1 + 112) = 0LL;
*(_QWORD *)(v1 + 128) = 0LL;
*(_DWORD *)(v1 + 140) = -1;
*(_BYTE *)(v1 + 144) = 0;
*(_OWORD *)(v1 + 152) = 0LL;
*(_QWORD *)(v1 + 168) = 0LL;
*(_DWORD... | PVG_FT_Stroker_New:
PUSH RBX
MOV RBX,RDI
MOV EDI,0x1
MOV ESI,0xc0
CALL 0x00103130
TEST RAX,RAX
JZ 0x0011cf17
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RAX + 0x70],XMM0
XOR ECX,ECX
MOV qword ptr [RAX + 0x80],RCX
MOV EDX,0xffffffff
MOV dword ptr [RAX + 0x8c],EDX
MOV byte ptr [RAX + 0x90],CL
MOVUPS xmmword ptr [RAX + 0x98],XMM0... |
int8 PVG_FT_Stroker_New(int8 *param_1)
{
void *pvVar1;
pvVar1 = calloc(1,0xc0);
if (pvVar1 != (void *)0x0) {
*(int8 *)((long)pvVar1 + 0x70) = 0;
*(int8 *)((long)pvVar1 + 0x78) = 0;
*(int8 *)((long)pvVar1 + 0x80) = 0;
*(int4 *)((long)pvVar1 + 0x8c) = 0xffffffff;
*(int1 *)((long)pvVar1 + 0x... | |
1,298 | rlp_add_item | corpus-core[P]colibri-stateless/src/chains/eth/verifier/rlp.c | INTERNAL void rlp_add_item(buffer_t* buf, bytes_t data) {
if (data.len == 1 && data.data[0] < 0x80) {
}
else if (data.len < 56)
buffer_add_bytes(buf, 1, data.len + 0x80);
else
encode_length(buf, data.len, 0x80);
buffer_append(buf, data);
} | O0 | c | rlp_add_item:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
cmpl $0x1, -0x10(%rbp)
jne 0x366e9
movq -0x8(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x80, %eax
jge 0x366e9
jmp 0x3671d
cmpl $0x38, -0x10(%rbp)
jae 0x3670a
movq -0x18(%rbp), %rdi
movl -0x10(%rbp),... | rlp_add_item:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], esi
mov [rbp+var_8], rdx
mov [rbp+var_18], rdi
cmp [rbp+var_10], 1
jnz short loc_366E9
mov rax, [rbp+var_8]
movzx eax, byte ptr [rax]
cmp eax, 80h
jge short loc_366E9
jmp short loc_3671D
loc_366E9:
cmp ... | long long rlp_add_item(long long a1, unsigned int a2, unsigned __int8 *a3, int a4, int a5, int a6)
{
if ( a2 != 1 || *a3 >= 0x80u )
{
if ( a2 >= 0x38 )
encode_length(a1, a2, 128LL);
else
buffer_add_bytes(a1, 1, a2 + 128, a4, a5, a6);
}
return buffer_append(a1, a2, a3);
}
| rlp_add_item:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x10],ESI
MOV qword ptr [RBP + -0x8],RDX
MOV qword ptr [RBP + -0x18],RDI
CMP dword ptr [RBP + -0x10],0x1
JNZ 0x001366e9
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
CMP EAX,0x80
JGE 0x001366e9
JMP 0x0013671d
LAB_001366e9:
CMP dword ptr [RB... |
void rlp_add_item(int8 param_1,uint param_2,byte *param_3)
{
if ((param_2 != 1) || (0x7f < *param_3)) {
if (param_2 < 0x38) {
buffer_add_bytes(param_1,1,param_2 + 0x80);
}
else {
encode_length(param_1,param_2,0x80);
}
}
buffer_append(param_1,param_2,param_3);
return;
}
| |
1,299 | rlp_add_item | corpus-core[P]colibri-stateless/src/chains/eth/verifier/rlp.c | INTERNAL void rlp_add_item(buffer_t* buf, bytes_t data) {
if (data.len == 1 && data.data[0] < 0x80) {
}
else if (data.len < 56)
buffer_add_bytes(buf, 1, data.len + 0x80);
else
encode_length(buf, data.len, 0x80);
buffer_append(buf, data);
} | O2 | c | rlp_add_item:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
cmpl $0x1, %esi
jne 0x2e051
cmpb $0x0, (%rbx)
jns 0x2e07c
jmp 0x2e056
cmpl $0x37, %ebp
ja 0x2e06d
movl %ebp, %edx
orl $0x80, %edx
pushq $0x1
popq %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x4b611
jmp 0x2e07c
movq %r14, %rdi
... | rlp_add_item:
push rbp
push r14
push rbx
mov rbx, rdx
mov ebp, esi
mov r14, rdi
cmp esi, 1
jnz short loc_2E051
cmp byte ptr [rbx], 0
jns short loc_2E07C
jmp short loc_2E056
loc_2E051:
cmp ebp, 37h ; '7'
ja short loc_2E06D
loc_2E056:
mov edx, ebp
or edx, 80h
pus... | long long rlp_add_item(long long a1, unsigned int a2, char *a3, int a4, int a5, int a6)
{
if ( a2 != 1 )
{
if ( a2 > 0x37 )
{
encode_length(a1, a2, 128LL);
return buffer_append(a1, a2, a3);
}
goto LABEL_5;
}
if ( *a3 < 0 )
LABEL_5:
buffer_add_bytes(a1, 1, a2 | 0x80, a4, a5, a6);... | rlp_add_item:
PUSH RBP
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV EBP,ESI
MOV R14,RDI
CMP ESI,0x1
JNZ 0x0012e051
CMP byte ptr [RBX],0x0
JNS 0x0012e07c
JMP 0x0012e056
LAB_0012e051:
CMP EBP,0x37
JA 0x0012e06d
LAB_0012e056:
MOV EDX,EBP
OR EDX,0x80
PUSH 0x1
POP RSI
MOV RDI,R14
XOR EAX,EAX
CALL 0x0014b611
JMP 0x0012e07c
LAB_0012e06d... |
void rlp_add_item(int8 param_1,uint param_2,char *param_3)
{
if (param_2 == 1) {
if (-1 < *param_3) goto LAB_0012e07c;
}
else if (0x37 < param_2) {
encode_length(param_1,param_2,0x80);
goto LAB_0012e07c;
}
buffer_add_bytes(param_1,1,param_2 | 0x80);
LAB_0012e07c:
buffer_append(param_1,param_2,... |
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.