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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
10,300 | my_mb_wc_euc_jp | eloqsql/strings/ctype-ujis.c | static int
my_mb_wc_euc_jp(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t *pwc, const uchar *s, const uchar *e)
{
int hi;
if (s >= e)
return MY_CS_TOOSMALL;
if ((hi= s[0]) < 0x80) /* ASCII code set: [00..7F] -> [U+0000..U+007F] */
{
*pwc= hi;
return 1;
}
if (hi >= 0xA1 && h... | O3 | c | my_mb_wc_euc_jp:
pushq %rbp
movq %rsp, %rbp
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rcx, %rdx
jae 0xe0f43
movzbl (%rdx), %edi
testb %dil, %dil
js 0xe0f45
movq %rdi, (%rsi)
movl $0x1, %eax
popq %rbp
retq
leal 0x5f(%rdi), %eax
cmpb $0x5d, %al
ja 0xe0f91
leaq 0x2(%rdx), %r8
movl $0xffffff9a, %eax # imm... | my_mb_wc_euc_jp:
push rbp
mov rbp, rsp
mov eax, 0FFFFFF9Bh
cmp rdx, rcx
jnb short loc_E0F43
movzx edi, byte ptr [rdx]
test dil, dil
js short loc_E0F45
mov [rsi], rdi
mov eax, 1
loc_E0F43:
pop rbp
retn
loc_E0F45:
lea eax, [rdi+5Fh]
cmp al, 5Dh ; ']'
ja short loc_E0F9... | long long my_mb_wc_euc_jp(long long a1, _QWORD *a2, unsigned __int8 *a3, unsigned long long a4)
{
long long result; // rax
long long v5; // rdi
long long v6; // rcx
long long v7; // rcx
long long v8; // rcx
unsigned __int8 v9; // cl
result = 4294967195LL;
if ( (unsigned long long)a3 >= a4 )
return... | my_mb_wc_euc_jp:
PUSH RBP
MOV RBP,RSP
MOV EAX,0xffffff9b
CMP RDX,RCX
JNC 0x001e0f43
MOVZX EDI,byte ptr [RDX]
TEST DIL,DIL
JS 0x001e0f45
MOV qword ptr [RSI],RDI
MOV EAX,0x1
LAB_001e0f43:
POP RBP
RET
LAB_001e0f45:
LEA EAX,[RDI + 0x5f]
CMP AL,0x5d
JA 0x001e0f91
LEA R8,[RDX + 0x2]
MOV EAX,0xffffff9a
CMP R8,RCX
JA 0x001e0f4... |
int my_mb_wc_euc_jp(int8 param_1,ulong *param_2,byte *param_3,byte *param_4)
{
byte bVar1;
ushort uVar2;
int iVar3;
iVar3 = -0x65;
if (param_3 < param_4) {
bVar1 = *param_3;
if ((char)bVar1 < '\0') {
if ((byte)(bVar1 + 0x5f) < 0x5e) {
iVar3 = -0x66;
if (param_3 + 2 <= param_... | |
10,301 | ft_nlq_read_next | eloqsql/storage/myisam/ft_nlq_search.c | int ft_nlq_read_next(FT_INFO *handler, char *record)
{
MI_INFO *info= (MI_INFO *) handler->info;
if (++handler->curdoc >= handler->ndocs)
{
--handler->curdoc;
return HA_ERR_END_OF_FILE;
}
info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
info->lastpos=handler->doc[handler->curdoc].dpos;
... | O0 | c | ft_nlq_read_next:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rcx
movl 0x14(%rcx), %eax
addl $0x1, %eax
movl %eax, 0x14(%rcx)
movq -0x10(%rbp), %rcx
cmpl 0x10(%rcx), %eax
jl 0xa150b
movq -... | ft_nlq_read_next:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_10]
mov rax, [rax+8]
mov [rbp+var_20], rax
mov rcx, [rbp+var_10]
mov eax, [rcx+14h]
add eax, 1
mov [rcx+14h], eax
mov rcx, [rbp+var_10]
cmp eax, [rcx+... | long long ft_nlq_read_next(long long a1, long long a2)
{
int v2; // eax
const char *v3; // rsi
long long v5; // [rsp+0h] [rbp-20h]
v5 = *(_QWORD *)(a1 + 8);
v2 = *(_DWORD *)(a1 + 20) + 1;
*(_DWORD *)(a1 + 20) = v2;
if ( v2 < *(_DWORD *)(a1 + 16) )
{
*(_DWORD *)(v5 + 464) &= 0x401u;
*(_QWORD *)... | ft_nlq_read_next:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x20],RAX
MOV RCX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RCX + 0x14]
ADD EAX,0x1
MOV dword ptr [RCX + 0x14],EAX
MOV ... |
int4 ft_nlq_read_next(long param_1,int8 param_2)
{
long lVar1;
int iVar2;
int4 *puVar3;
int4 local_c;
lVar1 = *(long *)(param_1 + 8);
iVar2 = *(int *)(param_1 + 0x14) + 1;
*(int *)(param_1 + 0x14) = iVar2;
if (iVar2 < *(int *)(param_1 + 0x10)) {
*(uint *)(lVar1 + 0x1d0) = *(uint *)(lVar1 + 0x1d... | |
10,302 | fmt::v10::detail::dragonbox::decimal_fp<float> fmt::v10::detail::write_padded<(fmt::v10::align::type)2, fmt::v10::appender, char, fmt::v10::appender fmt::v10::detail::do_write_float<fmt::v10::appender, fmt::v10::detail::dragonbox::decimal_fp<float>, char, fmt::v10::detail::digit_grouping<char>>(fmt::v10::appender, fmt:... | AlayaLite/build_O0/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h | FMT_CONSTEXPR auto write_padded(OutputIt out, const format_specs<Char>& specs,
size_t size, size_t width, F&& f) -> OutputIt {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_width > width ? spe... | O0 | c | fmt::v10::detail::dragonbox::decimal_fp<float> fmt::v10::detail::write_padded<(fmt::v10::align::type)2, fmt::v10::appender, char, fmt::v10::appender fmt::v10::detail::do_write_float<fmt::v10::appender, fmt::v10::detail::dragonbox::decimal_fp<float>, char, fmt::v10::detail::digit_grouping<char>>(fmt::v10::appender, fmt:... | _ZN3fmt3v106detail12write_paddedILNS0_5align4typeE2ENS0_8appenderEcZNS1_9write_intIS5_ocEET_S7_T0_jRKNS0_12format_specsIT1_EERKNS1_14digit_groupingISA_EEEUlS5_E_EES8_S8_SD_mmOT2_:
sub rsp, 0B8h
mov [rsp+0B8h+var_10], rdi
mov [rsp+0B8h+var_18], rsi
mov [rsp+0B8h+var_20], rdx
mov [rsp+0B8h+var_28], rc... | long long fmt::v10::detail::write_padded<(fmt::v10::align::type)2,fmt::v10::appender,char,fmt::v10::appender fmt::v10::detail::write_int<fmt::v10::appender,unsigned __int128,char>(fmt::v10::appender,unsigned __int128,unsigned int,fmt::v10::format_specs<char> const&,fmt::v10::detail::digit_grouping<char> const&)::{lamb... | write_padded<(fmt::v10::align::type)2,fmt::v10::appender,char,fmt::v10::detail::write_int<fmt::v10::appender,unsigned__int128,char>(fmt::v10::appender,unsigned__int128,unsigned_int,fmt::v10::format_specs<char>const&,fmt::v10::detail::digit_grouping<char>const&)::{lambda(fmt::v10::appender)#1}>:
SUB RSP,0xb8
MOV qword p... |
/* fmt::v10::appender fmt::v10::detail::write_padded<(fmt::v10::align::type)2, fmt::v10::appender,
char, fmt::v10::detail::write_int<fmt::v10::appender, unsigned __int128,
char>(fmt::v10::appender, unsigned __int128, unsigned int, fmt::v10::format_specs<char> const&,
fmt::v10::detail::digit_grouping<char>
... | |
10,303 | mi_get_last_key | eloqsql/storage/myisam/mi_search.c | uchar *_mi_get_last_key(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page,
uchar *lastkey, uchar *endpos, uint *return_key_length)
{
uint nod_flag;
uchar *lastpos;
DBUG_ENTER("_mi_get_last_key");
DBUG_PRINT("enter",("page:%p endpos: %p", page,
endpos));
nod_flag=mi... | O0 | c | mi_get_last_key:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
jmp 0xc1302
movq -0x20(%rbp), %rax
movzbl (%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0xc1325
movq -0x10(%rbp), %rax
m... | _mi_get_last_key:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
mov [rbp+var_30], r8
mov [rbp+var_38], r9
jmp short $+2
loc_C1302:
mov rax, [rbp+var_20]
movzx eax, byte ptr [rax]
and eax, 80h
cm... | _BYTE * mi_get_last_key(long long a1, long long a2, _BYTE *a3, _BYTE *a4, unsigned long long a5, _DWORD *a6)
{
const char *v6; // rsi
unsigned int v8; // [rsp+4h] [rbp-4Ch]
_BYTE *v9; // [rsp+8h] [rbp-48h]
_BYTE *v13; // [rsp+30h] [rbp-20h] BYREF
long long v14; // [rsp+38h] [rbp-18h]
long long v15; // [rsp+... | _mi_get_last_key:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],R8
MOV qword ptr [RBP + -0x38],R9
JMP 0x001c1302
LAB_001c1302:
MOV RAX,qword ptr [RBP + -0x20]
MOVZX EAX,byte pt... |
byte * _mi_get_last_key(long *param_1,long param_2,byte *param_3,int1 *param_4,byte *param_5,
uint *param_6)
{
uint uVar1;
int4 *puVar2;
uint local_54;
byte *local_50;
byte *local_28;
long local_20;
long *local_18;
byte *local_10;
if ((*param_3 & 0x80) == 0) {
local_54 ... | |
10,304 | escape_string_for_mysql | eloqsql/mysys/charset.c | size_t escape_string_for_mysql(CHARSET_INFO *charset_info,
char *to, size_t to_length,
const char *from, size_t length,
my_bool *overflow)
{
const char *to_start= to;
const char *end, *to_end=to_start + (to_length ? to_leng... | O0 | c | escape_string_for_mysql:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, -0x18(%rbp)
j... | escape_string_for_mysql:
push rbp
mov rbp, rsp
sub rsp, 70h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov [rbp+var_30], r9
mov rax, [rbp+var_10]
mov [rbp+var_38], rax
mov rax, [rbp+var_38]
mov [rbp+var_5... | _BYTE * escape_string_for_mysql(long long a1, char *a2, long long a3, char *a4, long long a5, _BYTE *a6)
{
char *v7; // rax
char v8; // cl
char *v9; // rax
char *v10; // rax
char *v11; // rax
int v13; // [rsp+Ch] [rbp-64h]
long long v14; // [rsp+10h] [rbp-60h]
int v15; // [rsp+20h] [rbp-50h]
char v16;... | escape_string_for_mysql:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV qword ptr [RBP + -0x30],R9
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x38],RAX
MOV RAX,... |
long escape_string_for_mysql
(int8 param_1,char *param_2,long param_3,char *param_4,long param_5,
int1 *param_6)
{
char cVar1;
char *pcVar2;
long local_68;
int local_58;
char local_51;
char *local_28;
char *local_18;
if (param_3 == 0) {
local_68 = param_5 << 1;
}... | |
10,305 | safe_hash_free | eloqsql/mysys/my_safehash.c | void safe_hash_free(SAFE_HASH *hash)
{
/*
Test if safe_hash_init succeeded. This will also guard us against multiple
free calls.
*/
if (hash->default_value)
{
my_hash_free(&hash->hash);
mysql_rwlock_destroy(&hash->mutex);
hash->default_value=0;
}
} | O3 | c | safe_hash_free:
cmpq $0x0, 0x108(%rdi)
je 0xa6e1d
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x98, %rdi
callq 0x94acd
movq 0x90(%rbx), %rdi
testq %rdi, %rdi
jne 0xa6e1e
movq %rbx, %rdi
callq 0xa5268
movq $0x0, 0x108(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
leaq 0x2e129b(%rip), %rax ... | safe_hash_free:
cmp qword ptr [rdi+108h], 0
jz short locret_A6E1D
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
add rdi, 98h
call my_hash_free
mov rdi, [rbx+90h]
test rdi, rdi
jnz short loc_A6E1E
loc_A6E04:
mov rdi, rbx
call my_rw_destroy
mov qword ptr [rbx+... | long long safe_hash_free(long long a1)
{
long long v2; // rdi
long long result; // rax
if ( *(_QWORD *)(a1 + 264) )
{
my_hash_free(a1 + 152);
v2 = *(_QWORD *)(a1 + 144);
if ( v2 )
{
((void ( *)(long long))PSI_server[11])(v2);
*(_QWORD *)(a1 + 144) = 0LL;
}
result = my_rw_de... | safe_hash_free:
CMP qword ptr [RDI + 0x108],0x0
JZ 0x001a6e1d
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
ADD RDI,0x98
CALL 0x00194acd
MOV RDI,qword ptr [RBX + 0x90]
TEST RDI,RDI
JNZ 0x001a6e1e
LAB_001a6e04:
MOV RDI,RBX
CALL 0x001a5268
MOV qword ptr [RBX + 0x108],0x0
ADD RSP,0x8
POP RBX
POP RBP
LAB_001a6e1d:
RET... |
void safe_hash_free(long param_1)
{
if (*(long *)(param_1 + 0x108) != 0) {
my_hash_free(param_1 + 0x98);
if (*(long *)(param_1 + 0x90) != 0) {
(**(code **)(PSI_server + 0x58))();
*(int8 *)(param_1 + 0x90) = 0;
}
my_rw_destroy(param_1);
*(int8 *)(param_1 + 0x108) = 0;
}
return;
}
... | |
10,306 | TestWaitingLogSink::~TestWaitingLogSink() | ng-log[P]ng-log/src/logging_unittest.cc | ~TestWaitingLogSink() override {
RemoveLogSink(this);
writer_.Stop();
writer_.Join();
} | O1 | cpp | TestWaitingLogSink::~TestWaitingLogSink():
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x2cb3e(%rip), %rax # 0x45498
movq %rax, (%rdi)
callq 0x1bfa7
leaq 0x10(%rbx), %rdi
callq 0x19786
leaq 0x90(%rbx), %r14
movq %r14, %rdi
callq 0x8b70
cmpq $0x0, (%r14)
jne 0x18998
leaq 0x40(%rbx), %rdi
callq 0x1929a
movq... | _ZN18TestWaitingLogSinkD2Ev:
push r14
push rbx
push rax
mov rbx, rdi
lea rax, off_45498
mov [rdi], rax
call _ZN5nglog13RemoveLogSinkEPNS_7LogSinkE; nglog::RemoveLogSink(nglog::LogSink *)
lea rdi, [rbx+10h]; this
call _ZN17TestLogSinkWriter4StopEv; TestLogSinkWriter::Stop(void)
lea r14... | void TestWaitingLogSink::~TestWaitingLogSink(TestWaitingLogSink *this, nglog::LogSink *a2)
{
*(_QWORD *)this = off_45498;
nglog::RemoveLogSink(this, a2);
TestLogSinkWriter::Stop((TestWaitingLogSink *)((char *)this + 16));
std::thread::join((TestWaitingLogSink *)((char *)this + 144));
if ( *((_QWORD *)this + ... | ~TestWaitingLogSink:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
LEA RAX,[0x145498]
MOV qword ptr [RDI],RAX
LAB_0011895d:
CALL 0x0011bfa7
LEA RDI,[RBX + 0x10]
CALL 0x00119786
LEA R14,[RBX + 0x90]
MOV RDI,R14
CALL 0x00108b70
LAB_0011897a:
CMP qword ptr [R14],0x0
JNZ 0x00118998
LEA RDI,[RBX + 0x40]
CALL 0x0011929a
MOV RDI,RBX... |
/* TestWaitingLogSink::~TestWaitingLogSink() */
void __thiscall TestWaitingLogSink::~TestWaitingLogSink(TestWaitingLogSink *this)
{
*(int ***)this = &PTR__TestWaitingLogSink_00145498;
/* try { // try from 0011895d to 00118979 has its CatchHandler @ 0011899d */
nglog::RemoveLogSink((LogSink *)... | |
10,307 | done() (.destroy) | tinyCoroLab/examples/wait_group.cpp | task<> done()
{
utils::sleep(2);
wg.done();
log::info("done...");
co_return;
} | O0 | cpp | done() (.destroy):
subq $0x78, %rsp
movq %rdi, 0x38(%rsp)
movq %rdi, 0x70(%rsp)
movq %rdi, %rax
addq $0x19, %rax
movq %rax, 0x40(%rsp)
movq %rdi, %rax
addq $0x1a, %rax
movq %rax, 0x48(%rsp)
addq $0x10, %rdi
movq %rdi, 0x50(%rsp)
jmp 0xb040
jmp 0xae66
jmp 0xae68
xorl %eax, %eax
testb %al, %al
jne 0xae91
jmp 0xae70
xorl ... | _Z4donev_cleanup:
sub rsp, 78h
mov [rsp+78h+var_40], rdi
mov [rsp+78h+var_8], rdi
mov rax, rdi
add rax, 19h
mov [rsp+78h+var_38], rax
mov rax, rdi
add rax, 1Ah
mov [rsp+78h+var_30], rax
add rdi, 10h
mov [rsp+78h+var_28], rdi
jmp loc_B040
loc_AE64:
jmp short $+2
loc_AE... | char done(long long a1)
{
coro::detail::promise<void>::~promise(a1 + 16);
return 2;
}
| _Z4donev.cleanup:
SUB RSP,0x78
MOV qword ptr [RSP + 0x38],RDI
MOV qword ptr [RSP + 0x70],RDI
MOV RAX,RDI
ADD RAX,0x19
MOV qword ptr [RSP + 0x40],RAX
MOV RAX,RDI
ADD RAX,0x1a
MOV qword ptr [RSP + 0x48],RAX
ADD RDI,0x10
MOV qword ptr [RSP + 0x50],RDI
JMP 0x0010b040
LAB_0010ae64:
JMP 0x0010ae66
LAB_0010ae66:
JMP 0x0010ae6... |
/* WARNING: Removing unreachable block (ram,0x0010ae91) */
/* WARNING: Removing unreachable block (ram,0x0010aec3) */
/* WARNING: Removing unreachable block (ram,0x0010af3c) */
/* WARNING: Removing unreachable block (ram,0x0010afc0) */
/* WARNING: Removing unreachable block (ram,0x0010afef) */
/* WARNING: Removing unr... | |
10,308 | google::protobuf::DescriptorBuilder::RecordPublicDependencies(google::protobuf::FileDescriptor const*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.cc | void DescriptorBuilder::RecordPublicDependencies(const FileDescriptor* file) {
if (file == nullptr || !dependencies_.insert(file).second) return;
for (int i = 0; file != nullptr && i < file->public_dependency_count(); i++) {
RecordPublicDependencies(file->public_dependency(i));
}
} | O0 | cpp | google::protobuf::DescriptorBuilder::RecordPublicDependencies(google::protobuf::FileDescriptor const*):
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x8(%rsp)
movb $0x1, %al
cmpq $0x0, 0x38(%rsp)
movb %al, 0x13(%rsp)
je 0x25137e
movq 0x8(%rsp), %rdi
addq $0x68, %rdi
leaq... | _ZN6google8protobuf17DescriptorBuilder24RecordPublicDependenciesEPKNS0_14FileDescriptorE:
sub rsp, 48h
mov [rsp+48h+var_8], rdi
mov [rsp+48h+var_10], rsi
mov rax, [rsp+48h+var_8]
mov [rsp+48h+var_40], rax
mov al, 1
cmp [rsp+48h+var_10], 0
mov [rsp+48h+var_35], al
jz short loc_25137E... | char google::protobuf::DescriptorBuilder::RecordPublicDependencies(
google::protobuf::DescriptorBuilder *this,
const google::protobuf::FileDescriptor *a2)
{
char v2; // dl
char result; // al
const google::protobuf::FileDescriptor *v4; // rax
bool v5; // [rsp+7h] [rbp-41h]
char v6; // [rsp+13h... | set:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV RDI,qword ptr [RSP + 0x20]
MOV qword ptr [RSP + 0x18],RDI
MOV RSI,qword ptr [RSP + 0x18]
MOV EDX,0x4
CALL 0x00190da0
MOV qword ptr [RSP + 0x10],RAX
MOV RAX,qword ptr [RSP + 0x10]
CMP RAX,qword ptr [RSP + 0x18]
JNZ 0x00251355
JMP 0x00251387
LAB_00251355:
MOV RAX,qword... |
/* unifex::_amre::async_manual_reset_event::set() */
void __thiscall unifex::_amre::async_manual_reset_event::set(async_manual_reset_event *this)
{
_op_base *this_00;
async_manual_reset_event *local_20;
async_manual_reset_event *local_18;
async_manual_reset_event *local_10;
async_manual_reset_event *local_... | |
10,309 | get_charset_by_csname | eloqsql/mysys/charset.c | CHARSET_INFO *
get_charset_by_csname(const char *cs_name, uint cs_flags, myf flags)
{
MY_CHARSET_LOADER loader;
my_charset_loader_init_mysys(&loader);
return my_charset_get_by_name(&loader, cs_name, cs_flags, flags);
} | O3 | c | get_charset_by_csname:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdx, %rcx
movl %esi, %edx
movq %rdi, %rsi
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
leaq -0xb8(%rbp), %rdi
movb $0x0, (%rdi)
leaq -0x1249(%rip), %rax # 0x48212
movq %rax, 0x80(%rdi)
leaq -0x1248(%rip), %rax # 0x48221
movq %rax, 0x88(%rdi)
... | get_charset_by_csname:
push rbp
mov rbp, rsp
sub rsp, 0C0h
mov rcx, rdx
mov edx, esi
mov rsi, rdi
mov rax, fs:28h
mov [rbp+var_8], rax
lea rdi, [rbp+var_B8]
mov byte ptr [rdi], 0
lea rax, my_once_alloc_c
mov [rdi+80h], rax
lea rax, my_malloc_c
mov [rdi+88h], rax
le... | long long get_charset_by_csname(long long a1, unsigned int a2, long long a3)
{
_BYTE v4[128]; // [rsp+8h] [rbp-B8h] BYREF
long long ( *v5)(long long); // [rsp+88h] [rbp-38h]
long long ( *v6)(unsigned long long); // [rsp+90h] [rbp-30h]
long long ( *v7)(long long, unsigned long long); // [rsp+98h] [rbp-28h]
lo... | get_charset_by_csname:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xc0
MOV RCX,RDX
MOV EDX,ESI
MOV RSI,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
LEA RDI,[RBP + -0xb8]
MOV byte ptr [RDI],0x0
LEA RAX,[0x148212]
MOV qword ptr [RDI + 0x80],RAX
LEA RAX,[0x148221]
MOV qword ptr [RDI + 0x88],RAX
LEA RAX,[0x14823c]
MOV ... |
void get_charset_by_csname(int8 param_1,int4 param_2,int8 param_3)
{
long in_FS_OFFSET;
int1 local_c0 [128];
code *local_40;
code *local_38;
code *local_30;
code *local_28;
int *local_20;
code *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_c0[0] = 0;
local_40 = m... | |
10,310 | my_mutex_init | eloqsql/mysys/thr_mutex.c | void my_mutex_init()
{
/* Initialize mutex attributes */
#ifdef PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
/*
Set mutex type to "fast" a.k.a "adaptive"
In this case the thread may steal the mutex from some other thread
that is waiting for the same mutex. This will save us some
context switches but may ... | O0 | c | my_mutex_init:
pushq %rbp
movq %rsp, %rbp
leaq 0xb8fc45(%rip), %rdi # 0xc8e5a0
callq 0x2a7c0
leaq 0xb8fc39(%rip), %rdi # 0xc8e5a0
movl $0x3, %esi
callq 0x2a460
leaq 0xb8fc2c(%rip), %rdi # 0xc8e5a4
callq 0x2a7c0
leaq 0xb8fc20(%rip), %rdi # 0xc8e5a4
movl $0x2, %esi
callq 0x2a460
popq %rbp
retq
| my_mutex_init:
push rbp
mov rbp, rsp
lea rdi, my_fast_mutexattr
call _pthread_mutexattr_init
lea rdi, my_fast_mutexattr
mov esi, 3
call _pthread_mutexattr_settype
lea rdi, my_errorcheck_mutexattr
call _pthread_mutexattr_init
lea rdi, my_errorcheck_mutexattr
mov esi, 2
call _pt... | long long my_mutex_init()
{
pthread_mutexattr_init(&my_fast_mutexattr);
pthread_mutexattr_settype(&my_fast_mutexattr, 3LL);
pthread_mutexattr_init(&my_errorcheck_mutexattr);
return pthread_mutexattr_settype(&my_errorcheck_mutexattr, 2LL);
}
| my_mutex_init:
PUSH RBP
MOV RBP,RSP
LEA RDI,[0xd8e5a0]
CALL 0x0012a7c0
LEA RDI,[0xd8e5a0]
MOV ESI,0x3
CALL 0x0012a460
LEA RDI,[0xd8e5a4]
CALL 0x0012a7c0
LEA RDI,[0xd8e5a4]
MOV ESI,0x2
CALL 0x0012a460
POP RBP
RET
|
void my_mutex_init(void)
{
pthread_mutexattr_init((pthread_mutexattr_t *)&my_fast_mutexattr);
pthread_mutexattr_settype((pthread_mutexattr_t *)&my_fast_mutexattr,3);
pthread_mutexattr_init((pthread_mutexattr_t *)&my_errorcheck_mutexattr);
pthread_mutexattr_settype((pthread_mutexattr_t *)&my_errorcheck_mutexat... | |
10,311 | get_leb128 | bluesky950520[P]quickjs/quickjs.c | static int get_leb128(uint32_t *pval, const uint8_t *buf,
const uint8_t *buf_end)
{
const uint8_t *ptr = buf;
uint32_t v, a, i;
v = 0;
for(i = 0; i < 5; i++) {
if (unlikely(ptr >= buf_end))
break;
a = *ptr++;
v |= (a & 0x7f) << (i * 7);
i... | O0 | c | get_leb128:
movq %rdi, -0x10(%rsp)
movq %rsi, -0x18(%rsp)
movq %rdx, -0x20(%rsp)
movq -0x18(%rsp), %rax
movq %rax, -0x28(%rsp)
movl $0x0, -0x2c(%rsp)
movl $0x0, -0x34(%rsp)
cmpl $0x5, -0x34(%rsp)
jae 0x730b0
movq -0x28(%rsp), %rax
cmpq -0x20(%rsp), %rax
setae %al
xorb $-0x1, %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %a... | get_leb128:
mov [rsp+var_10], rdi
mov [rsp+var_18], rsi
mov [rsp+var_20], rdx
mov rax, [rsp+var_18]
mov [rsp+var_28], rax
mov [rsp+var_2C], 0
mov [rsp+var_34], 0
loc_73019:
cmp [rsp+var_34], 5
jnb loc_730B0
mov rax, [rsp+var_28]
cmp rax, [rsp+var_20]
setnb al
xor al, 0F... | long long get_leb128(_DWORD *a1, _BYTE *a2, unsigned long long a3)
{
_BYTE *v3; // rax
unsigned int i; // [rsp+0h] [rbp-34h]
int v6; // [rsp+8h] [rbp-2Ch]
_BYTE *v7; // [rsp+Ch] [rbp-28h]
v7 = a2;
v6 = 0;
for ( i = 0; i < 5 && (unsigned long long)v7 < a3; ++i )
{
v3 = v7++;
v6 |= (*v3 & 0x7F) ... | get_leb128:
MOV qword ptr [RSP + -0x10],RDI
MOV qword ptr [RSP + -0x18],RSI
MOV qword ptr [RSP + -0x20],RDX
MOV RAX,qword ptr [RSP + -0x18]
MOV qword ptr [RSP + -0x28],RAX
MOV dword ptr [RSP + -0x2c],0x0
MOV dword ptr [RSP + -0x34],0x0
LAB_00173019:
CMP dword ptr [RSP + -0x34],0x5
JNC 0x001730b0
MOV RAX,qword ptr [RSP ... |
int get_leb128(uint *param_1,byte *param_2,byte *param_3)
{
uint local_34;
uint local_2c;
byte *local_28;
local_2c = 0;
local_34 = 0;
local_28 = param_2;
while ((local_34 < 5 && (local_28 < param_3))) {
local_2c = (*local_28 & 0x7f) << ((char)local_34 * '\a' & 0x1fU) | local_2c;
if ((*local_2... | |
10,312 | get_leb128 | bluesky950520[P]quickjs/quickjs.c | static int get_leb128(uint32_t *pval, const uint8_t *buf,
const uint8_t *buf_end)
{
const uint8_t *ptr = buf;
uint32_t v, a, i;
v = 0;
for(i = 0; i < 5; i++) {
if (unlikely(ptr >= buf_end))
break;
a = *ptr++;
v |= (a & 0x7f) << (i * 7);
i... | O2 | c | get_leb128:
xorl %ecx, %ecx
xorl %eax, %eax
xorl %r8d, %r8d
leaq (%rsi,%rax), %r9
cmpl $0x5, %eax
setb %r10b
cmpq %rdx, %r9
setb %r11b
andb %r10b, %r11b
cmpb $0x1, %r11b
jne 0x3b0b4
movzbl (%r9), %r9d
movl %r9d, %r10d
andl $0x7f, %r10d
shll %cl, %r10d
orl %r10d, %r8d
incq %rax
addl $0x7, %ecx
testb %r9b, %r9b
js 0x3b07... | get_leb128:
xor ecx, ecx
xor eax, eax
xor r8d, r8d
loc_3B079:
lea r9, [rsi+rax]
cmp eax, 5
setb r10b
cmp r9, rdx
setb r11b
and r11b, r10b
cmp r11b, 1
jnz short loc_3B0B4
movzx r9d, byte ptr [r9]
mov r10d, r9d
and r10d, 7Fh
shl r10d, cl
or r8d, r10d
inc ra... | long long get_leb128(_DWORD *a1, long long a2, unsigned long long a3)
{
int v3; // ecx
long long result; // rax
int v5; // r8d
char v6; // r9
v3 = 0;
result = 0LL;
v5 = 0;
while ( (unsigned int)result < 5 && a2 + result < a3 )
{
v6 = *(_BYTE *)(a2 + result);
v5 |= (v6 & 0x7F) << v3;
++re... | get_leb128:
XOR ECX,ECX
XOR EAX,EAX
XOR R8D,R8D
LAB_0013b079:
LEA R9,[RSI + RAX*0x1]
CMP EAX,0x5
SETC R10B
CMP R9,RDX
SETC R11B
AND R11B,R10B
CMP R11B,0x1
JNZ 0x0013b0b4
MOVZX R9D,byte ptr [R9]
MOV R10D,R9D
AND R10D,0x7f
SHL R10D,CL
OR R8D,R10D
INC RAX
ADD ECX,0x7
TEST R9B,R9B
JS 0x0013b079
MOV dword ptr [RDI],R8D
RET
... |
long get_leb128(uint *param_1,long param_2,byte *param_3)
{
byte bVar1;
long lVar2;
byte bVar3;
uint uVar4;
bVar3 = 0;
lVar2 = 0;
uVar4 = 0;
do {
if (param_3 <= (byte *)(param_2 + lVar2) || 4 < (uint)lVar2) {
*param_1 = 0;
return -1;
}
bVar1 = *(byte *)(param_2 + lVar2);
... | |
10,313 | minja::Parser::parseExpression(bool) | monkey531[P]llama/common/minja.hpp | std::shared_ptr<Expression> parseExpression(bool allow_if_expr = true) {
auto left = parseLogicalOr();
if (it == end) return left;
if (!allow_if_expr) return left;
static std::regex if_tok(R"(if\b)");
if (consumeToken(if_tok).empty()) {
return left;
}
... | O1 | cpp | minja::Parser::parseExpression(bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x6c132
movq 0x20(%r14), %rax
cmpq 0x18(%r14), %rax
je 0x60176
testb %bpl, %bpl
je 0x60176
leaq 0x8be58(%rip), %rax # 0xebf60
movb (%rax... | _ZN5minja6Parser15parseExpressionEb:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 50h
mov ebp, edx
mov r14, rsi
mov rbx, rdi
mov rdi, rsp; this
call _ZN5minja6Parser14parseLogicalOrEv; minja::Parser::parseLogicalOr(void)
mov rax, [r14+20h]
cmp rax, [r14+18h]
jz ... | minja::Parser * minja::Parser::parseExpression(minja::Parser *this, long long *a2, char a3)
{
int v4; // r8d
int v5; // r9d
volatile signed __int32 *v6; // r15
volatile signed __int32 *v7; // rax
__int128 v8; // xmm0
_QWORD *v10; // r14
__int128 v11; // [rsp+0h] [rbp-78h] BYREF
long long v12; // [rsp+18... | parseExpression:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV EBP,EDX
MOV R14,RSI
MOV RBX,RDI
MOV RDI,RSP
CALL 0x0016c132
MOV RAX,qword ptr [R14 + 0x20]
CMP RAX,qword ptr [R14 + 0x18]
JZ 0x00160176
TEST BPL,BPL
JZ 0x00160176
LEA RAX,[0x1ebf60]
MOV AL,byte ptr [RAX]
TEST AL,AL
JZ 0x00160253
LAB_00160112... |
/* minja::Parser::parseExpression(bool) */
int8 * minja::Parser::parseExpression(bool param_1)
{
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *p_Var1;
int iVar2;
int8 *puVar3;
char in_DL;
int8 *in_RSI;
int7 in_register_00000039;
int8 *puVar4;
int8 local_78;
_Sp_counted_base<(__gnu_cxx::_Lock_policy... | |
10,314 | func_gb2312_uni_onechar | eloqsql/strings/ctype-gb2312.c | static int func_gb2312_uni_onechar(int code){
if ((code>=0x2121)&&(code<=0x2658))
return(tab_gb2312_uni0[code-0x2121]);
if ((code>=0x2721)&&(code<=0x296F))
return(tab_gb2312_uni1[code-0x2721]);
if ((code>=0x3021)&&(code<=0x777E))
return(tab_gb2312_uni2[code-0x3021]);
return(0);
} | O0 | c | func_gb2312_uni_onechar:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
cmpl $0x2121, -0x8(%rbp) # imm = 0x2121
jl 0x9b884
cmpl $0x2658, -0x8(%rbp) # imm = 0x2658
jg 0x9b884
movl -0x8(%rbp), %eax
subl $0x2121, %eax # imm = 0x2121
movslq %eax, %rcx
leaq 0xc8c55(%rip), %rax # 0x1644d0
movzwl (%rax... | func_gb2312_uni_onechar:
push rbp
mov rbp, rsp
mov [rbp+var_8], edi
cmp [rbp+var_8], 2121h
jl short loc_9B884
cmp [rbp+var_8], 2658h
jg short loc_9B884
mov eax, [rbp+var_8]
sub eax, 2121h
movsxd rcx, eax
lea rax, tab_gb2312_uni0
movzx eax, word ptr [rax+rcx*2]
mov [rbp+va... | long long func_gb2312_uni_onechar(int a1)
{
if ( a1 < 8481 || a1 > 9816 )
{
if ( a1 < 10017 || a1 > 10607 )
{
if ( a1 < 12321 || a1 > 30590 )
return 0;
else
return tab_gb2312_uni2[a1 - 12321];
}
else
{
return tab_gb2312_uni1[a1 - 10017];
}
}
else
{
... | func_gb2312_uni_onechar:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x8],EDI
CMP dword ptr [RBP + -0x8],0x2121
JL 0x0019b884
CMP dword ptr [RBP + -0x8],0x2658
JG 0x0019b884
MOV EAX,dword ptr [RBP + -0x8]
SUB EAX,0x2121
MOVSXD RCX,EAX
LEA RAX,[0x2644d0]
MOVZX EAX,word ptr [RAX + RCX*0x2]
MOV dword ptr [RBP + -0x4],EAX
J... |
int2 func_gb2312_uni_onechar(int param_1)
{
int2 uVar1;
if ((param_1 < 0x2121) || (0x2658 < param_1)) {
if ((param_1 < 0x2721) || (0x296f < param_1)) {
if ((param_1 < 0x3021) || (0x777e < param_1)) {
uVar1 = 0;
}
else {
uVar1 = *(int2 *)(tab_gb2312_uni2 + (long)(param_1 + ... | |
10,315 | crossline_readline_internal | xtate/src/crossline/crossline.c | static char *crossline_readline_internal(const char *prompt, char *buf,
int size, int has_input) {
int not_support = 0, len;
if ((NULL == buf) || (size <= 1)) {
return NULL;
}
if (!isatty(STDIN_FILENO)) { // input is not from a terminal
not_suppo... | O3 | c | crossline_readline_internal:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r14d
testq %rsi, %rsi
sete %al
cmpl $0x2, %edx
setl %cl
orb %al, %cl
jne 0x16f92
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
xorl %edi, %edi
callq 0x15a00
testl %eax, %eax
je 0x16f46
leaq 0x464c5(%rip), %rdi # 0x5d3a... | crossline_readline_internal:
push rbp
push r15
push r14
push r12
push rbx
mov r14d, ecx
test rsi, rsi
setz al
cmp edx, 2
setl cl
or cl, al
jnz loc_16F92
mov ebp, edx
mov rbx, rsi
mov r15, rdi
xor edi, edi
call _isatty
test eax, eax
jz short loc_16F46
l... | long long crossline_readline_internal(long long a1, long long a2, unsigned int a3, unsigned int a4)
{
long long v6; // rbx
long long v7; // rax
long long v8; // r12
int v10; // eax
long long v11; // rax
int v12; // ecx
if ( a2 == 0 || (int)a3 < 2 )
return 0LL;
v6 = a2;
if ( (unsigned int)isatty(... | crossline_readline_internal:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R14D,ECX
TEST RSI,RSI
SETZ AL
CMP EDX,0x2
SETL CL
OR CL,AL
JNZ 0x00116f92
MOV EBP,EDX
MOV RBX,RSI
MOV R15,RDI
XOR EDI,EDI
CALL 0x00115a00
TEST EAX,EAX
JZ 0x00116f46
LEA RDI,[0x15d3aa]
CALL 0x001157c0
TEST RAX,RAX
JZ 0x00116f2b
MOV R12,RAX
LEA... |
char * crossline_readline_internal(int8 param_1,char *param_2,int param_3,int4 param_4)
{
int iVar1;
char *pcVar2;
size_t sVar3;
long lVar4;
if (1 < param_3 && param_2 != (char *)0x0) {
iVar1 = isatty(0);
if ((iVar1 != 0) &&
((pcVar2 = getenv("TERM"), pcVar2 == (char *)0x0 ||
(((iV... | |
10,316 | blst_sk_to_pk2_in_g2 | corpus-core[P]colibri-stateless/build_O2/_deps/blst-src/src/e2.c | void blst_sk_to_pk2_in_g2(unsigned char out[192], POINTonE2_affine *PK,
const pow256 SK)
{
POINTonE2 P[1];
POINTonE2_sign(P, &BLS12_381_G2, SK);
if (PK != NULL)
vec_copy(PK, P, sizeof(*PK));
if (out != NULL) {
limb_t sgn0_pty = POINTonE2_Serialize_BE(out, P);
... | O2 | c | blst_sk_to_pk2_in_g2:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x120, %rsp # imm = 0x120
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x2a942(%rip), %rsi # 0x7e6e0
leaq -0x130(%rbp), %rdi
callq 0x53c55
testq %r14, %r14
je 0x53dc3
leaq -0x130(%rbp), %rsi
movl $0xc0, %edx
movq %r14, %rdi
callq 0x5013... | blst_sk_to_pk2_in_g2:
push rbp
mov rbp, rsp
push r14
push rbx
sub rsp, 120h
mov r14, rsi
mov rbx, rdi
lea rsi, BLS12_381_G2
lea rdi, [rbp+var_130]
call POINTonE2_sign
test r14, r14
jz short loc_53DC3
lea rsi, [rbp+var_130]
mov edx, 0C0h
mov rdi, r14
call vec_co... | char blst_sk_to_pk2_in_g2(_BYTE *a1, long long a2)
{
char result; // al
_BYTE v3[192]; // [rsp+0h] [rbp-130h] BYREF
_BYTE v4[112]; // [rsp+C0h] [rbp-70h] BYREF
result = POINTonE2_sign((long long)v3);
if ( a2 )
result = vec_copy(a2, (long long)v3, 0xC0uLL);
if ( a1 )
{
*a1 |= (16 * POINTonE2_Seri... | blst_sk_to_pk2_in_g2:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
SUB RSP,0x120
MOV R14,RSI
MOV RBX,RDI
LEA RSI,[0x17e6e0]
LEA RDI,[RBP + -0x130]
CALL 0x00153c55
TEST R14,R14
JZ 0x00153dc3
LEA RSI,[RBP + -0x130]
MOV EDX,0xc0
MOV RDI,R14
CALL 0x0015013d
LAB_00153dc3:
TEST RBX,RBX
JZ 0x00153def
LEA RSI,[RBP + -0x130]
MOV RDI,... |
void blst_sk_to_pk2_in_g2(byte *param_1,long param_2)
{
byte bVar1;
char cVar2;
int1 local_138 [192];
int1 local_78 [96];
POINTonE2_sign(local_138,BLS12_381_G2);
if (param_2 != 0) {
vec_copy(param_2,local_138,0xc0);
}
if (param_1 != (byte *)0x0) {
bVar1 = POINTonE2_Serialize_BE(param_1,loca... | |
10,317 | mysql_kill_start_internal | eloqsql/libmariadb/libmariadb/mariadb_async.c | static void
mysql_kill_start_internal(void *d)
{
MK_ASYNC_INTERNAL_BODY(
mysql_kill,
(parms->mysql, parms->pid),
parms->mysql,
int,
r_int)
} | O0 | c | mysql_kill_start_internal:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x480(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rax
movq 0x8(... | mysql_kill_start_internal:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax+480h]
mov rax, [rax+28h]
mov [rbp+var_20], rax
mov rax, [rbp+var_10]
mov rdi, [rax]
mov ... | _DWORD * mysql_kill_start_internal(long long *a1)
{
_DWORD *result; // rax
_DWORD *v2; // [rsp+0h] [rbp-20h]
v2 = *(_DWORD **)(*(_QWORD *)(*a1 + 1152) + 40LL);
v2[2] = mysql_kill(*a1, a1[1]);
result = v2;
*v2 = 0;
return result;
}
| mysql_kill_start_internal:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x480]
MOV RAX,qword ptr [RAX + 0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ... |
void mysql_kill_start_internal(long *param_1)
{
int4 *puVar1;
int4 uVar2;
puVar1 = *(int4 **)(*(long *)(*param_1 + 0x480) + 0x28);
uVar2 = mysql_kill(*param_1,param_1[1]);
puVar1[2] = uVar2;
*puVar1 = 0;
return;
}
| |
10,318 | enable_optimizer_trace(st_connection*) | eloqsql/client/mysqltest.cc | void enable_optimizer_trace(struct st_connection *con)
{
MYSQL *mysql= con->mysql;
my_bool save_ps_protocol_enabled= ps_protocol_enabled;
my_bool save_view_protocol_enabled= view_protocol_enabled;
DYNAMIC_STRING ds_result;
DYNAMIC_STRING ds_warnings;
struct st_command command;
DBUG_ENTER("enable_optimizer... | O0 | cpp | enable_optimizer_trace(st_connection*):
pushq %rbp
movq %rsp, %rbp
subq $0x180, %rsp # imm = 0x180
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movb 0x447e00(%rip), %al # 0x4bb680
movb %al, -0x11(%rbp)
movb 0x447d8d(%rip), %al # 0x4bb616
movb %al, -0x12(%rbp)
c... | _Z22enable_optimizer_traceP13st_connection:
push rbp
mov rbp, rsp
sub rsp, 180h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov rax, [rax]
mov [rbp+var_10], rax
mov al, cs:_ZL19ps_protocol_enabled; ps_protocol_enabled
mov [rbp+var_11], al
mov al, cs:_ZL21view_protocol_enabled; view_... | char enable_optimizer_trace(_QWORD *a1)
{
char result; // al
_BYTE v2[280]; // [rsp+10h] [rbp-170h] BYREF
_QWORD v3[4]; // [rsp+128h] [rbp-58h] BYREF
_BYTE v4[38]; // [rsp+148h] [rbp-38h] BYREF
char v5; // [rsp+16Eh] [rbp-12h]
char v6; // [rsp+16Fh] [rbp-11h]
long long v7; // [rsp+170h] [rbp-10h]
_QWOR... | enable_optimizer_trace:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x180
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x10],RAX
MOV AL,byte ptr [0x005bb680]
MOV byte ptr [RBP + -0x11],AL
MOV AL,byte ptr [0x005bb616]
MOV byte ptr [RBP + -0x12],AL
CMP qword ptr [RBP + -0x1... |
/* enable_optimizer_trace(st_connection*) */
void enable_optimizer_trace(st_connection *param_1)
{
st_command local_178 [280];
st_dynamic_string local_60 [32];
st_dynamic_string local_40 [38];
int1 local_1a;
int1 local_19;
long local_18;
st_connection *local_10;
local_18 = *(long *)param_1;
loca... | |
10,319 | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long) | angrymouse[P]emittra/src/emittra.cpp | size_t Emittra::try_dequeue_bulk(const std::string& event_name, std::vector<std::vector<std::any>>& bulk_args, size_t max_items) {
auto event_data = get_or_create_event_data(event_name);
std::vector<QueuedEvent> events(max_items);
moodycamel::ConsumerToken token(event_data->event_queue);
size_t dequeued... | O0 | cpp | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long):
subq $0xc8, %rsp
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8... | _ZN7emittra7Emittra16try_dequeue_bulkERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS9_ISt3anySaISA_EESaISC_EEm:
sub rsp, 0C8h
mov [rsp+0C8h+var_8], rdi
mov [rsp+0C8h+var_10], rsi
mov [rsp+0C8h+var_18], rdx
mov [rsp+0C8h+var_20], rcx
mov rsi, [rsp+0C8h+var_8]
mov rdx, [rsp... | unsigned long long emittra::Emittra::try_dequeue_bulk(long long a1, long long a2, long long a3, long long a4)
{
int v4; // ecx
int v5; // r8d
int v6; // r9d
long long v7; // rax
long long v8; // rax
long long v10; // [rsp+8h] [rbp-C0h]
long long v11; // [rsp+10h] [rbp-B8h]
int v12; // [rsp+20h] [rbp-A8... | try_dequeue_bulk:
SUB RSP,0xc8
MOV qword ptr [RSP + 0xc0],RDI
MOV qword ptr [RSP + 0xb8],RSI
MOV qword ptr [RSP + 0xb0],RDX
MOV qword ptr [RSP + 0xa8],RCX
MOV RSI,qword ptr [RSP + 0xc0]
MOV RDX,qword ptr [RSP + 0xb8]
LEA RDI,[RSP + 0x98]
CALL 0x0010a3d0
MOV RAX,qword ptr [RSP + 0xa8]
MOV qword ptr [RSP + 0x20],RAX
LEA ... |
/* emittra::Emittra::try_dequeue_bulk(std::__cxx11::string const&, std::vector<std::vector<std::any,
std::allocator<std::any> >, std::allocator<std::vector<std::any, std::allocator<std::any> > > >&,
unsigned long) */
ulong __thiscall
emittra::Emittra::try_dequeue_bulk(Emittra *this,string *param_1,vector *param... | |
10,320 | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long) | angrymouse[P]emittra/src/emittra.cpp | size_t Emittra::try_dequeue_bulk(const std::string& event_name, std::vector<std::vector<std::any>>& bulk_args, size_t max_items) {
auto event_data = get_or_create_event_data(event_name);
std::vector<QueuedEvent> events(max_items);
moodycamel::ConsumerToken token(event_data->event_queue);
size_t dequeued... | O1 | cpp | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx... | _ZN7emittra7Emittra16try_dequeue_bulkERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS9_ISt3anySaISA_EESaISC_EEm:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 50h
mov r14, rcx
mov rbx, rdx
mov rdx, rsi
mov rsi, rdi
lea rdi, [rsp+78h+var_70]
call _ZN7e... | long long emittra::Emittra::try_dequeue_bulk(
std::__shared_mutex_pthread *a1,
long long a2,
_QWORD *a3,
long long a4)
{
long long v6; // r14
_QWORD *v7; // r12
_QWORD *v8; // r13
_QWORD *v9; // r15
long long v10; // r15
long long v11; // r12
long long v13; // [rsp+8h] [rb... | try_dequeue_bulk:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV R14,RCX
MOV RBX,RDX
MOV RDX,RSI
MOV RSI,RDI
LEA RDI,[RSP + 0x8]
CALL 0x00104c50
LAB_00106179:
LEA RDI,[RSP + 0x18]
LEA RDX,[RSP + 0x30]
MOV RSI,R14
CALL 0x00106ac0
MOV RAX,qword ptr [RSP + 0x8]
LEA RSI,[RSP + 0x30]
MOV dword ptr [RSI + 0x8]... |
/* emittra::Emittra::try_dequeue_bulk(std::__cxx11::string const&, std::vector<std::vector<std::any,
std::allocator<std::any> >, std::allocator<std::vector<std::any, std::allocator<std::any> > > >&,
unsigned long) */
ulong __thiscall
emittra::Emittra::try_dequeue_bulk(Emittra *this,string *param_1,vector *param... | |
10,321 | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long) | angrymouse[P]emittra/src/emittra.cpp | size_t Emittra::try_dequeue_bulk(const std::string& event_name, std::vector<std::vector<std::any>>& bulk_args, size_t max_items) {
auto event_data = get_or_create_event_data(event_name);
std::vector<QueuedEvent> events(max_items);
moodycamel::ConsumerToken token(event_data->event_queue);
size_t dequeued... | O2 | cpp | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long):
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48... | _ZN7emittra7Emittra16try_dequeue_bulkERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS9_ISt3anySaISA_EESaISC_EEm:
push r15
push r14
push r12
push rbx
sub rsp, 48h
mov r14, rcx
mov rbx, rdx
mov rdx, rsi
mov rsi, rdi
mov rdi, rsp
call _ZN7emittra7Emittra24get_or_cr... | long long emittra::Emittra::try_dequeue_bulk(
std::__shared_mutex_pthread *a1,
long long a2,
long long a3,
long long a4)
{
long long v6; // r14
long long v7; // r15
long long v8; // r12
long long v11; // [rsp+0h] [rbp-68h] BYREF
long long v12; // [rsp+8h] [rbp-60h] BYREF
_QW... | try_dequeue_bulk:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV R14,RCX
MOV RBX,RDX
MOV RDX,RSI
MOV RSI,RDI
MOV RDI,RSP
CALL 0x00104932
LAB_00105aa7:
LEA RDI,[RSP + 0x10]
LEA RDX,[RSP + 0x28]
MOV RSI,R14
CALL 0x001061e4
LEA RSI,[RSP + 0x28]
AND dword ptr [RSI + 0x8],0x0
MOV RAX,qword ptr [RSP]
XORPS XMM0,XMM0
MO... |
/* emittra::Emittra::try_dequeue_bulk(std::__cxx11::string const&, std::vector<std::vector<std::any,
std::allocator<std::any> >, std::allocator<std::vector<std::any, std::allocator<std::any> > > >&,
unsigned long) */
ulong __thiscall
emittra::Emittra::try_dequeue_bulk(Emittra *this,string *param_1,vector *param... | |
10,322 | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long) | angrymouse[P]emittra/src/emittra.cpp | size_t Emittra::try_dequeue_bulk(const std::string& event_name, std::vector<std::vector<std::any>>& bulk_args, size_t max_items) {
auto event_data = get_or_create_event_data(event_name);
std::vector<QueuedEvent> events(max_items);
moodycamel::ConsumerToken token(event_data->event_queue);
size_t dequeued... | O3 | cpp | emittra::Emittra::try_dequeue_bulk(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::vector<std::any, std::allocator<std::any>>, std::allocator<std::vector<std::any, std::allocator<std::any>>>>&, unsigned long):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx... | _ZN7emittra7Emittra16try_dequeue_bulkERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS9_ISt3anySaISA_EESaISC_EEm:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 50h
mov r14, rcx
mov rbx, rdx
mov rdx, rsi
mov rsi, rdi
lea rdi, [rsp+78h+var_70]
call _ZN7e... | long long emittra::Emittra::try_dequeue_bulk(
std::__shared_mutex_pthread *a1,
long long a2,
_QWORD *a3,
long long a4)
{
long long v6; // r14
_QWORD *v7; // r12
_QWORD *v8; // r13
_QWORD *v9; // r15
long long v10; // r15
long long v11; // r12
long long v13; // [rsp+8h] [rb... | try_dequeue_bulk:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x50
MOV R14,RCX
MOV RBX,RDX
MOV RDX,RSI
MOV RSI,RDI
LEA RDI,[RSP + 0x8]
CALL 0x00104c28
LAB_00106165:
LEA RDI,[RSP + 0x18]
LEA RDX,[RSP + 0x30]
MOV RSI,R14
CALL 0x00106a86
MOV RAX,qword ptr [RSP + 0x8]
LEA RSI,[RSP + 0x30]
MOV dword ptr [RSI + 0x8]... |
/* emittra::Emittra::try_dequeue_bulk(std::__cxx11::string const&, std::vector<std::vector<std::any,
std::allocator<std::any> >, std::allocator<std::vector<std::any, std::allocator<std::any> > > >&,
unsigned long) */
ulong __thiscall
emittra::Emittra::try_dequeue_bulk(Emittra *this,string *param_1,vector *param... | |
10,323 | 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, double, std::allocator, nlohmann::json_a... | monkey531[P]llama/common/json.hpp | static ReferenceType get_ref_impl(ThisType& obj)
{
// delegate the call to get_ptr<>()
auto* ptr = obj.template get_ptr<typename std::add_pointer<ReferenceType>::type>();
if (JSON_HEDLEY_LIKELY(ptr != nullptr))
{
return *ptr;
}
JSON_THROW(type_error::cre... | O1 | cpp | 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, double, std::allocator, nlohmann::json_a... | _ZN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvE12get_ref_implIRS9_SD_EET_RT0_:
push rbp; char
push r14; int
push rbx; __int64
sub rsp, 30h
mov r14, rdi
cmp byte ptr [rdi], 3
jnz sh... | long long nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>::get_ref_impl<std::string&,nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi... | get_ref_impl<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::allocator<unsigned_char>>,void>>:
PUSH RBP
PUSH R14
P... |
/* 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::allocator<unsigned
char> >, void>::get_r... | |
10,324 | find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) | eloqsql/storage/perfschema/pfs_digest.cc | PFS_statement_stat*
find_or_create_digest(PFS_thread *thread,
const sql_digest_storage *digest_storage,
const char *schema_name,
uint schema_name_length)
{
assert(digest_storage != NULL);
if (statements_digest_stat_array == NULL)
return NULL;
... | O3 | cpp | find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int):
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, 0x38f951(%rip) # 0x3d0390
je 0x40d35
movq %rsi, ... | _Z21find_or_create_digestP10PFS_threadPK18sql_digest_storagePKcj:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 108h
mov rax, fs:28h
mov [rbp+var_30], rax
cmp cs:statements_digest_stat_array, 0
jz loc_40D35
mov rbx, rsi
cmp dword ptr [rsi+... | volatile __int32 * find_or_create_digest(long long a1, long long a2, long long a3, unsigned int a4)
{
volatile long long *v6; // r14
long long v7; // r13
long long v8; // r12
long long *v9; // rax
long long v10; // r14
unsigned long long v11; // rdx
signed __int32 v12; // r13d
volatile __int32 *v13; // ... | find_or_create_digest:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x108
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
CMP qword ptr [0x004d0390],0x0
JZ 0x00140d35
MOV RBX,RSI
CMP dword ptr [RSI + 0x4],0x0
JZ 0x00140d35
MOV R12D,ECX
MOV R15,RDX
MOV R13,RDI
MOV R14,qword ptr [... |
/* find_or_create_digest(PFS_thread*, sql_digest_storage const*, char const*, unsigned int) */
uint * find_or_create_digest
(PFS_thread *param_1,sql_digest_storage *param_2,char *param_3,uint param_4)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
int iVar5;
int8 uVar6;
int8 *puVar7... | |
10,325 | get_one_option | eloqsql/storage/maria/aria_read_log.c | static my_bool
get_one_option(const struct my_option *opt,
const char *argument,
const char *filename __attribute__((unused)))
{
switch (opt->id) {
case '?':
usage();
exit(0);
case 'V':
print_version();
exit(0);
case 'E':
opt_apply_undo= TRUE;
break;
case ... | O0 | c | get_one_option:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
addl $-0x3f, %eax
movl %eax, %ecx
movq %rcx, -0x28(%rbp)
subl $0x17, %eax
ja 0x2b8d6
movq -0x28(%rbp), %rax
leaq 0x151820(%rip), %rcx # 0x17d018
m... | get_one_option:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_8]
mov eax, [rax+8]
add eax, 0FFFFFFC1h; switch 24 cases
mov ecx, eax
mov [rbp+var_28], rcx
sub eax, 17h
ja def_2B7FF; jumptable 00000... | long long get_one_option(long long a1, _BYTE *a2)
{
_BYTE *v3; // [rsp+30h] [rbp-20h]
switch ( *(_DWORD *)(a1 + 8) )
{
case '?':
usage();
exit(0LL);
case 'E':
opt_apply_undo = 1;
break;
case 'T':
if ( !tables_to_redo[2] )
my_hash_init2(
0,
(u... | get_one_option:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
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 + 0x8]
ADD EAX,-0x3f
MOV ECX,EAX
MOV qword ptr [RBP + -0x28],RCX
SUB EAX,0x17
JA 0x0012b8d6
MOV RAX,qword ptr [RBP + -0x2... |
int8 get_one_option(long param_1,char *param_2)
{
char *pcVar1;
char *local_18;
switch(*(int4 *)(param_1 + 8)) {
case 0x3f:
usage();
/* WARNING: Subroutine does not return */
exit(0);
case 0x45:
opt_apply_undo = 1;
break;
case 0x54:
local_18 = param_2;
if (ta... | |
10,326 | ftxui::focus(std::shared_ptr<ftxui::Node>) | Andrewchistyakov[P]flashcards_lyc/build_O1/_deps/ftxui-src/src/ftxui/dom/frame.cpp | Element focus(Element child) {
return std::make_shared<Focus>(unpack(std::move(child)));
} | O1 | cpp | ftxui::focus(std::shared_ptr<ftxui::Node>):
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq (%rsi), %rcx
leaq 0x18(%rsp), %rax
movq %rcx, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq 0x8(%rsi), %rdx
movq %rcx, 0x8(%rsi)
movq %rdx, 0x8(%rax)
movq %rcx, (%rsi)
movq %rsp, %rdi
movq %rax, %rsi
ca... | _ZN5ftxui5focusESt10shared_ptrINS_4NodeEE:
push r15
push r14
push rbx
sub rsp, 40h
mov rbx, rdi
mov rcx, [rsi]
lea rax, [rsp+58h+var_40]
mov [rax], rcx
xor ecx, ecx
mov [rax+8], rcx
mov rdx, [rsi+8]
mov [rsi+8], rcx
mov [rax+8], rdx
mov [rsi], rcx
mov rdi, rsp
mo... | _QWORD * ftxui::focus(_QWORD *a1, long long *a2)
{
volatile signed __int32 *v2; // rdx
_QWORD *v3; // r14
int v4; // edx
int v5; // ecx
int v6; // r8d
int v7; // r9d
void *v9; // [rsp+0h] [rbp-58h] BYREF
__int128 v10; // [rsp+8h] [rbp-50h]
long long v11; // [rsp+18h] [rbp-40h] BYREF
volatile signed ... | focus:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x40
MOV RBX,RDI
MOV RCX,qword ptr [RSI]
LEA RAX,[RSP + 0x18]
MOV qword ptr [RAX],RCX
XOR ECX,ECX
MOV qword ptr [RAX + 0x8],RCX
MOV RDX,qword ptr [RSI + 0x8]
MOV qword ptr [RSI + 0x8],RCX
MOV qword ptr [RAX + 0x8],RDX
MOV qword ptr [RSI],RCX
LAB_00138634:
MOV RDI,RSP
MOV RSI,RA... |
/* ftxui::focus(std::shared_ptr<ftxui::Node>) */
ftxui * __thiscall ftxui::focus(ftxui *this,int8 *param_2)
{
int8 *puVar1;
int8 local_58;
int8 uStack_50;
int8 uStack_48;
int8 local_40;
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *local_38;
int8 local_30;
int8 local_28;
int8 uStack_20;
local_... | |
10,327 | get_loc_or_ref | bluesky950520[P]quickjs/quickjs.c | static void get_loc_or_ref(DynBuf *bc, BOOL is_ref, int idx)
{
/* if the field is not initialized, the error is catched when
accessing it */
if (is_ref)
dbuf_putc(bc, OP_get_var_ref);
else
dbuf_putc(bc, OP_get_loc);
dbuf_put_u16(bc, idx);
} | O1 | c | get_loc_or_ref:
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rdi, %r14
testl %esi, %esi
movl $0x58, %eax
movl $0x5e, %esi
cmovel %eax, %esi
callq 0x1b4d0
leaq 0x6(%rsp), %rsi
movw %bx, (%rsi)
movl $0x2, %edx
movq %r14, %rdi
callq 0x1b422
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| get_loc_or_ref:
push r14
push rbx
push rax
mov ebx, edx
mov r14, rdi
test esi, esi
mov eax, 58h ; 'X'
mov esi, 5Eh ; '^'
cmovz esi, eax
call dbuf_putc
lea rsi, [rsp+18h+var_12]
mov [rsi], bx
mov edx, 2
mov rdi, r14
call dbuf_put
add rsp, 8
pop rbx
pop r14
... | long long get_loc_or_ref(_QWORD *a1, int a2, __int16 a3)
{
long long v3; // rax
bool v5; // zf
char v6; // si
_WORD v8[9]; // [rsp+0h] [rbp-12h] BYREF
v8[0] = HIWORD(v3);
v5 = a2 == 0;
v6 = 94;
if ( v5 )
v6 = 88;
dbuf_putc(a1, v6);
v8[0] = a3;
return dbuf_put(a1, (long long)v8, 2LL);
}
| get_loc_or_ref:
PUSH R14
PUSH RBX
PUSH RAX
MOV EBX,EDX
MOV R14,RDI
TEST ESI,ESI
MOV EAX,0x58
MOV ESI,0x5e
CMOVZ ESI,EAX
CALL 0x0011b4d0
LEA RSI,[RSP + 0x6]
MOV word ptr [RSI],BX
MOV EDX,0x2
MOV RDI,R14
CALL 0x0011b422
ADD RSP,0x8
POP RBX
POP R14
RET
|
void get_loc_or_ref(int8 param_1,int param_2,int2 param_3)
{
int8 in_RAX;
int8 uVar1;
int8 uStack_18;
uVar1 = 0x5e;
if (param_2 == 0) {
uVar1 = 0x58;
}
uStack_18 = in_RAX;
dbuf_putc(param_1,uVar1);
uStack_18 = CONCAT26(param_3,(int6)uStack_18);
dbuf_put(param_1,(long)&uStack_18 + 6,2);
re... | |
10,328 | get_loc_or_ref | bluesky950520[P]quickjs/quickjs.c | static void get_loc_or_ref(DynBuf *bc, BOOL is_ref, int idx)
{
/* if the field is not initialized, the error is catched when
accessing it */
if (is_ref)
dbuf_putc(bc, OP_get_var_ref);
else
dbuf_putc(bc, OP_get_loc);
dbuf_put_u16(bc, idx);
} | O2 | c | get_loc_or_ref:
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rdi, %r14
testl %esi, %esi
pushq $0x58
popq %rax
pushq $0x5e
popq %rsi
cmovel %eax, %esi
callq 0x15d33
movzwl %bx, %esi
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3cfc8
| get_loc_or_ref:
push r14
push rbx
push rax
mov ebx, edx
mov r14, rdi
test esi, esi
push 58h ; 'X'
pop rax
push 5Eh ; '^'
pop rsi
cmovz esi, eax
call dbuf_putc
movzx esi, bx
mov rdi, r14
add rsp, 8
pop rbx
pop r14
jmp dbuf_put_u16
| long long get_loc_or_ref(_QWORD *a1, int a2, __int16 a3)
{
bool v4; // zf
char v5; // si
v4 = a2 == 0;
v5 = 94;
if ( v4 )
v5 = 88;
dbuf_putc(a1, v5);
return dbuf_put_u16(a1, a3);
}
| get_loc_or_ref:
PUSH R14
PUSH RBX
PUSH RAX
MOV EBX,EDX
MOV R14,RDI
TEST ESI,ESI
PUSH 0x58
POP RAX
PUSH 0x5e
POP RSI
CMOVZ ESI,EAX
CALL 0x00115d33
MOVZX ESI,BX
MOV RDI,R14
ADD RSP,0x8
POP RBX
POP R14
JMP 0x0013cfc8
|
void get_loc_or_ref(int8 param_1,int param_2,int2 param_3)
{
int8 uVar1;
uVar1 = 0x5e;
if (param_2 == 0) {
uVar1 = 0x58;
}
dbuf_putc(param_1,uVar1);
dbuf_put_u16(param_1,param_3);
return;
}
| |
10,329 | tlsstate_conn_close | xtate/src/probe-modules/tls-state-probe.c | static void tlsstate_conn_close(ProbeState *state, ProbeTarget *target) {
LOG(LEVEL_DETAIL, "(TSP Conn CLOSE) >>>\n");
if (!state->data)
return;
struct TlsState *tls_state = state->data;
if (!tls_state)
return;
/*do conn close for subprobe*/
tlsstate_conf.subprobe->conn_close... | O3 | c | tlsstate_conn_close:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x3b2a5(%rip), %rsi # 0x6b1ba
movl $0x3, %edi
xorl %eax, %eax
callq 0x536da
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x2ff91
movq 0x173e5f(%rip), %rax # 0x1a3d90
leaq 0x8(%r14), %rdi
movq %r15, %rsi
callq *0x70(%rax)
movq ... | tlsstate_conn_close:
push r15
push r14
push rbx
mov r15, rsi
mov rbx, rdi
lea rsi, aTspConnClose; "(TSP Conn CLOSE) >>>\n"
mov edi, 3
xor eax, eax
call LOG
mov r14, [rbx+8]
test r14, r14
jz short loc_2FF91
mov rax, cs:tlsstate_conf_0
lea rdi, [r14+8]
mov rsi, r15
... | long long tlsstate_conn_close(long long a1, long long a2, int a3, int a4, int a5, int a6)
{
long long result; // rax
_QWORD *v8; // r14
long long v9; // rdi
_QWORD *v10; // r15
long long v11; // rax
long long v12; // rdi
result = LOG(3, (unsigned int)"(TSP Conn CLOSE) >>>\n", a3, a4, a5, a6);
v8 = *(_... | tlsstate_conn_close:
PUSH R15
PUSH R14
PUSH RBX
MOV R15,RSI
MOV RBX,RDI
LEA RSI,[0x16b1ba]
MOV EDI,0x3
XOR EAX,EAX
CALL 0x001536da
MOV R14,qword ptr [RBX + 0x8]
TEST R14,R14
JZ 0x0012ff91
MOV RAX,qword ptr [0x002a3d90]
LEA RDI,[R14 + 0x8]
MOV RSI,R15
CALL qword ptr [RAX + 0x70]
MOV RDI,qword ptr [R14 + 0x28]
TEST RDI,R... |
void tlsstate_conn_close(long param_1)
{
void *__ptr;
void *__ptr_00;
LOG(3,"(TSP Conn CLOSE) >>>\n");
__ptr = *(void **)(param_1 + 8);
if (__ptr != (void *)0x0) {
(**(code **)(tlsstate_conf_0 + 0x70))((long)__ptr + 8);
if (*(SSL **)((long)__ptr + 0x28) != (SSL *)0x0) {
__ptr_00 = SSL_get_e... | |
10,330 | my_caseup_str_utf8mb4 | eloqsql/strings/ctype-utf8.c | static size_t
my_caseup_str_utf8mb4(CHARSET_INFO *cs, char *src)
{
my_wc_t wc;
int srcres, dstres;
char *dst= src, *dst0= src;
MY_UNICASE_INFO *uni_plane= cs->caseinfo;
DBUG_ASSERT(cs->caseup_multiply == 1);
while (*src &&
(srcres= my_mb_wc_utf8mb4_no_range(cs, &wc, (uchar *) src)) > 0)
{
my... | O0 | c | my_caseup_str_utf8mb4:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq 0x78(%rax), %rax
movq %rax, -0x38(%rbp)
jmp 0x7396e
jmp 0x73970
movq -0x10(%rbp), %rax
mo... | my_caseup_str_utf8mb4:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
mov [rbp+var_28], rax
mov rax, [rbp+var_10]
mov [rbp+var_30], rax
mov rax, [rbp+var_8]
mov rax, [rax+78h]
mov [rbp+var_38], rax
jmp short $+2
loc_... | _BYTE * my_caseup_str_utf8mb4(long long a1, _BYTE *a2)
{
bool v3; // [rsp+7h] [rbp-39h]
long long v4; // [rsp+8h] [rbp-38h]
_BYTE *v5; // [rsp+18h] [rbp-28h]
int v6; // [rsp+20h] [rbp-20h]
int v7; // [rsp+24h] [rbp-1Ch]
long long v8; // [rsp+28h] [rbp-18h] BYREF
_BYTE *v9; // [rsp+30h] [rbp-10h]
long lo... | my_caseup_str_utf8mb4:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x78]
MOV qword ... |
long my_caseup_str_utf8mb4(long param_1,char *param_2)
{
int8 uVar1;
bool bVar2;
int iVar3;
char *local_30;
int local_24;
int8 local_20;
char *local_18;
long local_10;
uVar1 = *(int8 *)(param_1 + 0x78);
local_30 = param_2;
local_18 = param_2;
local_10 = param_1;
while( true ) {
bVar2 ... | |
10,331 | get_head_or_tail_page | eloqsql/storage/maria/ma_blockrec.c | static my_bool get_head_or_tail_page(MARIA_HA *info,
const MARIA_BITMAP_BLOCK *block,
uchar *buff, uint length, uint page_type,
enum pagecache_page_lock lock,
struct st_row... | O3 | c | get_head_or_tail_page:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movl %ecx, %r12d
movq %rdi, %r14
movq (%rdi), %rcx
movl 0x7bc(%rcx), %r13d
cmpb $0x0, 0x15(%rsi)
je 0x3b911
movl %r8d, -0x2c(%rbp)
leaq -0x58(%rbp), %r15
movl $0x6, 0x8(%r15)
movq 0x6... | get_head_or_tail_page:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov rbx, r9
mov r12d, ecx
mov r14, rdi
mov rcx, [rdi]
mov r13d, [rcx+7BCh]
cmp byte ptr [rsi+15h], 0
jz loc_3B911
mov [rbp+var_2C], r8d
lea r15, [rbp+var_... | char get_head_or_tail_page(long long *a1, long long *a2, _BYTE *a3, unsigned int a4, int a5, long long a6)
{
long long v9; // rcx
long long v10; // r13
long long v11; // rdi
long long v12; // rdx
long long v13; // rax
long long v14; // r15
long long v15; // rdx
long long v16; // r10
int v17; // ecx
... | get_head_or_tail_page:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV RBX,R9
MOV R12D,ECX
MOV R14,RDI
MOV RCX,qword ptr [RDI]
MOV R13D,dword ptr [RCX + 0x7bc]
CMP byte ptr [RSI + 0x15],0x0
JZ 0x0013b911
MOV dword ptr [RBP + -0x2c],R8D
LEA R15,[RBP + -0x58]
MOV dword ptr [R15 + 0x8],0... |
int8
get_head_or_tail_page
(long *param_1,int8 *param_2,long param_3,uint param_4,int param_5,long *param_6)
{
byte bVar1;
byte bVar2;
ushort uVar3;
ushort uVar4;
ushort uVar5;
long lVar6;
long lVar7;
uint uVar8;
char *pcVar9;
long lVar10;
int4 *puVar11;
int8 uVar12;
uint uVar13;
... | |
10,332 | my_b_cache_write_r | eloqsql/mysys/mf_iocache.c | static int _my_b_cache_write_r(IO_CACHE *info, const uchar *Buffer, size_t Count)
{
my_off_t old_pos_in_file= info->pos_in_file;
int res= _my_b_cache_write(info, Buffer, Count);
if (res)
return res;
DBUG_ASSERT(!(info->myflags & MY_ENCRYPT));
DBUG_ASSERT(info->share);
copy_to_read_buffer(info, Buffer, ... | O0 | c | my_b_cache_write_r:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0xe4ab0
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(... | _my_b_cache_write_r:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov rax, [rbp+var_10]
mov rax, [rax]
mov [rbp+var_28], rax
mov rdi, [rbp+var_10]
mov rsi, [rbp+var_18]
mov rdx, [rbp+var_20]
call _my_b_cache_write
... | long long my_b_cache_write_r(long long *a1, long long a2, long long a3)
{
unsigned int v4; // [rsp+4h] [rbp-2Ch]
long long v5; // [rsp+8h] [rbp-28h]
v5 = *a1;
v4 = my_b_cache_write(a1, a2, a3);
if ( v4 )
{
return v4;
}
else
{
copy_to_read_buffer(a1, a2, v5);
return 0;
}
}
| _my_b_cache_write_r:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x28],RAX
MOV RDI,qword ptr [RBP + -0x10]
MOV RSI,qword ptr [RBP + -0x18]
MOV RDX,qword ptr... |
int _my_b_cache_write_r(int8 *param_1,int8 param_2,int8 param_3)
{
int8 uVar1;
int4 local_c;
uVar1 = *param_1;
local_c = _my_b_cache_write(param_1,param_2,param_3);
if (local_c == 0) {
copy_to_read_buffer(param_1,param_2,uVar1);
local_c = 0;
}
return local_c;
}
| |
10,333 | ast_create_sequence | tsotchke[P]eshkol/src/frontend/ast/create/ast_create.c | AstNode* ast_create_sequence(Arena* arena, AstNode** exprs, size_t expr_count, size_t line, size_t column) {
AstNode* node = ast_create_node(arena, AST_SEQUENCE, line, column);
if (!node) {
return NULL;
}
node->as.sequence.exprs = exprs;
node->as.sequence.expr_count = expr_count;
... | O2 | c | ast_create_sequence:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
pushq $0x1a
popq %rsi
movq %rcx, %rdx
movq %r8, %rcx
callq 0x99ac
testq %rax, %rax
je 0x9ea1
movq %r14, 0x48(%rax)
movq %rbx, 0x50(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| ast_create_sequence:
push r14
push rbx
push rax
mov rbx, rdx
mov r14, rsi
push 1Ah
pop rsi
mov rdx, rcx
mov rcx, r8
call ast_create_node
test rax, rax
jz short loc_9EA1
mov [rax+48h], r14
mov [rax+50h], rbx
loc_9EA1:
add rsp, 8
pop rbx
pop r14
retn
| long long ast_create_sequence(long long a1, long long a2, long long a3, long long a4, long long a5)
{
long long result; // rax
result = ast_create_node(a1, 26, a4, a5);
if ( result )
{
*(_QWORD *)(result + 72) = a2;
*(_QWORD *)(result + 80) = a3;
}
return result;
}
| ast_create_sequence:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RSI
PUSH 0x1a
POP RSI
MOV RDX,RCX
MOV RCX,R8
CALL 0x001099ac
TEST RAX,RAX
JZ 0x00109ea1
MOV qword ptr [RAX + 0x48],R14
MOV qword ptr [RAX + 0x50],RBX
LAB_00109ea1:
ADD RSP,0x8
POP RBX
POP R14
RET
|
void ast_create_sequence(int8 param_1,int8 param_2,int8 param_3,int8 param_4
,int8 param_5)
{
long lVar1;
lVar1 = ast_create_node(param_1,0x1a,param_4,param_5);
if (lVar1 != 0) {
*(int8 *)(lVar1 + 0x48) = param_2;
*(int8 *)(lVar1 + 0x50) = param_3;
}
return;
}
| |
10,334 | google::protobuf::EnumValueOptions::ByteSizeLong() const | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | size_t EnumValueOptions::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValueOptions)
size_t total_size = 0;
total_size += _impl_._extensions_.ByteSize();
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cach... | O0 | cpp | google::protobuf::EnumValueOptions::ByteSizeLong() const:
subq $0x58, %rsp
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq $0x0, 0x38(%rsp)
addq $0x10, %rdi
callq 0x1a13c0
movq 0x8(%rsp), %rdi
addq 0x38(%rsp), %rax
movq %rax, 0x38(%rsp)
movl $0x0, 0x34(%rsp)
callq 0xa1800
movl %eax, %ecx
movq 0x8(... | _ZNK6google8protobuf16EnumValueOptions12ByteSizeLongEv:
sub rsp, 58h
mov [rsp+58h+var_18], rdi
mov rdi, [rsp+58h+var_18]
mov [rsp+58h+var_50], rdi
mov [rsp+58h+var_20], 0
add rdi, 10h; this
call _ZNK6google8protobuf8internal12ExtensionSet8ByteSizeEv; google::protobuf::internal::ExtensionSet::... | long long google::protobuf::EnumValueOptions::ByteSizeLong(google::protobuf::EnumValueOptions *this)
{
long long v1; // rax
long long v3; // [rsp+10h] [rbp-48h]
long long v4; // [rsp+18h] [rbp-40h] BYREF
_QWORD v5[2]; // [rsp+20h] [rbp-38h] BYREF
int v6; // [rsp+34h] [rbp-24h]
unsigned long long v7; // [rs... | ByteSizeLong:
SUB RSP,0x58
MOV qword ptr [RSP + 0x40],RDI
MOV RDI,qword ptr [RSP + 0x40]
MOV qword ptr [RSP + 0x8],RDI
MOV qword ptr [RSP + 0x38],0x0
ADD RDI,0x10
CALL 0x002a13c0
MOV RDI,qword ptr [RSP + 0x8]
ADD RAX,qword ptr [RSP + 0x38]
MOV qword ptr [RSP + 0x38],RAX
MOV dword ptr [RSP + 0x34],0x0
CALL 0x001a1800
MO... |
/* google::protobuf::EnumValueOptions::ByteSizeLong() const */
void __thiscall google::protobuf::EnumValueOptions::ByteSizeLong(EnumValueOptions *this)
{
int iVar1;
long lVar2;
ulong uVar3;
UninterpretedOption *pUVar4;
int8 local_40;
int8 local_38;
RepeatedPtrField<google::protobuf::UninterpretedOption... | |
10,335 | my_setwd | eloqsql/mysys/my_getwd.c | int my_setwd(const char *dir, myf MyFlags)
{
int res;
size_t length;
char *start, *pos;
DBUG_ENTER("my_setwd");
DBUG_PRINT("my",("dir: '%s' MyFlags %lu", dir, MyFlags));
start=(char *) dir;
if (! dir[0] || (dir[0] == FN_LIBCHAR && dir[1] == 0))
dir=FN_ROOTDIR;
if ((res=chdir((char*) dir)) != 0)
... | O3 | c | my_setwd:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
movzbl (%rdi), %eax
testl %eax, %eax
je 0x9f5df
movq %r14, %rdi
cmpl $0x2f, %eax
jne 0x9f5e6
cmpb $0x0, 0x1(%r14)
movq %r14, %rdi
jne 0x9f5e6
leaq 0x3f193(%rip), %rdi # 0xde779
call... | my_setwd:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rsi
mov r14, rdi
movzx eax, byte ptr [rdi]
test eax, eax
jz short loc_9F5DF
mov rdi, r14
cmp eax, 2Fh ; '/'
jnz short loc_9F5E6
cmp byte ptr [r14+1], 0
mov rdi, r... | long long my_setwd(unsigned __int8 *a1, const char *a2)
{
unsigned __int8 *v2; // r14
unsigned int v3; // ebx
unsigned int *v4; // r12
unsigned int v5; // r13d
unsigned __int8 *v6; // rcx
int v7; // edx
long long v8; // rax
v2 = a1;
if ( !*a1 || *a1 == 47 && !a1[1] )
a1 = (unsigned __int8 *)&unk... | my_setwd:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RSI
MOV R14,RDI
MOVZX EAX,byte ptr [RDI]
TEST EAX,EAX
JZ 0x0019f5df
MOV RDI,R14
CMP EAX,0x2f
JNZ 0x0019f5e6
CMP byte ptr [R14 + 0x1],0x0
MOV RDI,R14
JNZ 0x0019f5e6
LAB_0019f5df:
LEA RDI,[0x1de779]
LAB_0019f5e6:
CALL 0x00129960
... |
int my_setwd(char *param_1,ulong param_2)
{
int iVar1;
int iVar2;
int *piVar3;
int *piVar4;
long lVar5;
char *pcVar6;
if ((*param_1 == '\0') || ((pcVar6 = param_1, *param_1 == '/' && (param_1[1] == '\0')))) {
pcVar6 = "/";
}
iVar2 = chdir(pcVar6);
pcVar6 = param_1;
if (iVar2 == 0) {
w... | |
10,336 | int testing::internal::AppropriateResolution<double>(double) | giladroyz[P]FindPeaks/build_O1/_deps/googletest-src/googletest/include/gtest/gtest-printers.h | int AppropriateResolution(FloatType val) {
int full = std::numeric_limits<FloatType>::max_digits10;
if (val < 0) val = -val;
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
#endif
if (val < 1000000) {
FloatType mulfor6 = 1e10;
// Without these static casts, the ... | O1 | c | int testing::internal::AppropriateResolution<double>(double):
movapd 0x31686(%rip), %xmm1 # 0x400a0
xorpd %xmm0, %xmm1
maxsd %xmm0, %xmm1
movsd 0x315ee(%rip), %xmm0 # 0x40018
ucomisd %xmm1, %xmm0
jbe 0xeacd
ucomisd 0x31634(%rip), %xmm1 # 0x40070
jae 0xeb11
ucomisd 0x315de(%rip), %xmm1 # 0x40028
jae 0xeb1b
u... | _ZN7testing8internal21AppropriateResolutionIdEEiT_:
movapd xmm1, cs:xmmword_400A0
xorpd xmm1, xmm0
maxsd xmm1, xmm0
movsd xmm0, cs:qword_40018
ucomisd xmm0, xmm1
jbe loc_EACD
ucomisd xmm1, cs:qword_40070
jnb loc_EB11
ucomisd xmm1, cs:qword_40028
jnb loc_EB1B
ucomisd xmm1, cs:qword_40038
jnb loc_E... | long long testing::internal::AppropriateResolution<double>(__m128d a1)
{
__m128d v1; // xmm1
double v2; // xmm0_8
double v3; // xmm0_8
__m128d v4; // xmm2
double v5; // xmm2_8
__m128d v6; // xmm2
v1 = _mm_xor_pd((__m128d)xmmword_400A0, a1);
v1.m128d_f64[0] = fmax(v1.m128d_f64[0], a1.m128d_f64[0]);
v... | AppropriateResolution<double>:
MOVAPD XMM1,xmmword ptr [0x001400a0]
XORPD XMM1,XMM0
MAXSD XMM1,XMM0
MOVSD XMM0,qword ptr [0x00140018]
UCOMISD XMM0,XMM1
JBE 0x0010eacd
UCOMISD XMM1,qword ptr [0x00140070]
JNC 0x0010eb11
UCOMISD XMM1,qword ptr [0x00140028]
JNC 0x0010eb1b
UCOMISD XMM1,qword ptr [0x00140038]
JNC 0x0010eb2f
... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* int testing::internal::AppropriateResolution<double>(double) */
int testing::internal::AppropriateResolution<double>(double param_1)
{
double dVar1;
double dVar2;
dVar1 = (double)(_DAT_001400a0 ^ (ulong)param_1);
if ((... | |
10,337 | my_uca_scanner_init_any | eloqsql/strings/ctype-uca.c | static void
my_uca_scanner_init_any(my_uca_scanner *scanner,
CHARSET_INFO *cs,
const MY_UCA_WEIGHT_LEVEL *level,
const uchar *str, size_t length)
{
/* Note, no needs to initialize scanner->wbeg */
scanner->sbeg= str;
scanner->send= str + leng... | O0 | c | my_uca_scanner_init_any:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rcx
addq -0x28(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)... | my_uca_scanner_init_any:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov rcx, [rbp+var_20]
mov rax, [rbp+var_8]
mov [rax+8], rcx
mov rcx, [rbp+var_20]
add rcx, [rbp+var_28]
mov rax, [... | _QWORD * my_uca_scanner_init_any(_QWORD *a1, long long a2, long long a3, long long a4, long long a5)
{
_QWORD *result; // rax
a1[1] = a4;
a1[2] = a5 + a4;
*a1 = &nochar;
a1[3] = a3;
result = a1;
a1[6] = a2;
return result;
}
| my_uca_scanner_init_any:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x8],RCX
MOV RCX,qword ptr [RBP ... |
void my_uca_scanner_init_any
(int8 *param_1,int8 param_2,int8 param_3,long param_4,long param_5)
{
param_1[1] = param_4;
param_1[2] = param_4 + param_5;
*param_1 = &nochar;
param_1[3] = param_3;
param_1[6] = param_2;
return;
}
| |
10,338 | bf_print_str | bluesky950520[P]quickjs/libbf.c | void bf_print_str(const char *str, const bf_t *a)
{
slimb_t i;
printf("%s=", str);
if (a->expn == BF_EXP_NAN) {
printf("NaN");
} else {
if (a->sign)
putchar('-');
if (a->expn == BF_EXP_ZERO) {
putchar('0');
} else if (a->expn == BF_EXP_INF) {
... | O1 | c | bf_print_str:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %rsi
leaq 0x1ddd5(%rip), %rdi # 0xa313e
xorl %eax, %eax
callq 0xe280
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, 0x10(%rbx)
jne 0x85389
leaq 0x1b2e0(%rip), %rdi # 0xa0667
jmp 0x853c4
cmpl $0x0, 0x8(%rbx)
je 0x8... | bf_print_str:
push r15
push r14
push rbx
mov rbx, rsi
mov rsi, rdi
lea rdi, aS_2; "%s="
xor eax, eax
call _printf
mov rax, 7FFFFFFFFFFFFFFFh
cmp [rbx+10h], rax
jnz short loc_85389
lea rdi, aDateValueIsNan+0Eh; "NaN"
jmp short loc_853C4
loc_85389:
cmp dword ptr [rbx+8]... | long long bf_print_str(const char *a1, long long a2)
{
long long v2; // rax
long long v4; // r15
printf("%s=", a1);
if ( *(_QWORD *)(a2 + 16) == 0x7FFFFFFFFFFFFFFFLL )
{
printf("NaN");
}
else
{
if ( *(_DWORD *)(a2 + 8) )
putchar(45LL);
v2 = *(_QWORD *)(a2 + 16);
if ( v2 == 0x7FFF... | |||
10,339 | bf_print_str | bluesky950520[P]quickjs/libbf.c | void bf_print_str(const char *str, const bf_t *a)
{
slimb_t i;
printf("%s=", str);
if (a->expn == BF_EXP_NAN) {
printf("NaN");
} else {
if (a->sign)
putchar('-');
if (a->expn == BF_EXP_ZERO) {
putchar('0');
} else if (a->expn == BF_EXP_INF) {
... | O2 | c | bf_print_str:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %rsi
leaq 0x1a3d2(%rip), %rdi # 0x8a07e
xorl %eax, %eax
callq 0xe290
movq 0x10(%rbx), %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rcx, %rax
jne 0x6fccf
leaq 0x178d4(%rip), %rdi # 0x875a1
jmp 0x6fd06
cmpl $0x0, ... | bf_print_str:
push r15
push r14
push rbx
mov rbx, rsi
mov rsi, rdi
lea rdi, aS_2; "%s="
xor eax, eax
call _printf
mov rax, [rbx+10h]
mov rcx, 7FFFFFFFFFFFFFFFh
cmp rax, rcx
jnz short loc_6FCCF
lea rdi, aDateValueIsNan+0Eh; "NaN"
jmp short loc_6FD06
loc_6FCCF:
cmp ... | long long bf_print_str(const char *a1, long long a2)
{
long long v2; // rax
long long i; // r15
printf("%s=", a1);
v2 = *(_QWORD *)(a2 + 16);
if ( v2 == 0x7FFFFFFFFFFFFFFFLL )
{
printf("NaN");
}
else
{
if ( *(_DWORD *)(a2 + 8) )
{
putchar(45LL);
v2 = *(_QWORD *)(a2 + 16);
... | bf_print_str:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV RSI,RDI
LEA RDI,[0x18a07e]
XOR EAX,EAX
CALL 0x0010e290
MOV RAX,qword ptr [RBX + 0x10]
MOV RCX,0x7fffffffffffffff
CMP RAX,RCX
JNZ 0x0016fccf
LEA RDI,[0x1875a1]
JMP 0x0016fd06
LAB_0016fccf:
CMP dword ptr [RBX + 0x8],0x0
JZ 0x0016fce1
PUSH 0x2d
POP RDI
CALL 0x0010e0... |
/* WARNING: Removing unreachable block (ram,0x0016fcf5) */
void bf_print_str(int8 param_1,long param_2)
{
char *__format;
long lVar1;
printf("%s=",param_1);
lVar1 = *(long *)(param_2 + 0x10);
if (lVar1 == 0x7fffffffffffffff) {
__format = "NaN";
}
else {
if (*(int *)(param_2 + 8) != 0) {
... | |
10,340 | bf_print_str | bluesky950520[P]quickjs/libbf.c | void bf_print_str(const char *str, const bf_t *a)
{
slimb_t i;
printf("%s=", str);
if (a->expn == BF_EXP_NAN) {
printf("NaN");
} else {
if (a->sign)
putchar('-');
if (a->expn == BF_EXP_ZERO) {
putchar('0');
} else if (a->expn == BF_EXP_INF) {
... | O3 | c | bf_print_str:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %rsi
leaq 0x1e34f(%rip), %rdi # 0xa60ee
xorl %eax, %eax
callq 0xe280
movq 0x10(%rbx), %rax
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rcx, %rax
jne 0x87dc2
leaq 0x1b851(%rip), %rdi # 0xa3611
jmp 0x87dfd
cmpl $0x0, ... | bf_print_str:
push r15
push r14
push rbx
mov rbx, rsi
mov rsi, rdi
lea rdi, aS_2; "%s="
xor eax, eax
call _printf
mov rax, [rbx+10h]
mov rcx, 7FFFFFFFFFFFFFFFh
cmp rax, rcx
jnz short loc_87DC2
lea rdi, aDateValueIsNan+0Eh; "NaN"
jmp short loc_87DFD
loc_87DC2:
cmp ... | long long bf_print_str(const char *a1, long long a2)
{
long long v2; // rax
long long v4; // r15
printf("%s=", a1);
v2 = *(_QWORD *)(a2 + 16);
if ( v2 == 0x7FFFFFFFFFFFFFFFLL )
{
printf("NaN");
}
else
{
if ( *(_DWORD *)(a2 + 8) )
{
putchar(45LL);
v2 = *(_QWORD *)(a2 + 16);
... | bf_print_str:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV RSI,RDI
LEA RDI,[0x1a60ee]
XOR EAX,EAX
CALL 0x0010e280
MOV RAX,qword ptr [RBX + 0x10]
MOV RCX,0x7fffffffffffffff
CMP RAX,RCX
JNZ 0x00187dc2
LEA RDI,[0x1a3611]
JMP 0x00187dfd
LAB_00187dc2:
CMP dword ptr [RBX + 0x8],0x0
JZ 0x00187dd6
MOV EDI,0x2d
CALL 0x0010e080
MO... |
/* WARNING: Removing unreachable block (ram,0x00187dea) */
void bf_print_str(int8 param_1,long param_2)
{
char *__format;
long lVar1;
printf("%s=",param_1);
lVar1 = *(long *)(param_2 + 0x10);
if (lVar1 == 0x7fffffffffffffff) {
__format = "NaN";
}
else {
if (*(int *)(param_2 + 8) != 0) {
... | |
10,341 | ma_crypt_data_pre_write_hook | eloqsql/storage/maria/ma_crypt.c | static my_bool ma_crypt_data_pre_write_hook(PAGECACHE_IO_HOOK_ARGS *args)
{
MARIA_SHARE *share= (MARIA_SHARE*) args->data;
const uint size= share->block_size;
uint key_version;
uchar *crypt_buf= my_malloc(PSI_INSTRUMENT_ME, share->block_size, MYF(0));
if (crypt_buf == NULL)
{
args->crypt_buf= NULL; /* ... | O0 | c | ma_crypt_data_pre_write_hook:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movl 0x7bc(%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movl 0x7bc(%rax), %eax
movl %eax, %esi
xorl %edi, %edi
xorl %ea... | ma_crypt_data_pre_write_hook:
push rbp
mov rbp, rsp
sub rsp, 80h
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
mov rax, [rax+10h]
mov [rbp+var_18], rax
mov rax, [rbp+var_18]
mov eax, [rax+7BCh]
mov [rbp+var_1C], eax
mov rax, [rbp+var_18]
mov eax, [rax+7BCh]
mov esi, eax
... | char ma_crypt_data_pre_write_hook(long long *a1)
{
int v1; // eax
int v2; // eax
unsigned int v4; // [rsp+28h] [rbp-58h]
unsigned int v5; // [rsp+30h] [rbp-50h]
unsigned __int8 v6; // [rsp+37h] [rbp-49h]
unsigned long long v7; // [rsp+38h] [rbp-48h]
int v8; // [rsp+44h] [rbp-3Ch]
unsigned __int16 *v9; ... | ma_crypt_data_pre_write_hook:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x10]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x7bc]
MOV dword ptr [RBP + -0x1c],EAX
MOV RAX,qword ptr [RBP + -0x18]
M... |
int1 ma_crypt_data_pre_write_hook(int8 *param_1)
{
int4 uVar1;
int3 *__src;
ulong uVar2;
int3 uVar3;
byte bVar4;
uint uVar5;
int iVar6;
void *__dest;
uint local_6c;
int4 local_28;
uint local_24;
long local_20;
int8 *local_18;
int1 local_9;
local_20 = param_1[2];
local_24 = *(uint *)... | |
10,342 | sparity | serhmarch[P]ModbusBridge/modbus/src/Modbus.cpp | const Char *sparity(Parity parity)
{
switch (parity)
{
case NoParity : return StringLiteral("No" );
case EvenParity : return StringLiteral("Even" );
case OddParity : return StringLiteral("Odd" );
case SpaceParity: return StringLiteral("Space");
case MarkParity : return StringLi... | O2 | cpp | sparity:
cmpl $0x4, %edi
ja 0x752a
movl %edi, %eax
leaq 0xb522(%rip), %rcx # 0x12a44
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
retq
xorl %eax, %eax
retq
| sparity:
cmp edi, 4
ja short loc_752A
mov eax, edi
lea rcx, unk_12A44
movsxd rax, dword ptr [rcx+rax*4]
add rax, rcx
retn
loc_752A:
xor eax, eax
retn
| char * sparity(unsigned int a1)
{
if ( a1 > 4 )
return 0LL;
else
return (char *)dword_12A44 + dword_12A44[a1];
}
| sparity:
CMP EDI,0x4
JA 0x0010752a
MOV EAX,EDI
LEA RCX,[0x112a44]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
RET
LAB_0010752a:
XOR EAX,EAX
RET
|
int * sparity(uint param_1)
{
if (param_1 < 5) {
return &DAT_00112a44 + *(int *)(&DAT_00112a44 + (ulong)param_1 * 4);
}
return (int *)0x0;
}
| |
10,343 | sparity | serhmarch[P]ModbusBridge/modbus/src/Modbus.cpp | const Char *sparity(Parity parity)
{
switch (parity)
{
case NoParity : return StringLiteral("No" );
case EvenParity : return StringLiteral("Even" );
case OddParity : return StringLiteral("Odd" );
case SpaceParity: return StringLiteral("Space");
case MarkParity : return StringLi... | O3 | cpp | sparity:
cmpl $0x4, %edi
ja 0x81c6
movl %edi, %eax
leaq 0x10886(%rip), %rcx # 0x18a44
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
retq
xorl %eax, %eax
retq
| sparity:
cmp edi, 4
ja short loc_81C6
mov eax, edi
lea rcx, unk_18A44
movsxd rax, dword ptr [rcx+rax*4]
add rax, rcx
retn
loc_81C6:
xor eax, eax
retn
| char * sparity(unsigned int a1)
{
if ( a1 > 4 )
return 0LL;
else
return (char *)dword_18A44 + dword_18A44[a1];
}
| sparity:
CMP EDI,0x4
JA 0x001081c6
MOV EAX,EDI
LEA RCX,[0x118a44]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
RET
LAB_001081c6:
XOR EAX,EAX
RET
|
int * sparity(uint param_1)
{
if (param_1 < 5) {
return &DAT_00118a44 + *(int *)(&DAT_00118a44 + (ulong)param_1 * 4);
}
return (int *)0x0;
}
| |
10,344 | ftxui::TerminalInputParser::ParseCursorReporting(std::vector<int, std::allocator<int>>) | Andrewchistyakov[P]flashcards_lyc/build_O0/_deps/ftxui-src/src/ftxui/component/terminal_input_parser.cpp | TerminalInputParser::Output TerminalInputParser::ParseCursorReporting(
std::vector<int> arguments) {
if (arguments.size() != 2) {
return SPECIAL;
}
Output output(CURSOR_REPORTING);
output.cursor.y = arguments[0]; // NOLINT
output.cursor.x = arguments[1]; // NOLINT
return output;
} | O0 | cpp | ftxui::TerminalInputParser::ParseCursorReporting(std::vector<int, std::allocator<int>>):
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdx, -0x28(%rbp)
movq %rdi, %rax
movq -0x28(%rbp), %rdi
movq %rax, -0x20(%rbp)
movq %rax, -0x18(%rbp)
movq %rsi, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
callq 0x37190
cmpq $0x2, %rax
je 0... | _ZN5ftxui19TerminalInputParser20ParseCursorReportingESt6vectorIiSaIiEE:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_28], rdx
mov rax, rdi
mov rdi, [rbp+var_28]
mov [rbp+var_20], rax
mov [rbp+var_18], rax
mov [rbp+var_8], rsi
mov [rbp+var_10], rdi
call _ZNKSt6vectorIiSaIiEE4... | long long ftxui::TerminalInputParser::ParseCursorReporting(long long a1, long long a2, _QWORD *a3)
{
if ( std::vector<int>::size(a3) == 2 )
{
ftxui::TerminalInputParser::Output::Output(a1, 5LL);
*(_DWORD *)(a1 + 8) = *(_DWORD *)std::vector<int>::operator[](a3, 0LL);
*(_DWORD *)(a1 + 4) = *(_DWORD *)std... | ParseCursorReporting:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,RDI
MOV RDI,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV qword ptr [RBP + -0x18],RAX
MOV qword ptr [RBP + -0x8],RSI
MOV qword ptr [RBP + -0x10],RDI
CALL 0x00137190
CMP RAX,0x2
JZ 0x0017343e
MOV RDI,qword ptr [... |
/* ftxui::TerminalInputParser::ParseCursorReporting(std::vector<int, std::allocator<int> >) */
Output * ftxui::TerminalInputParser::ParseCursorReporting
(Output *param_1,int8 param_2,vector<int,std::allocator<int>> *param_3)
{
long lVar1;
int4 *puVar2;
lVar1 = std::vector<int,std::allocat... | |
10,345 | js_bound_function_finalizer | bluesky950520[P]quickjs/quickjs.c | static void js_bound_function_finalizer(JSRuntime *rt, JSValue val)
{
JSObject *p = JS_VALUE_GET_OBJ(val);
JSBoundFunction *bf = p->u.bound_function;
int i;
JS_FreeValueRT(rt, bf->func_obj);
JS_FreeValueRT(rt, bf->this_val);
for(i = 0; i < bf->argc; i++) {
JS_FreeValueRT(rt, bf->argv[i]... | O1 | c | js_bound_function_finalizer:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x30(%rsi), %rbx
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x1d8c6
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movq %r14, %rdi
callq 0x1d8c6
cmpl $0x0, 0x20(%rbx)
jle 0x3a9e8
leaq 0x30(%rbx), %r15
xorl %r12d, %r1... | js_bound_function_finalizer:
push r15
push r14
push r12
push rbx
push rax
mov r14, rdi
mov rbx, [rsi+30h]
mov rsi, [rbx]
mov rdx, [rbx+8]
call JS_FreeValueRT
mov rsi, [rbx+10h]
mov rdx, [rbx+18h]
mov rdi, r14
call JS_FreeValueRT
cmp dword ptr [rbx+20h], 0
jle sho... | long long js_bound_function_finalizer(long long a1, long long a2)
{
long long v2; // rbx
long long *v3; // r15
long long v4; // r12
long long v5; // rax
long long ( *v6)(_QWORD, long long); // rcx
v2 = *(_QWORD *)(a2 + 48);
JS_FreeValueRT(a1, *(_DWORD **)v2, *(_QWORD *)(v2 + 8));
JS_FreeValueRT(a1, *(... | js_bound_function_finalizer:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RDI
MOV RBX,qword ptr [RSI + 0x30]
MOV RSI,qword ptr [RBX]
MOV RDX,qword ptr [RBX + 0x8]
CALL 0x0011d8c6
MOV RSI,qword ptr [RBX + 0x10]
MOV RDX,qword ptr [RBX + 0x18]
MOV RDI,R14
CALL 0x0011d8c6
CMP dword ptr [RBX + 0x20],0x0
JLE 0x0013a9... |
void js_bound_function_finalizer(long param_1,long param_2)
{
int8 *puVar1;
long lVar2;
int8 *puVar3;
puVar1 = *(int8 **)(param_2 + 0x30);
JS_FreeValueRT(param_1,*puVar1,puVar1[1]);
JS_FreeValueRT(param_1,puVar1[2],puVar1[3]);
if (0 < *(int *)(puVar1 + 4)) {
puVar3 = puVar1 + 6;
lVar2 = 0;
... | |
10,346 | js_bound_function_finalizer | bluesky950520[P]quickjs/quickjs.c | static void js_bound_function_finalizer(JSRuntime *rt, JSValue val)
{
JSObject *p = JS_VALUE_GET_OBJ(val);
JSBoundFunction *bf = p->u.bound_function;
int i;
JS_FreeValueRT(rt, bf->func_obj);
JS_FreeValueRT(rt, bf->this_val);
for(i = 0; i < bf->argc; i++) {
JS_FreeValueRT(rt, bf->argv[i]... | O2 | c | js_bound_function_finalizer:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x30(%rsi), %rbx
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
callq 0x18031
movq 0x10(%rbx), %rsi
movq 0x18(%rbx), %rdx
movq %r14, %rdi
callq 0x18031
leaq 0x30(%rbx), %r15
xorl %r12d, %r12d
movslq 0x20(%rbx), %rax
cmpq %r... | js_bound_function_finalizer:
push r15
push r14
push r12
push rbx
push rax
mov r14, rdi
mov rbx, [rsi+30h]
mov rsi, [rbx]
mov rdx, [rbx+8]
call JS_FreeValueRT
mov rsi, [rbx+10h]
mov rdx, [rbx+18h]
mov rdi, r14
call JS_FreeValueRT
lea r15, [rbx+30h]
xor r12d, r12d
... | long long js_bound_function_finalizer(long long a1, long long a2)
{
long long v2; // rbx
_QWORD *v3; // r15
long long i; // r12
v2 = *(_QWORD *)(a2 + 48);
JS_FreeValueRT(a1, *(unsigned int **)v2, *(_QWORD *)(v2 + 8));
JS_FreeValueRT(a1, *(unsigned int **)(v2 + 16), *(_QWORD *)(v2 + 24));
v3 = (_QWORD *)... | js_bound_function_finalizer:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RDI
MOV RBX,qword ptr [RSI + 0x30]
MOV RSI,qword ptr [RBX]
MOV RDX,qword ptr [RBX + 0x8]
CALL 0x00118031
MOV RSI,qword ptr [RBX + 0x10]
MOV RDX,qword ptr [RBX + 0x18]
MOV RDI,R14
CALL 0x00118031
LEA R15,[RBX + 0x30]
XOR R12D,R12D
LAB_0013... |
void js_bound_function_finalizer(int8 param_1,long param_2)
{
int8 *puVar1;
long lVar2;
int8 *puVar3;
puVar1 = *(int8 **)(param_2 + 0x30);
JS_FreeValueRT(param_1,*puVar1,puVar1[1]);
JS_FreeValueRT(param_1,puVar1[2],puVar1[3]);
puVar3 = puVar1 + 6;
for (lVar2 = 0; lVar2 < *(int *)(puVar1 + 4); lVar2... | |
10,347 | ma_checksum | eloqsql/storage/maria/ma_checksum.c | ha_checksum _ma_checksum(MARIA_HA *info, const uchar *record)
{
ha_checksum crc=0;
uint i,end;
MARIA_COLUMNDEF *base_column= info->s->columndef;
uint16 *column_nr= info->s->column_nr;
if (info->s->base.null_bytes)
crc= my_checksum(crc, record, info->s->base.null_bytes);
for (i= 0, end= info->s->base.f... | O0 | c | ma_checksum:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x588(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0x5a8(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
m... | _ma_checksum:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], 0
mov rax, [rbp+var_8]
mov rax, [rax]
mov rax, [rax+588h]
mov [rbp+var_28], rax
mov rax, [rbp+var_8]
mov rax, [rax]
mov rax, [rax+5A8h]
mov [rbp+var_30], r... | long long ma_checksum(long long a1, long long a2)
{
unsigned int v3; // [rsp+14h] [rbp-4Ch]
long long v4; // [rsp+18h] [rbp-48h]
long long v5; // [rsp+18h] [rbp-48h]
unsigned __int8 *v6; // [rsp+20h] [rbp-40h]
long long v7; // [rsp+28h] [rbp-38h]
long long v8; // [rsp+30h] [rbp-30h]
long long v9; // [rsp... | _ma_checksum:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x588]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV... |
int4 _ma_checksum(long *param_1,long param_2)
{
uint uVar1;
long lVar2;
long lVar3;
ushort uVar4;
int *piVar5;
long lVar6;
ushort *local_48;
uint local_20;
int4 local_1c;
local_1c = 0;
lVar2 = *(long *)(*param_1 + 0x588);
lVar3 = *(long *)(*param_1 + 0x5a8);
if (*(int *)(*param_1 + 0x3fc)... | |
10,348 | js_std_file_fileno | bluesky950520[P]quickjs/quickjs-libc.c | static JSValue js_std_file_fileno(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
FILE *f = js_std_file_get(ctx, this_val);
if (!f)
return JS_EXCEPTION;
return JS_NewInt32(ctx, fileno(f));
} | O0 | c | js_std_file_fileno:
subq $0x68, %rsp
movq %rsi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
movq %rdi, 0x20(%rsp)
movl %ecx, 0x1c(%rsp)
movq %r8, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq 0x127c0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x11de0
movl $0x0, 0x38(%rsp)
movq $0x6, 0x40(%r... | js_std_file_fileno:
sub rsp, 68h
mov [rsp+68h+var_40], rsi
mov [rsp+68h+var_38], rdx
mov [rsp+68h+var_48], rdi
mov [rsp+68h+var_4C], ecx
mov [rsp+68h+var_58], r8
mov rdi, [rsp+68h+var_48]
mov rsi, [rsp+68h+var_40]
mov rdx, [rsp+68h+var_38]
call js_std_file_get
mov [rsp+68h+var... | long long js_std_file_fileno(long long a1, long long a2, long long a3)
{
long long v4; // [rsp+8h] [rbp-60h]
long long v5; // [rsp+38h] [rbp-30h]
long long v6; // [rsp+58h] [rbp-10h]
v4 = js_std_file_get(a1, a2, a3);
if ( v4 )
{
LODWORD(v6) = fileno(v4);
return v6;
}
else
{
LODWORD(v5) =... | js_std_file_fileno:
SUB RSP,0x68
MOV qword ptr [RSP + 0x28],RSI
MOV qword ptr [RSP + 0x30],RDX
MOV qword ptr [RSP + 0x20],RDI
MOV dword ptr [RSP + 0x1c],ECX
MOV qword ptr [RSP + 0x10],R8
MOV RDI,qword ptr [RSP + 0x20]
MOV RSI,qword ptr [RSP + 0x28]
MOV RDX,qword ptr [RSP + 0x30]
CALL 0x001127c0
MOV qword ptr [RSP + 0x8... |
int1 [16] js_std_file_fileno(int8 param_1,int8 param_2,int8 param_3)
{
int1 auVar1 [16];
FILE *__stream;
int4 local_30;
int4 uStack_2c;
int8 local_28;
int4 uStack_c;
__stream = (FILE *)js_std_file_get(param_1,param_2,param_3);
if (__stream == (FILE *)0x0) {
local_30 = 0;
local_28 = 6;
}
... | |
10,349 | translog_new_page_header | eloqsql/storage/maria/ma_loghandler.c | static void translog_new_page_header(TRANSLOG_ADDRESS *horizon,
struct st_buffer_cursor *cursor)
{
uchar *ptr;
DBUG_ENTER("translog_new_page_header");
DBUG_ASSERT(cursor->ptr);
cursor->protected= 0;
ptr= cursor->ptr;
/* Page number */
int3store(ptr, LSN_OFFSET(*hori... | O3 | c | translog_new_page_header:
pushq %rbp
movq %rsp, %rbp
movb $0x0, 0x38(%rsi)
movq 0x20(%rsi), %rax
movl (%rdi), %ecx
shrl $0xd, %ecx
movb %cl, (%rax)
movl (%rdi), %ecx
shrl $0x15, %ecx
movb %cl, 0x1(%rax)
movl (%rdi), %ecx
shrl $0x1d, %ecx
movb %cl, 0x2(%rax)
movb 0x4(%rdi), %cl
movb %cl, 0x3(%rax)
movb 0x5(%rdi), %cl
mo... | translog_new_page_header:
push rbp
mov rbp, rsp
mov byte ptr [rsi+38h], 0
mov rax, [rsi+20h]
mov ecx, [rdi]
shr ecx, 0Dh
mov [rax], cl
mov ecx, [rdi]
shr ecx, 15h
mov [rax+1], cl
mov ecx, [rdi]
shr ecx, 1Dh
mov [rax+2], cl
mov cl, [rdi+4]
mov [rax+3], cl
mov ... | char * translog_new_page_header(long long a1, long long a2)
{
_BYTE *v2; // rax
char *result; // rax
char v4; // cl
char *v5; // rcx
*(_BYTE *)(a2 + 56) = 0;
v2 = *(_BYTE **)(a2 + 32);
*v2 = *(_DWORD *)a1 >> 13;
v2[1] = *(_DWORD *)a1 >> 21;
v2[2] = *(_DWORD *)a1 >> 29;
v2[3] = *(_BYTE *)(a1 + 4);
... | translog_new_page_header:
PUSH RBP
MOV RBP,RSP
MOV byte ptr [RSI + 0x38],0x0
MOV RAX,qword ptr [RSI + 0x20]
MOV ECX,dword ptr [RDI]
SHR ECX,0xd
MOV byte ptr [RAX],CL
MOV ECX,dword ptr [RDI]
SHR ECX,0x15
MOV byte ptr [RAX + 0x1],CL
MOV ECX,dword ptr [RDI]
SHR ECX,0x1d
MOV byte ptr [RAX + 0x2],CL
MOV CL,byte ptr [RDI + 0... |
void translog_new_page_header(uint *param_1,long param_2)
{
int1 *puVar1;
char cVar2;
char *pcVar3;
long lVar4;
uint uVar5;
*(int1 *)(param_2 + 0x38) = 0;
puVar1 = *(int1 **)(param_2 + 0x20);
*puVar1 = (char)(*param_1 >> 0xd);
puVar1[1] = (char)(*param_1 >> 0x15);
puVar1[2] = (byte)(*param_1 >>... | |
10,350 | inline_mysql_mutex_init | eloqsql/include/mysql/psi/mysql_thread.h | static inline int inline_mysql_mutex_init(
#ifdef HAVE_PSI_MUTEX_INTERFACE
PSI_mutex_key key,
#endif
mysql_mutex_t *that,
const pthread_mutexattr_t *attr
#ifdef SAFE_MUTEX
, const char *src_name, const char *src_file, uint src_line
#endif
)
{
#ifdef HAVE_PSI_MUTEX_INTERFACE
that->m_psi= PSI_MUTEX_CALL(init_... | O0 | c | inline_mysql_mutex_init:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq 0x1a999e(%rip), %rax # 0x1d9ef8
movq (%rax), %rax
movq 0x40(%rax), %rax
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rsi
callq *%rax
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %r... | inline_mysql_mutex_init:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_4], edi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
lea rax, PSI_server
mov rax, [rax]
mov rax, [rax+40h]
mov edi, [rbp+var_4]
mov rsi, [rbp+var_10]
call rax
mov rcx, rax
mov rax, [rbp+var_10]
... | long long inline_mysql_mutex_init(unsigned int a1, _QWORD *a2, long long a3)
{
a2[8] = (*((long long ( **)(_QWORD, _QWORD *))PSI_server[0] + 8))(a1, a2);
a2[7] = a2;
a2[6] = 0LL;
a2[5] = 0LL;
return pthread_mutex_init(a2, a3);
}
| inline_mysql_mutex_init:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
LEA RAX,[0x2d9ef8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x40]
MOV EDI,dword ptr [RBP + -0x4]
MOV RSI,qword ptr [RBP + -0x10]
CALL RAX
MOV RCX,RAX
MOV RAX,... |
void inline_mysql_mutex_init
(int4 param_1,pthread_mutex_t *param_2,pthread_mutexattr_t *param_3)
{
int8 uVar1;
uVar1 = (**(code **)(PSI_server + 0x40))(param_1,param_2);
*(int8 *)((long)param_2 + 0x40) = uVar1;
*(pthread_mutex_t **)((long)param_2 + 0x38) = param_2;
*(int8 *)((long)param_2... | |
10,351 | JS_ToInt64SatFree | bluesky950520[P]quickjs/quickjs.c | static int JS_ToInt64SatFree(JSContext *ctx, int64_t *pres, JSValue val)
{
uint32_t tag;
redo:
tag = JS_VALUE_GET_NORM_TAG(val);
switch(tag) {
case JS_TAG_INT:
case JS_TAG_BOOL:
case JS_TAG_NULL:
case JS_TAG_UNDEFINED:
*pres = JS_VALUE_GET_INT(val);
return 0;
case JS_TA... | O0 | c | JS_ToInt64SatFree:
subq $0x58, %rsp
movq %rdx, 0x40(%rsp)
movq %rcx, 0x48(%rsp)
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movl 0x48(%rsp), %eax
movl %eax, 0x2c(%rsp)
movl 0x2c(%rsp), %eax
movl %eax, 0xc(%rsp)
subl $0x4, %eax
jb 0x389d8
jmp 0x389bf
movl 0xc(%rsp), %eax
subl $0x6, %eax
je 0x389f2
jmp 0x389ca
movl 0xc(%... | JS_ToInt64SatFree:
sub rsp, 58h
mov [rsp+58h+var_18], rdx
mov [rsp+58h+var_10], rcx
mov [rsp+58h+var_20], rdi
mov [rsp+58h+var_28], rsi
loc_389A8:
mov eax, dword ptr [rsp+58h+var_10]
mov [rsp+58h+var_2C], eax
mov eax, [rsp+58h+var_2C]
mov [rsp+58h+var_4C], eax
sub eax, 4
jb ... | long long JS_ToInt64SatFree(long long a1, _QWORD *a2, long long a3, long long a4)
{
long long v4; // rdx
while ( 1 )
{
if ( (unsigned int)a4 < 4 )
{
*a2 = (int)a3;
return 0;
}
if ( (_DWORD)a4 == 6 )
{
*a2 = 0LL;
return (unsigned int)-1;
}
if ( (_DWORD)a4 == 7 ... | JS_ToInt64SatFree:
SUB RSP,0x58
MOV qword ptr [RSP + 0x40],RDX
MOV qword ptr [RSP + 0x48],RCX
MOV qword ptr [RSP + 0x38],RDI
MOV qword ptr [RSP + 0x30],RSI
LAB_001389a8:
MOV EAX,dword ptr [RSP + 0x48]
MOV dword ptr [RSP + 0x2c],EAX
MOV EAX,dword ptr [RSP + 0x2c]
MOV dword ptr [RSP + 0xc],EAX
SUB EAX,0x4
JC 0x001389d8
J... |
int4 JS_ToInt64SatFree(int8 param_1,long *param_2,int8 param_3,int8 param_4)
{
int8 uVar1;
int iVar2;
int1 auVar3 [16];
double local_18;
int8 local_10;
auVar3._8_8_ = param_4;
auVar3._0_8_ = param_3;
do {
local_10 = auVar3._8_8_;
uVar1 = local_10;
local_18 = auVar3._0_8_;
local_10._... | |
10,352 | JS_ToInt64SatFree | bluesky950520[P]quickjs/quickjs.c | static int JS_ToInt64SatFree(JSContext *ctx, int64_t *pres, JSValue val)
{
uint32_t tag;
redo:
tag = JS_VALUE_GET_NORM_TAG(val);
switch(tag) {
case JS_TAG_INT:
case JS_TAG_BOOL:
case JS_TAG_NULL:
case JS_TAG_UNDEFINED:
*pres = JS_VALUE_GET_INT(val);
return 0;
case JS_TA... | O1 | c | JS_ToInt64SatFree:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rax
movq %rsi, %rbx
movq %rdi, %r15
xorl %r12d, %r12d
cmpl $0x4, %ecx
jb 0x277ff
movl $0xffffffff, %r14d # imm = 0xFFFFFFFF
cmpl $0x6, %ecx
je 0x27805
cmpl $0x7, %ecx
je 0x27817
movq %r15, %rdi
movq %rax, %rsi
movq %rcx, %rdx
xor... | JS_ToInt64SatFree:
push r15
push r14
push r12
push rbx
push rax
mov rax, rdx
mov rbx, rsi
mov r15, rdi
xor r12d, r12d
loc_277D0:
cmp ecx, 4
jb short loc_277FF
mov r14d, 0FFFFFFFFh
cmp ecx, 6
jz short loc_27805
cmp ecx, 7
jz short loc_27817
mov rdi, r15
m... | long long JS_ToInt64SatFree(long long a1, unsigned long long *a2, long long a3, long long a4)
{
unsigned long long v5; // r12
unsigned int v6; // r14d
long long v7; // rdx
v5 = 0LL;
while ( 1 )
{
if ( (unsigned int)a4 < 4 )
{
v5 = (int)a3;
v6 = 0;
goto LABEL_8;
}
v6 = -1;... | JS_ToInt64SatFree:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV RAX,RDX
MOV RBX,RSI
MOV R15,RDI
XOR R12D,R12D
LAB_001277d0:
CMP ECX,0x4
JC 0x001277ff
MOV R14D,0xffffffff
CMP ECX,0x6
JZ 0x00127805
CMP ECX,0x7
JZ 0x00127817
MOV RDI,R15
MOV RSI,RAX
MOV RDX,RCX
XOR ECX,ECX
CALL 0x00142b20
MOV RCX,RDX
CMP ECX,0x6
JNZ 0x... |
int8 JS_ToInt64SatFree(int8 param_1,long *param_2,int8 param_3,int8 param_4)
{
double dVar1;
uint uVar2;
long lVar3;
int8 uVar4;
int8 uVar5;
int1 auVar6 [16];
auVar6._8_8_ = param_4;
auVar6._0_8_ = param_3;
lVar3 = 0;
while( true ) {
dVar1 = auVar6._0_8_;
uVar2 = auVar6._8_4_;
if (u... | |
10,353 | JS_ToInt64SatFree | bluesky950520[P]quickjs/quickjs.c | static int JS_ToInt64SatFree(JSContext *ctx, int64_t *pres, JSValue val)
{
uint32_t tag;
redo:
tag = JS_VALUE_GET_NORM_TAG(val);
switch(tag) {
case JS_TAG_INT:
case JS_TAG_BOOL:
case JS_TAG_NULL:
case JS_TAG_UNDEFINED:
*pres = JS_VALUE_GET_INT(val);
return 0;
case JS_TA... | O2 | c | JS_ToInt64SatFree:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rax
movq %rsi, %rbx
movq %rdi, %r15
pushq $-0x1
popq %r14
xorl %r12d, %r12d
cmpl $0x4, %ecx
jb 0x2145e
cmpl $0x6, %ecx
je 0x21464
cmpl $0x7, %ecx
je 0x21476
movq %r15, %rdi
movq %rax, %rsi
movq %rcx, %rdx
callq 0x2e216
movq %rdx, %rcx... | JS_ToInt64SatFree:
push r15
push r14
push r12
push rbx
push rax
mov rax, rdx
mov rbx, rsi
mov r15, rdi
push 0FFFFFFFFFFFFFFFFh
pop r14
xor r12d, r12d
loc_21437:
cmp ecx, 4
jb short loc_2145E
cmp ecx, 6
jz short loc_21464
cmp ecx, 7
jz short loc_21476
mov ... | long long JS_ToInt64SatFree(long long a1, unsigned long long *a2, long long a3, long long a4)
{
unsigned int v5; // r14d
unsigned long long v6; // r12
long long v7; // rdx
v5 = -1;
v6 = 0LL;
while ( 1 )
{
if ( (unsigned int)a4 < 4 )
{
v6 = (int)a3;
v5 = 0;
goto LABEL_8;
}
... | JS_ToInt64SatFree:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV RAX,RDX
MOV RBX,RSI
MOV R15,RDI
PUSH -0x1
POP R14
XOR R12D,R12D
LAB_00121437:
CMP ECX,0x4
JC 0x0012145e
CMP ECX,0x6
JZ 0x00121464
CMP ECX,0x7
JZ 0x00121476
MOV RDI,R15
MOV RSI,RAX
MOV RDX,RCX
CALL 0x0012e216
MOV RCX,RDX
CMP ECX,0x6
JNZ 0x00121437
JMP 0... |
int4 JS_ToInt64SatFree(int8 param_1,long *param_2,int8 param_3,int8 param_4)
{
double dVar1;
uint uVar2;
long lVar3;
int4 uVar4;
int1 auVar5 [16];
auVar5._8_8_ = param_4;
auVar5._0_8_ = param_3;
uVar4 = 0xffffffff;
lVar3 = 0;
while( true ) {
dVar1 = auVar5._0_8_;
uVar2 = auVar5._8_4_;
... | |
10,354 | ma_pvio_tls_compare_fp | eloqsql/libmariadb/libmariadb/ma_tls.c | static my_bool ma_pvio_tls_compare_fp(const char *cert_fp,
unsigned int cert_fp_len,
const char *fp, unsigned int fp_len)
{
char *p= (char *)fp,
*c;
/* check length */
if (cert_fp_len != 20)
return 1;
/* We support two format... | O3 | c | ma_pvio_tls_compare_fp:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movb $0x1, %bl
cmpl $0x14, %esi
jne 0x24a3f
movl %ecx, %r14d
movq %rdx, %r15
movq %rdi, %r12
movq %rdx, %rdi
movl $0x3a, %esi
callq 0x13180
testq %rax, %rax
movl $0x28, %eax
movl $0x3b, %ecx
cmovel %eax, %ecx
cmpl %r14d, %ecx... | ma_pvio_tls_compare_fp:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
mov bl, 1
cmp esi, 14h
jnz loc_24A3F
mov r14d, ecx
mov r15, rdx
mov r12, rdi
mov rdi, rdx
mov esi, 3Ah ; ':'
call _strchr
test rax, rax
mov eax, 28h ; '('
mov ecx, 3Bh ; ';'... | long long ma_pvio_tls_compare_fp(long long a1, int a2, _BYTE *a3, int a4)
{
unsigned int v4; // ebx
long long v8; // rax
int v9; // ecx
long long v10; // r14
long long v11; // rax
_BYTE *v12; // rdx
char *v13; // rcx
char v14; // si
unsigned __int8 v15; // dl
unsigned __int8 v16; // si
char v17; ... | ma_pvio_tls_compare_fp:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV BL,0x1
CMP ESI,0x14
JNZ 0x00124a3f
MOV R14D,ECX
MOV R15,RDX
MOV R12,RDI
MOV RDI,RDX
MOV ESI,0x3a
CALL 0x00113180
TEST RAX,RAX
MOV EAX,0x28
MOV ECX,0x3b
CMOVZ ECX,EAX
CMP ECX,R14D
JNZ 0x00124a3f
DEC R14D
XOR EAX,EAX
MOV RDX,R15
LAB_0012... |
ulong ma_pvio_tls_compare_fp(long param_1,int param_2,char *param_3,int param_4)
{
char cVar1;
char *pcVar2;
long lVar3;
int iVar4;
int8 unaff_RBX;
ulong uVar5;
byte bVar6;
byte bVar7;
uVar5 = CONCAT71((int7)((ulong)unaff_RBX >> 8),1);
if (param_2 == 0x14) {
pcVar2 = strchr(param_3,0x3a);
... | |
10,355 | binding_system_register_define | tsotchke[P]eshkol/src/frontend/binding/core/binding_management.c | uint64_t binding_system_register_define(BindingSystem* system, uint64_t bind_id, AstNode* node) {
assert(system != NULL);
assert(node != NULL);
assert(bind_id != 0);
// Check if we need to resize the definitions table
if(system->def_table.count >= system->def_table.capacity) {
// Calculate new capacity
... | O0 | c | binding_system_register_define:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x11aad
jmp 0x11acc
leaq 0x531b(%rip), %rdi # 0x16dcf
leaq 0x9f2c(%rip), %rsi # 0x1b9e7
movl $0xf1, %edx
leaq 0xa17d(%rip), %rcx # 0x1... | binding_system_register_define:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
cmp [rbp+var_10], 0
jz short loc_11AAD
jmp short loc_11ACC
loc_11AAD:
lea rdi, aSystemNull; "system != NULL"
lea rsi, aWorkspaceLlm4b_20; "/wor... | long long binding_system_register_define(long long *a1, long long a2, long long a3)
{
long long v3; // rax
long long v5; // [rsp+8h] [rbp-58h]
unsigned long long i; // [rsp+18h] [rbp-48h]
long long v7; // [rsp+20h] [rbp-40h]
long long v8; // [rsp+28h] [rbp-38h]
long long v9; // [rsp+30h] [rbp-30h]
if ( ... | binding_system_register_define:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
CMP qword ptr [RBP + -0x10],0x0
JZ 0x00111aad
JMP 0x00111acc
LAB_00111aad:
LEA RDI,[0x116dcf]
LEA RSI,[0x11b9e7]
MOV EDX,0xf1
LEA RCX,[0x11bc44]
CALL 0x001011... |
long binding_system_register_define(int8 *param_1,long param_2,long param_3)
{
long lVar1;
long lVar2;
long lVar3;
long local_60;
ulong local_50;
if (param_1 == (int8 *)0x0) {
/* WARNING: Subroutine does not return */
__assert_fail("system != NULL",
"/workspace... | |
10,356 | string_advance_index | bluesky950520[P]quickjs/quickjs.c | static int64_t string_advance_index(JSString *p, int64_t index, BOOL unicode)
{
if (!unicode || index >= p->len || !p->is_wide_char) {
index++;
} else {
int index32 = (int)index;
string_getc(p, &index32);
index = index32;
}
return index;
} | O0 | c | string_advance_index:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movl %edx, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
je 0x8522a
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
movq 0x4(%rcx), %rcx
andq $0x7fffffff, %rcx # imm = 0x7FFFFFFF
movl %ecx, %ecx
cmpq %rcx, %rax
jge 0x8522a
movq 0x10(%rsp), %rax
movq 0x... | string_advance_index:
sub rsp, 18h
mov [rsp+18h+var_8], rdi
mov [rsp+18h+var_10], rsi
mov [rsp+18h+var_14], edx
cmp [rsp+18h+var_14], 0
jz short loc_8522A
mov rax, [rsp+18h+var_10]
mov rcx, [rsp+18h+var_8]
mov rcx, [rcx+4]
and rcx, 7FFFFFFFh
mov ecx, ecx
cmp rax, rcx
jge... | long long string_advance_index(long long a1, long long a2, int a3)
{
_DWORD v4[2]; // [rsp+0h] [rbp-18h] BYREF
long long v5; // [rsp+8h] [rbp-10h]
long long v6; // [rsp+10h] [rbp-8h]
v6 = a1;
v5 = a2;
v4[1] = a3;
if ( a3 && v5 < (*(_QWORD *)(v6 + 4) & 0x7FFFFFFFLL) && (*(_QWORD *)(v6 + 4) & 0x80000000LL... | string_advance_index:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV qword ptr [RSP + 0x8],RSI
MOV dword ptr [RSP + 0x4],EDX
CMP dword ptr [RSP + 0x4],0x0
JZ 0x0018522a
MOV RAX,qword ptr [RSP + 0x8]
MOV RCX,qword ptr [RSP + 0x10]
MOV RCX,qword ptr [RCX + 0x4]
AND RCX,0x7fffffff
MOV ECX,ECX
CMP RAX,RCX
JGE 0x0018522a
M... |
long string_advance_index(long param_1,long param_2,int param_3)
{
int local_18;
int local_14;
long local_10;
long local_8;
if (((param_3 == 0) || ((long)(ulong)((uint)*(int8 *)(param_1 + 4) & 0x7fffffff) <= param_2)
) || ((*(ulong *)(param_1 + 4) >> 0x1f & 1) == 0)) {
local_10 = param_2 + 1;
... | |
10,357 | string_advance_index | bluesky950520[P]quickjs/quickjs.c | static int64_t string_advance_index(JSString *p, int64_t index, BOOL unicode)
{
if (!unicode || index >= p->len || !p->is_wide_char) {
index++;
} else {
int index32 = (int)index;
string_getc(p, &index32);
index = index32;
}
return index;
} | O1 | c | string_advance_index:
movq %rsi, %rax
testl %edx, %edx
je 0x4bfbd
movq 0x4(%rdi), %rcx
movl %ecx, %edx
andl $0x7fffffff, %edx # imm = 0x7FFFFFFF
cmpq %rax, %rdx
setg %dl
testl %ecx, %ecx
sets %cl
testb %cl, %dl
jne 0x4bfc1
incq %rax
retq
pushq %rbx
subq $0x10, %rsp
leaq 0xc(%rsp), %rbx
movl %eax, (%rbx)
movq %rbx... | string_advance_index:
mov rax, rsi
test edx, edx
jz short loc_4BFBD
mov rcx, [rdi+4]
mov edx, ecx
and edx, 7FFFFFFFh
cmp rdx, rax
setnle dl
test ecx, ecx
sets cl
test dl, cl
jnz short loc_4BFC1
loc_4BFBD:
inc rax
retn
loc_4BFC1:
push rbx
sub rsp, 10h
lea rbx, [rs... | long long string_advance_index(long long a1, long long a2, int a3)
{
_DWORD v4[3]; // [rsp+0h] [rbp-Ch] BYREF
if ( !a3 || (int)*(_QWORD *)(a1 + 4) >= 0 || (*(_QWORD *)(a1 + 4) & 0x7FFFFFFFLL) <= a2 )
return a2 + 1;
v4[0] = a2;
string_getc(a1, v4);
return v4[0];
}
| |||
10,358 | string_advance_index | bluesky950520[P]quickjs/quickjs.c | static int64_t string_advance_index(JSString *p, int64_t index, BOOL unicode)
{
if (!unicode || index >= p->len || !p->is_wide_char) {
index++;
} else {
int index32 = (int)index;
string_getc(p, &index32);
index = index32;
}
return index;
} | O2 | c | string_advance_index:
movq %rsi, %rax
testl %edx, %edx
je 0x41573
movq 0x4(%rdi), %rcx
movl %ecx, %edx
andl $0x7fffffff, %edx # imm = 0x7FFFFFFF
cmpq %rax, %rdx
setg %dl
testl %ecx, %ecx
sets %cl
testb %cl, %dl
jne 0x41577
incq %rax
retq
pushq %rbx
subq $0x10, %rsp
leaq 0xc(%rsp), %rbx
movl %eax, (%rbx)
movq %rbx... | string_advance_index:
mov rax, rsi
test edx, edx
jz short loc_41573
mov rcx, [rdi+4]
mov edx, ecx
and edx, 7FFFFFFFh
cmp rdx, rax
setnle dl
test ecx, ecx
sets cl
test dl, cl
jnz short loc_41577
loc_41573:
inc rax
retn
loc_41577:
push rbx
sub rsp, 10h
lea rbx, [rs... | long long string_advance_index(long long a1, long long a2, int a3)
{
_DWORD v4[3]; // [rsp+0h] [rbp-Ch] BYREF
if ( !a3 || (int)*(_QWORD *)(a1 + 4) >= 0 || (*(_QWORD *)(a1 + 4) & 0x7FFFFFFFLL) <= a2 )
return a2 + 1;
v4[0] = a2;
string_getc(a1, v4);
return v4[0];
}
| string_advance_index:
MOV RAX,RSI
TEST EDX,EDX
JZ 0x00141573
MOV RCX,qword ptr [RDI + 0x4]
MOV EDX,ECX
AND EDX,0x7fffffff
CMP RDX,RAX
SETG DL
TEST ECX,ECX
SETS CL
TEST DL,CL
JNZ 0x00141577
LAB_00141573:
INC RAX
RET
LAB_00141577:
PUSH RBX
SUB RSP,0x10
LEA RBX,[RSP + 0xc]
MOV dword ptr [RBX],EAX
MOV RSI,RBX
CALL 0x00141a... |
long string_advance_index(long param_1,long param_2,int param_3)
{
uint uVar1;
int local_c;
if (param_3 != 0) {
uVar1 = (uint)*(int8 *)(param_1 + 4);
if (param_2 < (long)(ulong)(uVar1 & 0x7fffffff) && (int)uVar1 < 0) {
local_c = (int)param_2;
string_getc(param_1,&local_c);
return (l... | |
10,359 | LefDefParser::lefiViaRule::Destroy() | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiViaRule.cpp | void
lefiViaRule::Destroy()
{
clear();
lefFree(name_);
lefFree((char*) (vias_));
lefFree((char*) (names_));
lefFree((char*) (values_));
lefFree((char*) (dvalues_));
lefFree((char*) (types_));
layers_[0].Destroy();
layers_[1].Destroy();
layers_[2].Destroy();
} | O0 | cpp | LefDefParser::lefiViaRule::Destroy():
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x49530
movq 0x8(%rsp), %rax
movq (%rax), %rdi
callq 0x52810
movq 0x8(%rsp), %rax
movq 0x1d0(%rax), %rdi
callq 0x52810
movq 0x8(%rsp), %rax
movq 0x1e0(%rax), %rdi
callq 0x52810
movq 0x8(%rsp), %... | _ZN12LefDefParser11lefiViaRule7DestroyEv:
sub rsp, 18h
mov [rsp+18h+var_8], rdi
mov rdi, [rsp+18h+var_8]; this
mov [rsp+18h+var_10], rdi
call _ZN12LefDefParser11lefiViaRule5clearEv; LefDefParser::lefiViaRule::clear(void)
mov rax, [rsp+18h+var_10]
mov rdi, [rax]; this
call _ZN12LefDefParser... | LefDefParser ** LefDefParser::lefiViaRule::Destroy(LefDefParser **this, void *a2)
{
LefDefParser::lefiViaRule::clear((LefDefParser::lefiViaRule *)this, a2);
LefDefParser::lefFree(*this, a2);
LefDefParser::lefFree(this[58], a2);
LefDefParser::lefFree(this[60], a2);
LefDefParser::lefFree(this[61], a2);
LefDef... | Destroy:
SUB RSP,0x18
MOV qword ptr [RSP + 0x10],RDI
MOV RDI,qword ptr [RSP + 0x10]
MOV qword ptr [RSP + 0x8],RDI
CALL 0x00149530
MOV RAX,qword ptr [RSP + 0x8]
MOV RDI,qword ptr [RAX]
CALL 0x00152810
MOV RAX,qword ptr [RSP + 0x8]
MOV RDI,qword ptr [RAX + 0x1d0]
CALL 0x00152810
MOV RAX,qword ptr [RSP + 0x8]
MOV RDI,qwor... |
/* LefDefParser::lefiViaRule::Destroy() */
void __thiscall LefDefParser::lefiViaRule::Destroy(lefiViaRule *this)
{
clear(this);
lefFree(*(void **)this);
lefFree(*(void **)(this + 0x1d0));
lefFree(*(void **)(this + 0x1e0));
lefFree(*(void **)(this + 0x1e8));
lefFree(*(void **)(this + 0x1f0));
lefFree(*(... | |
10,360 | my_wc_mb_latin1 | eloqsql/strings/ctype-latin1.c | static
int my_wc_mb_latin1(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc,
uchar *str,
uchar *end __attribute__((unused)))
{
const uchar *pl;
if (str >= end)
return MY_CS_TOOSMALL;
if (wc > 0xFFFF)
return MY_CS_ILUNI;
pl= uni_to_cs[wc >> 8];
str[0]= pl ? pl[wc & 0xFF]... | O3 | c | my_wc_mb_latin1:
movl $0xffffff9b, %eax # imm = 0xFFFFFF9B
cmpq %rcx, %rdx
jae 0x6b198
xorl %eax, %eax
cmpq $0xffff, %rsi # imm = 0xFFFF
ja 0x6b198
pushq %rbp
movq %rsp, %rbp
movq %rsi, %rax
shrq $0x8, %rax
leaq 0x2bc0af(%rip), %rcx # 0x327220
movq (%rcx,%rax,8), %rax
testq %rax, %rax
je 0x6b183
movz... | my_wc_mb_latin1:
mov eax, 0FFFFFF9Bh
cmp rdx, rcx
jnb short locret_6B198
xor eax, eax
cmp rsi, 0FFFFh
ja short locret_6B198
push rbp
mov rbp, rsp
mov rax, rsi
shr rax, 8
lea rcx, uni_to_cs
mov rax, [rcx+rax*8]
test rax, rax
jz short loc_6B183
movzx ecx, sil
mov ... | long long my_wc_mb_latin1(long long a1, unsigned long long a2, _BYTE *a3, unsigned long long a4)
{
long long result; // rax
long long v5; // rax
char v6; // al
result = 4294967195LL;
if ( (unsigned long long)a3 < a4 )
{
result = 0LL;
if ( a2 <= 0xFFFF )
{
v5 = (long long)*(&uni_to_cs + (... | my_wc_mb_latin1:
MOV EAX,0xffffff9b
CMP RDX,RCX
JNC 0x0016b198
XOR EAX,EAX
CMP RSI,0xffff
JA 0x0016b198
PUSH RBP
MOV RBP,RSP
MOV RAX,RSI
SHR RAX,0x8
LEA RCX,[0x427220]
MOV RAX,qword ptr [RCX + RAX*0x8]
TEST RAX,RAX
JZ 0x0016b183
MOVZX ECX,SIL
MOV AL,byte ptr [RAX + RCX*0x1]
JMP 0x0016b185
LAB_0016b183:
XOR EAX,EAX
LAB_... |
ulong my_wc_mb_latin1(int8 param_1,ulong param_2,char *param_3,char *param_4)
{
char cVar1;
ulong uVar2;
uVar2 = 0xffffff9b;
if ((param_3 < param_4) && (uVar2 = 0, param_2 < 0x10000)) {
if (*(long *)(uni_to_cs + (param_2 >> 8) * 8) == 0) {
cVar1 = '\0';
}
else {
cVar1 = *(char *)(*(... | |
10,361 | my_end | eloqsql/mysys/my_init.c | void my_end(int infoflag)
{
/*
this code is suboptimal to workaround a bug in
Sun CC: Sun C++ 5.6 2004/06/02 for x86, and should not be
optimized until this compiler is not in use anymore
*/
FILE *info_file= DBUG_FILE;
my_bool print_info= (info_file != stderr);
if (!my_init_done)
return;
/... | O0 | c | my_end:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x308, %rsp # imm = 0x308
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movl %edi, -0x234(%rbp)
movq 0x1d0272(%rip), %rax # 0x289fe0
movq (%rax), %rax
movq %rax, -0x240(%rbp)
movq -0x240(%rbp), %rax
movq 0x1d025a(... | my_end:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 308h
mov rax, fs:28h
mov [rbp+var_30], rax
mov [rbp+var_234], edi
mov rax, cs:stderr_ptr
mov rax, [rax]
mov [rbp+var_240], rax
mov rax, [rbp+var_240]
mov rcx, cs:stderr_ptr
cmp ... | unsigned long long my_end(int a1, long long a2, long long a3, long long a4, long long a5, int a6)
{
_QWORD v7[2]; // [rsp+50h] [rbp-2E0h] BYREF
long long v8; // [rsp+60h] [rbp-2D0h]
long long v9; // [rsp+68h] [rbp-2C8h]
long long v10; // [rsp+70h] [rbp-2C0h]
long long v11; // [rsp+80h] [rbp-2B0h]
long long... | my_end:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x308
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV dword ptr [RBP + -0x234],EDI
MOV RAX,qword ptr [0x00389fe0]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x240],RAX
MOV RAX,qword ptr [RBP + -0x240]
MOV RCX,qword ptr ... |
void my_end(uint param_1)
{
int iVar1;
long in_FS_OFFSET;
bool bVar2;
bool bVar3;
rusage local_2e8;
int local_258;
int local_254;
uint local_250;
bool local_249;
FILE *local_248;
uint local_23c;
int1 local_238 [512];
long local_38;
local_38 = *(long *)(in_FS_OFFSET + 0x28);
local_248 ... | |
10,362 | js_array_buffer_get_detached | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_buffer_get_detached(JSContext *ctx,
JSValue this_val)
{
JSArrayBuffer *abuf = JS_GetOpaque2(ctx, this_val, JS_CLASS_ARRAY_BUFFER);
if (!abuf)
return JS_EXCEPTION;
if (abuf->shared)
return JS_ThrowTypeError(ctx, "detache... | O1 | c | js_array_buffer_get_detached:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
movl $0x13, %ecx
callq 0x275b5
movl $0x6, %ebx
testq %rax, %rax
je 0x7fc08
cmpb $0x0, 0x9(%rax)
je 0x7fc0d
leaq 0x22971(%rip), %rsi # 0xa256a
xorl %r14d, %r14d
movq %r15, %rdi
xorl %eax, %eax
callq 0x22567
jmp 0x7fc1d
xorl %r14d, %r14d
j... | js_array_buffer_get_detached:
push r15
push r14
push rbx
mov r15, rdi
mov ecx, 13h
call JS_GetOpaque2
mov ebx, 6
test rax, rax
jz short loc_7FC08
cmp byte ptr [rax+9], 0
jz short loc_7FC0D
lea rsi, aDetachedCalled; "detached called on SharedArrayBuffer"
xor r14d, r14d
mo... | _BOOL8 js_array_buffer_get_detached(
long long a1,
long long a2,
int a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11)
{
long long Opaque2; // rax
long long v12; // rdx
long long v1... | js_array_buffer_get_detached:
PUSH R15
PUSH R14
PUSH RBX
MOV R15,RDI
MOV ECX,0x13
CALL 0x001275b5
MOV EBX,0x6
TEST RAX,RAX
JZ 0x0017fc08
CMP byte ptr [RAX + 0x9],0x0
JZ 0x0017fc0d
LEA RSI,[0x1a256a]
XOR R14D,R14D
MOV RDI,R15
XOR EAX,EAX
CALL 0x00122567
JMP 0x0017fc1d
LAB_0017fc08:
XOR R14D,R14D
JMP 0x0017fc1d
LAB_0017f... |
bool js_array_buffer_get_detached(int8 param_1)
{
long lVar1;
bool bVar2;
lVar1 = JS_GetOpaque2();
if (lVar1 == 0) {
bVar2 = false;
}
else if (*(char *)(lVar1 + 9) == '\0') {
bVar2 = *(char *)(lVar1 + 8) != '\0';
}
else {
bVar2 = false;
JS_ThrowTypeError(param_1,"detached called on ... | |
10,363 | js_array_buffer_get_detached | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_buffer_get_detached(JSContext *ctx,
JSValue this_val)
{
JSArrayBuffer *abuf = JS_GetOpaque2(ctx, this_val, JS_CLASS_ARRAY_BUFFER);
if (!abuf)
return JS_EXCEPTION;
if (abuf->shared)
return JS_ThrowTypeError(ctx, "detache... | O2 | c | js_array_buffer_get_detached:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
pushq $0x13
popq %rcx
callq 0x21207
pushq $0x6
popq %rbx
testq %rax, %rax
je 0x6b66f
cmpb $0x0, 0x9(%rax)
je 0x6b674
leaq 0x1de44(%rip), %rsi # 0x894a4
xorl %r14d, %r14d
movq %r15, %rdi
xorl %eax, %eax
callq 0x1c64d
jmp 0x6b682
xorl %r14... | js_array_buffer_get_detached:
push r15
push r14
push rbx
mov r15, rdi
push 13h
pop rcx
call JS_GetOpaque2
push 6
pop rbx
test rax, rax
jz short loc_6B66F
cmp byte ptr [rax+9], 0
jz short loc_6B674
lea rsi, aDetachedCalled; "detached called on SharedArrayBuffer"
xor ... | _BOOL8 js_array_buffer_get_detached(
long long a1,
long long a2,
int a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11)
{
long long Opaque2; // rax
long long v12; // rdx
long long v1... | js_array_buffer_get_detached:
PUSH R15
PUSH R14
PUSH RBX
MOV R15,RDI
PUSH 0x13
POP RCX
CALL 0x00121207
PUSH 0x6
POP RBX
TEST RAX,RAX
JZ 0x0016b66f
CMP byte ptr [RAX + 0x9],0x0
JZ 0x0016b674
LEA RSI,[0x1894a4]
XOR R14D,R14D
MOV RDI,R15
XOR EAX,EAX
CALL 0x0011c64d
JMP 0x0016b682
LAB_0016b66f:
XOR R14D,R14D
JMP 0x0016b682... |
bool js_array_buffer_get_detached(int8 param_1)
{
long lVar1;
bool bVar2;
lVar1 = JS_GetOpaque2();
if (lVar1 == 0) {
bVar2 = false;
}
else if (*(char *)(lVar1 + 9) == '\0') {
bVar2 = *(char *)(lVar1 + 8) != '\0';
}
else {
bVar2 = false;
JS_ThrowTypeError(param_1,"detached called on ... | |
10,364 | PFS_memory_stat::full_aggregate_to(PFS_memory_stat*) const | eloqsql/storage/perfschema/pfs_stat.h | inline void full_aggregate_to(PFS_memory_stat *stat) const
{
if (! m_used)
return;
stat->m_used= true;
stat->m_alloc_count+= m_alloc_count;
stat->m_free_count+= m_free_count;
stat->m_alloc_size+= m_alloc_size;
stat->m_free_size+= m_free_size;
stat->m_alloc_count_capacity+= m_alloc... | O0 | c | PFS_memory_stat::full_aggregate_to(PFS_memory_stat*) const:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
testb $0x1, (%rax)
jne 0x3ee2e
jmp 0x3eeb9
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movb $0x1, (%rcx)
movq 0x8(%rax), %rdx
movq -0x10(%rbp... | _ZNK15PFS_memory_stat17full_aggregate_toEPS_:
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
test byte ptr [rax], 1
jnz short loc_3EE2E
jmp loc_3EEB9
loc_3EE2E:
mov rax, [rbp+var_18]
mov rcx, [rbp+var_10]
mov byte... | PFS_memory_stat * PFS_memory_stat::full_aggregate_to(PFS_memory_stat *this, PFS_memory_stat *a2)
{
PFS_memory_stat *result; // rax
result = this;
if ( (*(_BYTE *)this & 1) != 0 )
{
*(_BYTE *)a2 = 1;
*((_QWORD *)a2 + 1) += *((_QWORD *)this + 1);
*((_QWORD *)a2 + 2) += *((_QWORD *)this + 2);
*((_... | full_aggregate_to:
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
TEST byte ptr [RAX],0x1
JNZ 0x0013ee2e
JMP 0x0013eeb9
LAB_0013ee2e:
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,qword ptr [RBP + -0x10]
MOV byte ptr [RCX],0x1... |
/* PFS_memory_stat::full_aggregate_to(PFS_memory_stat*) const */
void __thiscall PFS_memory_stat::full_aggregate_to(PFS_memory_stat *this,PFS_memory_stat *param_1)
{
if (((byte)*this & 1) != 0) {
*param_1 = (PFS_memory_stat)0x1;
*(long *)(param_1 + 8) = *(long *)(this + 8) + *(long *)(param_1 + 8);
*(l... | |
10,365 | thr_print_lock | eloqsql/mysys/thr_lock.c | static void thr_print_lock(const char* name,struct st_lock_list *list)
{
THR_LOCK_DATA *data,**prev;
uint count=0;
if (list->data)
{
printf("%-10s: ",name);
prev= &list->data;
for (data=list->data; data && count++ < MAX_LOCKS ; data=data->next)
{
printf("%p (%lu:%d); ", data, (ulong) data... | O3 | c | thr_print_lock:
cmpq $0x0, (%rsi)
je 0xa3e18
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %rdx
leaq 0x3882a(%rip), %rsi # 0xdc597
movl $0x1, %edi
xorl %eax, %eax
callq 0x29810
movq (%rbx), %r12
movq %rbx, %r14
testq %r12, %r12
je 0xa3de6
mov... | thr_print_lock:
cmp qword ptr [rsi], 0
jz locret_A3E18
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rsi
mov rdx, rdi
lea rsi, a10s; "%-10s: "
mov edi, 1
xor eax, eax
call ___printf_chk
mov r12, [rbx]
mov r14, rbx
te... | long long thr_print_lock(const char *a1, _QWORD *a2)
{
long long v2; // r12
_QWORD *v3; // r14
int v4; // r13d
long long result; // rax
if ( *a2 )
{
__printf_chk(1LL, "%-10s: ", a1);
v2 = *a2;
v3 = a2;
if ( *a2 )
{
v4 = 1001;
v3 = a2;
do
{
if ( !--v4 )
... | thr_print_lock:
CMP qword ptr [RSI],0x0
JZ 0x001a3e18
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV RDX,RDI
LEA RSI,[0x1dc597]
MOV EDI,0x1
XOR EAX,EAX
CALL 0x00129810
MOV R12,qword ptr [RBX]
MOV R14,RBX
TEST R12,R12
JZ 0x001a3de6
MOV R13D,0x3e9
LEA R15,[0x1dc59f]
MOV R14,RBX... |
void thr_print_lock(int8 param_1,long *param_2)
{
long *plVar1;
long *plVar2;
int iVar3;
long *plVar4;
if (*param_2 != 0) {
__printf_chk(1,"%-10s: ",param_1);
plVar4 = param_2;
if ((long *)*param_2 != (long *)0x0) {
iVar3 = 0x3e9;
plVar2 = (long *)*param_2;
do {
iVar... | |
10,366 | js_get_length32 | bluesky950520[P]quickjs/quickjs.c | static __exception int js_get_length32(JSContext *ctx, uint32_t *pres,
JSValue obj)
{
JSValue len_val;
len_val = JS_GetProperty(ctx, obj, JS_ATOM_length);
if (JS_IsException(len_val)) {
*pres = 0;
return -1;
}
return JS_ToUint32Free(ctx, pres, l... | O3 | c | js_get_length32:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r9
movq %rdx, %r8
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rsi
movq %rcx, %rdx
movl $0x32, %ecx
pushq $0x0
pushq $0x0
callq 0x27857
addq $0x10, %rsp
movq %rdx, %rcx
cmpl $0x6, %ecx
jne 0x4703c
movl $0x0, (%rbx)
movl $0xffffffff, %eax # imm = 0xFFFFF... | js_get_length32:
push r14
push rbx
push rax
mov r9, rcx
mov r8, rdx
mov rbx, rsi
mov r14, rdi
mov rsi, rdx
mov rdx, rcx
mov ecx, 32h ; '2'
push 0
push 0
call JS_GetPropertyInternal2
add rsp, 10h
mov rcx, rdx
cmp ecx, 6
jnz short loc_4703C
mov dword ptr [... | long long js_get_length32(long long a1, int *a2, long long a3, long long a4)
{
unsigned long long PropertyInternal2; // rax
long long v5; // rdx
PropertyInternal2 = JS_GetPropertyInternal2(a1, a3, a4, 0x32u, a3, a4, 0LL, 0);
if ( (_DWORD)v5 != 6 )
return JS_ToInt32Free(a1, a2, PropertyInternal2, v5);
*a... | js_get_length32:
PUSH R14
PUSH RBX
PUSH RAX
MOV R9,RCX
MOV R8,RDX
MOV RBX,RSI
MOV R14,RDI
MOV RSI,RDX
MOV RDX,RCX
MOV ECX,0x32
PUSH 0x0
PUSH 0x0
CALL 0x00127857
ADD RSP,0x10
MOV RCX,RDX
CMP ECX,0x6
JNZ 0x0014703c
MOV dword ptr [RBX],0x0
MOV EAX,0xffffffff
ADD RSP,0x8
POP RBX
POP R14
RET
LAB_0014703c:
MOV RDI,R14
MOV RS... |
int8
js_get_length32(int8 param_1,int4 *param_2,int8 param_3,int8 param_4)
{
int8 uVar1;
int1 auVar2 [12];
auVar2 = JS_GetPropertyInternal2(param_1,param_3,param_4,0x32,param_3,param_4,0,0);
if (auVar2._8_4_ == 6) {
*param_2 = 0;
return 0xffffffff;
}
uVar1 = JS_ToInt32Free(param_1,param_2,auVar... | |
10,367 | hex_decode | bluesky950520[P]quickjs/quickjs.c | static int hex_decode(JSContext *ctx, JSString *p, int k) {
int c;
if (k >= p->len || string_get(p, k) != '%')
return js_throw_URIError(ctx, "expecting %%");
if (k + 2 >= p->len || (c = string_get_hex(p, k + 1, 2)) < 0)
return js_throw_URIError(ctx, "expecting hex digit");
return c;
} | O1 | c | hex_decode:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x4(%rsi), %rcx
movl %ecx, %eax
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
leaq 0x27659(%rip), %r14 # 0xa076b
cmpl %edx, %eax
jle 0x79151
movslq %edx, %rdi
testl %ecx, %ecx
js 0x79124
movzbl 0x18(%rsi,%rdi), %ecx
jmp 0x79129
movzwl 0x18(%rsi,%rd... | hex_decode:
push r14
push rbx
push rax
mov rbx, rdi
mov rcx, [rsi+4]
mov eax, ecx
and eax, 7FFFFFFFh
lea r14, aExpecting; "expecting %%"
cmp eax, edx
jle short loc_79151
movsxd rdi, edx
test ecx, ecx
js short loc_79124
movzx ecx, byte ptr [rsi+rdi+18h]
jmp short loc_7... | long long hex_decode(int a1, long long a2, signed int a3, long long a4, int a5, int a6)
{
long long v6; // rcx
int v7; // eax
const char *v8; // r14
long long result; // rax
v6 = *(_QWORD *)(a2 + 4);
v7 = v6 & 0x7FFFFFFF;
v8 = "expecting %%";
if ( (v6 & 0x7FFFFFFF) <= a3
|| ((int)v6 < 0
? (L... | hex_decode:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RCX,qword ptr [RSI + 0x4]
MOV EAX,ECX
AND EAX,0x7fffffff
LEA R14,[0x1a076b]
CMP EAX,EDX
JLE 0x00179151
MOVSXD RDI,EDX
TEST ECX,ECX
JS 0x00179124
MOVZX ECX,byte ptr [RSI + RDI*0x1 + 0x18]
JMP 0x00179129
LAB_00179124:
MOVZX ECX,word ptr [RSI + RDI*0x2 + 0x18]
LAB_001... |
int8 hex_decode(int8 param_1,long param_2,int param_3)
{
uint uVar1;
int8 uVar2;
ushort uVar3;
uint uVar4;
char *pcVar5;
uVar4 = (uint)*(int8 *)(param_2 + 4);
uVar1 = uVar4 & 0x7fffffff;
pcVar5 = "expecting %%";
if (param_3 < (int)uVar1) {
if ((int)uVar4 < 0) {
uVar3 = *(ushort *)(param... | |
10,368 | init_state_maps | eloqsql/mysys/charset.c | static my_bool init_state_maps(struct charset_info_st *cs)
{
uint i;
uchar *state_map;
uchar *ident_map;
if (!(cs->state_map= state_map= (uchar*) my_once_alloc(256*2, MYF(MY_WME))))
return 1;
cs->ident_map= ident_map= state_map + 256;
/* Fill state_map with states to get a faster parser */
for ... | O3 | c | init_state_maps:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x200, %edi # imm = 0x200
movl $0x10, %esi
callq 0xa0334
movq %rax, 0x80(%r14)
testq %rax, %rax
je 0x937ae
movq %rax, %rbx
movq %rax, %r13
addq $0x100, %r13 # imm = 0... | init_state_maps:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rdi
mov edi, 200h
mov esi, 10h
call my_once_alloc
mov [r14+80h], rax
test rax, rax
jz loc_937AE
mov rbx, rax
mov r13, rax
add r13, 100h
mov [r14+88h],... | long long init_state_maps(_QWORD *a1)
{
long long v1; // rax
long long v2; // rax
long long v3; // rbx
long long v4; // r13
long long i; // r15
char v6; // al
long long v7; // rax
__m128i si128; // xmm0
__m128i v9; // xmm1
__m128i v10; // xmm2
__m128i v11; // xmm3
char v13; // [rsp+1h] [rbp-29h... | init_state_maps:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RDI
MOV EDI,0x200
MOV ESI,0x10
CALL 0x001a0334
MOV qword ptr [R14 + 0x80],RAX
TEST RAX,RAX
JZ 0x001937ae
MOV RBX,RAX
MOV R13,RAX
ADD R13,0x100
MOV qword ptr [R14 + 0x88],R13
XOR R15D,R15D
LEA R12,[RBP + -0x29]
LAB_001936... |
int8 init_state_maps(long param_1)
{
char *pcVar1;
byte *pbVar2;
byte bVar3;
char cVar4;
char cVar5;
char cVar6;
char cVar7;
char cVar8;
char cVar9;
char cVar10;
char cVar11;
char cVar12;
char cVar13;
char cVar14;
char cVar15;
char cVar16;
char cVar17;
char cVar18;
char cVar19;
... | |
10,369 | decode_bytes | eloqsql/storage/myisam/mi_packrec.c | static void decode_bytes(MI_COLUMNDEF *rec, MI_BIT_BUFF *bit_buff, uchar *to,
uchar *end)
{
reg1 uint bits,low_byte;
reg3 uint16 *pos;
reg4 uint table_bits,table_and;
MI_DECODE_TREE *decode_tree;
decode_tree=rec->huff_tree;
bits=bit_buff->bits; /* Save in reg for quicker access */
table_bits=decode... | O3 | c | decode_bytes:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rax
movq 0x28(%rdi), %r8
movl 0x4(%rsi), %ebx
movl 0x8(%r8), %edi
movl $0xffffffff, %r9d # imm = 0xFFFFFFFF
movl %edi, %ecx
shll %cl, %r9d
notl %r9d
cmpl %edi, %ebx
jae 0x82cff
movq 0x8(%rsi), %rcx
movq 0x10(%rsi), %r... | decode_bytes_0:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
mov rax, rcx
mov r8, [rdi+28h]
mov ebx, [rsi+4]
mov edi, [r8+8]
mov r9d, 0FFFFFFFFh
mov ecx, edi
shl r9d, cl
not r9d
loc_82CB1:
cmp ebx, edi
jnb short loc_82CFF
mov rcx, [rsi+8]
mov ... | _BYTE * decode_bytes_0(long long a1, long long a2, _BYTE *a3, _BYTE *a4)
{
_BYTE *result; // rax
long long v5; // r8
unsigned int v6; // ebx
unsigned int v7; // edi
unsigned __int8 *v8; // rcx
unsigned int v9; // r10d
unsigned int v10; // ecx
_WORD *v11; // r14
long long v12; // r11
unsigned __int8 ... | decode_bytes:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV RAX,RCX
MOV R8,qword ptr [RDI + 0x28]
MOV EBX,dword ptr [RSI + 0x4]
MOV EDI,dword ptr [R8 + 0x8]
MOV R9D,0xffffffff
MOV ECX,EDI
SHL R9D,CL
NOT R9D
LAB_00182cb1:
CMP EBX,EDI
JNC 0x00182cff
MOV RCX,qword ptr [RSI + 0x8]
MOV R10,qword ptr [RSI + 0x... |
void decode_bytes(long param_1,uint *param_2,int1 *param_3,int1 *param_4)
{
ushort uVar1;
uint uVar2;
int8 *puVar3;
byte *pbVar4;
long lVar5;
uint uVar6;
uint uVar7;
uint uVar8;
ulong uVar9;
ulong uVar10;
ulong uVar11;
uint uVar12;
ushort *puVar13;
puVar3 = *(int8 **)(param_1 + 0x28);
... | |
10,370 | my_stat | eloqsql/mysys/my_lib.c | MY_STAT *my_stat(const char *path, MY_STAT *stat_area, myf my_flags)
{
int m_used;
DBUG_ENTER("my_stat");
DBUG_PRINT("my", ("path: '%s' stat_area: %p MyFlags: %lu", path,
stat_area, my_flags));
if ((m_used= (stat_area == NULL)))
if (!(stat_area= (MY_STAT *) my_malloc(key_memory_MY_STA... | O0 | c | my_stat:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
jmp 0x65606
cmpq $0x0, -0x18(%rbp)
sete %al
movb %al, %cl
andb $0x1, %cl
movzbl %cl, %ecx
movl %ecx, -0x24(%rbp)
testb $0x1, %al
jne 0x6561f
jmp 0x65644
leaq 0x3aacc2(%rip), %rax # 0x4102e8
movl ... | my_stat:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
jmp short $+2
loc_65606:
cmp [rbp+var_18], 0
setz al
mov cl, al
and cl, 1
movzx ecx, cl
mov [rbp+var_24], ecx
test al, 1
jnz short loc_6561F
jmp short ... | long long my_stat(long long a1, long long a2, char a3)
{
unsigned int *v3; // rax
int v5; // [rsp+8h] [rbp-28h]
long long v7; // [rsp+18h] [rbp-18h]
v7 = a2;
if ( a2 || (v7 = my_malloc(key_memory_MY_STAT, 0x90uLL, a3)) != 0 )
{
if ( !(unsigned int)stat64(a1, v7) )
return v7;
v5 = *(_DWORD *)... | my_stat:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
JMP 0x00165606
LAB_00165606:
CMP qword ptr [RBP + -0x18],0x0
SETZ AL
MOV CL,AL
AND CL,0x1
MOVZX ECX,CL
MOV dword ptr [RBP + -0x24],ECX
TEST AL,0x1
JNZ 0x0016561f
JMP 0x00165644
LAB_... |
stat64 * my_stat(char *param_1,stat64 *param_2,ulong param_3)
{
int iVar1;
int *piVar2;
int4 *puVar3;
stat64 *local_20;
local_20 = param_2;
if ((param_2 != (stat64 *)0x0) ||
(local_20 = (stat64 *)my_malloc(key_memory_MY_STAT,0x90,param_3), local_20 != (stat64 *)0x0)) {
iVar1 = stat64(param_1,l... | |
10,371 | common_chat_format_example[abi:cxx11](minja::chat_template const&, bool) | monkey531[P]llama/common/common.cpp | std::string common_chat_format_example(const common_chat_template & tmpl, bool use_jinja) {
std::vector<common_chat_msg> msgs = {
{"system", "You are a helpful assistant", {}},
{"user", "Hello", {}},
{"assistant", "Hi there", {}},
{"user", "How are you?", {}},
};
... | O1 | cpp | common_chat_format_example[abi:cxx11](minja::chat_template const&, bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp # imm = 0x208
movl %edx, %ebp
movq %rsi, %r12
movq %rdi, %r15
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x88304(%rip), %rsi # 0xac6a3
leaq ... | _Z26common_chat_format_exampleB5cxx11RKN5minja13chat_templateEb:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 208h
mov ebp, edx
mov r12, rsi
mov r15, rdi
lea rax, [rsp+238h+var_200]
mov [rax-10h], rax
lea rsi, aSystem; "system"
lea rdx, aSystem+6; ""
l... | _QWORD * common_chat_format_example[abi:cxx11](_QWORD *a1, common_chat_inputs *a2, unsigned __int8 a3)
{
unsigned long long v5; // r14
long long *v6; // rdi
_QWORD *v7; // rdi
_QWORD *v8; // rax
_QWORD *v9; // rax
_QWORD *v10; // rdi
_BYTE v12[15]; // [rsp+0h] [rbp-238h] BYREF
char v13; // [rsp+Fh] [rbp... | common_chat_format_example[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x208
MOV EBP,EDX
MOV R12,RSI
MOV R15,RDI
LEA RAX,[RSP + 0x38]
MOV qword ptr [RAX + -0x10],RAX
LAB_00124398:
LEA RSI,[0x1ac6a3]
LEA RDX,[0x1ac6a9]
LEA RDI,[RSP + 0x28]
CALL 0x0011de7e
LEA RDI,[RSP + 0x48]
LEA R13,[RSP +... |
/* common_chat_format_example[abi:cxx11](minja::chat_template const&, bool) */
chat_template * common_chat_format_example_abi_cxx11_(chat_template *param_1,bool param_2)
{
long *plVar1;
long *plVar2;
int7 in_register_00000031;
long lVar3;
long alStack_288 [8];
vector<common_tool_call,std::allocator<commo... | |
10,372 | common_chat_format_example[abi:cxx11](minja::chat_template const&, bool) | monkey531[P]llama/common/common.cpp | std::string common_chat_format_example(const common_chat_template & tmpl, bool use_jinja) {
std::vector<common_chat_msg> msgs = {
{"system", "You are a helpful assistant", {}},
{"user", "Hello", {}},
{"assistant", "Hi there", {}},
{"user", "How are you?", {}},
};
... | O2 | cpp | common_chat_format_example[abi:cxx11](minja::chat_template const&, bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp # imm = 0x208
movl %edx, %ebp
movq %rsi, %r12
movq %rdi, %r15
leaq 0x66199(%rip), %rsi # 0x8e663
leaq 0x28(%rsp), %rbx
leaq 0xf(%rsp), %rdx
movq %r... | _Z26common_chat_format_exampleB5cxx11RKN5minja13chat_templateEb:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 208h
mov ebp, edx
mov r12, rsi
mov r15, rdi
lea rsi, aSystem; "system"
lea rbx, [rsp+238h+var_210]
lea rdx, [rsp+238h+var_229]
mov rdi, rbx
ca... | _QWORD * common_chat_format_example[abi:cxx11](_QWORD *a1, common_chat_inputs *a2, unsigned __int8 a3)
{
long long i; // rbx
char v6; // [rsp+7h] [rbp-231h] BYREF
_QWORD v7[3]; // [rsp+10h] [rbp-228h] BYREF
_QWORD v8[4]; // [rsp+28h] [rbp-210h] BYREF
_QWORD v9[4]; // [rsp+48h] [rbp-1F0h] BYREF
__int128 v10;... | common_chat_format_example[abi:cxx11]:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x208
MOV EBP,EDX
MOV R12,RSI
MOV R15,RDI
LAB_001284c3:
LEA RSI,[0x18e663]
LEA RBX,[RSP + 0x28]
LEA RDX,[RSP + 0xf]
MOV RDI,RBX
CALL 0x0012336c
LEA R14,[RSP + 0x48]
LAB_001284e1:
LEA RSI,[0x18e66a]
LEA RDX,[RSP + 0xe]
M... |
/* common_chat_format_example[abi:cxx11](minja::chat_template const&, bool) */
chat_template * common_chat_format_example_abi_cxx11_(chat_template *param_1,bool param_2)
{
long lVar1;
int7 in_register_00000031;
allocator local_231;
allocator local_230;
allocator local_22f;
allocator local_22e;
allocato... | |
10,373 | pvio_socket_set_timeout | eloqsql/libmariadb/plugins/pvio/pvio_socket.c | my_bool pvio_socket_set_timeout(MARIADB_PVIO *pvio, enum enum_pvio_timeout type, int timeout)
{
struct st_pvio_socket *csock= NULL;
if (!pvio)
return 1;
csock= (struct st_pvio_socket *)pvio->data;
pvio->timeout[type]= (timeout > 0) ? timeout * 1000 : -1;
if (csock)
return pvio_socket_change_timeout(pv... | O3 | c | pvio_socket_set_timeout:
pushq %rbp
movq %rsp, %rbp
testq %rdi, %rdi
je 0x2f2dd
movl %edx, %eax
imull $0x3e8, %edx, %edx # imm = 0x3E8
testl %eax, %eax
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmovgl %edx, %eax
movl %esi, %ecx
cmpq $0x0, (%rdi)
movl %eax, 0x24(%rdi,%rcx,4)
je 0x2f2e1
popq %rbp
jmp 0x2ff34
m... | pvio_socket_set_timeout:
push rbp
mov rbp, rsp
test rdi, rdi
jz short loc_2F2DD
mov eax, edx
imul edx, 3E8h
test eax, eax
mov eax, 0FFFFFFFFh
cmovg eax, edx
mov ecx, esi
cmp qword ptr [rdi], 0
mov [rdi+rcx*4+24h], eax
jz short loc_2F2E1
pop rbp
jmp pvio_socket_cha... | char pvio_socket_set_timeout(_QWORD *a1, unsigned int a2, int a3)
{
int v4; // edx
bool v5; // cc
int v6; // eax
bool v7; // zf
if ( !a1 )
return 1;
v4 = 1000 * a3;
v5 = a3 <= 0;
v6 = -1;
if ( !v5 )
v6 = v4;
v7 = *a1 == 0LL;
*((_DWORD *)a1 + a2 + 9) = v6;
if ( v7 )
return 0;
else... | pvio_socket_set_timeout:
PUSH RBP
MOV RBP,RSP
TEST RDI,RDI
JZ 0x0012f2dd
MOV EAX,EDX
IMUL EDX,EDX,0x3e8
TEST EAX,EAX
MOV EAX,0xffffffff
CMOVG EAX,EDX
MOV ECX,ESI
CMP qword ptr [RDI],0x0
MOV dword ptr [RDI + RCX*0x4 + 0x24],EAX
JZ 0x0012f2e1
POP RBP
JMP 0x0012ff34
LAB_0012f2dd:
MOV AL,0x1
JMP 0x0012f2e3
LAB_0012f2e1:
XO... |
int8 pvio_socket_set_timeout(long *param_1,uint param_2,int param_3)
{
long lVar1;
int iVar2;
int8 uVar3;
if (param_1 == (long *)0x0) {
uVar3 = 1;
}
else {
iVar2 = -1;
if (0 < param_3) {
iVar2 = param_3 * 1000;
}
lVar1 = *param_1;
*(int *)((long)param_1 + (ulong)param_2 * ... | |
10,374 | LoadUTF8 | csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/rtext.c | char *LoadUTF8(const int *codepoints, int length)
{
// We allocate enough memory to fit all possible codepoints
// NOTE: 5 bytes for every codepoint should be enough
char *text = (char *)RL_CALLOC(length*5, 1);
const char *utf8 = NULL;
int size = 0;
for (int i = 0, bytes = 0; i < length; i++)
... | O0 | c | LoadUTF8:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
imull $0x5, -0xc(%rbp), %eax
movslq %eax, %rdi
movl $0x1, %esi
callq 0xa340
movq %rax, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x... | LoadUTF8:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
imul eax, [rbp+var_C], 5
movsxd rdi, eax
mov esi, 1
call _calloc
mov [rbp+var_18], rax
mov [rbp+var_20], 0
mov [rbp+var_24], 0
mov [rbp+var_28], 0
mov [rbp+var_2C], 0
loc_E7741:
mov ... | long long LoadUTF8(long long a1, int a2)
{
long long v3; // [rsp+8h] [rbp-38h]
int v4; // [rsp+14h] [rbp-2Ch] BYREF
int v5; // [rsp+18h] [rbp-28h]
int v6; // [rsp+1Ch] [rbp-24h]
long long v7; // [rsp+20h] [rbp-20h]
long long v8; // [rsp+28h] [rbp-18h]
int v9; // [rsp+34h] [rbp-Ch]
long long v10; // [rs... | LoadUTF8:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
IMUL EAX,dword ptr [RBP + -0xc],0x5
MOVSXD RDI,EAX
MOV ESI,0x1
CALL 0x0010a340
MOV qword ptr [RBP + -0x18],RAX
MOV qword ptr [RBP + -0x20],0x0
MOV dword ptr [RBP + -0x24],0x0
MOV dword ptr [RBP + -0x28],0x0
MOV dwo... |
void * LoadUTF8(long param_1,int param_2)
{
void *pvVar1;
int local_34;
int local_30;
int local_2c;
void *local_28;
void *local_20;
int local_14;
long local_10;
local_14 = param_2;
local_10 = param_1;
local_20 = calloc((long)(param_2 * 5),1);
local_28 = (void *)0x0;
local_2c = 0;
local_... | |
10,375 | LoadUTF8 | csit-sgu[P]mit-game-2025_1/Libraries/raylib/src/rtext.c | char *LoadUTF8(const int *codepoints, int length)
{
// We allocate enough memory to fit all possible codepoints
// NOTE: 5 bytes for every codepoint should be enough
char *text = (char *)RL_CALLOC(length*5, 1);
const char *utf8 = NULL;
int size = 0;
for (int i = 0, bytes = 0; i < length; i++)
... | O3 | c | LoadUTF8:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r12d
movq %rdi, %r14
leal (%r12,%r12,4), %eax
movslq %eax, %rdi
movl $0x1, %r15d
movl $0x1, %esi
callq 0xa330
movq %rax, %rbx
movl $0x0, 0x4(%rsp)
testl %r12d, %r12d
jle 0x85ffa
movl %r12d, %ebp
xorl %r12d, %r12d
xorl %r1... | LoadUTF8:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r12d, esi
mov r14, rdi
lea eax, [r12+r12*4]
movsxd rdi, eax
mov r15d, 1
mov esi, 1
call _calloc
mov rbx, rax
mov [rsp+38h+var_34], 0
test r12d, r12d
jle short loc_85FFA
mov ebp, r... | long long LoadUTF8(long long a1, int a2)
{
long long v3; // r15
long long v4; // rbx
long long v5; // r12
long long v6; // r15
long long v7; // r13
long long v8; // rdi
long long v9; // r15
long long result; // rax
_DWORD v11[13]; // [rsp+0h] [rbp-34h] BYREF
v3 = 1LL;
v4 = calloc(5 * a2, 1LL);
... | LoadUTF8:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R12D,ESI
MOV R14,RDI
LEA EAX,[R12 + R12*0x4]
MOVSXD RDI,EAX
MOV R15D,0x1
MOV ESI,0x1
CALL 0x0010a330
MOV RBX,RAX
MOV dword ptr [RSP + 0x4],0x0
TEST R12D,R12D
JLE 0x00185ffa
MOV EBP,R12D
XOR R12D,R12D
XOR R15D,R15D
LAB_00185fc3:
MOV EDI,dword p... |
void * LoadUTF8(long param_1,uint param_2)
{
uint in_EAX;
void *__ptr;
void *pvVar1;
ulong uVar2;
size_t sVar3;
long lVar4;
int8 uStack_38;
sVar3 = 1;
uStack_38._0_4_ = in_EAX;
__ptr = calloc((long)(int)(param_2 * 5),1);
uStack_38 = (ulong)(uint)uStack_38;
if (0 < (int)param_2) {
uVar2 ... | |
10,376 | OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/fvarRefinement.cpp | void
FVarRefinement::populateChildValues() {
//
// Be sure to match the same vertex ordering as Refinement, i.e. face-vertices
// first vs vertex-vertices first, etc. A few optimizations within the use of
// face-varying data take advantage of this assumption, and it just makes sense
// to be ... | O0 | cpp | OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues():
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq 0x20(%rax), %rcx
movl $0x0, 0x10(%rcx)
movq (%rax), %rdi
callq 0xce460
testb $0x1, %al
jne 0xe596d
jmp 0xe598a
movq -0x10(%rbp), %... | _ZN10OpenSubdiv6v3_6_03Vtr8internal14FVarRefinement19populateChildValuesEv:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rcx, [rax+20h]
mov dword ptr [rcx+10h], 0
mov rdi, [rax]; this
call __ZNK10OpenSubdiv6v3_6_03Vtr8intern... | long long OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues(
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement *this)
{
*(_DWORD *)(*((_QWORD *)this + 4) + 16LL) = 0;
if ( (OpenSubdiv::v3_6_0::Vtr::internal::Refinement::hasFaceVerticesFirst(*(OpenSubdiv::v3_6_0::Vtr::internal::Refineme... | populateChildValues:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RCX,qword ptr [RAX + 0x20]
MOV dword ptr [RCX + 0x10],0x0
MOV RDI,qword ptr [RAX]
CALL 0x001ce460
TEST AL,0x1
JNZ 0x001e596d
JMP 0x001e598a
LAB_001e596d:
MOV RDI,qword... |
/* OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues() */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues(FVarRefinement *this)
{
ulong uVar1;
*(int4 *)(*(long *)(this + 0x20) + 0x10) = 0;
uVar1 = Refinement::hasFaceVerticesFirst(*(Refinement **)th... | |
10,377 | OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/fvarRefinement.cpp | void
FVarRefinement::populateChildValues() {
//
// Be sure to match the same vertex ordering as Refinement, i.e. face-vertices
// first vs vertex-vertices first, etc. A few optimizations within the use of
// face-varying data take advantage of this assumption, and it just makes sense
// to be ... | O1 | cpp | OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues():
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %rax
movl $0x0, 0x10(%rax)
movq (%rdi), %rax
cmpb $0x1, 0x25(%rax)
jne 0x403ad
movq %rbx, %rdi
callq 0x3b480
movq %rbx, %rdi
callq 0x3bc50
movq %rbx, %rdi
popq %rbx
jmp 0x3bd00
movq %rbx, %rdi
callq 0x3... | _ZN10OpenSubdiv6v3_6_03Vtr8internal14FVarRefinement19populateChildValuesEv:
push rbx
mov rbx, rdi
mov rax, [rdi+20h]
mov dword ptr [rax+10h], 0
mov rax, [rdi]
cmp byte ptr [rax+25h], 1
jnz short loc_403AD
mov rdi, rbx; this
call __ZN10OpenSubdiv6v3_6_03Vtr8internal14FVarRefinement35pop... | long long OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues(
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement *this)
{
*(_DWORD *)(*((_QWORD *)this + 4) + 16LL) = 0;
if ( *(_BYTE *)(*(_QWORD *)this + 37LL) == 1 )
{
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChild... | populateChildValues:
PUSH RBX
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x20]
MOV dword ptr [RAX + 0x10],0x0
MOV RAX,qword ptr [RDI]
CMP byte ptr [RAX + 0x25],0x1
JNZ 0x001403ad
MOV RDI,RBX
CALL 0x0013b480
MOV RDI,RBX
CALL 0x0013bc50
MOV RDI,RBX
POP RBX
JMP 0x0013bd00
LAB_001403ad:
MOV RDI,RBX
CALL 0x0013bd00
MOV RDI,RBX
CA... |
/* OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues() */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues(FVarRefinement *this)
{
*(int4 *)(*(long *)(this + 0x20) + 0x10) = 0;
if (*(char *)(*(long *)this + 0x25) == '\x01') {
populateChildValuesFromF... | |
10,378 | OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues() | NVIDIA-RTX[P]OSD-Lite/opensubdiv/vtr/fvarRefinement.cpp | void
FVarRefinement::populateChildValues() {
//
// Be sure to match the same vertex ordering as Refinement, i.e. face-vertices
// first vs vertex-vertices first, etc. A few optimizations within the use of
// face-varying data take advantage of this assumption, and it just makes sense
// to be ... | O2 | cpp | OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues():
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rdi), %rax
andl $0x0, 0x10(%rax)
movq (%rdi), %rax
cmpb $0x1, 0x25(%rax)
jne 0x595ea
movq %rbx, %rdi
callq 0x54530
movq %rbx, %rdi
callq 0x55170
movq %rbx, %rdi
popq %rbx
jmp 0x55260
movq %rbx, %rdi
callq 0x5... | _ZN10OpenSubdiv6v3_6_03Vtr8internal14FVarRefinement19populateChildValuesEv:
push rbx
mov rbx, rdi
mov rax, [rdi+20h]
and dword ptr [rax+10h], 0
mov rax, [rdi]
cmp byte ptr [rax+25h], 1
jnz short loc_595EA
mov rdi, rbx; this
call __ZN10OpenSubdiv6v3_6_03Vtr8internal14FVarRefinement35pop... | long long OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues(
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement *this)
{
*(_DWORD *)(*((_QWORD *)this + 4) + 16LL) = 0;
if ( *(_BYTE *)(*(_QWORD *)this + 37LL) == 1 )
{
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChild... | populateChildValues:
PUSH RBX
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x20]
AND dword ptr [RAX + 0x10],0x0
MOV RAX,qword ptr [RDI]
CMP byte ptr [RAX + 0x25],0x1
JNZ 0x001595ea
MOV RDI,RBX
CALL 0x00154530
MOV RDI,RBX
CALL 0x00155170
MOV RDI,RBX
POP RBX
JMP 0x00155260
LAB_001595ea:
MOV RDI,RBX
CALL 0x00155260
MOV RDI,RBX
CA... |
/* OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues() */
void __thiscall
OpenSubdiv::v3_6_0::Vtr::internal::FVarRefinement::populateChildValues(FVarRefinement *this)
{
*(int4 *)(*(long *)(this + 0x20) + 0x10) = 0;
if (*(char *)(*(long *)this + 0x25) == '\x01') {
populateChildValuesFromF... | |
10,379 | google::protobuf::RepeatedField<double>::operator=(google::protobuf::RepeatedField<double> const&) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/repeated_field.h | inline RepeatedField<Element>& RepeatedField<Element>::operator=(
const RepeatedField& other) {
if (this != &other) CopyFrom(other);
return *this;
} | O3 | c | google::protobuf::RepeatedField<double>::operator=(google::protobuf::RepeatedField<double> const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0xa5182
movq %rsi, %r14
movl $0x0, (%rbx)
movl (%rsi), %esi
testl %esi, %esi
je 0xa5182
movq %rbx, %rdi
callq 0xa5098
movl (%r14), %eax
movq 0x8(%rbx), ... | _ZN6google8protobuf13RepeatedFieldIdEaSERKS2_:
push r14
push rbx
push rax
mov rbx, rdi
cmp rdi, rsi
jz short loc_A5182
mov r14, rsi
mov dword ptr [rbx], 0
mov esi, [rsi]
test esi, esi
jz short loc_A5182
mov rdi, rbx
call _ZN6google8protobuf13RepeatedFieldIdE7ReserveEi; g... | long long google::protobuf::RepeatedField<double>::operator=(long long a1, int *a2)
{
int v4; // esi
long long v5; // rdi
if ( (int *)a1 != a2 )
{
*(_DWORD *)a1 = 0;
v4 = *a2;
if ( v4 )
{
google::protobuf::RepeatedField<double>::Reserve((int *)a1, v4);
v5 = *(_QWORD *)(a1 + 8);
... | operator=:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDI
CMP RDI,RSI
JZ 0x001a5182
MOV R14,RSI
MOV dword ptr [RBX],0x0
MOV ESI,dword ptr [RSI]
TEST ESI,ESI
JZ 0x001a5182
MOV RDI,RBX
CALL 0x001a5098
MOV EAX,dword ptr [R14]
MOV RDI,qword ptr [RBX + 0x8]
ADD dword ptr [RBX],EAX
MOV RSI,qword ptr [R14 + 0x8]
MOVSXD RDX,dword ptr ... |
/* google::protobuf::RepeatedField<double>::TEMPNAMEPLACEHOLDERVALUE(google::protobuf::RepeatedField<double>
const&) */
RepeatedField<double> * __thiscall
google::protobuf::RepeatedField<double>::operator=
(RepeatedField<double> *this,RepeatedField *param_1)
{
if (this != (RepeatedField<double> *)para... | |
10,380 | 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 0xfa370
movq -0x8(%rbp), %rax
movb $0x0, 0x60(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x5c(%rax)
je 0xfa365
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_FA370
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_FA365
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 0x001fa370
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 0x001fa365
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(... | |
10,381 | sd_get_system_info | 7CodeWizard[P]stablediffusion/util.cpp | const char* sd_get_system_info() {
static char buffer[1024];
std::stringstream ss;
ss << "System Info: \n";
ss << " BLAS = " << ggml_cpu_has_blas() << std::endl;
ss << " SSE3 = " << ggml_cpu_has_sse3() << std::endl;
ss << " AVX = " << ggml_cpu_has_avx() << std::endl;
ss << " AVX2... | O1 | cpp | sd_get_system_info:
pushq %r14
pushq %rbx
subq $0x1a8, %rsp # imm = 0x1A8
leaq 0x20(%rsp), %rdi
callq 0xa3f0
leaq 0x30(%rsp), %rbx
leaq 0x48e74(%rip), %rsi # 0xc3538
movl $0xe, %edx
movq %rbx, %rdi
callq 0xa6a0
leaq 0x48e6f(%rip), %rsi # 0xc3547
movl $0xb, %edx
movq %rbx, %rdi
callq 0xa6a0
callq 0x9e... | sd_get_system_info:
push r14
push rbx
sub rsp, 1A8h
lea rdi, [rsp+1B8h+var_198]
call __ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev; std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>::basic_stringstream(void)
lea rbx, [rsp+1B8h+var_188]
lea rsi, aSystem... | void * sd_get_system_info()
{
unsigned int has_blas; // eax
std::ostream *v1; // r14
char v2; // al
std::ostream *v3; // rax
unsigned int has_sse3; // eax
std::ostream *v5; // r14
char v6; // al
std::ostream *v7; // rax
unsigned int has_avx; // eax
std::ostream *v9; // r14
char v10; // al
std::o... | |||
10,382 | sd_get_system_info | 7CodeWizard[P]stablediffusion/util.cpp | const char* sd_get_system_info() {
static char buffer[1024];
std::stringstream ss;
ss << "System Info: \n";
ss << " BLAS = " << ggml_cpu_has_blas() << std::endl;
ss << " SSE3 = " << ggml_cpu_has_sse3() << std::endl;
ss << " AVX = " << ggml_cpu_has_avx() << std::endl;
ss << " AVX2... | O2 | cpp | sd_get_system_info:
pushq %r14
pushq %rbx
subq $0x1a8, %rsp # imm = 0x1A8
leaq 0x20(%rsp), %rdi
callq 0xa3e0
leaq 0x30(%rsp), %rbx
leaq 0x49331(%rip), %rsi # 0x9f448
movq %rbx, %rdi
callq 0xa5d0
leaq 0x49331(%rip), %rsi # 0x9f457
movq %rbx, %rdi
callq 0xa5d0
movq %rax, %r14
callq 0x7903b
movq %r14, %... | sd_get_system_info:
push r14
push rbx
sub rsp, 1A8h
lea rdi, [rsp+1B8h+var_198]
call __ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev; std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>::basic_stringstream(void)
lea rbx, [rsp+1B8h+var_188]
lea rsi, aSystem... | void *sd_get_system_info()
{
long long v0; // r14
unsigned int has_blas; // eax
long long v2; // rax
long long v3; // r14
unsigned int has_sse3; // eax
long long v5; // rax
long long v6; // r14
unsigned int has_avx; // eax
long long v8; // rax
long long v9; // r14
unsigned int has_avx2; // eax
l... | sd_get_system_info:
PUSH R14
PUSH RBX
SUB RSP,0x1a8
LEA RDI,[RSP + 0x20]
CALL 0x0010a3e0
LEA RBX,[RSP + 0x30]
LAB_00156110:
LEA RSI,[0x19f448]
MOV RDI,RBX
CALL 0x0010a5d0
LEA RSI,[0x19f457]
MOV RDI,RBX
CALL 0x0010a5d0
MOV R14,RAX
CALL 0x0017903b
MOV RDI,R14
MOV ESI,EAX
CALL 0x0010aa60
MOV RDI,RAX
CALL 0x0010a260
LEA RS... |
int1 * sd_get_system_info(void)
{
int iVar1;
ostream *poVar2;
int8 local_1b8 [4];
stringstream local_198 [16];
ostream local_188 [376];
std::__cxx11::stringstream::stringstream(local_198);
/* try { // try from 00156110 to 0015635c has its CatchHandler @ 001563af */
std::operator<<... | |
10,383 | generate_query | eloqsql/storage/maria/libmarias3/src/request.c | static char *generate_query(CURL *curl, const char *value,
const char *continuation, uint8_t list_version, bool use_delimiter,
char *query_buffer)
{
char *encoded;
query_buffer[0] = '\0';
if (use_delimiter)
{
snprintf(query_buffer, 3072, "delimiter=%%... | O3 | c | generate_query:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movl %ecx, %r13d
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
movb $0x0, (%r9)
testl %r8d, %r8d
je 0x10606
leaq 0x58eb(%rip), %r8 # 0x15ed6
movl $0xc00, %esi # imm = 0xC00
movq... | generate_query:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, r9
mov r13d, ecx
mov r12, rdx
mov r14, rsi
mov r15, rdi
mov byte ptr [r9], 0
test r8d, r8d
jz short loc_10606
lea r8, aDelimiter2f; "delimiter=%%2F"
mov e... | _BYTE * generate_query(long long a1, long long a2, long long a3, char a4, int a5, _BYTE *a6)
{
long long v6; // rax
unsigned int v10; // eax
long long v11; // r12
long long v12; // rax
unsigned int v13; // eax
long long v14; // rax
long long v15; // rax
const char *v16; // r8
unsigned int v17; // eax
... | generate_query:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,R9
MOV R13D,ECX
MOV R12,RDX
MOV R14,RSI
MOV R15,RDI
MOV byte ptr [R9],0x0
TEST R8D,R8D
JZ 0x00110606
LEA R8,[0x115ed6]
MOV ESI,0xc00
MOV RDI,RBX
MOV EDX,0x1
MOV RCX,-0x1
XOR EAX,EAX
CALL 0x0010a360
LAB_00110606:
CMP R13B,... |
char * generate_query(int8 param_1,char *param_2,char *param_3,char param_4,int param_5,
char *param_6)
{
size_t sVar1;
int8 uVar2;
long lVar3;
char *pcVar4;
char *pcVar5;
*param_6 = '\0';
if (param_5 != 0) {
__snprintf_chk(param_6,0xc00,1,0xffffffffffffffff,"delimiter=%%2F")... | |
10,384 | append_warnings(st_dynamic_string*, st_mysql*) | eloqsql/client/mysqltest.cc | int append_warnings(DYNAMIC_STRING *ds, MYSQL* mysql)
{
uint count;
MYSQL_RES *warn_res;
DYNAMIC_STRING res;
DBUG_ENTER("append_warnings");
if (!(count= mysql_warning_count(mysql)))
DBUG_RETURN(0);
/*
If one day we will support execution of multi-statements
through PS API we should not issue S... | O3 | cpp | append_warnings(st_dynamic_string*, st_mysql*):
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r15
movq %rdi, %r14
movq %rsi, %rdi
callq 0x79cc0
movl %eax, %ebx
testl %eax, %eax
je 0x6bc3a
leaq 0x8fecd(%rip), %rsi # 0xfba7c
movl $0xd, %edx
movq %r15, %rdi
callq 0... | _Z15append_warningsP17st_dynamic_stringP8st_mysql:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
sub rsp, 20h
mov r15, rsi
mov r14, rdi
mov rdi, rsi
call mysql_warning_count
mov ebx, eax
test eax, eax
jz loc_6BC3A
lea rsi, aFailedToLoadRo+49h; "SHOW WARN... | long long append_warnings(
long long a1,
long long a2,
__m128 a3,
__m128 a4,
__m128 a5,
__m128 a6,
double a7,
double a8,
__m128 a9,
__m128 a10)
{
unsigned int v10; // ebx
long long v11; // rax
long long v12; // rdx
__va_list_tag *v... | append_warnings:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x20
MOV R15,RSI
MOV R14,RDI
MOV RDI,RSI
CALL 0x00179cc0
MOV EBX,EAX
TEST EAX,EAX
JZ 0x0016bc3a
LEA RSI,[0x1fba7c]
MOV EDX,0xd
MOV RDI,R15
CALL 0x0016194c
MOV RDI,R15
TEST EAX,EAX
JNZ 0x0016bc49
CALL 0x00161b5c
TEST RAX,RAX
JZ 0x0016bc5f
... |
/* append_warnings(st_dynamic_string*, st_mysql*) */
ulong append_warnings(st_dynamic_string *param_1,st_mysql *param_2)
{
uint uVar1;
int iVar2;
st_mysql_res *psVar3;
int8 uVar4;
int8 local_48;
int8 local_40;
uVar1 = mysql_warning_count(param_2);
if (uVar1 != 0) {
iVar2 = wrap_mysql_real_quer... | |
10,385 | my_convert_using_func | eloqsql/strings/ctype.c | uint32
my_convert_using_func(char *to, size_t to_length,
CHARSET_INFO *to_cs, my_charset_conv_wc_mb wc_mb,
const char *from, size_t from_length,
CHARSET_INFO *from_cs, my_charset_conv_mb_wc mb_wc,
uint *errors)
{
int cnvre... | O0 | c | my_convert_using_func:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x28(%rbp), %rax
addq -0x30(%rbp), %rax
movq %... | my_convert_using_func:
push rbp
mov rbp, rsp
sub rsp, 60h
mov rax, [rbp+arg_10]
mov rax, [rbp+arg_8]
mov rax, [rbp+arg_0]
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_28], r8
mov [rbp+var_30], r9
mov rax, [rbp+var_... | long long my_convert_using_func(
long long a1,
long long a2,
long long a3,
long long ( *a4)(long long, long long, long long, long long),
unsigned long long a5,
long long a6,
long long a7,
long long ( *a8)(long long, long long *, unsigned long long, unsign... | my_convert_using_func:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV RAX,qword ptr [RBP + 0x20]
MOV RAX,qword ptr [RBP + 0x18]
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
MOV qword pt... |
long my_convert_using_func
(long param_1,long param_2,int8 param_3,code *param_4,ulong param_5,
long param_6,int8 param_7,code *param_8,int *param_9)
{
int local_64;
long local_48;
int local_3c;
long local_38;
ulong local_30;
code *local_28;
int8 local_20;
long local_18;
... | |
10,386 | digest_hash_get_key(unsigned char const*, unsigned long*, char) | eloqsql/storage/perfschema/pfs_digest.cc | C_MODE_START
static uchar *digest_hash_get_key(const uchar *entry, size_t *length,
my_bool)
{
const PFS_statements_digest_stat * const *typed_entry;
const PFS_statements_digest_stat *digest;
const void *result;
typed_entry= reinterpret_cast<const PFS_statements_digest_stat*cons... | O3 | cpp | digest_hash_get_key(unsigned char const*, unsigned long*, char):
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movq $0xd4, (%rsi)
addq $0x4, %rax
popq %rbp
retq
| _ZL19digest_hash_get_keyPKhPmc:
push rbp
mov rbp, rsp
mov rax, [rdi]
mov qword ptr [rsi], 0D4h
add rax, 4
pop rbp
retn
| long long digest_hash_get_key(const unsigned __int8 *a1, unsigned long long *a2)
{
long long v2; // rax
v2 = *(_QWORD *)a1;
*a2 = 212LL;
return v2 + 4;
}
| digest_hash_get_key:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSI],0xd4
ADD RAX,0x4
POP RBP
RET
|
/* digest_hash_get_key(unsigned char const*, unsigned long*, char) */
long digest_hash_get_key(uchar *param_1,ulong *param_2,char param_3)
{
long lVar1;
lVar1 = *(long *)param_1;
*param_2 = 0xd4;
return lVar1 + 4;
}
| |
10,387 | js_array_sort | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_sort(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
struct array_sort_context asc = { ctx, 0, 0, argv[0] };
JSValue obj = JS_UNDEFINED;
ValueSlot *array = NULL;
size_t array_size = 0, pos = 0, n = 0;
int64_t i, len, undefined_count =... | O0 | c | js_array_sort:
subq $0x108, %rsp # imm = 0x108
movq %rsi, 0xe8(%rsp)
movq %rdx, 0xf0(%rsp)
movq %rdi, 0xe0(%rsp)
movl %ecx, 0xdc(%rsp)
movq %r8, 0xd0(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0xb0(%rsp)
movl $0x0, 0xb8(%rsp)
movl $0x0, 0xbc(%rsp)
movq 0xd0(%rsp), %rax
movq (%rax), %rcx
movq %rcx, 0xc0(%rsp)
mov... | js_array_sort:
sub rsp, 108h
mov [rsp+108h+var_20], rsi
mov [rsp+108h+var_18], rdx
mov [rsp+108h+var_28], rdi
mov [rsp+108h+var_2C], ecx
mov [rsp+108h+var_38], r8
mov rax, [rsp+108h+var_28]
mov [rsp+108h+var_58], rax
mov [rsp+108h+var_50], 0
mov [rsp+108h+var_4C], 0
mov rax, ... | long long js_array_sort(
long long a1,
_DWORD *a2,
long long a3,
int a4,
long long *a5,
__m128 a6,
__m128 a7,
__m128 a8,
__m128 a9,
double a10,
double a11,
__m128 a12,
__m128 a13)
{
long long v13; // rcx
long lo... | js_array_sort:
SUB RSP,0x108
MOV qword ptr [RSP + 0xe8],RSI
MOV qword ptr [RSP + 0xf0],RDX
MOV qword ptr [RSP + 0xe0],RDI
MOV dword ptr [RSP + 0xdc],ECX
MOV qword ptr [RSP + 0xd0],R8
MOV RAX,qword ptr [RSP + 0xe0]
MOV qword ptr [RSP + 0xb0],RAX
MOV dword ptr [RSP + 0xb8],0x0
MOV dword ptr [RSP + 0xbc],0x0
MOV RAX,qword... |
int1 [16]
js_array_sort(int8 param_1,int8 param_2,int8 param_3,int4 param_4,
int8 *param_5)
{
bool bVar1;
int1 auVar2 [16];
int iVar3;
long lVar4;
int8 *puVar5;
uint uStack_ec;
ulong local_c8;
ulong local_c0;
int1 local_b8 [16];
int local_a4;
long local_a0;
long local_98;
ulong... | |
10,388 | js_array_sort | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_sort(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
struct array_sort_context asc = { ctx, 0, 0, argv[0] };
JSValue obj = JS_UNDEFINED;
ValueSlot *array = NULL;
size_t array_size = 0, pos = 0, n = 0;
int64_t i, len, undefined_count =... | O1 | c | js_array_sort:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rdi, 0x38(%rsp)
movq $0x0, 0x40(%rsp)
movups (%r8), %xmm0
movups %xmm0, 0x48(%rsp)
movq 0x50(%rsp), %rdx
cmpl $0x3, %edx
je 0x7683c
movq 0x48(%rsp), %rsi
movq %rbx, %rd... | js_array_sort:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov r14, rdx
mov r15, rsi
mov rbx, rdi
mov [rsp+88h+var_50], rdi
mov [rsp+88h+var_48], 0
movups xmm0, xmmword ptr [r8]
movups [rsp+88h+var_40], xmm0
mov rdx, qword ptr [rsp+88h+var_40+8]
cmp... | _DWORD * js_array_sort(
long long a1,
long long a2,
long long a3,
long long a4,
__m128 *a5,
long long a6,
double a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)
{
__m12... | js_array_sort:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
MOV qword ptr [RSP + 0x38],RDI
MOV qword ptr [RSP + 0x40],0x0
MOVUPS XMM0,xmmword ptr [R8]
MOVUPS xmmword ptr [RSP + 0x48],XMM0
MOV RDX,qword ptr [RSP + 0x50]
CMP EDX,0x3
JZ 0x0017683c
MOV RSI,qword ptr... |
int1 [16]
js_array_sort(long param_1,int8 param_2,int8 param_3,int8 param_4,
int8 *param_5)
{
int8 uVar1;
int *piVar2;
int iVar3;
int8 uVar4;
long lVar5;
int8 uVar6;
ulong uVar7;
ulong uVar8;
ulong *puVar9;
int8 *puVar10;
long lVar11;
ulong uVar12;
int1 auVar13 [16];
long loc... | |
10,389 | js_array_sort | bluesky950520[P]quickjs/quickjs.c | static JSValue js_array_sort(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
struct array_sort_context asc = { ctx, 0, 0, argv[0] };
JSValue obj = JS_UNDEFINED;
ValueSlot *array = NULL;
size_t array_size = 0, pos = 0, n = 0;
int64_t i, len, undefined_count =... | O2 | c | js_array_sort:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rdi, 0x38(%rsp)
andq $0x0, 0x40(%rsp)
movups (%r8), %xmm0
movups %xmm0, 0x48(%rsp)
movq 0x50(%rsp), %rdx
cmpl $0x3, %edx
je 0x63a88
movq 0x48(%rsp), %rsi
movq %rbx, %rd... | js_array_sort:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov r14, rdx
mov r15, rsi
mov rbx, rdi
mov [rsp+88h+var_50], rdi
and [rsp+88h+var_48], 0
movups xmm0, xmmword ptr [r8]
movups [rsp+88h+var_40], xmm0
mov rdx, qword ptr [rsp+88h+var_40+8]
cmp... | long long js_array_sort(
long long a1,
long long a2,
long long a3,
long long a4,
__m128 *a5,
long long a6,
double a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14)
{
__m... | js_array_sort:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
MOV qword ptr [RSP + 0x38],RDI
AND qword ptr [RSP + 0x40],0x0
MOVUPS XMM0,xmmword ptr [R8]
MOVUPS xmmword ptr [RSP + 0x48],XMM0
MOV RDX,qword ptr [RSP + 0x50]
CMP EDX,0x3
JZ 0x00163a88
MOV RSI,qword ptr... |
int1 [16]
js_array_sort(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 *param_5)
{
int iVar1;
int8 uVar2;
int8 uVar3;
ulong uVar4;
long lVar5;
ulong *puVar6;
long *plVar7;
ulong uVar8;
long lVar9;
ulong uVar10;
int1 auVar11 [16];
long local_80;
long local_68;
long ... | |
10,390 | translog_wait_for_closing | eloqsql/storage/maria/ma_loghandler.c | static void translog_wait_for_closing(struct st_translog_buffer *buffer)
{
DBUG_ENTER("translog_wait_for_closing");
DBUG_PRINT("enter", ("Buffer #%u %p copies in progress: %u "
"is closing %u File: %d size: %lu",
(uint) buffer->buffer_no, buffer,
... | O0 | c | translog_wait_for_closing:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
jmp 0x3c4de
jmp 0x3c4e0
movq -0x8(%rbp), %rax
cmpb $0x0, 0x1000d8(%rax)
je 0x3c520
jmp 0x3c4ef
jmp 0x3c4f1
jmp 0x3c4f3
jmp 0x3c4f5
movq -0x8(%rbp), %rdi
addq $0x100040, %rdi # imm = 0x100040
movq -0x8(%rbp), %rsi
addq $... | translog_wait_for_closing:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
jmp short $+2
loc_3C4DE:
jmp short $+2
loc_3C4E0:
mov rax, [rbp+var_8]
cmp byte ptr ds:loc_1000D8[rax], 0
jz short loc_3C520
jmp short $+2
loc_3C4EF:
jmp short $+2
loc_3C4F1:
jmp short $+2
... | long long translog_wait_for_closing(long long a1)
{
long long result; // rax
while ( 1 )
{
result = a1;
if ( !*((_BYTE *)&loc_1000D8 + a1) )
break;
inline_mysql_cond_wait(
a1 + 1048640,
a1 + 1048720,
(long long)"/workspace/llm4binary/github2025/eloqsql/storage/maria/ma_loghan... | translog_wait_for_closing:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
JMP 0x0013c4de
LAB_0013c4de:
JMP 0x0013c4e0
LAB_0013c4e0:
MOV RAX,qword ptr [RBP + -0x8]
CMP byte ptr [RAX + 0x1000d8],0x0
JZ 0x0013c520
JMP 0x0013c4ef
LAB_0013c4ef:
JMP 0x0013c4f1
LAB_0013c4f1:
JMP 0x0013c4f3
LAB_0013c4f3:
JMP ... |
void translog_wait_for_closing(long param_1)
{
while (*(char *)((long)&Elf64_Phdr_ARRAY_00100040[2].p_memsz + param_1) != '\0') {
inline_mysql_cond_wait
((long)&Elf64_Phdr_ARRAY_00100040[0].p_type + param_1,param_1 + 0x100090,
"/workspace/llm4binary/github2025/eloqsql/storage/maria/... | |
10,391 | YogaTest_dirtied_propagation_Test::TestBody() | yoga-mod/tests/YGDirtiedTest.cpp | TEST(YogaTest, dirtied_propagation) {
YGNodeRef root = YGNodeNew();
YGNodeStyleSetAlignItems(root, YGAlignFlexStart);
YGNodeStyleSetWidth(root, 100);
YGNodeStyleSetHeight(root, 100);
YGNodeRef root_child0 = YGNodeNew();
YGNodeStyleSetWidth(root_child0, 50);
YGNodeStyleSetHeight(root_child0, 20);
YGNode... | O0 | cpp | YogaTest_dirtied_propagation_Test::TestBody():
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0xf4bc0
movq -0x10(%rbp), %rdi
movl $0x10, %esi
callq 0x354d0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
| _ZN33YogaTest_dirtied_propagation_TestD0Ev:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]; this
mov [rbp+var_10], rdi
call _ZN33YogaTest_dirtied_propagation_TestD2Ev; YogaTest_dirtied_propagation_Test::~YogaTest_dirtied_propagation_Test()
mov rdi, [rbp+var_10... | void YogaTest_dirtied_propagation_Test::~YogaTest_dirtied_propagation_Test(
YogaTest_dirtied_propagation_Test *this)
{
YogaTest_dirtied_propagation_Test::~YogaTest_dirtied_propagation_Test(this);
operator delete(this, 0x10uLL);
}
| ~YogaTest_dirtied_propagation_Test:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
MOV qword ptr [RBP + -0x10],RDI
CALL 0x001f4bc0
MOV RDI,qword ptr [RBP + -0x10]
MOV ESI,0x10
CALL 0x001354d0
ADD RSP,0x10
POP RBP
RET
|
/* YogaTest_dirtied_propagation_Test::~YogaTest_dirtied_propagation_Test() */
void __thiscall
YogaTest_dirtied_propagation_Test::~YogaTest_dirtied_propagation_Test
(YogaTest_dirtied_propagation_Test *this)
{
~YogaTest_dirtied_propagation_Test(this);
operator_delete(this,0x10);
return;
}
| |
10,392 | wt_resource_init | eloqsql/mysys/waiting_threads.c | static void wt_resource_init(LF_HASH *hash __attribute__((unused)),
WT_RESOURCE *rc, WT_RESOURCE_ID *id)
{
DBUG_ENTER("wt_resource_init");
rc->id= *id;
rc->waiter_count= 0;
rc->state= ACTIVE;
#ifndef DBUG_OFF
rc->cond_mutex= 0;
#endif
DBUG_VOID_RETURN;
} | O0 | c | wt_resource_init:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq -0x18(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rcx
movq %rcx, 0x8(%rax)
movq -0x10(%rbp), %rax
movl $0x0, 0x10(%rax)
movq -0x10(%rbp), %rax
movl $0x0, 0x14... | wt_resource_init:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_10]
mov rcx, [rbp+var_18]
mov rdx, [rcx]
mov [rax], rdx
mov rcx, [rcx+8]
mov [rax+8], rcx
mov rax, [rbp+var_10]
mov dword ptr [rax+10h], 0
mov ... | long long wt_resource_init(long long a1, long long a2, _QWORD *a3)
{
long long result; // rax
*(_QWORD *)a2 = *a3;
*(_QWORD *)(a2 + 8) = a3[1];
*(_DWORD *)(a2 + 16) = 0;
result = a2;
*(_DWORD *)(a2 + 20) = 0;
return result;
}
| wt_resource_init:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RCX]
MOV qword ptr [RAX],RDX
MOV RCX,qword ptr [RCX + 0x8]
MOV qword ptr [RAX + 0x8],RCX
MOV RAX,qword ... |
void wt_resource_init(int8 param_1,int8 *param_2,int8 *param_3)
{
*param_2 = *param_3;
param_2[1] = param_3[1];
*(int4 *)(param_2 + 2) = 0;
*(int4 *)((long)param_2 + 0x14) = 0;
return;
}
| |
10,393 | mbedtls_chachapoly_update | msxemulator/build_O3/_deps/pico_sdk-src/lib/mbedtls/library/chachapoly.c | int mbedtls_chachapoly_update(mbedtls_chachapoly_context *ctx,
size_t len,
const unsigned char *input,
unsigned char *output)
{
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
CHACHAPOLY_VALIDATE_RET(ctx != NULL);
CHA... | O3 | c | mbedtls_chachapoly_update:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbx
movq %rdx, %r12
movl 0xe8(%rdi), %ecx
leal -0x1(%rcx), %edx
movl $0xffffffac, %eax # imm = 0xFFFFFFAC
cmpl $0x1, %edx
ja 0xa0384
movq %rsi, %r14
movq %rdi, %r15
cmpl $0x1, %ecx
jne 0xa031a
movl $0x2, 0xe8(%r15)... | mbedtls_chachapoly_update:
push r15
push r14
push r12
push rbx
sub rsp, 18h
mov rbx, rcx
mov r12, rdx
mov ecx, [rdi+0E8h]
lea edx, [rcx-1]
mov eax, 0FFFFFFACh
cmp edx, 1
ja loc_A0384
mov r14, rsi
mov r15, rdi
cmp ecx, 1
jnz short loc_A031A
mov dword ptr [... | long long mbedtls_chachapoly_update(long long a1, long long a2, long long a3, long long a4)
{
int v6; // ecx
long long result; // rax
v6 = *(_DWORD *)(a1 + 232);
result = 4294967212LL;
if ( (unsigned int)(v6 - 1) <= 1 )
{
if ( v6 != 1
|| (*(_DWORD *)(a1 + 232) = 2, (*(_DWORD *)(a1 + 216) & 0xF) ... | mbedtls_chachapoly_update:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RCX
MOV R12,RDX
MOV ECX,dword ptr [RDI + 0xe8]
LEA EDX,[RCX + -0x1]
MOV EAX,0xffffffac
CMP EDX,0x1
JA 0x001a0384
MOV R14,RSI
MOV R15,RDI
CMP ECX,0x1
JNZ 0x001a031a
MOV dword ptr [R15 + 0xe8],0x2
MOV EAX,dword ptr [R15 + 0xd8]
AND EAX,0x... |
int8
mbedtls_chachapoly_update(long param_1,long param_2,int8 param_3,int8 param_4)
{
uint uVar1;
int8 uVar2;
int7 local_30;
int1 uStack_29;
int7 uStack_28;
uVar2 = 0xffffffac;
if (*(int *)(param_1 + 0xe8) - 1U < 2) {
if (*(int *)(param_1 + 0xe8) == 1) {
*(int4 *)(param_1 + 0xe8) = 2;
... | |
10,394 | PFS_table_share::aggregate_lock() | eloqsql/storage/perfschema/pfs_instr_class.cc | void PFS_table_share::aggregate_lock(void)
{
PFS_table_share_lock *lock_stat;
lock_stat= find_lock_stat();
if (lock_stat != NULL)
{
global_table_lock_stat.aggregate(& lock_stat->m_stat);
/* Reset lock stat. */
lock_stat->m_stat.reset();
}
} | O0 | cpp | PFS_table_share::aggregate_lock():
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x41a20
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x44431
movq -0x10(%rbp), %rsi
addq $0x8, %rsi
leaq 0x3c8321(%rip), %rdi # 0x40c740
callq 0x3ddb0
movq -0x10(%rbp), %rdi
addq $0x8,... | _ZN15PFS_table_share14aggregate_lockEv:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]; this
call _ZNK15PFS_table_share14find_lock_statEv; PFS_table_share::find_lock_stat(void)
mov [rbp+var_10], rax
cmp [rbp+var_10], 0
jz short loc_44431
mov rsi, [rbp... | long long PFS_table_share::aggregate_lock(PFS_table_share *this)
{
long long result; // rax
long long v2; // [rsp+0h] [rbp-10h]
result = PFS_table_share::find_lock_stat(this);
v2 = result;
if ( result )
{
PFS_table_lock_stat::aggregate(
(PFS_table_lock_stat *)&global_table_lock_stat,
(cons... | aggregate_lock:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00141a20
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JZ 0x00144431
MOV RSI,qword ptr [RBP + -0x10]
ADD RSI,0x8
LEA RDI,[0x50c740]
CALL 0x0013ddb0
MOV RDI,qword ptr [RBP + -0x10]
ADD... |
/* PFS_table_share::aggregate_lock() */
void __thiscall PFS_table_share::aggregate_lock(PFS_table_share *this)
{
long lVar1;
lVar1 = find_lock_stat(this);
if (lVar1 != 0) {
PFS_table_lock_stat::aggregate
((PFS_table_lock_stat *)global_table_lock_stat,(PFS_table_lock_stat *)(lVar1 + 8));
... | |
10,395 | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__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<unsign... | llama.cpp/common/json.hpp | bool end_array()
{
bool keep = true;
if (ref_stack.back())
{
keep = callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::array_end, *ref_stack.back());
if (keep)
{
ref_stack.back()->set_parents();
}
else
... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__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<unsign... | _ZN8nlohmann16json_abi_v3_11_36detail28json_sax_dom_callback_parserINS0_10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEEE9end_arrayEv:
push rbp
push r14
push rbx
sub rsp, 20h
mov rbx, rdi
mov rax, [rdi+10h]
mov rcx, [rax-8... | char nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::end_array(
long long a1)
{
long long v1; //... | end_array:
PUSH RBP
PUSH R14
PUSH RBX
SUB RSP,0x20
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x10]
MOV RCX,qword ptr [RAX + -0x8]
MOV BPL,0x1
TEST RCX,RCX
JZ 0x0017ba6f
SUB RAX,qword ptr [RBX + 0x8]
SHR RAX,0x3
DEC EAX
MOV dword ptr [RSP + 0xc],EAX
MOV byte ptr [RSP + 0xb],0x3
CMP qword ptr [RBX + 0x90],0x0
JZ 0x0017bb37
LE... |
/* nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char> >, voi... | |
10,396 | minja::Parser::unterminated(minja::TemplateToken const&) const | monkey531[P]llama/common/minja.hpp | std::runtime_error unterminated(const TemplateToken & token) const {
return std::runtime_error("Unterminated " + TemplateToken::typeToString(token.type)
+ error_location_suffix(*template_str, token.location.pos));
} | O1 | cpp | minja::Parser::unterminated(minja::TemplateToken const&) const:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl 0x8(%rdx), %esi
leaq 0x68(%rsp), %r12
movq %r12, %rdi
callq 0x9acf0
leaq 0x598be(%rip), %rcx # 0xf3ac6
movl $0xd, %r8d
movq %r12, %rdi
xor... | _ZNK5minja6Parser12unterminatedERKNS_13TemplateTokenE:
push r15; int
push r14; int
push r12; int
push rbx; int
sub rsp, 88h
mov r14, rdx
mov r15, rsi
mov rbx, rdi
mov esi, [rdx+8]
lea r12, [rsp+0A8h+var_40]
mov rdi, r12
call _ZN5minja13TemplateToken12typeToStringB5cxx11ENS0_4T... | minja::Parser * minja::Parser::unterminated(minja::Parser *this, const minja::TemplateToken *a2, long long a3)
{
long long v4; // rax
__int128 *v5; // rcx
unsigned long long v6; // rax
unsigned long long v7; // rsi
unsigned long long v8; // rsi
void **v9; // rax
__int128 *v10; // rcx
void *v12[2]; // [r... | unterminated:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
MOV ESI,dword ptr [RDX + 0x8]
LEA R12,[RSP + 0x68]
MOV RDI,R12
CALL 0x0019acf0
LAB_0019a201:
LEA RCX,[0x1f3ac6]
MOV R8D,0xd
MOV RDI,R12
XOR ESI,ESI
XOR EDX,EDX
CALL 0x0011b9f0
LEA R12,[RSP + 0x38]
MOV qword ptr [R12 + -0x... |
/* minja::Parser::unterminated(minja::TemplateToken const&) const */
TemplateToken * minja::Parser::unterminated(TemplateToken *param_1)
{
long *plVar1;
int8 *puVar2;
ulong *puVar3;
long in_RDX;
int8 *in_RSI;
ulong uVar4;
long *local_a0;
int8 local_98;
long local_90;
int8 uStack_88;
ulong *loca... | |
10,397 | AuthSession::CheckIpCallback(std::shared_ptr<PreparedResultSet>) | SylCore-WoTLK/src/server/apps/authserver/Server/AuthSession.cpp | void AuthSession::CheckIpCallback(PreparedQueryResult result)
{
if (result)
{
bool banned = false;
for (auto const& fields : *result)
{
if (fields[0].Get<uint64>() != 0)
{
banned = true;
break;
}
}
if (... | O3 | cpp | AuthSession::CheckIpCallback(std::shared_ptr<PreparedResultSet>):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
movq (%rsi), %r14
testq %r14, %r14
je 0x43efb
movq %r14, %rdi
xorl %esi, %esi
callq 0x7b1ae
movq %rax, %rdi
callq 0x64eb2
testq %rax, %rax
jne 0x43f10
movq %r14, %rdi
callq 0x7b... | _ZN11AuthSession15CheckIpCallbackESt10shared_ptrI17PreparedResultSetE:
push rbp
push r15
push r14
push rbx
sub rsp, 0D8h
mov rbx, rdi
mov r14, [rsi]
test r14, r14
jz short loc_43EFB
loc_43ED8:
mov rdi, r14
xor esi, esi
call _ZNK17PreparedResultSetixEm; PreparedResultSet::opera... | void AuthSession::CheckIpCallback(Log *this, PreparedResultSet **a2)
{
PreparedResultSet *v3; // r14
long long v4; // rax
long long v5; // r14
char ShouldLog; // bp
Log *v7; // rdi
long long v8; // r14
long long v9; // rax
int v10; // r9d
int v11; // r9d
void *v12; // [rsp+0h] [rbp-F8h] BYREF
int... | CheckIpCallback:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0xd8
MOV RBX,RDI
MOV R14,qword ptr [RSI]
TEST R14,R14
JZ 0x00143efb
LAB_00143ed8:
MOV RDI,R14
XOR ESI,ESI
CALL 0x0017b1ae
MOV RDI,RAX
CALL 0x00164eb2
TEST RAX,RAX
JNZ 0x00143f10
MOV RDI,R14
CALL 0x0017b0ce
TEST AL,AL
JNZ 0x00143ed8
LAB_00143efb:
MOV RDI,RBX
A... |
/* AuthSession::CheckIpCallback(std::shared_ptr<PreparedResultSet>) */
void __thiscall AuthSession::CheckIpCallback(AuthSession *this,int8 *param_2)
{
PreparedResultSet *this_00;
char cVar1;
Field *this_01;
ulong uVar2;
Log *pLVar3;
int8 uVar4;
long *local_f8 [2];
long local_e8 [2];
int8 local_d8;
... | |
10,398 | my_strnxfrm_win1250ch | eloqsql/strings/ctype-win1250ch.c | static size_t
my_strnxfrm_win1250ch(CHARSET_INFO *cs __attribute__((unused)),
uchar *dest, size_t len,
uint nweights_arg __attribute__((unused)),
const uchar *src, size_t srclen, uint flags)
{
int value;
const uchar *p;
int pass = 0;
size_t totl... | O3 | c | my_strnxfrm_win1250ch:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movq %rsi, -0x50(%rbp)
movl 0x10(%rbp), %eax
movl %eax, %edx
orl $0xf, %edx
testb $0xf, %al
cmovnel %eax, %edx
xorl %r10d, %r10d
testq %rbx, %rbx
je 0xd3884
movslq %r9d, %rdi
movl $0... | my_strnxfrm_win1250ch:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov rbx, rdx
mov [rbp+var_50], rsi
mov eax, [rbp+arg_0]
mov edx, eax
or edx, 0Fh
test al, 0Fh
cmovnz edx, eax
xor r10d, r10d
test rbx, rbx
jz loc_D3884
mo... | unsigned long long my_strnxfrm_win1250ch(
long long a1,
long long a2,
unsigned long long a3,
long long a4,
unsigned __int8 *a5,
int a6,
int a7)
{
int v8; // edx
long long v9; // r10
long long v10; // rdi
unsigned long long result; // rax
unsigned __int8... | my_strnxfrm_win1250ch:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV RBX,RDX
MOV qword ptr [RBP + -0x50],RSI
MOV EAX,dword ptr [RBP + 0x10]
MOV EDX,EAX
OR EDX,0xf
TEST AL,0xf
CMOVNZ EDX,EAX
XOR R10D,R10D
TEST RBX,RBX
JZ 0x001d3884
MOVSXD RDI,R9D
MOV EAX,0x1
SUB RAX,R8
MOV qword ptr ... |
ulong my_strnxfrm_win1250ch
(int8 param_1,long param_2,ulong param_3,int8 param_4,byte *param_5,
int param_6,uint param_7)
{
uint uVar1;
byte *pbVar2;
byte *pbVar3;
byte *pbVar4;
ulong uVar5;
char cVar6;
int1 *puVar7;
byte *pbVar8;
byte bVar9;
int iVar10;
long lVa... | |
10,399 | Item_param::set_param_float(unsigned char**, unsigned long) | eloqsql/sql/sql_prepare.cc | void Item_param::set_param_float(uchar **pos, ulong len)
{
float data;
#ifndef EMBEDDED_LIBRARY
if (len < 4)
return;
float4get(data,*pos);
#else
floatget(data, *pos);
#endif
set_double((double) data);
*pos+= 4;
} | O0 | cpp | Item_param::set_param_float(unsigned char**, unsigned long):
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x4, -0x18(%rbp)
jae 0xa14ff5
jmp 0xa15021
movq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%... | _ZN10Item_param15set_param_floatEPPhm:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov rax, [rbp+var_8]
mov [rbp+var_28], rax
cmp [rbp+var_18], 4
jnb short loc_A14FF5
jmp short loc_A15021
loc_A14FF5:
mov rdi, [rbp+var... | float ** Item_param::set_param_float(float **this, float **a2, unsigned long long a3)
{
float **result; // rax
result = this;
if ( a3 >= 4 )
{
Item_param::set_double((Item_param *)this, **a2);
result = a2;
++*a2;
}
return result;
}
| Dynamic_array:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
MOV RDI,qword ptr [RBP + -0x8]
MOV ESI,dword ptr [RBP + -0xc]
MOV EDX,dword ptr [RBP + -0x10]
MOV ECX,dword ptr [RBP + -0x14]
CALL 0x00a15c40
ADD... |
/* Dynamic_array<sp_variable*>::Dynamic_array(unsigned int, unsigned int, unsigned int) */
void __thiscall
Dynamic_array<sp_variable*>::Dynamic_array
(Dynamic_array<sp_variable*> *this,uint param_1,uint param_2,uint param_3)
{
init(this,param_1,param_2,param_3);
return;
}
|
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.