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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
6,200 | find_jump_target | bluesky950520[P]quickjs/quickjs.c | static int find_jump_target(JSFunctionDef *s, int label, int *pop)
{
int i, pos, op;
update_label(s, label, -1);
for (i = 0; i < 10; i++) {
assert(label >= 0 && label < s->label_count);
pos = s->label_slots[label].pos2;
for (;;) {
switch(op = s->byte_code.buf[pos]) {
... | O3 | c | find_jump_target:
pushq %rbx
movl %esi, %eax
movq 0x170(%rdi), %rcx
movslq %esi, %rsi
leaq (%rsi,%rsi,2), %rsi
decl (%rcx,%rsi,8)
movq 0x138(%rdi), %rdi
xorl %r8d, %r8d
leaq 0x2ed0f(%rip), %r9 # 0x9f9c0
movslq %eax, %rsi
leaq (%rsi,%rsi,2), %r10
movl 0x8(%rcx,%r10,8), %r11d
movslq %r11d, %rbx
movzbl (%rdi,%rbx), %... | find_jump_target:
push rbx
mov eax, esi
mov rcx, [rdi+170h]
movsxd rsi, esi
lea rsi, [rsi+rsi*2]
dec dword ptr [rcx+rsi*8]
mov rdi, [rdi+138h]
xor r8d, r8d
lea r9, opcode_info
loc_70CB1:
movsxd rsi, eax
lea r10, [rsi+rsi*2]
mov r11d, [rcx+r10*8+8]
loc_70CBD:
movsxd rbx, r11d
mo... | long long find_jump_target(long long a1, unsigned int a2, _DWORD *a3)
{
long long result; // rax
long long v4; // rcx
long long v5; // rdi
int v6; // r8d
long long v7; // rsi
int i; // r11d
long long v9; // r10
unsigned __int8 *v10; // rdi
int v11; // r8d
result = a2;
v4 = *(_QWORD *)(a1 + 368);... | find_jump_target:
PUSH RBX
MOV EAX,ESI
MOV RCX,qword ptr [RDI + 0x170]
MOVSXD RSI,ESI
LEA RSI,[RSI + RSI*0x2]
DEC dword ptr [RCX + RSI*0x8]
MOV RDI,qword ptr [RDI + 0x138]
XOR R8D,R8D
LEA R9,[0x19f9c0]
LAB_00170cb1:
MOVSXD RSI,EAX
LEA R10,[RSI + RSI*0x2]
MOV R11D,dword ptr [RCX + R10*0x8 + 0x8]
LAB_00170cbd:
MOVSXD RBX... |
void find_jump_target(long param_1,int param_2,uint *param_3)
{
int *piVar1;
byte bVar2;
long lVar3;
long lVar4;
long lVar5;
long lVar6;
char *pcVar7;
int iVar8;
uint uVar9;
int iVar10;
lVar3 = *(long *)(param_1 + 0x170);
piVar1 = (int *)(lVar3 + (long)param_2 * 0x18);
*piVar1 = *piVar1 +... | |
6,201 | ggml_tallocr_new | llama.cpp/ggml/src/ggml-alloc.c | struct ggml_tallocr ggml_tallocr_new(ggml_backend_buffer_t buffer) {
void * base = ggml_backend_buffer_get_base(buffer);
size_t align = ggml_backend_buffer_get_alignment(buffer);
assert(align && !(align & (align - 1))); // power of 2
struct ggml_tallocr talloc = (struct ggml_tallocr) {
/*.buff... | O3 | c | ggml_tallocr_new:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x17510
movq %rax, %r15
movq %r14, %rdi
callq 0x17740
movq %rax, %rcx
movq %r14, (%rbx)
movq %r15, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movq %r15, %rax
xorl %edx, %edx
divq %rcx
movq %rcx, %rax
subq %rdx, %rax
xorl %edx,... | ggml_tallocr_new:
push r15
push r14
push rbx
mov r14, rsi
mov rbx, rdi
mov rdi, rsi
call _ggml_backend_buffer_get_base
mov r15, rax
mov rdi, r14
call _ggml_backend_buffer_get_alignment
mov rcx, rax
mov [rbx], r14
mov [rbx+8], r15
mov [rbx+10h], rax
mov rax, r15
xor... | _QWORD * ggml_tallocr_new(_QWORD *a1, long long a2)
{
unsigned long long base; // r15
unsigned long long alignment; // rax
base = ggml_backend_buffer_get_base(a2);
alignment = ggml_backend_buffer_get_alignment(a2);
*a1 = a2;
a1[1] = base;
a1[2] = alignment;
a1[3] = (alignment - base % alignment) % alig... | ggml_tallocr_new:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
MOV RDI,RSI
CALL 0x00117510
MOV R15,RAX
MOV RDI,R14
CALL 0x00117740
MOV RCX,RAX
MOV qword ptr [RBX],R14
MOV qword ptr [RBX + 0x8],R15
MOV qword ptr [RBX + 0x10],RAX
MOV RAX,R15
XOR EDX,EDX
DIV RCX
MOV RAX,RCX
SUB RAX,RDX
XOR EDX,EDX
DIV RCX
MOV qword ... |
int8 * ggml_tallocr_new(int8 *param_1,int8 param_2)
{
ulong uVar1;
ulong uVar2;
uVar1 = ggml_backend_buffer_get_base(param_2);
uVar2 = ggml_backend_buffer_get_alignment(param_2);
*param_1 = param_2;
param_1[1] = uVar1;
param_1[2] = uVar2;
param_1[3] = (uVar2 - uVar1 % uVar2) % uVar2;
return param... | |
6,202 | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | monkey531[P]llama/common/json.hpp | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O0 | cpp | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA21_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA21_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | |||
6,203 | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | monkey531[P]llama/common/json.hpp | iterator find(KeyType && key) // NOLINT(cppcoreguidelines-missing-std-forward)
{
for (auto it = this->begin(); it != this->end(); ++it)
{
if (m_compare(it->first, key))
{
return it;
}
}
return Container::end();
} | O2 | cpp | _gnu_cxx::__normal_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned lo... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA21_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... | long long ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA21_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA21_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__gnu_cxx17__... |
string * _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE4findIRA21_KcTnNSt9enable_ifIXsr6detail21is_usable_as_key_typeISt8equal_toIvES7_T_EE5valueEiE4typeELi0EEEN9__g... | |
6,204 | my_strxfrm_desc_and_reverse | eloqsql/strings/ctype-simple.c | void
my_strxfrm_desc_and_reverse(uchar *str, uchar *strend,
uint flags, uint level)
{
if (flags & (MY_STRXFRM_DESC_LEVEL1 << level))
{
if (flags & (MY_STRXFRM_REVERSE_LEVEL1 << level))
{
for (strend--; str <= strend;)
{
uchar tmp= *str;
*str++= ~*stren... | O3 | c | my_strxfrm_desc_and_reverse:
pushq %rbp
movq %rsp, %rbp
movl %edx, %r8d
shrl %cl, %r8d
movl $0x10000, %eax # imm = 0x10000
shll %cl, %eax
btl $0x8, %r8d
jae 0x39ae0
testl %edx, %eax
je 0x39b13
decq %rsi
cmpq %rdi, %rsi
jb 0x39b22
incq %rdi
movb -0x1(%rdi), %al
movb (%rsi), %cl
notb %cl
movb %cl, -0x1(%rdi)
not... | my_strxfrm_desc_and_reverse:
push rbp
mov rbp, rsp
mov r8d, edx
shr r8d, cl
mov eax, 10000h
shl eax, cl
bt r8d, 8
jnb short loc_39AE0
test eax, edx
jz short loc_39B13
dec rsi
cmp rsi, rdi
jb short loc_39B22
inc rdi
loc_39AC1:
mov al, [rdi-1]
mov cl, [rsi]... | char my_strxfrm_desc_and_reverse(_BYTE *a1, _BYTE *a2, unsigned int a3, char a4)
{
int v4; // eax
_BYTE *v5; // rsi
_BYTE *v6; // rdi
char v7; // al
_BYTE *v9; // rsi
_BYTE *v10; // rdi
char v11; // al
v4 = 0x10000 << a4;
if ( ((a3 >> a4) & 0x100) != 0 )
{
if ( (a3 & v4) != 0 )
{
v5 ... | my_strxfrm_desc_and_reverse:
PUSH RBP
MOV RBP,RSP
MOV R8D,EDX
SHR R8D,CL
MOV EAX,0x10000
SHL EAX,CL
BT R8D,0x8
JNC 0x00139ae0
TEST EAX,EDX
JZ 0x00139b13
DEC RSI
CMP RSI,RDI
JC 0x00139b22
INC RDI
LAB_00139ac1:
MOV AL,byte ptr [RDI + -0x1]
MOV CL,byte ptr [RSI]
NOT CL
MOV byte ptr [RDI + -0x1],CL
NOT AL
MOV byte ptr [RSI... |
void my_strxfrm_desc_and_reverse(byte *param_1,byte *param_2,uint param_3,byte param_4)
{
byte bVar1;
uint uVar2;
byte *pbVar3;
bool bVar4;
uVar2 = 0x10000 << (param_4 & 0x1f);
if (((param_3 >> (param_4 & 0x1f)) >> 8 & 1) == 0) {
param_2 = param_2 + -1;
if (param_1 < param_2 && (uVar2 & param_3... | |
6,205 | ggml_threadpool_params_from_cpu_params(cpu_params const&) | monkey531[P]llama/common/common.cpp | struct ggml_threadpool_params ggml_threadpool_params_from_cpu_params(const cpu_params & params) {
struct ggml_threadpool_params tpp;
ggml_threadpool_params_init(&tpp, params.n_threads); // setup the defaults
if (params.mask_valid) {
std::memcpy(&tpp.cpumask, ¶ms.cpumask, GGML_MAX_N_THREADS);
... | O1 | cpp | ggml_threadpool_params_from_cpu_params(cpu_params const&):
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %esi
callq 0x1b810
cmpb $0x1, 0x204(%r14)
jne 0x79bb8
leaq 0x4(%r14), %rsi
movl $0x200, %edx # imm = 0x200
movq %rbx, %rdi
callq 0x1b770
movl 0x208(%r14), %eax
movl %eax, 0... | _Z38ggml_threadpool_params_from_cpu_paramsRK10cpu_params:
push r14
push rbx
push rax
mov r14, rsi
mov rbx, rdi
mov esi, [rsi]
call _ggml_threadpool_params_init
cmp byte ptr [r14+204h], 1
jnz short loc_79BB8
lea rsi, [r14+4]
mov edx, 200h
mov rdi, rbx
call _memcpy
loc_79BB8... | long long ggml_threadpool_params_from_cpu_params(long long a1, unsigned int *a2)
{
ggml_threadpool_params_init(a1, *a2);
if ( *((_BYTE *)a2 + 516) == 1 )
memcpy(a1, a2 + 1, 512LL);
*(_DWORD *)(a1 + 516) = a2[130];
*(_DWORD *)(a1 + 520) = a2[132];
*(_BYTE *)(a1 + 524) = *((_BYTE *)a2 + 524);
return a1;
... | ggml_threadpool_params_from_cpu_params:
PUSH R14
PUSH RBX
PUSH RAX
MOV R14,RSI
MOV RBX,RDI
MOV ESI,dword ptr [RSI]
CALL 0x0011b810
CMP byte ptr [R14 + 0x204],0x1
JNZ 0x00179bb8
LEA RSI,[R14 + 0x4]
MOV EDX,0x200
MOV RDI,RBX
CALL 0x0011b770
LAB_00179bb8:
MOV EAX,dword ptr [R14 + 0x208]
MOV dword ptr [RBX + 0x204],EAX
MOV... |
/* ggml_threadpool_params_from_cpu_params(cpu_params const&) */
cpu_params * ggml_threadpool_params_from_cpu_params(cpu_params *param_1)
{
int4 *in_RSI;
ggml_threadpool_params_init(param_1,*in_RSI);
if (*(char *)(in_RSI + 0x81) == '\x01') {
memcpy(param_1,in_RSI + 1,0x200);
}
*(int4 *)(param_1 + 0x2... | |
6,206 | test_bulk_insert_returning | eloqsql/tests/mysql_client_test.c | static void test_bulk_insert_returning()
{
int rc;
MYSQL_STMT *stmt;
MYSQL_BIND bind[2], res_bind[2];
MYSQL_ROW row;
MYSQL_RES *result;
int i,
id[]= {1, 2, 3, 4},
val[]= {1, 1, 1, 1},
count= sizeof(id)/sizeof(id[0]);
unsigned long length[2];
my_bool i... | O3 | c | test_bulk_insert_returning:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp # imm = 0x208
movaps 0x5ab1c(%rip), %xmm0 # 0xde270
movaps %xmm0, -0x70(%rbp)
movaps 0x5ab01(%rip), %xmm0 # 0xde260
movaps %xmm0, -0x60(%rbp)
movl $0x4, -0x38(%rbp)
movq 0x396... | test_bulk_insert_returning:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 208h
movaps xmm0, cs:xmmword_DE270
movaps [rbp+var_70], xmm0
movaps xmm0, cs:xmmword_DE260
movaps [rbp+var_60], xmm0
mov [rbp+var_38], 4
mov rdi, cs:mysql
lea rsi, aDropTable... | long long test_bulk_insert_returning()
{
long long v0; // rbx
long long v1; // rdx
int v2; // r14d
long long v3; // rax
long long v4; // rbx
int i; // r15d
_QWORD *row; // rax
_QWORD *v7; // r14
long long result; // rax
_BYTE v9[16]; // [rsp+0h] [rbp-230h] BYREF
__int128 *v10; // [rsp+10h] [rbp-22... | test_bulk_insert_returning:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x208
MOVAPS XMM0,xmmword ptr [0x001de270]
MOVAPS xmmword ptr [RBP + -0x70],XMM0
MOVAPS XMM0,xmmword ptr [0x001de260]
MOVAPS xmmword ptr [RBP + -0x60],XMM0
MOV dword ptr [RBP + -0x38],0x4
MOV RDI,qword ptr [0x0051a4c8]... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void test_bulk_insert_returning(void)
{
char cVar1;
int iVar2;
int iVar3;
int8 uVar4;
long lVar5;
int8 *puVar6;
int1 local_238 [16];
int8 *local_228;
int4 local_1d8;
int4 *local_1b8;
int4 local_168;
int1 *loc... | |
6,207 | google::protobuf::OneofOptions::_InternalParse(char const*, google::protobuf::internal::ParseContext*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | const char* OneofOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated .google.protobuf.UninterpretedOption uninte... | O0 | cpp | google::protobuf::OneofOptions::_InternalParse(char const*, google::protobuf::internal::ParseContext*):
subq $0x78, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x40(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0xd41f0
xorb $-0x1, %al
testb $0x1, %al... | _ZN6google8protobuf12OneofOptions14_InternalParseEPKcPNS0_8internal12ParseContextE:
sub rsp, 78h
mov qword ptr [rsp+78h+var_28], rdi; int
mov [rsp+78h+var_30], rsi
mov [rsp+78h+var_38], rdx; int
mov rax, qword ptr [rsp+78h+var_28]
mov [rsp+78h+var_48], rax; int
loc_C3B8D:
mov rdi, [rsp+78h+v... | _InternalParse:
SUB RSP,0x78
MOV qword ptr [RSP + 0x50],RDI
MOV qword ptr [RSP + 0x48],RSI
MOV qword ptr [RSP + 0x40],RDX
MOV RAX,qword ptr [RSP + 0x50]
MOV qword ptr [RSP + 0x30],RAX
LAB_001c3b8d:
MOV RDI,qword ptr [RSP + 0x40]
LEA RSI,[RSP + 0x48]
CALL 0x001d41f0
XOR AL,0xff
TEST AL,0x1
JNZ 0x001c3ba7
JMP 0x001c3dba
... |
/* google::protobuf::OneofOptions::_InternalParse(char const*,
google::protobuf::internal::ParseContext*) */
char * __thiscall
google::protobuf::OneofOptions::_InternalParse
(OneofOptions *this,char *param_1,ParseContext *param_2)
{
ParseContext *this_00;
byte bVar1;
bool bVar2;
char *pcVar3;
... | ||
6,208 | google::protobuf::OneofOptions::_InternalParse(char const*, google::protobuf::internal::ParseContext*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | const char* OneofOptions::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated .google.protobuf.UninterpretedOption uninte... | O3 | cpp | google::protobuf::OneofOptions::_InternalParse(char const*, google::protobuf::internal::ParseContext*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movq %rsp, %rax
movq %rsi, (%rax)
movl 0x5c(%rdx), %edx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x594d4
testb... | _ZN6google8protobuf12OneofOptions14_InternalParseEPKcPNS0_8internal12ParseContextE:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdx
mov r14, rdi
mov rax, rsp
mov [rax], rsi
mov edx, [rdx+5Ch]; int
mov rdi, rbx; this
mov rsi, rax; char **
call ... | google::protobuf::internal * google::protobuf::OneofOptions::_InternalParse(
google::protobuf::OneofOptions *this,
google::protobuf::internal *a2,
google::protobuf::internal::ParseContext *a3)
{
google::protobuf::internal::ParseContext *v4; // r8
google::protobuf::internal::InternalMetadata ... | _InternalParse:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RDI
MOV RAX,RSP
MOV qword ptr [RAX],RSI
MOV EDX,dword ptr [RDX + 0x5c]
MOV RDI,RBX
MOV RSI,RAX
CALL 0x001594d4
TEST AL,AL
JNZ 0x00153679
LEA R15,[R14 + 0x8]
LEA R12,[R14 + 0x10]
ADD R14,0x28
MOV RBP,RSP
LAB_00153556:
MOV ... |
/* google::protobuf::OneofOptions::_InternalParse(char const*,
google::protobuf::internal::ParseContext*) */
byte * __thiscall
google::protobuf::OneofOptions::_InternalParse
(OneofOptions *this,char *param_1,ParseContext *param_2)
{
InternalMetadata *this_00;
byte bVar1;
byte bVar2;
char cVar3;
... | |
6,209 | google::protobuf::compiler::objectivec::(anonymous namespace)::PackageToPrefixesCollector::ConsumeLine(google::protobuf::stringpiece_internal::StringPiece const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc | bool PackageToPrefixesCollector::ConsumeLine(
const StringPiece& line, std::string* out_error) {
int offset = line.find('=');
if (offset == StringPiece::npos) {
*out_error = usage_ + " file line without equal sign: '" + StrCat(line) + "'.";
return false;
}
StringPiece package = line.substr(0, offset... | O3 | cpp | google::protobuf::compiler::objectivec::(anonymous namespace)::PackageToPrefixesCollector::ConsumeLine(google::protobuf::stringpiece_internal::StringPiece const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8... | _ZN6google8protobuf8compiler10objectivec12_GLOBAL__N_126PackageToPrefixesCollector11ConsumeLineERKNS0_20stringpiece_internal11StringPieceEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 88h
mov r15, rdx
mov r13, rsi
mov ... | bool google::protobuf::compiler::objectivec::`anonymous namespace'::PackageToPrefixesCollector::ConsumeLine(
long long a1,
google::protobuf::stringpiece_internal::StringPiece *a2,
long long a3)
{
long long v6; // rbx
long long v7; // r15
long long v8; // rdx
long long v9; // rbp
char ... | ConsumeLine:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x88
MOV R15,RDX
MOV R13,RSI
MOV R12,RDI
MOV RDI,RSI
MOV ESI,0x3d
XOR EDX,EDX
CALL 0x00208390
MOV RBX,RAX
MOVSXD RDX,EBX
LEA RAX,[0x2ed420]
MOV R14,qword ptr [RAX]
CMP RDX,R14
MOV qword ptr [RSP + 0x60],RDX
JZ 0x00152b52
SHL RBX,0x20
MOV RDI,R13... |
/* google::protobuf::compiler::objectivec::(anonymous
namespace)::PackageToPrefixesCollector::ConsumeLine(google::protobuf::stringpiece_internal::StringPiece
const&, std::__cxx11::string*) */
bool __thiscall
google::protobuf::compiler::objectivec::(anonymous_namespace)::PackageToPrefixesCollector::
ConsumeLine(... | |
6,210 | verify_merkle_proof | corpus-core[P]colibri-stateless/src/chains/eth/verifier/verify_receipt_proof.c | static bool verify_merkle_proof(verify_ctx_t* ctx, ssz_ob_t proof, bytes_t block_hash, bytes_t block_number, bytes_t raw, uint32_t tx_index, bytes32_t receipt_root, bytes32_t body_root) {
uint8_t leafes[4 * 32] = {0}; // 3 leafes, 32... | O0 | c | verify_merkle_proof:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movq 0x40(%rbp), %rax
movq 0x38(%rbp), %rax
leaq 0x28(%rbp), %rax
movq %rax, -0x138(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x130(%rbp)
movl %esi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movl %ecx, -0x28(%rbp)
movq %r8, -0x20(%rbp)
mo... | verify_merkle_proof_0:
push rbp
mov rbp, rsp
sub rsp, 150h
mov rax, [rbp+arg_30]
mov rax, [rbp+arg_28]
lea rax, [rbp+arg_18]
mov [rbp+var_138], rax
lea rax, [rbp+arg_0]
mov [rbp+var_130], rax
mov [rbp+var_18], esi
mov [rbp+var_10], rdx
mov [rbp+var_28], ecx
mov [rbp+va... | char verify_merkle_proof_0(
long long a1,
unsigned int a2,
long long a3,
unsigned int a4,
long long a5,
unsigned int a6,
unsigned int a7,
long long a8,
int a9,
long long a10,
long long a11,
_QWORD *a12,
long long a1... | verify_merkle_proof:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV RAX,qword ptr [RBP + 0x40]
MOV RAX,qword ptr [RBP + 0x38]
LEA RAX,[RBP + 0x28]
MOV qword ptr [RBP + -0x138],RAX
LEA RAX,[RBP + 0x10]
MOV qword ptr [RBP + -0x130],RAX
MOV dword ptr [RBP + -0x18],ESI
MOV qword ptr [RBP + -0x10],RDX
MOV dword ptr [RBP + -0x28],EC... |
int1
verify_merkle_proof(long param_1,uint param_2,void *param_3,uint param_4,void *param_5,uint param_6,
int4 param_7,int8 param_8,int8 param_9,int8 param_10,
int8 param_11,int8 *param_12,void *param_13)
{
int iVar1;
ulong uVar2;
int1 *puVar3;
int8 local_108;
int8 loca... | |
6,211 | PycDict::load(PycData*, PycModule*) | Pyarmor-Static-Unpack-1shot/pyc_sequence.cpp | void PycDict::load(PycData* stream, PycModule* mod)
{
PycRef<PycObject> key, val;
for (;;) {
key = LoadObject(stream, mod);
if (key == NULL)
break;
val = LoadObject(stream, mod);
m_values.emplace_back(std::make_tuple(key, val));
}
} | O3 | cpp | PycDict::load(PycData*, PycModule*):
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %r12
addq $0x10, %rdi
movq %rdi, -0x40(%rbp)
xorl %ebx, %ebx
leaq -0x38(%rbp), %r13
xorl %r14d, %r14d
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0... | _ZN7PycDict4loadEP7PycDataP9PycModule:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r15, rdx
mov r12, rsi
add rdi, 10h
mov [rbp+var_40], rdi
xor ebx, ebx
lea r13, [rbp+var_38]
xor r14d, r14d
loc_334CA:
mov rdi, r13; PycData... | PycData * PycDict::load(PycDict *this, PycData *a2, PycModule *a3)
{
_DWORD *v4; // r14
PycData *result; // rax
_DWORD *v6; // rbx
_DWORD *v7; // rdi
bool v8; // zf
_DWORD *v9; // rdi
char *v10; // [rsp+0h] [rbp-40h]
_DWORD *v11; // [rsp+8h] [rbp-38h] BYREF
_DWORD *v12; // [rsp+10h] [rbp-30h]
v10 =... | load:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R15,RDX
MOV R12,RSI
ADD RDI,0x10
MOV qword ptr [RBP + -0x40],RDI
XOR EBX,EBX
LEA R13,[RBP + -0x38]
XOR R14D,R14D
LAB_001334ca:
MOV RDI,R13
MOV RSI,R12
MOV RDX,R15
CALL 0x00132f4c
MOV RBX,qword ptr [RBP + -0x38]
TEST RBX,RBX
JZ 0x00... |
/* PycDict::load(PycData*, PycModule*) */
void PycDict::load(PycData *param_1,PycModule *param_2)
{
long *plVar1;
long *plVar2;
long *local_40;
long *local_38;
plVar2 = (long *)0x0;
while( true ) {
/* try { // try from 001334ca to 001334d7 has its CatchHandler @ 00133570 */
Loa... | |
6,212 | check_and_set_lsn | eloqsql/storage/maria/ma_pagecache.c | static void check_and_set_lsn(PAGECACHE *pagecache,
LSN lsn, PAGECACHE_BLOCK_LINK *block)
{
LSN old;
DBUG_ENTER("check_and_set_lsn");
/*
In recovery, we can _ma_unpin_all_pages() to put a LSN on page, though
page would be PAGECACHE_PLAIN_PAGE (transactionality temporarily dis... | O3 | c | check_and_set_lsn:
pushq %rbp
movq %rsp, %rbp
movq 0x30(%rdx), %rax
movzwl (%rax), %ecx
shlq $0x20, %rcx
movzbl 0x2(%rax), %r8d
shlq $0x30, %r8
orq %rcx, %r8
movl 0x3(%rax), %ecx
orq %r8, %rcx
cmpq %rsi, %rcx
jge 0x3d945
movq %rsi, %rcx
shrq $0x20, %rcx
movb %cl, (%rax)
movq %rsi, %rax
shrq $0x28, %rax
movq 0x30(%rdx),... | check_and_set_lsn:
push rbp
mov rbp, rsp
mov rax, [rdx+30h]
movzx ecx, word ptr [rax]
shl rcx, 20h
movzx r8d, byte ptr [rax+2]
shl r8, 30h
or r8, rcx
mov ecx, [rax+3]
or rcx, r8
cmp rcx, rsi
jge loc_3D945
mov rcx, rsi
shr rcx, 20h
mov [rax], cl
mov rax, rsi
s... | unsigned __int16 * check_and_set_lsn(long long a1, signed long long a2, long long a3)
{
unsigned __int16 *result; // rax
long long v4; // rsi
_QWORD *v5; // rcx
long long v6; // rsi
long long *v7; // rcx
long long v8; // rsi
result = *(unsigned __int16 **)(a3 + 48);
if ( (long long)(((unsigned long lon... | check_and_set_lsn:
PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [RDX + 0x30]
MOVZX ECX,word ptr [RAX]
SHL RCX,0x20
MOVZX R8D,byte ptr [RAX + 0x2]
SHL R8,0x30
OR R8,RCX
MOV ECX,dword ptr [RAX + 0x3]
OR RCX,R8
CMP RCX,RSI
JGE 0x0013d945
MOV RCX,RSI
SHR RCX,0x20
MOV byte ptr [RAX],CL
MOV RAX,RSI
SHR RAX,0x28
MOV RCX,qword ptr [... |
void check_and_set_lsn(long param_1,long param_2,long param_3)
{
long *plVar1;
ushort *puVar2;
int8 *puVar3;
long lVar4;
int8 uVar5;
puVar2 = *(ushort **)(param_3 + 0x30);
if ((long)((ulong)*(uint *)((long)puVar2 + 3) |
(ulong)(byte)puVar2[1] << 0x30 | (ulong)*puVar2 << 0x20) < param_2) {... | |
6,213 | eth_ssz_type_for_denep | corpus-core[P]colibri-stateless/src/chains/eth/ssz/beacon_denep.c | const ssz_def_t* eth_ssz_type_for_denep(eth_ssz_type_t type) {
switch (type) {
#ifdef PROOFER
case ETH_SSZ_SIGNED_BEACON_BLOCK_CONTAINER:
return &SIGNED_BEACON_BLOCK_CONTAINER;
case ETH_SSZ_BEACON_BLOCK_BODY_CONTAINER:
return &BEACON_BLOCK_BODY_CONTAINER;
case ETH_SSZ_BEACON_BLOCK_HEADER:
... | O0 | c | eth_ssz_type_for_denep:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x10(%rbp)
subl $0x1, %eax
je 0x16aac
jmp 0x16a98
movl -0x10(%rbp), %eax
subl $0x2, %eax
je 0x16ab9
jmp 0x16aa2
movl -0x10(%rbp), %eax
subl $0x3, %eax
je 0x16ac6
jmp 0x16ad3
leaq 0x575ad(%rip), %r... | eth_ssz_type_for_denep:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_C], edi
mov eax, [rbp+var_C]
mov [rbp+var_10], eax
sub eax, 1
jz short loc_16AAC
jmp short $+2
loc_16A98:
mov eax, [rbp+var_10]
sub eax, 2
jz short loc_16AB9
jmp short $+2
loc_16AA2:
mov eax,... | char ** eth_ssz_type_for_denep(int a1)
{
switch ( a1 )
{
case 1:
return &SIGNED_BEACON_BLOCK_CONTAINER;
case 2:
return &BEACON_BLOCK_BODY_CONTAINER;
case 3:
return &BEACON_BLOCKHEADER_CONTAINER;
}
return eth_ssz_verification_type(a1);
}
| eth_ssz_type_for_denep:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0xc],EDI
MOV EAX,dword ptr [RBP + -0xc]
MOV dword ptr [RBP + -0x10],EAX
SUB EAX,0x1
JZ 0x00116aac
JMP 0x00116a98
LAB_00116a98:
MOV EAX,dword ptr [RBP + -0x10]
SUB EAX,0x2
JZ 0x00116ab9
JMP 0x00116aa2
LAB_00116aa2:
MOV EAX,dword ptr [RBP + -... |
int1 * eth_ssz_type_for_denep(int param_1)
{
int1 *local_10;
if (param_1 == 1) {
local_10 = SIGNED_BEACON_BLOCK_CONTAINER;
}
else if (param_1 == 2) {
local_10 = BEACON_BLOCK_BODY_CONTAINER;
}
else if (param_1 == 3) {
local_10 = BEACON_BLOCKHEADER_CONTAINER;
}
else {
local_10 = (int1... | |
6,214 | eth_ssz_type_for_denep | corpus-core[P]colibri-stateless/src/chains/eth/ssz/beacon_denep.c | const ssz_def_t* eth_ssz_type_for_denep(eth_ssz_type_t type) {
switch (type) {
#ifdef PROOFER
case ETH_SSZ_SIGNED_BEACON_BLOCK_CONTAINER:
return &SIGNED_BEACON_BLOCK_CONTAINER;
case ETH_SSZ_BEACON_BLOCK_BODY_CONTAINER:
return &BEACON_BLOCK_BODY_CONTAINER;
case ETH_SSZ_BEACON_BLOCK_HEADER:
... | O1 | c | eth_ssz_type_for_denep:
leal -0x1(%rdi), %eax
cmpl $0x3, %eax
jae 0x1160d
movl %eax, %eax
leaq 0x2d74f(%rip), %rcx # 0x3ed54
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
retq
jmp 0x113d4
nop
| eth_ssz_type_for_denep:
lea eax, [rdi-1]
cmp eax, 3
jnb short loc_1160D
mov eax, eax
lea rcx, unk_3ED54
movsxd rax, dword ptr [rcx+rax*4]
add rax, rcx
retn
loc_1160D:
jmp eth_ssz_verification_type
| char ** eth_ssz_type_for_denep(int a1)
{
if ( (unsigned int)(a1 - 1) >= 3 )
return eth_ssz_verification_type(a1);
else
return (char **)((char *)dword_3ED54 + dword_3ED54[a1 - 1]);
}
| eth_ssz_type_for_denep:
LEA EAX,[RDI + -0x1]
CMP EAX,0x3
JNC 0x0011160d
MOV EAX,EAX
LEA RCX,[0x13ed54]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
RET
LAB_0011160d:
JMP 0x001113d4
|
int * eth_ssz_type_for_denep(int param_1)
{
int *puVar1;
if (param_1 - 1U < 3) {
return &DAT_0013ed54 + *(int *)(&DAT_0013ed54 + (ulong)(param_1 - 1U) * 4);
}
puVar1 = (int *)eth_ssz_verification_type();
return puVar1;
}
| |
6,215 | nglog::LogMessage::~LogMessage() | ng-log[P]ng-log/src/logging.cc | LogMessage::~LogMessage() noexcept(false) {
Flush();
bool fail = data_->severity_ == NGLOG_FATAL && exit_on_dfatal;
#ifdef NGLOG_THREAD_LOCAL_STORAGE
if (data_ == static_cast<void*>(&thread_msg_data)) {
data_->~LogMessageData();
thread_data_available = true;
} else {
delete allocated_;
}
#else /... | O2 | cpp | nglog::LogMessage::~LogMessage():
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
callq 0xaf78
movq (%r14), %rbx
movq 0x8(%r14), %rax
cmpl $0x3, 0x7698(%rax)
sete %bpl
andb 0x25699(%rip), %bpl # 0x305a4
testq %rbx, %rbx
je 0xaf1c
leaq 0x7538(%rbx), %rdi
callq 0x99ba
movl $0x76f0, %esi # imm = 0x76F0
movq... | _ZN5nglog10LogMessageD2Ev:
push rbp; Alternative name is 'nglog::LogMessage::~LogMessage()'
push r14
push rbx
mov r14, rdi
call _ZN5nglog10LogMessage5FlushEv; nglog::LogMessage::Flush(void)
mov rbx, [r14]
mov rax, [r14+8]
cmp dword ptr [rax+7698h], 3
setz bpl
and bpl, cs:_ZN5nglogL14e... | void nglog::LogMessage::~LogMessage(nglog::LogMessage *this)
{
long long v1; // rbx
char v2; // bp
nglog::tools *v3; // rdi
long long v4; // rax
nglog::LogMessage::Flush(this);
v1 = *(_QWORD *)this;
v2 = nglog::exit_on_dfatal & (*(_DWORD *)(*((_QWORD *)this + 1) + 30360LL) == 3);
if ( *(_QWORD *)this ... | ~LogMessage:
PUSH RBP
PUSH R14
PUSH RBX
MOV R14,RDI
CALL 0x0010af78
MOV RBX,qword ptr [R14]
MOV RAX,qword ptr [R14 + 0x8]
CMP dword ptr [RAX + 0x7698],0x3
SETZ BPL
AND BPL,byte ptr [0x001305a4]
TEST RBX,RBX
JZ 0x0010af1c
LEA RDI,[RBX + 0x7538]
CALL 0x001099ba
LAB_0010af1c:
MOV ESI,0x76f0
MOV RDI,RBX
CALL 0x00108aea
TES... |
/* nglog::LogMessage::~LogMessage() */
void __thiscall nglog::LogMessage::~LogMessage(LogMessage *this)
{
void *pvVar1;
int iVar2;
int8 uVar3;
byte bVar4;
Flush(this);
pvVar1 = *(void **)this;
bVar4 = *(int *)(*(long *)(this + 8) + 0x7698) == 3 & exit_on_dfatal;
if (pvVar1 != (void *)0x0) {
Lo... | |
6,216 | ma_bitmap_reset_cache | eloqsql/storage/maria/ma_bitmap.c | void _ma_bitmap_reset_cache(MARIA_SHARE *share)
{
MARIA_FILE_BITMAP *bitmap= &share->bitmap;
if (bitmap->map) /* If using bitmap */
{
/* Forget changes in current bitmap page */
bitmap->changed= 0;
/*
We can't read a page yet, as in some case we don't have an activ... | O3 | c | ma_bitmap_reset_cache:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xa18(%rdi), %rdi
testq %rdi, %rdi
je 0x3fa7c
movb $0x0, 0xa30(%rbx)
xorl %eax, %eax
subq 0xb48(%rbx), %rax
movq %rax, 0xa20(%rbx)
movl 0xb3c(%rbx), %eax
movl %eax, 0xb38(%rbx)
movl %eax, 0xa34(%rbx)
movl %eax, 0xa3c(%rbx)
movl... | _ma_bitmap_reset_cache:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+0A18h]
test rdi, rdi
jz short loc_3FA7C
mov byte ptr [rbx+0A30h], 0
xor eax, eax
sub rax, [rbx+0B48h]
mov [rbx+0A20h], rax
mov eax, [rbx+0B3Ch]
mov [rbx+0B38h], eax
mov [rb... | long long ma_bitmap_reset_cache(long long a1)
{
long long v2; // rdi
int v3; // eax
long long result; // rax
v2 = *(_QWORD *)(a1 + 2584);
if ( v2 )
{
*(_BYTE *)(a1 + 2608) = 0;
*(_QWORD *)(a1 + 2592) = -*(_QWORD *)(a1 + 2888);
v3 = *(_DWORD *)(a1 + 2876);
*(_DWORD *)(a1 + 2872) = v3;
*... | _ma_bitmap_reset_cache:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0xa18]
TEST RDI,RDI
JZ 0x0013fa7c
MOV byte ptr [RBX + 0xa30],0x0
XOR EAX,EAX
SUB RAX,qword ptr [RBX + 0xb48]
MOV qword ptr [RBX + 0xa20],RAX
MOV EAX,dword ptr [RBX + 0xb3c]
MOV dword ptr [RBX + 0xb38],EAX
MOV dword ptr [... |
void _ma_bitmap_reset_cache(long param_1)
{
int4 uVar1;
if (*(void **)(param_1 + 0xa18) != (void *)0x0) {
*(int1 *)(param_1 + 0xa30) = 0;
*(long *)(param_1 + 0xa20) = -*(long *)(param_1 + 0xb48);
uVar1 = *(int4 *)(param_1 + 0xb3c);
*(int4 *)(param_1 + 0xb38) = uVar1;
*(int4 *)(param_1 + 0xa... | |
6,217 | strappend | eloqsql/strings/strappend.c | void strappend(register char *s, size_t len, pchar fill)
{
register char *endpos;
endpos = s+len;
while (*s++);
s--;
while (s<endpos) *(s++) = fill;
*(endpos) = '\0';
} | O0 | c | strappend:
pushq %rbp
movq %rsp, %rbp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb %al, -0x11(%rbp)
movq -0x8(%rbp), %rax
addq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x8(%rbp)
cmpb $0x0, (%rax)
je 0x150ff3
jmp 0x150fdd
movq -0x8(%rbp... | strappend:
push rbp
mov rbp, rsp
mov al, dl
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_11], al
mov rax, [rbp+var_8]
add rax, [rbp+var_10]
mov [rbp+var_20], rax
loc_150FDD:
mov rax, [rbp+var_8]
mov rcx, rax
add rcx, 1
mov [rbp+var_8], rcx
cmp byte ptr [... | _BYTE * strappend(_BYTE *a1, long long a2, char a3)
{
_BYTE *v3; // rax
_BYTE *v4; // rax
_BYTE *result; // rax
_BYTE *v6; // [rsp+0h] [rbp-20h]
_BYTE *v7; // [rsp+18h] [rbp-8h]
_BYTE *i; // [rsp+18h] [rbp-8h]
v7 = a1;
v6 = &a1[a2];
do
v3 = v7++;
while ( *v3 );
for ( i = v7 - 1; i < v6; ++i )... | _ma_write_abort_block_record:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x8],RDI
MOV byte ptr [RBP + -0x9],0x0
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,0x80
MOV qword ptr [RBP + -0x18],RAX
MOV qword ptr [RBP + -0x30],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x38],RAX
... |
int1 _ma_write_abort_block_record(long *param_1)
{
long lVar1;
long *plVar2;
char cVar3;
int4 uVar4;
int8 uVar5;
int8 local_38;
int8 *local_30;
int8 *local_28;
long *local_20;
int1 local_11;
long *local_10;
local_11 = 0;
local_20 = param_1 + 0x10;
local_38 = 0;
lVar1 = *param_1;
loc... | |
6,218 | ma_check_index | eloqsql/storage/maria/ma_search.c | int _ma_check_index(MARIA_HA *info, int inx)
{
if (inx < 0 || ! maria_is_key_active(info->s->state.key_map, inx))
{
my_errno=HA_ERR_WRONG_INDEX;
return -1;
}
if (info->lastinx != inx) /* Index changed */
{
info->lastinx = inx;
info->last_key.keyinfo= info->s->keyinfo + inx;
inf... | O0 | c | ma_check_index:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jl 0x6907a
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x140(%rax), %rax
movl -0x14(%rbp), %ecx
movl $0x1, %edx
shlq %cl, %rdx
movq %rdx, %rcx
andq %rcx, %rax
cmpq $0x0, %rax
je 0x69072
mov... | _ma_check_index:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
cmp [rbp+var_14], 0
jl short loc_6907A
mov rax, [rbp+var_10]
mov rax, [rax]
mov rax, [rax+140h]
mov ecx, [rbp+var_14]
mov edx, 1
shl rdx, cl
mov rcx, rdx
and rax, r... | long long ma_check_index(long long a1, const char *a2)
{
unsigned int v3; // [rsp+Ch] [rbp-14h]
long long v4; // [rsp+10h] [rbp-10h]
v4 = a1;
v3 = (unsigned int)a2;
if ( (int)a2 >= 0 && ((1LL << (char)a2) & *(_QWORD *)(*(_QWORD *)a1 + 320LL)) != 0 )
{
if ( *(_DWORD *)(a1 + 1580) != (_DWORD)a2 )
{
... | _ma_check_index:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
CMP dword ptr [RBP + -0x14],0x0
JL 0x0016907a
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x140]
MOV ECX,dword ptr [RBP + -0x14]
MOV EDX,0x1
SHL RDX,CL
MOV RCX,RDX
AND ... |
/* WARNING: Removing unreachable block (ram,0x00169070) */
int _ma_check_index(long *param_1,int param_2)
{
int iVar1;
int4 *puVar2;
int *piVar3;
int local_c;
if ((param_2 < 0) || ((*(ulong *)(*param_1 + 0x140) & 1L << ((byte)param_2 & 0x3f)) == 0)) {
puVar2 = (int4 *)_my_thread_var();
*puVar2 =... | |
6,219 | uf_zerofill_skip_zero | eloqsql/storage/myisam/mi_packrec.c | static void uf_zerofill_skip_zero(MI_COLUMNDEF *rec, MI_BIT_BUFF *bit_buff,
uchar *to, uchar *end)
{
if (get_bit(bit_buff))
bzero((char*) to,(uint) (end-to));
else
{
end-=rec->space_length_bits;
decode_bytes(rec,bit_buff,to,end);
bzero((char*) end,rec->space_length_bits);
}
} | O0 | c | uf_zerofill_skip_zero:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0xbdbc7
movq -0x10(%rbp), %rax
movl (%rax), %eax
movq -0x10(%rbp), %rdx
movl 0x4(%rdx), %ecx
addl $-0x1, %ecx
movl ... | uf_zerofill_skip_zero_0:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov rax, [rbp+var_10]
cmp dword ptr [rax+4], 0
jz short loc_BDBC7
mov rax, [rbp+var_10]
mov eax, [rax]
mov rdx, [rbp+var_... | long long uf_zerofill_skip_zero_0(long long a1, int *a2, long long a3, long long a4)
{
int v4; // eax
int v5; // ecx
long long v8; // [rsp+0h] [rbp-20h]
if ( a2[1] )
{
v4 = *a2;
v5 = a2[1] - 1;
a2[1] = v5;
if ( ((1 << v5) & v4) == 0 )
goto LABEL_6;
return memset(a3, 0LL, (unsigned ... | uf_zerofill_skip_zero:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV RAX,qword ptr [RBP + -0x10]
CMP dword ptr [RAX + 0x4],0x0
JZ 0x001bdbc7
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV ... |
void uf_zerofill_skip_zero(long param_1,uint *param_2,void *param_3,long param_4)
{
uint uVar1;
void *__s;
if (param_2[1] == 0) {
fill_buffer(param_2);
param_2[1] = 0x1f;
uVar1 = *param_2 & 0x80000000;
}
else {
uVar1 = param_2[1];
param_2[1] = uVar1 - 1;
uVar1 = *param_2 & 1 << ((... | |
6,220 | mi_kpointer | eloqsql/storage/myisam/mi_search.c | void _mi_kpointer(register MI_INFO *info, register uchar *buff, my_off_t pos)
{
pos/=MI_MIN_KEY_BLOCK_LENGTH;
switch (info->s->base.key_reflength) {
#if SIZEOF_OFF_T > 4
case 7: mi_int7store(buff,pos); break;
case 6: mi_int6store(buff,pos); break;
case 5: mi_int5store(buff,pos); break;
#else
case 7: *buff++... | O3 | c | mi_kpointer:
movq (%rdi), %rax
movl 0x17c(%rax), %ecx
decl %ecx
cmpl $0x6, %ecx
ja 0x85a03
movq %rdx, %rax
shrq $0xa, %rax
leaq 0x5c351(%rip), %rdi # 0xe1c7c
movslq (%rdi,%rcx,4), %rcx
addq %rdi, %rcx
jmpq *%rcx
movb %al, 0x1(%rsi)
shrq $0x12, %rdx
jmp 0x859fd
movb %al, 0x4(%rsi)
movq %rdx, %rax
shrq $0x2a, %rax
mo... | _mi_kpointer:
mov rax, [rdi]
mov ecx, [rax+17Ch]
dec ecx; switch 7 cases
cmp ecx, 6
ja def_85932; jumptable 0000000000085932 default case
mov rax, rdx
shr rax, 0Ah
lea rdi, jpt_85932
movsxd rcx, ds:(jpt_85932 - 0E1C7Ch)[rdi+rcx*4]
add rcx, rdi
jmp rcx; switch jump
loc_85934:
mo... | unsigned long long mi_kpointer(long long a1, _BYTE *a2, unsigned long long a3)
{
unsigned long long result; // rax
unsigned long long v4; // rdx
result = a3 >> 10;
switch ( *(_DWORD *)(*(_QWORD *)a1 + 380LL) )
{
case 1:
goto LABEL_9;
case 2:
a2[1] = result;
v4 = a3 >> 18;
got... | _mi_kpointer:
MOV RAX,qword ptr [RDI]
MOV ECX,dword ptr [RAX + 0x17c]
DEC ECX
CMP ECX,0x6
JA 0x00185a03
MOV RAX,RDX
SHR RAX,0xa
LEA RDI,[0x1e1c7c]
MOVSXD RCX,dword ptr [RDI + RCX*0x4]
ADD RCX,RDI
switchD:
JMP RCX
caseD_2:
MOV byte ptr [RSI + 0x1],AL
SHR RDX,0x12
JMP 0x001859fd
caseD_5:
MOV byte ptr [RSI + 0x4],AL
MOV R... |
void _mi_kpointer(long *param_1,byte *param_2,ulong param_3)
{
byte bVar1;
bVar1 = (byte)(param_3 >> 10);
switch(*(int4 *)(*param_1 + 0x17c)) {
case 1:
break;
case 2:
param_2[1] = bVar1;
bVar1 = (byte)(param_3 >> 0x12);
break;
case 3:
param_2[2] = bVar1;
param_2[1] = (byte)(para... | |
6,221 | testing::internal::UnitTestImpl::PostFlagParsingInit() | AlayaLite/build_O0/_deps/googletest-src/googletest/src/gtest.cc | void UnitTestImpl::PostFlagParsingInit() {
// Ensures that this function does not execute more than once.
if (!post_flag_parse_init_performed_) {
post_flag_parse_init_performed_ = true;
#if defined(GTEST_CUSTOM_TEST_EVENT_LISTENER_)
// Register to send notifications about key process state changes.
lis... | O0 | cpp | testing::internal::UnitTestImpl::PostFlagParsingInit():
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
testb $0x1, 0x288(%rax)
jne 0x3d3c6
movq 0x18(%rsp), %rdi
movb $0x1, 0x288(%rdi)
callq 0x4e0f0
movq 0x18(%rsp), %rdi
callq 0x3cd90
movq 0x18(%rsp), %rdi
callq 0x29720
movq 0x18(%rsp... | _ZN7testing8internal12UnitTestImpl19PostFlagParsingInitEv:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov rax, [rsp+28h+var_8]
mov [rsp+28h+var_10], rax
test byte ptr [rax+288h], 1
jnz short loc_3D3C6
mov rdi, [rsp+28h+var_10]; this
mov byte ptr [rdi+288h], 1
call _ZN7testing8internal12Unit... | void testing::internal::UnitTestImpl::PostFlagParsingInit(testing::internal::UnitTestImpl *this, long long a2)
{
int v2; // edx
int v3; // ecx
int v4; // r8d
int v5; // r9d
testing::TestEventListeners *v6; // [rsp+8h] [rbp-20h]
testing::TestEventListener *v7; // [rsp+10h] [rbp-18h]
if ( (*((_BYTE *)this... | PostFlagParsingInit:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV RAX,qword ptr [RSP + 0x20]
MOV qword ptr [RSP + 0x18],RAX
TEST byte ptr [RAX + 0x288],0x1
JNZ 0x0013d3c6
MOV RDI,qword ptr [RSP + 0x18]
MOV byte ptr [RDI + 0x288],0x1
CALL 0x0014e0f0
MOV RDI,qword ptr [RSP + 0x18]
CALL 0x0013cd90
MOV RDI,qword ptr [RS... |
/* testing::internal::UnitTestImpl::PostFlagParsingInit() */
void __thiscall testing::internal::UnitTestImpl::PostFlagParsingInit(UnitTestImpl *this)
{
TestEventListeners *this_00;
BriefUnitTestResultPrinter *this_01;
if (((byte)this[0x288] & 1) == 0) {
this[0x288] = (UnitTestImpl)0x1;
InitDeathTest... | |
6,222 | mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::TorusAttribute>::SdfDefault() | aimrt_mujoco_sim/_deps/mujoco-src/plugin/sdf/sdf.h | SdfDefault() {
for (int i = 0; i < T::nattribute; i++) {
default_[T::names[i]] = T::defaults[i];
}
} | O0 | c | mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::TorusAttribute>::SdfDefault():
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq 0x70(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x214d0
movl $0x0, 0x6c(%rsp)
cmpl $0x2, 0x6c(%rsp)
jge 0x2acd6
movq 0x28(%rsp), %rax
movslq 0x6c(%rsp), %rcx
leaq 0xe8774(%rip), %rdx # 0x1133... | _ZN6mujoco6plugin3sdf10SdfDefaultINS1_14TorusAttributeEEC2Ev:
sub rsp, 78h
mov [rsp+78h+var_8], rdi
mov rdi, [rsp+78h+var_8]
mov [rsp+78h+var_50], rdi
call _ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEdSt4lessIS5_ESaISt4pairIKS5_dEEEC2Ev; std::map<std::string,double>::map(void)
mov ... | long long mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::TorusAttribute>::SdfDefault(long long a1)
{
long long result; // rax
char *v8; // [rsp+18h] [rbp-60h]
char v9; // [rsp+47h] [rbp-31h] BYREF
_BYTE v10[36]; // [rsp+48h] [rbp-30h] BYREF
int i; // [rsp+6Ch] [rbp-Ch]
long long v12; // [rsp+70h] [rb... | SdfDefault:
SUB RSP,0x78
MOV qword ptr [RSP + 0x70],RDI
MOV RDI,qword ptr [RSP + 0x70]
MOV qword ptr [RSP + 0x28],RDI
CALL 0x001214d0
MOV dword ptr [RSP + 0x6c],0x0
LAB_0012abf0:
CMP dword ptr [RSP + 0x6c],0x2
JGE 0x0012acd6
MOV RAX,qword ptr [RSP + 0x28]
MOVSXD RCX,dword ptr [RSP + 0x6c]
LEA RDX,[0x213380]
VMOVSD XMM0... |
/* mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::TorusAttribute>::SdfDefault() */
void __thiscall
mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::TorusAttribute>::SdfDefault
(SdfDefault<mujoco::plugin::sdf::TorusAttribute> *this)
{
int8 uVar1;
char *pcVar2;
int8 *puVar3;
allocator local... | |
6,223 | mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::TorusAttribute>::SdfDefault() | aimrt_mujoco_sim/_deps/mujoco-src/plugin/sdf/sdf.h | SdfDefault() {
for (int i = 0; i < T::nattribute; i++) {
default_[T::names[i]] = T::defaults[i];
}
} | O3 | c | mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::TorusAttribute>::SdfDefault():
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
movl $0x0, 0x8(%rdi)
xorl %ecx, %ecx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
leaq 0x10(%rsp), %r15
mo... | _ZN6mujoco6plugin3sdf10SdfDefaultINS1_12NutAttributeEEC2Ev:
push r15
push r14
push rbx
sub rsp, 20h
mov rbx, rdi
lea rax, [rdi+8]
mov dword ptr [rdi+8], 0
xor ecx, ecx
mov [rdi+10h], rcx
mov [rdi+18h], rax
mov [rdi+20h], rax
mov [rdi+28h], rcx
lea r15, [rsp+38h+var_28]
m... | void mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::NutAttribute>::SdfDefault(long long a1)
{
void *v1[2]; // [rsp+0h] [rbp-38h] BYREF
_QWORD v2[5]; // [rsp+10h] [rbp-28h] BYREF
*(_DWORD *)(a1 + 8) = 0;
*(_QWORD *)(a1 + 16) = 0LL;
*(_QWORD *)(a1 + 24) = a1 + 8;
*(_QWORD *)(a1 + 32) = a1 + 8;
*(_QW... | SdfDefault:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x20
MOV RBX,RDI
LEA RAX,[RDI + 0x8]
MOV dword ptr [RDI + 0x8],0x0
XOR ECX,ECX
MOV qword ptr [RDI + 0x10],RCX
MOV qword ptr [RDI + 0x18],RAX
MOV qword ptr [RDI + 0x20],RAX
MOV qword ptr [RDI + 0x28],RCX
LEA R15,[RSP + 0x10]
MOV qword ptr [R15 + -0x10],R15
LAB_0010ea64:
LEA... |
/* mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::NutAttribute>::SdfDefault() */
void __thiscall
mujoco::plugin::sdf::SdfDefault<mujoco::plugin::sdf::NutAttribute>::SdfDefault
(SdfDefault<mujoco::plugin::sdf::NutAttribute> *this)
{
int8 *puVar1;
long *local_38 [2];
long local_28 [2];
*(int... | |
6,224 | parse_json_tool_calls(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::optional<std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char>>> const&, std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char>> const&, std::__cxx11::basic_regex<char, std::__cxx11::re... | monkey531[P]llama/common/chat.cpp | static common_chat_msg parse_json_tool_calls(
const std::string& input,
const std::optional<std::regex> & trigger_opt,
const std::regex & function_regex,
const std::regex & close_regex) {
std::smatch match;
common_chat_msg result;
result.role = "assistant";
auto end = input.end();
... | O2 | cpp | parse_json_tool_calls(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::optional<std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char>>> const&, std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char>> const&, std::__cxx11::basic_regex<char, std::__cxx11::re... | _ZL21parse_json_tool_callsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt8optionalINS_11basic_regexIcNS_12regex_traitsIcEEEEERKSB_SG_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 188h
mov [rsp+1B8h+var_160], r8
mov [rsp+1B8h+var_158], rcx
mov r15, rdx
mov ... | common_chat_msg * parse_json_tool_calls(common_chat_msg *a1, long long a2, long long a3, long long a4, long long a5)
{
common_chat_msg *v6; // r12
int v7; // r9d
_BYTE *v8; // rbx
long long v9; // rbp
long long *v10; // rsi
_BYTE **v11; // rcx
char *v12; // r12
char *v13; // r14
char v14; // r12
lon... | parse_json_tool_calls:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x188
MOV qword ptr [RSP + 0x58],R8
MOV qword ptr [RSP + 0x60],RCX
MOV R15,RDX
MOV R14,RSI
MOV R12,RDI
XORPS XMM0,XMM0
MOVAPS xmmword ptr [RSP + 0x30],XMM0
MOVAPS xmmword ptr [RSP + 0x20],XMM0
LAB_001c2830:
CALL 0x001c47e0
LAB_001c2835... |
/* parse_json_tool_calls(std::__cxx11::string const&, std::optional<std::__cxx11::basic_regex<char,
std::__cxx11::regex_traits<char> > > const&, std::__cxx11::basic_regex<char,
std::__cxx11::regex_traits<char> > const&, std::__cxx11::basic_regex<char,
std::__cxx11::regex_traits<char> > const&) */
string * pa... | |
6,225 | bool reaction::ObserverBase<reaction::ObserverDataNode>::updateObservers<reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger, reaction::DirectFailureStrategy, Person>>&, reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger, reaction::DirectFailureStrategy, Person>>&>(bool&, std::function<vo... | reaction/include/reaction/observerNode.h | bool updateObservers(bool &repeat, std::function<void(bool)> &&f, auto &&...args) {
auto shared_this = getShared();
ObserverGraph::getInstance().resetNode(shared_this);
if (!(ObserverGraph::getInstance().addObserver(repeat, f, shared_this, args.getShared()) && ...)) {
ObserverGraph::... | O3 | c | bool reaction::ObserverBase<reaction::ObserverDataNode>::updateObservers<reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger, reaction::DirectFailureStrategy, Person>>&, reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger, reaction::DirectFailureStrategy, Person>>&>(bool&, std::function<vo... | _ZN8reaction12ObserverBaseINS_16ObserverDataNodeEE15updateObserversIJRNS_11DataWeakRefINS_10DataSourceINS_13AlwaysTriggerENS_21DirectFailureStrategyE6PersonJEEEEESB_EEEbRbOSt8functionIFvbEEDpOT_:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 70h
mov r15, r8
mov r12, rcx
mov rbx, r... | long long reaction::ObserverBase<reaction::ObserverDataNode>::updateObservers<reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger,reaction::DirectFailureStrategy,Person>> &,reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger,reaction::DirectFailureStrategy,Person>> &>(
_QWORD *a1,... | updateObservers<reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger,reaction::DirectFailureStrategy,Person>>&,reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger,reaction::DirectFailureStrategy,Person>>&>:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x70
MOV R15,R8
MOV R12,RCX
MOV... |
/* bool
reaction::ObserverBase<reaction::ObserverDataNode>::updateObservers<reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger,
reaction::DirectFailureStrategy, Person> >&,
reaction::DataWeakRef<reaction::DataSource<reaction::AlwaysTrigger,
reaction::DirectFailureStrategy, Person> >&>(bool... | |
6,226 | common_chat_params_init_functionary_v3_1_llama_3_1(minja::chat_template const&, common_chat_inputs const&) | monkey531[P]llama/common/chat.cpp | static common_chat_params common_chat_params_init_functionary_v3_1_llama_3_1(const common_chat_template & tmpl, const struct common_chat_inputs & inputs) {
// https://github.com/MeetKai/functionary/blob/main/tests/prompt_test_v3-llama3.1.txt
common_chat_params data;
json tools = inputs.tools.is_null() ? inp... | O3 | cpp | common_chat_params_init_functionary_v3_1_llama_3_1(minja::chat_template const&, common_chat_inputs const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl $0x0, (%rdi)
xorl %eax, %eax
movb %al, 0x8(%rdi)
movq %rax, 0x10(%rdi)
leaq ... | _ZL50common_chat_params_init_functionary_v3_1_llama_3_1RKN5minja13chat_templateERK18common_chat_inputs:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0A8h
mov r14, rdx
mov r15, rsi
mov rbx, rdi
mov dword ptr [rdi], 0
xor eax, eax
mov [rdi+8], al
mov [rd... | long long common_chat_params_init_functionary_v3_1_llama_3_1(
const minja::chat_template *a1,
const common_chat_inputs *a2,
long long a3)
{
unsigned __int8 *v4; // r12
_QWORD *v5; // rax
int v6; // r8d
int v7; // r9d
int v8; // eax
int v9; // r8d
char v10; // al
long long v11; /... | common_chat_params_init_functionary_v3_1_llama_3_1:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xa8
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
MOV dword ptr [RDI],0x0
XOR EAX,EAX
MOV byte ptr [RDI + 0x8],AL
MOV qword ptr [RDI + 0x10],RAX
LEA RCX,[RDI + 0x28]
MOV qword ptr [RDI + 0x18],RCX
MOV qword ptr [RDI... |
/* common_chat_params_init_functionary_v3_1_llama_3_1(minja::chat_template const&,
common_chat_inputs const&) */
void common_chat_params_init_functionary_v3_1_llama_3_1
(chat_template *param_1,common_chat_inputs *param_2)
{
basic_json *pbVar1;
basic_json bVar2;
int8 uVar3;
chat_template cVa... | |
6,227 | ftxui::Container::Stacked(std::vector<std::shared_ptr<ftxui::ComponentBase>, std::allocator<std::shared_ptr<ftxui::ComponentBase>>>) | Andrewchistyakov[P]flashcards_lyc/build_O1/_deps/ftxui-src/src/ftxui/component/container.cpp | Component Stacked(Components children) {
return std::make_shared<StackedContainer>(std::move(children));
} | O1 | cpp | ftxui::Container::Stacked(std::vector<std::shared_ptr<ftxui::ComponentBase>, std::allocator<std::shared_ptr<ftxui::ComponentBase>>>):
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rcx
movq %rdi, %rbx
xorl %r15d, %r15d
leaq 0x18(%rsp), %rdi
movq %r15, -0x8(%rdi)
leaq 0x10(%rsp), %r14
leaq 0xf(%rsp), %rdx... | _ZN5ftxui9Container7StackedESt6vectorISt10shared_ptrINS_13ComponentBaseEESaIS4_EE:
push r15
push r14
push rbx
sub rsp, 20h
mov rcx, rsi
mov rbx, rdi
xor r15d, r15d
lea rdi, [rsp+38h+var_20]
mov [rdi-8], r15
lea r14, [rsp+38h+var_28]
lea rdx, [rsp+38h+var_29]
mov rsi, r14
cal... | _QWORD * ftxui::Container::Stacked(_QWORD *a1, long long a2)
{
char v3; // [rsp+Fh] [rbp-29h] BYREF
long long v4; // [rsp+10h] [rbp-28h] BYREF
_QWORD v5[4]; // [rsp+18h] [rbp-20h] BYREF
v4 = 0LL;
std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<ftxui::StackedContainer,std::allocator<ftxui::Sta... | Stacked:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x20
MOV RCX,RSI
MOV RBX,RDI
XOR R15D,R15D
LEA RDI,[RSP + 0x18]
MOV qword ptr [RDI + -0x8],R15
LEA R14,[RSP + 0x10]
LEA RDX,[RSP + 0xf]
MOV RSI,R14
CALL 0x001291c2
MOV RAX,qword ptr [R14]
MOV qword ptr [RBX],RAX
MOV qword ptr [RBX + 0x8],R15
MOV RAX,qword ptr [R14 + 0x8]
MOV ... |
/* ftxui::Container::Stacked(std::vector<std::shared_ptr<ftxui::ComponentBase>,
std::allocator<std::shared_ptr<ftxui::ComponentBase> > >) */
Container * __thiscall ftxui::Container::Stacked(Container *this,int8 param_2)
{
int1 local_29;
int8 local_28;
int8 local_20;
local_28 = 0;
std::__shared_count<... | |
6,228 | iterator_to_array | bluesky950520[P]quickjs/quickjs.c | static JSValue iterator_to_array(JSContext *ctx, JSValue items)
{
JSValue iter, next_method = JS_UNDEFINED;
JSValue v, r = JS_UNDEFINED;
int64_t k;
BOOL done;
iter = JS_GetIterator(ctx, items, FALSE);
if (JS_IsException(iter))
goto exception;
next_method = JS_GetProperty(ctx, iter, ... | O0 | c | iterator_to_array:
subq $0xc8, %rsp
movq %rsi, 0xa8(%rsp)
movq %rdx, 0xb0(%rsp)
movq %rdi, 0xa0(%rsp)
movq 0x4ae6a(%rip), %rax # 0x113b80
movq %rax, 0x80(%rsp)
movq 0x4ae63(%rip), %rax # 0x113b88
movq %rax, 0x88(%rsp)
movq 0x4ae4c(%rip), %rax # 0x113b80
movq %rax, 0xb8(%rsp)
movq 0x4ae45(%rip), %rax # 0... | iterator_to_array:
sub rsp, 0C8h
mov [rsp+0C8h+var_20], rsi
mov [rsp+0C8h+var_18], rdx
mov [rsp+0C8h+var_28], rdi
mov rax, cs:qword_113B80
mov [rsp+0C8h+var_48], rax
mov rax, cs:qword_113B88
mov [rsp+0C8h+var_40], rax
mov rax, cs:qword_113B80
mov [rsp+0C8h+var_10], rax
mov ra... | long long iterator_to_array(
long long a1,
long long a2,
long long a3,
__m128 a4,
__m128 a5,
__m128 a6,
__m128 a7,
double a8,
double a9,
__m128 a10,
__m128 a11)
{
long long v11; // rdx
long long v12; // rdx
long long v13; // ... | iterator_to_array:
SUB RSP,0xc8
MOV qword ptr [RSP + 0xa8],RSI
MOV qword ptr [RSP + 0xb0],RDX
MOV qword ptr [RSP + 0xa0],RDI
MOV RAX,qword ptr [0x00213b80]
MOV qword ptr [RSP + 0x80],RAX
MOV RAX,qword ptr [0x00213b88]
MOV qword ptr [RSP + 0x88],RAX
MOV RAX,qword ptr [0x00213b80]
MOV qword ptr [RSP + 0xb8],RAX
MOV RAX,q... |
int1 [16] iterator_to_array(int8 param_1,int8 param_2,int8 param_3)
{
int iVar1;
int1 auVar2 [16];
int4 uVar3;
uint uStack_b4;
int local_64;
long local_60;
int1 local_58 [16];
int1 local_48 [16];
int1 local_38 [16];
int8 local_28;
int8 local_20;
int8 local_18;
int1 local_10 [16];
local... | |
6,229 | minja::Context::at(minja::Value const&) | llama.cpp/common/minja/minja.hpp | virtual Value & at(const Value & key) {
if (values_.contains(key)) return values_.at(key);
if (parent_) return parent_->at(key);
throw std::runtime_error("Undefined variable: " + key.dump());
} | O3 | cpp | minja::Context::at(minja::Value const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rdi), %r15
movq %r15, %rdi
callq 0x7737a
testb %al, %al
je 0x7723d
movq %r15, %rdi
movq %r14, %rsi
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x775c6
movq 0x... | _ZN5minja7Context2atERKNS_5ValueE:
push rbp
push r15
push r14
push rbx
sub rsp, 48h
mov r14, rsi
mov rbx, rdi
lea r15, [rdi+18h]
mov rdi, r15; this
call _ZNK5minja5Value8containsERKS0_; minja::Value::contains(minja::Value const&)
test al, al
jz short loc_7723D
mov rdi, r15... | long long minja::Context::at(minja::Context *this, const minja::Value *a2)
{
long long v3; // rdi
void *exception; // rbx
_BYTE v5[16]; // [rsp+8h] [rbp-60h] BYREF
_QWORD v6[2]; // [rsp+28h] [rbp-40h] BYREF
if ( (unsigned __int8)minja::Value::contains((minja::Context *)((char *)this + 24), a2) )
return ... | at:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x48
MOV R14,RSI
MOV RBX,RDI
LEA R15,[RDI + 0x18]
MOV RDI,R15
CALL 0x0017737a
TEST AL,AL
JZ 0x0017723d
MOV RDI,R15
MOV RSI,R14
ADD RSP,0x48
POP RBX
POP R14
POP R15
POP RBP
JMP 0x001775c6
LAB_0017723d:
MOV RDI,qword ptr [RBX + 0x68]
TEST RDI,RDI
JZ 0x0017725c
MOV RAX,qword... |
/* minja::Context::at(minja::Value const&) */
void __thiscall minja::Context::at(Context *this,Value *param_1)
{
long *plVar1;
char cVar2;
runtime_error *this_00;
int1 local_60 [32];
string local_40 [32];
cVar2 = Value::contains((Value *)(this + 0x18),param_1);
if (cVar2 != '\0') {
Value::at((Va... | |
6,230 | resolve_hostname | navaro[P]qoraal-tictactoe/build_O3/_deps/qoraal_http-src/src/qshell/httpcmds.c | int resolve_hostname(const char *hostname, uint32_t *ip) {
struct addrinfo hints, *res = NULL;
memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_INET; // IPv4 only
hints.ai_socktype = SOCK_STREAM; // TCP connection
if (getaddrinfo(hostname, NULL, &hints, &res) != 0) {
return HTT... | O3 | c | resolve_hostname:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
leaq -0x10(%rbp), %rcx
movq $0x0, (%rcx)
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, 0x20(%rdx)
movabsq $0x100000002, %rax # imm = 0x100000002
movq %rax, 0x4(%rdx)
xorl... | resolve_hostname:
push rbp
mov rbp, rsp
push rbx
sub rsp, 38h
mov rbx, rsi
lea rcx, [rbp+var_10]
mov qword ptr [rcx], 0
xorps xmm0, xmm0
lea rdx, [rbp+var_40]
movaps xmmword ptr [rdx], xmm0
movaps xmmword ptr [rdx+10h], xmm0
movaps xmmword ptr [rdx+20h], xmm0
mov rax, 100000002h
m... | long long resolve_hostname(long long a1, _DWORD *a2)
{
int v2; // ecx
long long result; // rax
_DWORD v4[12]; // [rsp+0h] [rbp-40h] BYREF
long long v5; // [rsp+30h] [rbp-10h] BYREF
v5 = 0LL;
memset(v4, 0, sizeof(v4));
*(_QWORD *)&v4[1] = 0x100000002LL;
v2 = ((long long ( *)(long long, _QWORD, _DWORD *... | resolve_hostname:
PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x38
MOV RBX,RSI
LEA RCX,[RBP + -0x10]
MOV qword ptr [RCX],0x0
XORPS XMM0,XMM0
LEA RDX,[RBP + -0x40]
MOVAPS xmmword ptr [RDX],XMM0
MOVAPS xmmword ptr [RDX + 0x10],XMM0
MOVAPS xmmword ptr [RDX + 0x20],XMM0
MOV RAX,0x100000002
MOV qword ptr [RDX + 0x4],RAX
XOR ESI,E... |
int8 resolve_hostname(char *param_1,int4 *param_2)
{
int iVar1;
int8 uVar2;
addrinfo local_48;
addrinfo *local_18;
local_18 = (addrinfo *)0x0;
local_48.ai_flags = 0;
local_48.ai_protocol = 0;
local_48.ai_addrlen = 0;
local_48._20_4_ = 0;
local_48.ai_addr = (sockaddr *)0x0;
local_48.ai_canonna... | |
6,231 | inline_mysql_file_close | eloqsql/include/mysql/psi/mysql_file.h | static inline int
inline_mysql_file_close(
#ifdef HAVE_PSI_FILE_INTERFACE
const char *src_file, uint src_line,
#endif
File file, myf flags)
{
int result;
#ifdef HAVE_PSI_FILE_INTERFACE
struct PSI_file_locker *locker;
PSI_file_locker_state state;
locker= PSI_FILE_CALL(get_thread_file_descriptor_locker)(&stat... | O0 | c | inline_mysql_file_close:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
leaq 0x20e088(%rip), %rax # 0x2bf098
movq (%rax), %rax
movq 0x158(%rax), %rax
movl -0x18(%rbp), %esi
leaq -0x78(%rbp), %rdi
movl $0x4, %edx
callq *%rax
movq... | inline_mysql_file_close_5:
push rbp
mov rbp, rsp
sub rsp, 80h
mov [rbp+var_10], rdi
mov [rbp+var_14], esi
mov [rbp+var_18], edx
mov [rbp+var_20], rcx
lea rax, PSI_server
mov rax, [rax]
mov rax, [rax+158h]
mov esi, [rbp+var_18]
lea rdi, [rbp+var_78]
mov edx, 4
call r... | long long inline_mysql_file_close_5(long long a1, unsigned int a2, unsigned int a3, long long a4)
{
_BYTE v5[72]; // [rsp+8h] [rbp-78h] BYREF
long long v6; // [rsp+50h] [rbp-30h]
unsigned int v7; // [rsp+5Ch] [rbp-24h]
long long v8; // [rsp+60h] [rbp-20h]
unsigned int v9; // [rsp+68h] [rbp-18h]
unsigned in... | inline_mysql_file_close:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV qword ptr [RBP + -0x10],RDI
MOV dword ptr [RBP + -0x14],ESI
MOV dword ptr [RBP + -0x18],EDX
MOV qword ptr [RBP + -0x20],RCX
LEA RAX,[0x3bf098]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x158]
MOV ESI,dword ptr [RBP + -0x18]
LEA RDI,[RBP + -0x78]
MOV ... |
int4
inline_mysql_file_close(int8 param_1,int4 param_2,int4 param_3,int8 param_4)
{
int1 local_80 [72];
long local_38;
int4 local_2c;
int8 local_28;
int4 local_20;
int4 local_1c;
int8 local_18;
int4 local_c;
local_28 = param_4;
local_20 = param_3;
local_1c = param_2;
local_18 = param_1;
l... | |
6,232 | unpack_filename | eloqsql/mysys/mf_pack.c | size_t unpack_filename(char * to, const char *from)
{
size_t length, n_length, buff_length;
char buff[FN_REFLEN + 1];
DBUG_ENTER("unpack_filename");
length=dirname_part(buff, from, &buff_length);/* copy & convert dirname */
n_length=unpack_dirname(buff,buff);
if (n_length+strlen(from+length) < FN_REFLEN)
... | O0 | c | unpack_filename:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp # imm = 0x250
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x218(%rbp)
movq %rsi, -0x220(%rbp)
leaq -0x210(%rbp), %rdi
movq -0x220(%rbp), %rsi
leaq -0x238(%rbp), %rdx
callq 0x2d680
movq %rax, -0x228(%rbp)
leaq -0x210(%rbp), %rdi
leaq -0x2... | unpack_filename:
push rbp
mov rbp, rsp
sub rsp, 250h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_218], rdi
mov [rbp+var_220], rsi
lea rdi, [rbp+var_210]
mov rsi, [rbp+var_220]
lea rdx, [rbp+var_238]
call dirname_part
mov [rbp+var_228], rax
lea rdi, [rbp+var_210]
l... | long long unpack_filename(long long a1, _BYTE *a2)
{
long long v3; // [rsp+10h] [rbp-240h]
long long v4; // [rsp+18h] [rbp-238h] BYREF
long long v5; // [rsp+20h] [rbp-230h]
long long v6; // [rsp+28h] [rbp-228h]
_BYTE *v7; // [rsp+30h] [rbp-220h]
long long v8; // [rsp+38h] [rbp-218h]
_BYTE v9[520]; // [rs... | unpack_filename:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x250
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x218],RDI
MOV qword ptr [RBP + -0x220],RSI
LEA RDI,[RBP + -0x210]
MOV RSI,qword ptr [RBP + -0x220]
LEA RDX,[RBP + -0x238]
CALL 0x0012d680
MOV qword ptr [RBP + -0x228],RAX
LEA RDI,[RBP + ... |
int8 unpack_filename(int8 param_1,long param_2)
{
long lVar1;
size_t sVar2;
long in_FS_OFFSET;
int1 local_240 [8];
long local_238;
long local_230;
long local_228;
int8 local_220;
char local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_228 = param_2;
local_220... | |
6,233 | 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_object()
{
if (ref_stack.back())
{
if (!callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_end, *ref_stack.back()))
{
// discard object
*ref_stack.back() = discarded;
}
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_IhSaIhEEvEEE10end_objectEv:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 78h
mov rbx, rdi
mov ... | char nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>>::end_object(
long long a1)
{
long long v1; /... | end_object:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x78
MOV RBX,RDI
MOV RAX,qword ptr [RDI + 0x10]
MOV RCX,qword ptr [RAX + -0x8]
TEST RCX,RCX
JZ 0x0017725e
SUB RAX,qword ptr [RBX + 0x8]
SHR RAX,0x3
DEC EAX
MOV dword ptr [RSP + 0x28],EAX
MOV byte ptr [RSP + 0x8],0x1
CMP qword ptr [RBX + 0x90],0x0... |
/* 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... | |
6,234 | verify_col_data | eloqsql/libmariadb/unittest/libmariadb/my_test.h | int verify_col_data(MYSQL *mysql, const char *table, const char *col,
const char *exp_data)
{
static char query[MAX_TEST_QUERY_LENGTH];
MYSQL_RES *result;
MYSQL_ROW row;
int rc;
if (table && col)
{
sprintf(query, "SELECT %s FROM %s LIMIT 1", col, table);
rc= mysql_... | O3 | c | verify_col_data:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdi, %r15
testq %rsi, %rsi
sete %al
testq %rdx, %rdx
sete %cl
orb %al, %cl
jne 0x13c7b
movq %rdx, %r8
movq %rsi, %r9
leaq 0x35153(%rip), %r12 # 0x48d60
leaq 0x2051f(%rip), %rcx # 0x34133
movl $0x1, %r14... | verify_col_data:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
mov rbx, rcx
mov r15, rdi
test rsi, rsi
setz al
test rdx, rdx
setz cl
or cl, al
jnz short loc_13C7B
mov r8, rdx
mov r9, rsi
lea r12, verify_col_data_query
lea rcx, aSelectSFromSLi; ... | long long verify_col_data(long long a1, const char *a2, const char *a3, long long a4)
{
unsigned int v5; // r14d
int v6; // eax
int v7; // r12d
int v8; // ebx
int v9; // eax
long long v10; // rax
int v11; // r8d
int v12; // r9d
long long v13; // r14
_QWORD *row; // rax
int v15; // edx
int v16; ... | verify_col_data:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV RBX,RCX
MOV R15,RDI
TEST RSI,RSI
SETZ AL
TEST RDX,RDX
SETZ CL
OR CL,AL
JNZ 0x00113c7b
MOV R8,RDX
MOV R9,RSI
LEA R12,[0x148d60]
LEA RCX,[0x134133]
MOV R14D,0x1
MOV EDX,0x12c
MOV RDI,R12
MOV ESI,0x1
XOR EAX,EAX
CALL 0x001132a0
MOV RDI,R15
MOV R... |
int8 verify_col_data(int8 param_1,long param_2,long param_3,char *param_4)
{
char *__s1;
int iVar1;
int4 uVar2;
int8 uVar3;
long lVar4;
int8 *puVar5;
if (param_3 != 0 && param_2 != 0) {
__sprintf_chk(verify_col_data_query,1,300,"SELECT %s FROM %s LIMIT 1",param_3,param_2);
iVar1 = mysql_query... | |
6,235 | coro::thread_pool::shutdown() | AlayaLite/build_O3/_deps/libcoro-src/src/thread_pool.cpp | auto thread_pool::shutdown() noexcept -> void
{
// Only allow shutdown to occur once.
if (m_shutdown_requested.exchange(true, std::memory_order::acq_rel) == false)
{
{
// There is a race condition if we are not holding the lock with the executors
// to always receive this. s... | O3 | cpp | coro::thread_pool::shutdown():
pushq %r14
pushq %rbx
subq $0x18, %rsp
movb $0x1, %al
xchgb %al, 0x128(%rdi)
testb $0x1, %al
je 0x599d
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rdi, %rbx
leaq 0x68(%rdi), %rax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movb $0x0, 0x8(%rdi)
callq 0x551c
leaq 0x8(%rsp), %r14
movb $0x1, 0... | _ZN4coro11thread_pool8shutdownEv:
push r14
push rbx
sub rsp, 18h
mov al, 1
xchg al, [rdi+128h]
test al, 1
jz short loc_599D
loc_5995:
add rsp, 18h
pop rbx
pop r14
retn
loc_599D:
mov rbx, rdi
lea rax, [rdi+68h]
lea rdi, [rsp+28h+var_20]
mov [rdi], rax
mov byte ptr... | char coro::thread_pool::shutdown(coro::thread_pool *this)
{
char result; // al
std::thread *v2; // r14
std::thread *v3; // rbx
long long v4; // [rsp+8h] [rbp-20h] BYREF
char v5; // [rsp+10h] [rbp-18h]
result = *((_BYTE *)this + 296);
*((_BYTE *)this + 296) = 1;
if ( (result & 1) == 0 )
{
v4 = (l... | shutdown:
PUSH R14
PUSH RBX
SUB RSP,0x18
MOV AL,0x1
XCHG byte ptr [RDI + 0x128],AL
TEST AL,0x1
JZ 0x0010599d
LAB_00105995:
ADD RSP,0x18
POP RBX
POP R14
RET
LAB_0010599d:
MOV RBX,RDI
LEA RAX,[RDI + 0x68]
LEA RDI,[RSP + 0x8]
MOV qword ptr [RDI],RAX
MOV byte ptr [RDI + 0x8],0x0
LAB_001059b0:
CALL 0x0010551c
LEA R14,[RSP +... |
/* coro::thread_pool::shutdown() */
void __thiscall coro::thread_pool::shutdown(thread_pool *this)
{
thread_pool tVar1;
long *plVar2;
long *plVar3;
thread_pool *local_20;
int1 local_18;
LOCK();
tVar1 = this[0x128];
this[0x128] = (thread_pool)0x1;
UNLOCK();
if (((byte)tVar1 & 1) == 0) {
loc... | |
6,236 | tree_walk_left_root_right | eloqsql/mysys/tree.c | static int tree_walk_left_root_right(TREE *tree, TREE_ELEMENT *element, tree_walk_action action, void *argument)
{
int error;
if (element->left) /* Not null_element */
{
if ((error=tree_walk_left_root_right(tree,element->left,action,
argument)) == 0 &&
(error=(*action)(ELEMENT_KEY(tree,element),
... | O3 | c | tree_walk_left_root_right:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
movq (%rsi), %rsi
xorl %eax, %eax
testq %rsi, %rsi
je 0xa6249
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %r13
movl $0x7fffffff, %ebx # imm = 0x7FFFFFFF
movq %r13, %rdi
movq %r15,... | tree_walk_left_root_right:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r12, rsi
mov rsi, [rsi]
xor eax, eax
test rsi, rsi
jz short loc_A6249
mov r14, rcx
mov r15, rdx
mov r13, rdi
mov ebx, 7FFFFFFFh
loc_A6200:
mov rdi, ... | long long tree_walk_left_root_right(
long long a1,
long long *a2,
long long ( *a3)(long long *, long long, long long),
long long a4)
{
long long *v4; // r12
long long v5; // rsi
long long result; // rax
long long *v10; // rdi
v4 = a2;
v5 = *a2;
result = 0LL;
if ( v5 )
... | tree_walk_left_root_right:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R12,RSI
MOV RSI,qword ptr [RSI]
XOR EAX,EAX
TEST RSI,RSI
JZ 0x001a6249
MOV R14,RCX
MOV R15,RDX
MOV R13,RDI
MOV EBX,0x7fffffff
LAB_001a6200:
MOV RDI,R13
MOV RDX,R15
MOV RCX,R14
CALL 0x001a61d7
TEST EAX,EAX
JNZ 0x001... |
int8 tree_walk_left_root_right(long param_1,long *param_2,code *param_3,int8 param_4)
{
int8 uVar1;
long lVar2;
lVar2 = *param_2;
while( true ) {
if (lVar2 == 0) {
return 0;
}
uVar1 = tree_walk_left_root_right(param_1,lVar2,param_3,param_4);
if ((int)uVar1 != 0) break;
if ((ulong)... | |
6,237 | coro::detail::promise<void>::unhandled_exception() | AlayaLite/build_O3/_deps/libcoro-src/include/coro/task.hpp | auto unhandled_exception() noexcept -> void { m_exception_ptr = std::current_exception(); } | O3 | cpp | coro::detail::promise<void>::unhandled_exception():
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x32e0
movq (%r14), %rax
movq $0x0, (%r14)
movq 0x8(%rbx), %rcx
movq %rcx, 0x10(%rsp)
movq %rax, 0x8(%rbx)
testq %rcx, %rcx
je 0x4737
leaq 0x10(%rsp), %rdi
callq 0x3270
c... | _ZN4coro6detail7promiseIvE19unhandled_exceptionEv:
push r14
push rbx
sub rsp, 18h
mov rbx, rdi
lea r14, [rsp+28h+var_20]
mov rdi, r14
call __ZSt17current_exceptionv; std::current_exception(void)
mov rax, [r14]
mov qword ptr [r14], 0
mov rcx, [rbx+8]
mov [rsp+28h+var_18], rcx
mov... | long long coro::detail::promise<void>::unhandled_exception(long long a1)
{
long long result; // rax
long long v2; // rcx
long long v3; // [rsp+8h] [rbp-20h] BYREF
_QWORD v4[3]; // [rsp+10h] [rbp-18h] BYREF
std::current_exception();
result = v3;
v3 = 0LL;
v4[0] = *(_QWORD *)(a1 + 8);
v2 = v4[0];
*(... | unhandled_exception:
PUSH R14
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
LEA R14,[RSP + 0x8]
MOV RDI,R14
CALL 0x001032e0
MOV RAX,qword ptr [R14]
MOV qword ptr [R14],0x0
MOV RCX,qword ptr [RBX + 0x8]
MOV qword ptr [RSP + 0x10],RCX
MOV qword ptr [RBX + 0x8],RAX
TEST RCX,RCX
JZ 0x00104737
LEA RDI,[RSP + 0x10]
CALL 0x00103270
CMP q... |
/* WARNING: Removing unreachable block (ram,0x0010472d) */
/* coro::detail::promise<void>::unhandled_exception() */
void __thiscall coro::detail::promise<void>::unhandled_exception(promise<void> *this)
{
long lVar1;
int8 local_20;
std::current_exception();
lVar1 = *(long *)(this + 8);
*(int8 *)(this + 8... | |
6,238 | ma_cmp_static_record | eloqsql/storage/maria/ma_statrec.c | my_bool _ma_cmp_static_record(register MARIA_HA *info,
register const uchar *old)
{
DBUG_ENTER("_ma_cmp_static_record");
if (info->opt_flag & WRITE_CACHE_USED)
{
if (flush_io_cache(&info->rec_cache))
{
DBUG_RETURN(1);
}
info->rec_cache.seek_not_done=1; /* We h... | O3 | c | ma_cmp_static_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl 0x61c(%rdi), %eax
testb $0x10, %al
je 0x716a9
leaq 0x4b8(%r14), %rdi
movl $0x1, %esi
callq 0x967f1
movb $0x1, %r15b
testl %eax, %eax
jne 0x71713
movl $0x1, 0x598(%r14)
movl 0x61c(%r14), %eax... | _ma_cmp_static_record:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov rbx, rsi
mov r14, rdi
mov eax, [rdi+61Ch]
test al, 10h
jz short loc_716A9
lea rdi, [r14+4B8h]
mov esi, 1
call my_b_flush_io_cache
mov r15b, 1
test eax, eax
jnz short loc_7171... | long long ma_cmp_static_record(_QWORD *a1, long long a2)
{
unsigned int v2; // r15d
int v4; // eax
long long v5; // rdi
v4 = *((_DWORD *)a1 + 391);
if ( (v4 & 0x10) != 0 )
{
LOBYTE(v2) = 1;
if ( (unsigned int)my_b_flush_io_cache(a1 + 151, 1LL) )
return v2;
*((_DWORD *)a1 + 358) = 1;
... | _ma_cmp_static_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV R14,RDI
MOV EAX,dword ptr [RDI + 0x61c]
TEST AL,0x10
JZ 0x001716a9
LEA RDI,[R14 + 0x4b8]
MOV ESI,0x1
CALL 0x001967f1
MOV R15B,0x1
TEST EAX,EAX
JNZ 0x00171713
MOV dword ptr [R14 + 0x598],0x1
MOV EAX,dword ptr [R14 + 0x61c]
LA... |
ulong _ma_cmp_static_record(long *param_1,void *param_2)
{
int iVar1;
uint uVar2;
long lVar3;
int4 *puVar4;
ulong unaff_R15;
uVar2 = *(uint *)((long)param_1 + 0x61c);
if ((uVar2 & 0x10) != 0) {
iVar1 = my_b_flush_io_cache(param_1 + 0x97,1);
unaff_R15 = CONCAT71((int7)(unaff_R15 >> 8),1);
... | |
6,239 | coro::shared_mutex<coro::io_scheduler>::wake_waiters(std::unique_lock<std::mutex>&) | AlayaLite/build_O3/_deps/libcoro-src/include/coro/shared_mutex.hpp | auto wake_waiters(std::unique_lock<std::mutex>& lk) -> void
{
// First determine what the next lock state will be based on the first waiter.
if (m_head_waiter->m_exclusive)
{
// If its exclusive then only this waiter can be woken up.
m_state = state:... | O3 | cpp | coro::shared_mutex<coro::io_scheduler>::wake_waiters(std::unique_lock<std::mutex>&):
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x50(%rdi), %r15
cmpb $0x1, 0x8(%r15)
jne 0x34b80
movl $0x2, 0x38(%r14)
movq 0x18(%r15), %rax
movq %rax, 0x50(%r14)
decq 0x48(%r14)
testq %rax, %rax
jne 0x34b6d
movq... | _ZN4coro12shared_mutexINS_12io_schedulerEE12wake_waitersERSt11unique_lockISt5mutexE:
push r15
push r14
push rbx
mov rbx, rsi
mov r14, rdi
mov r15, [rdi+50h]
cmp byte ptr [r15+8], 1
jnz short loc_34B80
mov dword ptr [r14+38h], 2
mov rax, [r15+18h]
mov [r14+50h], rax
dec qword... | long long coro::shared_mutex<coro::io_scheduler>::wake_waiters(long long a1, long long *a2)
{
long long v2; // r15
long long v3; // rax
long long v5; // rax
v2 = *(_QWORD *)(a1 + 80);
if ( *(_BYTE *)(v2 + 8) == 1 )
{
*(_DWORD *)(a1 + 56) = 2;
v3 = *(_QWORD *)(v2 + 24);
*(_QWORD *)(a1 + 80) = v... | wake_waiters:
PUSH R15
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
MOV R15,qword ptr [RDI + 0x50]
CMP byte ptr [R15 + 0x8],0x1
JNZ 0x00134b80
MOV dword ptr [R14 + 0x38],0x2
MOV RAX,qword ptr [R15 + 0x18]
MOV qword ptr [R14 + 0x50],RAX
DEC qword ptr [R14 + 0x48]
TEST RAX,RAX
JNZ 0x00134b6d
MOV qword ptr [R14 + 0x58],0x0
L... |
/* coro::shared_mutex<coro::io_scheduler>::wake_waiters(std::unique_lock<std::mutex>&) */
void __thiscall
coro::shared_mutex<coro::io_scheduler>::wake_waiters
(shared_mutex<coro::io_scheduler> *this,unique_lock *param_1)
{
long lVar1;
long lVar2;
lVar2 = *(long *)(this + 0x50);
if (*(char *)(lVa... | |
6,240 | translog_get_file_size | eloqsql/storage/maria/ma_loghandler.c | uint32 translog_get_file_size()
{
uint32 res;
translog_lock();
res= log_descriptor.log_file_max_size;
translog_unlock();
return (res);
} | O3 | c | translog_get_file_size:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
callq 0x48f0f
movl 0x3b08d7(%rip), %ebx # 0x3fe7d0
movq 0xbb1538(%rip), %r14 # 0xbff438
movq 0x1000d0(%r14), %rdi
testq %rdi, %rdi
jne 0x4df22
addq $0x100090, %r14 # imm = 0x100090
movq %r14, %rdi
callq 0x291e0
movl %ebx, %eax
popq %... | translog_get_file_size:
push rbp
mov rbp, rsp
push r14
push rbx
call translog_lock
mov ebx, cs:dword_3FE7D0
mov r14, qword ptr cs:xmmword_BFF430+8
mov rdi, ds:qword_1000D0[r14]
test rdi, rdi
jnz short loc_4DF22
loc_4DF0C:
add r14, 100090h
mov rdi, r14
call _pthread_mutex_un... | long long translog_get_file_size()
{
unsigned int v0; // ebx
long long v1; // r14
translog_lock();
v0 = dword_3FE7D0;
v1 = *((_QWORD *)&xmmword_BFF430 + 1);
if ( *(long long *)((char *)&qword_1000D0 + *((_QWORD *)&xmmword_BFF430 + 1)) )
PSI_server[44]();
pthread_mutex_unlock(v1 + 1048720);
return v... | translog_get_file_size:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
CALL 0x00148f0f
MOV EBX,dword ptr [0x004fe7d0]
MOV R14,qword ptr [0x00cff438]
MOV RDI,qword ptr [R14 + 0x1000d0]
TEST RDI,RDI
JNZ 0x0014df22
LAB_0014df0c:
ADD R14,0x100090
MOV RDI,R14
CALL 0x001291e0
MOV EAX,EBX
POP RBX
POP R14
POP RBP
RET
LAB_0014df22:
LEA... |
int4 translog_get_file_size(void)
{
int4 uVar1;
long lVar2;
translog_lock();
lVar2 = DAT_00cff438;
uVar1 = DAT_004fe7d0;
if (*(long *)((long)&Elf64_Phdr_ARRAY_00100040[2].p_filesz + DAT_00cff438) != 0) {
(**(code **)(PSI_server + 0x160))();
}
pthread_mutex_unlock((pthread_mutex_t *)((long)&Elf6... | |
6,241 | void sapphire_plugins::shared::drainQueueFromUI<sapphire_plugins::galaxy::GalaxyEditor>(sapphire_plugins::galaxy::GalaxyEditor&) | sapphire-plugins/src/shared/editor_interactions.h | inline void drainQueueFromUI(Ed &editor)
{
auto aum = editor.audioToUI.pop();
while (aum.has_value())
{
switch (aum->action)
{
case AudioToUIMsg::UPDATE_PARAM:
{
auto pid = aum->paramId;
auto val = aum->value;
auto p = editor.patchCopy.para... | O3 | c | void sapphire_plugins::shared::drainQueueFromUI<sapphire_plugins::galaxy::GalaxyEditor>(sapphire_plugins::galaxy::GalaxyEditor&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0xba0(%rdi), %rax
movq 0x10(%rax), %rsi
movq 0x8(%rax), %rcx
cmpq %rcx, %rsi
jne 0xf1f32
addq $0x18, %... | _ZN16sapphire_plugins6shared16drainQueueFromUIINS_6galaxy12GalaxyEditorEEEvRT_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rax, [rdi+0BA0h]
mov rsi, [rax+10h]
mov rcx, [rax+8]
cmp rsi, rcx
jnz short loc_F1F32
loc_F1F23:
add rsp, 18h
pop rbx
p... | long long sapphire_plugins::shared::drainQueueFromUI<sapphire_plugins::galaxy::GalaxyEditor>(long long *a1)
{
long long result; // rax
long long v2; // rsi
int v4; // edx
unsigned int v5; // ecx
float v6; // xmm0_4
long long *v7; // rax
float *v8; // rax
long long *v9; // rax
long long v10; // rax
... | drainQueueFromUI<sapphire_plugins::galaxy::GalaxyEditor>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RAX,qword ptr [RDI + 0xba0]
MOV RSI,qword ptr [RAX + 0x10]
MOV RCX,qword ptr [RAX + 0x8]
CMP RSI,RCX
JNZ 0x001f1f32
LAB_001f1f23:
ADD RSP,0x18
POP RBX
POP R12
POP R13
POP R14
POP R15
POP RBP
... |
/* void
sapphire_plugins::shared::drainQueueFromUI<sapphire_plugins::galaxy::GalaxyEditor>(sapphire_plugins::galaxy::GalaxyEditor&)
*/
void sapphire_plugins::shared::drainQueueFromUI<sapphire_plugins::galaxy::GalaxyEditor>
(GalaxyEditor *param_1)
{
float fVar1;
float fVar2;
float *pfVar3... | |
6,242 | my_rw_wrlock | eloqsql/mysys/thr_rwlock.c | int my_rw_wrlock(my_rw_lock_t *rwp)
{
pthread_mutex_lock(&rwp->lock);
rwp->waiters++; /* another writer queued */
my_rw_lock_assert_not_write_owner(rwp);
while (rwp->state)
pthread_cond_wait(&rwp->writers, &rwp->lock);
rwp->state = -1;
rwp->waiters--;
#ifdef SAFE_MUTEX
rwp->write_thread= pthread_... | O0 | c | my_rw_wrlock:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x25410
movq -0x8(%rbp), %rax
movl 0x8c(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8c(%rax)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x88(%rax)
je 0x60f48
movq -0x8(%rbp), %rdi
addq $0x58, %rdi
movq -0x8(%rbp), %rsi
callq ... | my_rw_wrlock:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]
call _pthread_mutex_lock
mov rax, [rbp+var_8]
mov ecx, [rax+8Ch]
add ecx, 1
mov [rax+8Ch], ecx
loc_60F28:
mov rax, [rbp+var_8]
cmp dword ptr [rax+88h], 0
jz short loc_60F48
mov ... | long long my_rw_wrlock(long long a1)
{
pthread_mutex_lock(a1);
++*(_DWORD *)(a1 + 140);
while ( *(_DWORD *)(a1 + 136) )
pthread_cond_wait(a1 + 88, a1);
*(_DWORD *)(a1 + 136) = -1;
--*(_DWORD *)(a1 + 140);
pthread_mutex_unlock(a1);
return 0LL;
}
| my_rw_wrlock:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00125410
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RAX + 0x8c]
ADD ECX,0x1
MOV dword ptr [RAX + 0x8c],ECX
LAB_00160f28:
MOV RAX,qword ptr [RBP + -0x8]
CMP dword ptr [RAX + 0x88],0x0
JZ 0x00160f48... |
int8 my_rw_wrlock(pthread_mutex_t *param_1)
{
pthread_mutex_lock(param_1);
*(int *)((long)param_1 + 0x8c) = *(int *)((long)param_1 + 0x8c) + 1;
while (*(int *)((long)param_1 + 0x88) != 0) {
pthread_cond_wait((pthread_cond_t *)((long)param_1 + 0x58),param_1);
}
*(int4 *)((long)param_1 + 0x88) = 0xfffffff... | |
6,243 | apply_one_rule | eloqsql/strings/ctype-uca.c | static my_bool
apply_one_rule(MY_CHARSET_LOADER *loader,
MY_COLL_RULES *rules, MY_COLL_RULE *r,
MY_UCA_WEIGHT_LEVEL *dst)
{
size_t nweights;
size_t nreset= my_coll_rule_reset_length(r); /* Length of reset sequence */
size_t nshift= my_coll_rule_shift_length(r); /* Length of shift seq... | O0 | c | apply_one_rule:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0xaf7d0
movq %rax, -0x38(%rbp)
movq -0x20(%rbp), %rdi
callq 0xaf7f0
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x1, 0x30(%rax)
jne... | apply_one_rule:
push rbp
mov rbp, rsp
sub rsp, 60h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
mov rdi, [rbp+var_20]
call my_coll_rule_reset_length
mov [rbp+var_38], rax
mov rdi, [rbp+var_20]
call my_coll_rule_shift_length
mov ... | char apply_one_rule(long long a1, long long a2, long long a3, _QWORD *a4)
{
long long v5; // [rsp+0h] [rbp-60h]
char v6; // [rsp+17h] [rbp-49h]
long long inited; // [rsp+18h] [rbp-48h]
unsigned long long v8; // [rsp+20h] [rbp-40h]
long long v9; // [rsp+28h] [rbp-38h]
long long v10; // [rsp+30h] [rbp-30h] B... | apply_one_rule:
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
MOV qword ptr [RBP + -0x28],RCX
MOV RDI,qword ptr [RBP + -0x20]
CALL 0x001af7d0
MOV qword ptr [RBP + -0x38],RAX
MOV RDI,qword ptr [RBP + -0x20]
CALL 0x001af7f0
MOV qword ptr ... |
int8 apply_one_rule(int8 param_1,long param_2,long param_3,long param_4)
{
char extraout_AL;
int iVar1;
ulong uVar2;
int7 extraout_var;
int8 uVar3;
int7 uVar4;
int7 extraout_var_00;
char local_51;
int8 local_50;
int8 local_40;
int8 local_38;
long local_30;
long local_28;
long local_20;
i... | |
6,244 | google::protobuf::MethodDescriptorProto::MergeImpl(google::protobuf::Message&, google::protobuf::Message const&) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | void MethodDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
auto* const _this = static_cast<MethodDescriptorProto*>(&to_msg);
auto& from = static_cast<const MethodDescriptorProto&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_f... | O0 | cpp | google::protobuf::MethodDescriptorProto::MergeImpl(google::protobuf::Message&, google::protobuf::Message const&):
subq $0x1b8, %rsp # imm = 0x1B8
movq %rdi, 0xe8(%rsp)
movq %rsi, 0xe0(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
xorl %eax, %eax
testb $0x1, %al... | _ZN6google8protobuf21MethodDescriptorProto9MergeImplERNS0_7MessageERKS2_:
sub rsp, 1B8h
mov [rsp+1B8h+var_D0], rdi
mov [rsp+1B8h+var_D8], rsi
mov rax, [rsp+1B8h+var_D0]
mov [rsp+1B8h+var_E0], rax
mov rax, [rsp+1B8h+var_D8]
mov [rsp+1B8h+var_E8], rax
loc_2C5617:
xor eax, eax
test al, 1... | long long google::protobuf::MethodDescriptorProto::MergeImpl(
google::protobuf::MethodDescriptorProto *this,
void ( ***a2)(google::protobuf::MethodOptions *__hidden this),
unsigned long long a3)
{
int ArenaForAllocation; // eax
int v4; // eax
int v5; // eax
long long result; // rax
un... | |||
6,245 | google::protobuf::MethodDescriptorProto::MergeImpl(google::protobuf::Message&, google::protobuf::Message const&) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/descriptor.pb.cc | void MethodDescriptorProto::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
auto* const _this = static_cast<MethodDescriptorProto*>(&to_msg);
auto& from = static_cast<const MethodDescriptorProto&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_f... | O3 | cpp | google::protobuf::MethodDescriptorProto::MergeImpl(google::protobuf::Message&, google::protobuf::Message const&):
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl 0x10(%rsi), %ebp
testb $0x3f, %bpl
je 0xf2265
testb $0x1, %bpl
je 0xf21a7
movq 0x18(%r14), %rsi
andq $-0x4, %rsi
orl $0x1, 0x10(%rbx)
le... | _ZN6google8protobuf21MethodDescriptorProto9MergeImplERNS0_7MessageERKS2_:
push rbp
push r14
push rbx
mov r14, rsi
mov rbx, rdi
mov ebp, [rsi+10h]
test bpl, 3Fh
jz loc_F2265
test bpl, 1
jz short loc_F21A7
mov rsi, [r14+18h]
and rsi, 0FFFFFFFFFFFFFFFCh
or dword ptr [rbx+1... | void google::protobuf::MethodDescriptorProto::MergeImpl(
google::protobuf::MethodDescriptorProto *this,
google::protobuf::Message *a2,
const google::protobuf::Message *a3)
{
int v5; // ebp
unsigned long long v6; // rsi
long long *v7; // rdi
google::protobuf::Arena *v8; // rdx
unsigned... | MergeImpl:
PUSH RBP
PUSH R14
PUSH RBX
MOV R14,RSI
MOV RBX,RDI
MOV EBP,dword ptr [RSI + 0x10]
TEST BPL,0x3f
JZ 0x001f2265
TEST BPL,0x1
JZ 0x001f21a7
MOV RSI,qword ptr [R14 + 0x18]
AND RSI,-0x4
OR dword ptr [RBX + 0x10],0x1
LEA RDI,[RBX + 0x18]
MOV RAX,qword ptr [RBX + 0x8]
MOV RDX,RAX
AND RDX,-0x4
TEST AL,0x1
JNZ 0x001f... |
/* google::protobuf::MethodDescriptorProto::MergeImpl(google::protobuf::Message&,
google::protobuf::Message const&) */
void google::protobuf::MethodDescriptorProto::MergeImpl(Message *param_1,Message *param_2)
{
uint uVar1;
ulong uVar2;
Message *pMVar3;
Arena *pAVar4;
Message *pMVar5;
uVar1 = *(uin... | |
6,246 | fmt::v10::appender fmt::v10::detail::write<char, fmt::v10::appender>(fmt::v10::appender, fmt::v10::basic_string_view<char>, fmt::v10::format_specs<char> const&) | AlayaLite/build_O0/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h | FMT_CONSTEXPR auto write(OutputIt out, basic_string_view<Char> s,
const format_specs<Char>& specs) -> OutputIt {
auto data = s.data();
auto size = s.size();
if (specs.precision >= 0 && to_unsigned(specs.precision) < size)
size = code_point_index(s, to_unsigned(specs.precision));
boo... | O0 | c | fmt::v10::appender fmt::v10::detail::write<char, fmt::v10::appender>(fmt::v10::appender, fmt::v10::basic_string_view<char>, fmt::v10::format_specs<char> const&):
subq $0xb8, %rsp
movq %rdi, 0xa8(%rsp)
movq %rsi, 0x98(%rsp)
movq %rdx, 0xa0(%rsp)
movq %rcx, 0x90(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x24490
movq %rax, 0x88(%... | _ZN3fmt3v106detail5writeIcNS0_8appenderEEET0_S4_NS0_17basic_string_viewIT_EERKNS0_12format_specsIS6_EE:
sub rsp, 0B8h
mov [rsp+0B8h+var_10], rdi
mov [rsp+0B8h+var_20], rsi
mov [rsp+0B8h+var_18], rdx
mov [rsp+0B8h+var_28], rcx
lea rdi, [rsp+0B8h+var_20]
call _ZNK3fmt3v1017basic_string_viewIcE4... | long long fmt::v10::detail::write<char,fmt::v10::appender>(long long a1, long long a2, long long a3, long long a4)
{
unsigned int v4; // eax
bool v6[8]; // [rsp+0h] [rbp-B8h] BYREF
long long v7; // [rsp+8h] [rbp-B0h]
long long v8; // [rsp+10h] [rbp-A8h]
long long v9; // [rsp+18h] [rbp-A0h]
unsigned long lo... | write<char,fmt::v10::appender>:
SUB RSP,0xb8
MOV qword ptr [RSP + 0xa8],RDI
MOV qword ptr [RSP + 0x98],RSI
MOV qword ptr [RSP + 0xa0],RDX
MOV qword ptr [RSP + 0x90],RCX
LEA RDI,[RSP + 0x98]
CALL 0x00124490
MOV qword ptr [RSP + 0x88],RAX
LEA RDI,[RSP + 0x98]
CALL 0x001244a0
MOV qword ptr [RSP + 0x80],RAX
MOV RAX,qword p... |
/* fmt::v10::appender fmt::v10::detail::write<char, fmt::v10::appender>(fmt::v10::appender,
fmt::v10::basic_string_view<char>, fmt::v10::format_specs<char> const&) */
int8 __thiscall
fmt::v10::detail::write<char,fmt::v10::appender>
(detail *this,int8 param_2,int8 param_3,int *param_4)
{
uint uVar1;
... | |
6,247 | json_schema_to_grammar(nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, st... | llama.cpp/common/json-schema-to-grammar.cpp | std::string json_schema_to_grammar(const json & schema, bool force_gbnf) {
#ifdef LLAMA_USE_LLGUIDANCE
if (!force_gbnf) {
return "%llguidance {}\nstart: %json " + schema.dump();
}
#else
(void)force_gbnf;
#endif // LLAMA_USE_LLGUIDANCE
return build_grammar([&](const common_grammar_builder & callb... | O3 | cpp | json_schema_to_grammar(nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, st... | _Z22json_schema_to_grammarRKN8nlohmann16json_abi_v3_11_310basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES3_IhSaIhEEvEEb:
push rbx
sub rsp, 30h
mov rbx, rdi
lea rax, [rsp+38h+var_28]
mov qword ptr [rax+8], 0
mov [rax], rsi
lea ... | long long json_schema_to_grammar(long long a1, long long a2)
{
char v3; // [rsp+Fh] [rbp-29h] BYREF
_QWORD v4[2]; // [rsp+10h] [rbp-28h] BYREF
long long ( *v5)(); // [rsp+20h] [rbp-18h]
long long ( *v6)(); // [rsp+28h] [rbp-10h]
v4[1] = 0LL;
v4[0] = a2;
v6 = std::_Function_handler<void ()(common_grammar... | json_schema_to_grammar:
PUSH RBX
SUB RSP,0x30
MOV RBX,RDI
LEA RAX,[RSP + 0x10]
MOV qword ptr [RAX + 0x8],0x0
MOV qword ptr [RAX],RSI
LEA RCX,[0x1fd2de]
MOV qword ptr [RAX + 0x18],RCX
LEA RCX,[0x1fd3d8]
MOV qword ptr [RAX + 0x10],RCX
LEA RDX,[RSP + 0xf]
MOV byte ptr [RDX],0x0
LAB_001fd096:
MOV RSI,RAX
CALL 0x001fd0ee
MO... |
/* json_schema_to_grammar(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> const&, ... | |
6,248 | my_readlink | eloqsql/mysys/my_symlink.c | int my_readlink(char *to, const char *filename, myf MyFlags)
{
#ifndef HAVE_READLINK
strmov(to,filename);
return 1;
#else
int result=0;
int length;
DBUG_ENTER("my_readlink");
if ((length=readlink(filename, to, FN_REFLEN-1)) < 0)
{
/* Don't give an error if this wasn't a symlink */
if ((my_errno=e... | O0 | c | my_readlink:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
movl $0x1ff, %edx # imm = 0x1FF
callq 0x26340
movl %eax, -0x20(%rbp)
cmpl $0x0, %eax
jge 0x59921
callq 0x26050
movl ... | my_readlink:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_1C], 0
mov rdi, [rbp+var_10]
mov rsi, [rbp+var_8]
mov edx, 1FFh
call _readlink
mov [rbp+var_20], eax
cmp eax, 0
jge short loc_59921
call ... | long long my_readlink(long long a1, long long a2, char a3)
{
_DWORD *v3; // rax
int v4; // r8d
int v5; // r9d
int v7; // [rsp+1Ch] [rbp-24h]
int v8; // [rsp+20h] [rbp-20h]
unsigned int v9; // [rsp+24h] [rbp-1Ch]
v9 = 0;
v8 = readlink(a2, a1, 511LL);
if ( v8 >= 0 )
{
*(_BYTE *)(a1 + v8) = 0;
... | my_readlink:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x1c],0x0
MOV RDI,qword ptr [RBP + -0x10]
MOV RSI,qword ptr [RBP + -0x8]
MOV EDX,0x1ff
CALL 0x00126340
MOV dword ptr [RBP + -0x20],EAX
CMP EAX,0x0
JGE 0x001... |
int4 my_readlink(char *param_1,char *param_2,ulong param_3)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
int4 local_24;
local_24 = 0;
sVar2 = readlink(param_2,param_1,0x1ff);
if ((int)sVar2 < 0) {
piVar3 = __errno_location();
iVar1 = *piVar3;
piVar3 = (int *)_my_thread_var();
*piVar3 = iV... | |
6,249 | mi_write_keypage | eloqsql/storage/myisam/mi_page.c | int _mi_write_keypage(register MI_INFO *info, register MI_KEYDEF *keyinfo,
my_off_t page, int level, uchar *buff)
{
reg3 uint length;
DBUG_ENTER("_mi_write_keypage");
#ifndef FAST /* Safety check */
if (page < info->s->base.keystart ||
page+keyinfo->block_length > info->state->key_file_length |... | O0 | c | mi_write_keypage:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
cmpq 0x108(%rcx), %rax
jb 0xbf5af
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
... | _mi_write_keypage:
push rbp
mov rbp, rsp
sub rsp, 90h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_24], ecx
mov [rbp+var_30], r8
mov rax, [rbp+var_20]
mov rcx, [rbp+var_10]
mov rcx, [rcx]
cmp rax, [rcx+108h]
jb short loc_BF5AF
mov ... | long long mi_write_keypage(_QWORD *a1, long long a2, unsigned long long a3, int a4, unsigned __int16 *a5)
{
bool v6; // [rsp+5Bh] [rbp-35h]
unsigned int v7; // [rsp+5Ch] [rbp-34h]
if ( a3 < *(_QWORD *)(*a1 + 264LL)
|| *(unsigned __int16 *)(a2 + 14) + a3 > *(_QWORD *)(a1[1] + 32LL)
|| (a3 & 0x3FF) != 0 )... | _mi_write_keypage:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x90
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV dword ptr [RBP + -0x24],ECX
MOV qword ptr [RBP + -0x30],R8
MOV RAX,qword ptr [RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RCX]
CMP RAX,qword ptr [R... |
int4
_mi_write_keypage(long *param_1,long param_2,ulong param_3,int4 param_4,byte *param_5)
{
int4 *puVar1;
bool local_3d;
uint local_3c;
int4 local_c;
if (((param_3 < *(ulong *)(*param_1 + 0x108)) ||
(*(ulong *)(param_1[1] + 0x20) < param_3 + *(ushort *)(param_2 + 0xe))) ||
((param_3 & 0x3ff)... | |
6,250 | test_ast_create_if | tsotchke[P]eshkol/tests/unit/test_ast.c | static void test_ast_create_if(void) {
printf("Testing if node creation...\n");
// Create an arena
Arena* arena = arena_create(1024);
assert(arena != NULL);
// Create a condition node
AstNode* condition = ast_create_boolean(arena, true, 1, 4);
assert(condition != NULL);
//... | O0 | c | test_ast_create_if:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
leaq 0x72c8(%rip), %rdi # 0x98f7
movb $0x0, %al
callq 0x1070
movl $0x400, %edi # imm = 0x400
callq 0x43a0
movq %rax, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x264d
jmp 0x266c
leaq 0x6a1f(%rip), %rdi # 0x9073
leaq 0x6a26(%rip), %rsi # ... | test_ast_create_if:
push rbp
mov rbp, rsp
sub rsp, 30h
lea rdi, aTestingIfNodeC; "Testing if node creation...\n"
mov al, 0
call _printf
mov edi, 400h
call arena_create
mov [rbp+var_8], rax
cmp [rbp+var_8], 0
jz short loc_264D
jmp short loc_266C
loc_264D:
lea rdi, aArena... | long long test_ast_create_if(long long a1, long long a2, long long a3)
{
long long v3; // rdx
long long v5; // [rsp+8h] [rbp-28h]
long long v6; // [rsp+10h] [rbp-20h]
long long number; // [rsp+18h] [rbp-18h]
long long boolean; // [rsp+20h] [rbp-10h]
long long v9; // [rsp+28h] [rbp-8h]
printf("Testing if... | test_ast_create_if:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
LEA RDI,[0x1098f7]
MOV AL,0x0
CALL 0x00101070
MOV EDI,0x400
CALL 0x001043a0
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0010264d
JMP 0x0010266c
LAB_0010264d:
LEA RDI,[0x109073]
LEA RSI,[0x109081]
MOV EDX,0x152
LEA RCX,[0x109914]
CALL 0x0010108... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void test_ast_create_if(void)
{
long lVar1;
long lVar2;
long lVar3;
long lVar4;
int *piVar5;
printf("Testing if node creation...\n");
lVar1 = arena_create(0x400);
if (lVar1 == 0) {
/* WARNING: ... | |
6,251 | madb_get_os_character_set | eloqsql/libmariadb/libmariadb/ma_charset.c | const char *madb_get_os_character_set()
{
unsigned int i= 0;
char *p= NULL;
#ifdef _WIN32
char codepage[FN_REFLEN];
snprintf(codepage, FN_REFLEN, "%u", GetConsoleCP() ? GetConsoleCP() : GetACP());
p= codepage;
#elif defined(HAVE_NL_LANGINFO) && defined(HAVE_SETLOCALE)
if (setlocale(LC_CTYPE, ""))
p= nl_... | O0 | c | madb_get_os_character_set:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, -0xc(%rbp)
movq $0x0, -0x18(%rbp)
xorl %edi, %edi
leaq 0x7b60(%rip), %rsi # 0x66370
callq 0x143b0
cmpq $0x0, %rax
je 0x5e829
movl $0xe, %edi
callq 0x14420
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x5e840
leaq 0x9968(%rip), %... | madb_get_os_character_set:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_C], 0
mov [rbp+var_18], 0
xor edi, edi
lea rsi, a12+4; ""
call _setlocale
cmp rax, 0
jz short loc_5E829
mov edi, 0Eh
call _nl_langinfo
mov [rbp+var_18], rax
loc_5E829:
cmp [rbp+var_18], 0
jnz... | char *madb_get_os_character_set()
{
long long v1; // [rsp+8h] [rbp-18h]
unsigned int v2; // [rsp+14h] [rbp-Ch]
v2 = 0;
v1 = 0LL;
if ( setlocale(0LL, "") )
v1 = nl_langinfo(14LL);
if ( !v1 )
return "latin1";
while ( *(&MADB_OS_CHARSET + 5 * v2) )
{
if ( *((_BYTE *)&MADB_OS_CHARSET + 40 * v2 ... | madb_get_os_character_set:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0xc],0x0
MOV qword ptr [RBP + -0x18],0x0
XOR EDI,EDI
LEA RSI,[0x166370]
CALL 0x001143b0
CMP RAX,0x0
JZ 0x0015e829
MOV EDI,0xe
CALL 0x00114420
MOV qword ptr [RBP + -0x18],RAX
LAB_0015e829:
CMP qword ptr [RBP + -0x18],0x0
JNZ 0x0015e840
LE... |
char * madb_get_os_character_set(void)
{
int iVar1;
char *pcVar2;
char *local_20;
uint local_14;
char *local_10;
local_14 = 0;
local_20 = (char *)0x0;
pcVar2 = setlocale(0,"");
if (pcVar2 != (char *)0x0) {
local_20 = nl_langinfo(0xe);
}
if (local_20 != (char *)0x0) {
while (*(long *)(... | |
6,252 | ma_rec_pack | eloqsql/storage/maria/ma_dynrec.c | uint _ma_rec_pack(MARIA_HA *info, register uchar *to,
register const uchar *from)
{
uint length,new_length,flag,bit,i;
const uchar *pos,*end;
uchar *startpos,*packpos;
enum en_fieldtype type;
reg3 MARIA_COLUMNDEF *column;
MARIA_BLOB *blob;
DBUG_ENTER("_ma_rec_pack");
flag= ... | O3 | c | ma_rec_pack:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r12
movq %rsi, %rbx
movq (%rdi), %rax
movl 0x3f4(%rax), %r14d
movl 0x3fc(%rax), %edx
addq %rsi, %r14
movq 0x288(%rdi), %rcx
movq %rcx, -0x58(%rbp)
movq 0x588(%rax), %r15
testq %rdx, %rdx
movq %rdi... | _ma_rec_pack:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov r12, rdx
mov rbx, rsi
mov rax, [rdi]
mov r14d, [rax+3F4h]
mov edx, [rax+3FCh]
add r14, rsi
mov rcx, [rdi+288h]
mov [rbp+var_58], rcx
mov r15, [rax+588h]
test ... | long long ma_rec_pack(unsigned __int8 *a1, unsigned __int8 *a2, unsigned __int8 *a3)
{
unsigned __int8 *v4; // rbx
long long v5; // rax
long long v6; // rdx
unsigned __int8 *v7; // r14
long long v8; // r15
unsigned __int8 *v9; // r13
long long v10; // rcx
unsigned __int8 *v11; // rcx
int v12; // r14d... | _ma_rec_pack:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV R12,RDX
MOV RBX,RSI
MOV RAX,qword ptr [RDI]
MOV R14D,dword ptr [RAX + 0x3f4]
MOV EDX,dword ptr [RAX + 0x3fc]
ADD R14,RSI
MOV RCX,qword ptr [RDI + 0x288]
MOV qword ptr [RBP + -0x58],RCX
MOV R15,qword ptr [RAX + 0x588]
TEST R... |
int _ma_rec_pack(long *param_1,int1 *param_2,ushort *param_3)
{
ushort uVar1;
ushort uVar2;
ushort *puVar3;
int iVar4;
uint uVar5;
ulong uVar6;
int1 *puVar8;
int4 *puVar9;
byte bVar10;
long lVar11;
ushort *puVar12;
uint uVar13;
ulong __n;
int iVar14;
byte *pbVar15;
uint *puVar16;
lon... | |
6,253 | my_large_free | eloqsql/mysys/my_largepage.c | void my_large_free(void *ptr, size_t size)
{
DBUG_ENTER("my_large_free");
/*
The following implementations can only fail if ptr was not allocated with
my_large_malloc(), i.e. my_malloc_lock() was used so we should free it
with my_free_lock()
For ASAN, we need to explicitly unpoison this memory reg... | O3 | c | my_large_free:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x2a4c0
testl %eax, %eax
je 0xaf848
callq 0x2a7a0
movl (%rax), %r8d
movl $0x80, %esi
movl $0x24, %edi
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0xa2fcb
popq %rbx
popq %r14
popq %... | my_large_free:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rsi
mov r14, rdi
call _munmap
test eax, eax
jz short loc_AF848
call ___errno_location
mov r8d, [rax]
mov esi, 80h
mov edi, 24h ; '$'
mov rdx, r14
mov rcx, rbx
xor eax, eax
pop rbx
pop r14
p... | unsigned long long my_large_free(long long a1, long long a2)
{
unsigned long long result; // rax
unsigned int *v3; // rax
result = munmap(a1, a2);
if ( (_DWORD)result )
{
v3 = (unsigned int *)__errno_location(a1);
return my_error(0x24u, 128LL, a1, a2, *v3);
}
return result;
}
| my_large_free:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
CALL 0x0012a4c0
TEST EAX,EAX
JZ 0x001af848
CALL 0x0012a7a0
MOV R8D,dword ptr [RAX]
MOV ESI,0x80
MOV EDI,0x24
MOV RDX,R14
MOV RCX,RBX
XOR EAX,EAX
POP RBX
POP R14
POP RBP
JMP 0x001a2fcb
LAB_001af848:
POP RBX
POP R14
POP RBP
RET
|
void my_large_free(void *param_1,size_t param_2)
{
int iVar1;
int *piVar2;
iVar1 = munmap(param_1,param_2);
if (iVar1 != 0) {
piVar2 = __errno_location();
my_error(0x24,0x80,param_1,param_2,*piVar2);
return;
}
return;
}
| |
6,254 | my_uni_utf32 | eloqsql/strings/ctype-ucs2.c | static int
my_uni_utf32(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc, uchar *s, uchar *e)
{
if (s + 4 > e)
return MY_CS_TOOSMALL4;
if (wc > 0x10FFFF)
return MY_CS_ILUNI;
s[0]= (uchar) (wc >> 24);
s[1]= (uchar) (wc >> 16) & 0xFF;
s[2]= (uchar) (wc >> 8) & 0xFF;
s[3]= (uchar... | O0 | c | my_uni_utf32:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x20(%rbp), %rax
addq $0x4, %rax
cmpq -0x28(%rbp), %rax
jbe 0x2c75b
movl $0xffffff98, -0x4(%rbp) # imm = 0xFFFFFF98
jmp 0x2c7cc
cmpq $0x10ffff, -0x18(%rbp) # imm = 0x10FFFF
jbe 0x2... | my_uni_utf32:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov [rbp+var_28], rcx
mov rax, [rbp+var_20]
add rax, 4
cmp rax, [rbp+var_28]
jbe short loc_2C75B
mov [rbp+var_4], 0FFFFFF98h
jmp short loc_2C7CC
loc_2C75B:
cmp [rbp+va... | long long my_uni_utf32(long long a1, unsigned long long a2, _BYTE *a3, unsigned long long a4)
{
if ( (unsigned long long)(a3 + 4) <= a4 )
{
if ( a2 <= (unsigned long long)&unk_10FFFF )
{
*a3 = BYTE3(a2);
a3[1] = BYTE2(a2);
a3[2] = BYTE1(a2);
a3[3] = a2;
return 4;
}
els... | my_uni_utf32:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x28],RCX
MOV RAX,qword ptr [RBP + -0x20]
ADD RAX,0x4
CMP RAX,qword ptr [RBP + -0x28]
JBE 0x0012c75b
MOV dword ptr [RBP + -0x4],0xffffff98
JMP 0x0012c7cc
LAB_0012c75b:... |
int4 my_uni_utf32(int8 param_1,ulong param_2,int1 *param_3,int1 *param_4)
{
int4 local_c;
if (param_4 < param_3 + 4) {
local_c = 0xffffff98;
}
else if (param_2 < 0x110000) {
*param_3 = (char)(param_2 >> 0x18);
param_3[1] = (char)(param_2 >> 0x10);
param_3[2] = (char)(param_2 >> 8);
para... | |
6,255 | my_uni_utf32 | eloqsql/strings/ctype-ucs2.c | static int
my_uni_utf32(CHARSET_INFO *cs __attribute__((unused)),
my_wc_t wc, uchar *s, uchar *e)
{
if (s + 4 > e)
return MY_CS_TOOSMALL4;
if (wc > 0x10FFFF)
return MY_CS_ILUNI;
s[0]= (uchar) (wc >> 24);
s[1]= (uchar) (wc >> 16) & 0xFF;
s[2]= (uchar) (wc >> 8) & 0xFF;
s[3]= (uchar... | O3 | c | my_uni_utf32:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
movq %rsi, %rbx
leaq 0x4(%rdx), %rsi
movl $0xffffff98, %eax # imm = 0xFFFFFF98
cmpq %rcx, %rsi
ja 0x2a908
xorl %eax, %eax
cmpq $0x10ffff, %rbx # imm = 0x10FFFF
ja 0x2a908
movb $0x0, (%rdx)
movl %ebx, %eax
shrl $0x10, %eax
movb %al, 0x1(%rdx)
movb %bh, 0x... | my_uni_utf32:
push rbp
mov rbp, rsp
push rbx
mov rbx, rsi
lea rsi, [rdx+4]
mov eax, 0FFFFFF98h
cmp rsi, rcx
ja short loc_2A908
xor eax, eax
cmp rbx, offset unk_10FFFF
ja short loc_2A908
mov byte ptr [rdx], 0
mov eax, ebx
shr eax, 10h
mov [rdx+1], al
mov [r... | long long my_uni_utf32(long long a1, unsigned long long a2, _BYTE *a3, unsigned long long a4)
{
long long result; // rax
result = 4294967192LL;
if ( (unsigned long long)(a3 + 4) <= a4 )
{
result = 0LL;
if ( a2 <= (unsigned long long)&unk_10FFFF )
{
*a3 = 0;
a3[1] = BYTE2(a2);
a3[... | my_uni_utf32:
PUSH RBP
MOV RBP,RSP
PUSH RBX
MOV RBX,RSI
LEA RSI,[RDX + 0x4]
MOV EAX,0xffffff98
CMP RSI,RCX
JA 0x0012a908
XOR EAX,EAX
CMP RBX,0x10ffff
JA 0x0012a908
MOV byte ptr [RDX],0x0
MOV EAX,EBX
SHR EAX,0x10
MOV byte ptr [RDX + 0x1],AL
MOV byte ptr [RDX + 0x2],BH
MOV byte ptr [RDX + 0x3],BL
MOV EAX,0x4
LAB_0012a908... |
int8 my_uni_utf32(int8 param_1,ulong param_2,int1 *param_3,int1 *param_4)
{
int8 uVar1;
uVar1 = 0xffffff98;
if ((param_3 + 4 <= param_4) && (uVar1 = 0, param_2 < 0x110000)) {
*param_3 = 0;
param_3[1] = (char)(param_2 >> 0x10);
param_3[2] = (char)(param_2 >> 8);
param_3[3] = (char)param_2;
... | |
6,256 | decltype(from_json_array_impl(fp, fp0, nlohmann::json_abi_v3_11_3::detail::priority_tag<3u>{}), fp.get<std::vector<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, doubl... | monkey531[P]llama/common/json.hpp | auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr)
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
j.template get<typename ConstructibleArrayType::value_type>(),
void())
{
if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
{
JSON_THROW(type_error::create(302, concat("type must be ar... | O3 | cpp | decltype(from_json_array_impl(fp, fp0, nlohmann::json_abi_v3_11_3::detail::priority_tag<3u>{}), fp.get<std::vector<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, doubl... | _ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEES5_ISF_SaISF_EETnNSt9enable_ifIXaaaaaaaasr27is_constructible_array_typeIT_T0_EE5valuentsr28is_constructible_object_typeISJ_SK_EE5valuen... | long long ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEES5_ISF_SaISF_EETnNSt9enable_ifIXaaaaaaaasr27is_constructible_array_typeIT_T0_EE5valuentsr28is_constructible_object_typeISJ_SK... | _ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEES5_ISF_SaISF_EETnNSt9enable_ifIXaaaaaaaasr27is_constructible_array_typeIT_T0_EE5valuentsr28is_constructible_object_typeISJ_SK_EE5valuen... |
void _ZN8nlohmann16json_abi_v3_11_36detail9from_jsonINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEES5_ISF_SaISF_EETnNSt9enable_ifIXaaaaaaaasr27is_constructible_array_typeIT_T0_EE5valuentsr28is_constructible_object_typeISJ_SK_EE5... | |
6,257 | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | monkey531[P]llama/common/json.hpp | void parse(const bool strict, BasicJsonType& result)
{
if (callback)
{
json_sax_dom_callback_parser<BasicJsonType> sdp(result, callback, allow_exceptions);
sax_parse_internal(&sdp);
// in strict mode, input must be completely read
if (strict && (get_t... | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | _ZN8nlohmann16json_abi_v3_11_36detail6parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE5parseEbRSF_:
push rbp
push r15
push r14
push r12
push ... | long long nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::itera... | parse:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x1c0
MOV RBX,RDX
MOV EBP,ESI
MOV R15,RDI
CMP qword ptr [RDI + 0x10],0x0
JZ 0x001431bc
LEA R14,[RSP + 0xc8]
MOV RDI,R14
MOV RSI,R15
CALL 0x0014300e
MOVZX ECX,byte ptr [R15 + 0xc0]
LAB_00143091:
LEA RDI,[RSP + 0x108]
MOV RSI,RBX
MOV RDX,R14
CALL 0x0014420c
LEA ... |
/* nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
cha... | |
6,258 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O0 | c | bf_add_epsilon:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movl %ecx, 0x4c(%rsp)
movq %r8, 0x40(%rsp)
movl %r9d, 0x3c(%rsp)
leaq 0x10(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x58(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rsp), %rsi
callq 0xe5f70
movq 0x8(%rsp), %rdi
movl $0x1, %esi
c... | bf_add_epsilon:
sub rsp, 68h
mov [rsp+68h+var_8], rdi
mov [rsp+68h+var_10], rsi
mov [rsp+68h+var_18], rdx
mov [rsp+68h+var_1C], ecx
mov [rsp+68h+var_28], r8
mov [rsp+68h+var_2C], r9d
lea rax, [rsp+68h+var_58]
mov [rsp+68h+var_60], rax
mov rax, [rsp+68h+var_10]
mov rdi, [rax]
... | long long bf_add_epsilon(long long a1, long long *a2, long long a3, int a4, long long a5, unsigned int a6)
{
long long v6; // rsi
long long v7; // rdx
long long v8; // rcx
long long v9; // r8
long long v10; // r9
unsigned int v12; // [rsp+4h] [rbp-64h]
long long v13; // [rsp+10h] [rbp-58h] BYREF
int v1... | bf_add_epsilon:
SUB RSP,0x68
MOV qword ptr [RSP + 0x60],RDI
MOV qword ptr [RSP + 0x58],RSI
MOV qword ptr [RSP + 0x50],RDX
MOV dword ptr [RSP + 0x4c],ECX
MOV qword ptr [RSP + 0x40],R8
MOV dword ptr [RSP + 0x3c],R9D
LEA RAX,[RSP + 0x10]
MOV qword ptr [RSP + 0x8],RAX
MOV RAX,qword ptr [RSP + 0x58]
MOV RDI,qword ptr [RAX]
... |
int4
bf_add_epsilon(int8 param_1,int8 *param_2,long param_3,int4 param_4,
int8 param_5,int4 param_6)
{
int4 uVar1;
int1 local_58 [8];
int4 local_50;
long local_48;
int4 local_2c;
int8 local_28;
int4 local_1c;
long local_18;
int8 *local_10;
int8 local_8;
local_2c = param_6;
loc... | |
6,259 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O1 | c | bf_add_epsilon:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %r12
movq (%rsi), %rax
movq %rsp, %r13
movq %rax, (%r13)
movl $0x0, 0x8(%r13)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %r... | bf_add_epsilon:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebx, r9d
mov r14, r8
mov ebp, ecx
mov r15, rdx
mov r12, rdi
mov rax, [rsi]
mov r13, rsp
mov [r13+0], rax
mov dword ptr [r13+8], 0
mov rax, 8000000000000000h
mov [r13+1... | long long bf_add_epsilon(__int128 *a1, _QWORD *a2, long long a3, int a4, long long a5, unsigned int a6)
{
unsigned int v10; // ebx
__int128 v12; // [rsp+0h] [rbp-58h] BYREF
unsigned long long v13; // [rsp+10h] [rbp-48h]
__int128 v14; // [rsp+18h] [rbp-40h]
*(_QWORD *)&v12 = *a2;
DWORD2(v12) = 0;
v13 = 0... | bf_add_epsilon:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBX,R9D
MOV R14,R8
MOV EBP,ECX
MOV R15,RDX
MOV R12,RDI
MOV RAX,qword ptr [RSI]
MOV R13,RSP
MOV qword ptr [R13],RAX
MOV dword ptr [R13 + 0x8],0x0
MOV RAX,-0x8000000000000000
MOV qword ptr [R13 + 0x10],RAX
XORPS XMM0,XMM0
MOVUPS xmmwor... |
int4
bf_add_epsilon(int8 param_1,int8 *param_2,long param_3,int4 param_4,
int8 param_5,int4 param_6)
{
int4 uVar1;
int8 *local_58;
int4 local_50;
long local_48;
int8 local_40;
long lStack_38;
local_58 = (int8 *)*param_2;
local_50 = 0;
local_48 = -0x8000000000000000;
local_40 = 0;
... | |
6,260 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O2 | c | bf_add_epsilon:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %r12
movq (%rsi), %rax
movq %rsp, %r13
movq %rax, (%r13)
andl $0x0, 0x8(%r13)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %r... | bf_add_epsilon:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebx, r9d
mov r14, r8
mov ebp, ecx
mov r15, rdx
mov r12, rdi
mov rax, [rsi]
mov r13, rsp
mov [r13+0], rax
and dword ptr [r13+8], 0
mov rax, 8000000000000000h
mov [r13+1... | long long bf_add_epsilon(long long a1, long long *a2, long long a3, int a4, long long a5, unsigned int a6)
{
unsigned int v10; // ebx
long long v12; // [rsp+0h] [rbp-58h] BYREF
int v13; // [rsp+8h] [rbp-50h]
unsigned long long v14; // [rsp+10h] [rbp-48h]
__int128 v15; // [rsp+18h] [rbp-40h]
v12 = *a2;
v... | bf_add_epsilon:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBX,R9D
MOV R14,R8
MOV EBP,ECX
MOV R15,RDX
MOV R12,RDI
MOV RAX,qword ptr [RSI]
MOV R13,RSP
MOV qword ptr [R13],RAX
AND dword ptr [R13 + 0x8],0x0
MOV RAX,-0x8000000000000000
MOV qword ptr [R13 + 0x10],RAX
XORPS XMM0,XMM0
MOVUPS xmmwor... |
int4
bf_add_epsilon(int8 param_1,int8 *param_2,long param_3,int4 param_4,
int8 param_5,int4 param_6)
{
int4 uVar1;
int8 local_58;
int4 local_50;
long local_48;
int8 local_40;
int8 uStack_38;
local_58 = *param_2;
local_50 = 0;
local_48 = -0x8000000000000000;
local_40 = 0;
uStack_... | |
6,261 | bf_add_epsilon | bluesky950520[P]quickjs/libbf.c | static int bf_add_epsilon(bf_t *r, const bf_t *a, slimb_t e, int e_sign,
limb_t prec, int flags)
{
bf_t T_s, *T = &T_s;
int ret;
/* small argument case: result = 1 + epsilon * sign(x) */
bf_init(a->ctx, T);
bf_set_ui(T, 1);
T->sign = e_sign;
T->expn += e;
ret = ... | O3 | c | bf_add_epsilon:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %ebx
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rdi, %r12
movq %rsp, %r13
movq %rsi, (%r13)
movl $0x0, 0x8(%r13)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x10(%r13)
xor... | bf_add_epsilon:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov ebx, r9d
mov r14, r8
mov ebp, ecx
mov r15, rdx
mov r12, rdi
mov r13, rsp
mov [r13+0], rsi
mov dword ptr [r13+8], 0
mov rax, 8000000000000000h
mov [r13+10h], rax
xorps xm... | long long bf_add_epsilon(__int128 *a1, long long a2, long long a3, int a4, long long a5, unsigned int a6)
{
unsigned int v10; // ebx
__int128 v12; // [rsp+0h] [rbp-58h] BYREF
unsigned long long v13; // [rsp+10h] [rbp-48h]
__int128 v14; // [rsp+18h] [rbp-40h]
*(_QWORD *)&v12 = a2;
DWORD2(v12) = 0;
v13 = ... | bf_add_epsilon:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV EBX,R9D
MOV R14,R8
MOV EBP,ECX
MOV R15,RDX
MOV R12,RDI
MOV R13,RSP
MOV qword ptr [R13],RSI
MOV dword ptr [R13 + 0x8],0x0
MOV RAX,-0x8000000000000000
MOV qword ptr [R13 + 0x10],RAX
XORPS XMM0,XMM0
MOVUPS xmmword ptr [R13 + 0x18],XMM0
... |
int4
bf_add_epsilon(int8 param_1,int8 *param_2,long param_3,int4 param_4,
int8 param_5,int4 param_6)
{
int4 uVar1;
int8 *local_58;
int4 local_50;
long local_48;
int8 local_40;
long lStack_38;
local_50 = 0;
local_48 = -0x8000000000000000;
local_40 = 0;
lStack_38 = 0;
local_58 = p... | |
6,262 | POINTonE2_on_curve | corpus-core[P]colibri-stateless/build_O0/_deps/blst-src/src/e2.c | static bool_t POINTonE2_on_curve(const POINTonE2 *p)
{
vec384x XXX, YY, BZ6;
limb_t inf = vec_is_zero(p->Z, sizeof(p->Z));
sqr_fp2(BZ6, p->Z);
mul_fp2(BZ6, BZ6, p->Z);
sqr_fp2(XXX, BZ6); /* Z^6 */
mul_by_b_onE2(BZ6, XXX); /* B*Z^6 */
... | O0 | c | POINTonE2_on_curve:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp # imm = 0x140
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
addq $0xc0, %rdi
movl $0x60, %esi
callq 0x23820
movq %rax, -0x138(%rbp)
leaq -0x130(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0xc0, %rsi
callq 0x312a0
leaq -0x130(%rbp), %rdi
leaq -0x130(%... | POINTonE2_on_curve:
push rbp
mov rbp, rsp
sub rsp, 140h
mov [rbp+var_8], rdi
mov rdi, [rbp+var_8]
add rdi, 0C0h
mov esi, 60h ; '`'
call vec_is_zero
mov [rbp+var_138], rax
lea rdi, [rbp+var_130]
mov rsi, [rbp+var_8]
add rsi, 0C0h
call sqr_fp2
lea rdi, [rbp+var_130]
le... | unsigned long long POINTonE2_on_curve(long long a1)
{
unsigned long long is_zero; // [rsp+8h] [rbp-138h]
_BYTE v3[96]; // [rsp+10h] [rbp-130h] BYREF
_BYTE v4[96]; // [rsp+70h] [rbp-D0h] BYREF
_BYTE v5[104]; // [rsp+D0h] [rbp-70h] BYREF
long long v6; // [rsp+138h] [rbp-8h]
v6 = a1;
is_zero = vec_is_zero(... | POINTonE2_on_curve:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x140
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
ADD RDI,0xc0
MOV ESI,0x60
CALL 0x00123820
MOV qword ptr [RBP + -0x138],RAX
LEA RDI,[RBP + -0x130]
MOV RSI,qword ptr [RBP + -0x8]
ADD RSI,0xc0
CALL 0x001312a0
LEA RDI,[RBP + -0x130]
LEA RSI,[RBP + -0x130]... |
ulong POINTonE2_on_curve(long param_1)
{
ulong uVar1;
ulong uVar2;
int1 local_138 [96];
int1 local_d8 [96];
int1 local_78 [104];
long local_10;
local_10 = param_1;
uVar1 = vec_is_zero(param_1 + 0xc0,0x60);
sqr_fp2(local_138,local_10 + 0xc0);
mul_fp2(local_138,local_138,local_10 + 0xc0);
sqr_f... | |
6,263 | mi_pack_key | eloqsql/storage/myisam/mi_key.c | uint _mi_pack_key(register MI_INFO *info, uint keynr, uchar *key, uchar *old,
key_part_map keypart_map, HA_KEYSEG **last_used_keyseg)
{
uchar *start_key=key;
HA_KEYSEG *keyseg;
my_bool is_ft= info->s->keyinfo[keynr].flag & HA_FULLTEXT;
DBUG_ENTER("_mi_pack_key");
/* "one part" rtree key is ... | O3 | c | mi_pack_key:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, -0x50(%rbp)
movq (%rdi), %rax
movq 0x218(%rax), %rax
movl %esi, %esi
imulq $0x70, %rsi, %rsi
cmpb $0x2, 0xc(%rax,%rsi)
movq %rcx, %r12
movl $0xf, %r15d
cmovneq %r8, %r15
movq %rdx, -0x40(%rbp)
movq ... | _mi_pack_key:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 38h
mov [rbp+var_50], r9
mov rax, [rdi]
mov rax, [rax+218h]
mov esi, esi
imul rsi, 70h ; 'p'
cmp byte ptr [rax+rsi+0Ch], 2
mov r12, rcx
mov r15d, 0Fh
cmovnz r15, r8
mov ... | long long mi_pack_key(long long a1, unsigned int a2, char *a3, _BYTE *a4, unsigned long long a5, long long **a6)
{
long long v6; // rax
long long v7; // rsi
unsigned long long v9; // r15
long long *v10; // r14
char v11; // cl
char *v12; // rdi
unsigned long long v13; // rbx
long long v14; // r13
_BYT... | _mi_pack_key:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RBP + -0x50],R9
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x218]
MOV ESI,ESI
IMUL RSI,RSI,0x70
CMP byte ptr [RAX + RSI*0x1 + 0xc],0x2
MOV R12,RCX
MOV R15D,0xf
CMOVNZ R15,R8
MOV qword ptr [RBP + -0x40],RDX
... |
int _mi_pack_key(long *param_1,uint param_2,char *param_3,ushort *param_4,ulong param_5,
long *param_6)
{
int2 uVar1;
ushort uVar2;
long lVar3;
bool bVar4;
char cVar5;
ushort uVar6;
ulong __n;
long *plVar7;
char *pcVar8;
char *__dest;
ulong uVar9;
long lVar10;
ushort *__src;
... | |
6,264 | YogaTest_max_content_flex_basis_column_Test::TestBody() | yoga-mod/tests/generated/YGIntrinsicSizeTest.cpp | TEST(YogaTest, max_content_flex_basis_column) {
YGConfigRef config = YGConfigNew();
YGNodeRef root = YGNodeNewWithConfig(config);
YGNodeStyleSetPositionType(root, YGPositionTypeAbsolute);
YGNodeStyleSetFlexWrap(root, YGWrapWrap);
YGNodeStyleSetFlexBasisMaxContent(root);
YGNodeRef root_child0 = YGNodeNewWi... | O0 | cpp | YogaTest_max_content_flex_basis_column_Test::TestBody():
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x7047d0
movq -0x10(%rbp), %rax
leaq 0x387b7c(%rip), %rcx # 0x869e70
addq $0x10, %rcx
movq %rcx, (%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %c... | _ZN43YogaTest_max_content_flex_basis_column_TestC2Ev:
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 _ZN7testing4TestC2Ev; testing::Test::Test(void)
mov rax, [rbp+var_10]
lea rcx, _ZTV43YogaTest_max_content_flex_basis_colum... | void YogaTest_max_content_flex_basis_column_Test::YogaTest_max_content_flex_basis_column_Test(
YogaTest_max_content_flex_basis_column_Test *this)
{
testing::Test::Test(this);
*(_QWORD *)this = (char *)&`vtable for'YogaTest_max_content_flex_basis_column_Test + 16;
}
| ~YogaTest_flex_direction_col_reverse_inner_margin_bottom_Test:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDI,qword ptr [RBP + -0x8]
CALL 0x00804850
ADD RSP,0x10
POP RBP
RET
|
/* YogaTest_flex_direction_col_reverse_inner_margin_bottom_Test::~YogaTest_flex_direction_col_reverse_inner_margin_bottom_Test()
*/
void __thiscall
YogaTest_flex_direction_col_reverse_inner_margin_bottom_Test::
~YogaTest_flex_direction_col_reverse_inner_margin_bottom_Test
(YogaTest_flex_direction_col_re... | |
6,265 | uf_prespace | eloqsql/storage/maria/ma_packrec.c | static void uf_prespace(MARIA_COLUMNDEF *rec, MARIA_BIT_BUFF *bit_buff,
uchar *to, uchar *end)
{
uint spaces;
if ((spaces=get_bits(bit_buff,rec->space_length_bits))+to > end)
{
bit_buff->error=1;
return;
}
bfill(to, spaces, ' ');
if (to+spaces != end)
decode_bytes(rec,bit... | O0 | c | uf_prespace:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x24(%rcx), %eax
jb 0x3a87b
movq -0x10(%rbp), %rax
movl (%rax), %eax
movq -0x8(%rbp), %rcx
movl 0x24(... | uf_prespace:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov rax, [rbp+var_10]
mov eax, [rax+4]
mov rcx, [rbp+var_8]
cmp eax, [rcx+24h]
jb short loc_3A87B
mov rax, [rbp+var_10]
mov eax, ... | long long uf_prespace(long long a1, unsigned int *a2, long long a3, _BYTE *a4)
{
unsigned int v4; // eax
int v5; // ecx
long long result; // rax
unsigned int bits; // [rsp+8h] [rbp-28h]
if ( a2[1] < *(_DWORD *)(a1 + 36) )
{
bits = fill_and_get_bits(a2, *(_DWORD *)(a1 + 36));
}
else
{
v4 = *a... | uf_prespace:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
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 RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x4]
MOV RCX,qword ptr [RBP + -0x8]
CMP EAX,dword ptr [RCX + 0x24]
JC 0x0013a87b
MOV RAX,... |
void uf_prespace(long param_1,uint *param_2,void *param_3,ulong param_4)
{
uint uVar1;
uint local_30;
if (param_2[1] < *(uint *)(param_1 + 0x24)) {
local_30 = fill_and_get_bits(param_2,*(int4 *)(param_1 + 0x24));
}
else {
uVar1 = param_2[1] - *(int *)(param_1 + 0x24);
param_2[1] = uVar1;
... | |
6,266 | nglog::TruncateStdoutStderr() | ng-log[P]ng-log/src/logging.cc | static uint32 MaxLogSize() {
return (FLAGS_max_log_size > 0 && FLAGS_max_log_size < 4096
? FLAGS_max_log_size
: 1);
} | O1 | cpp | nglog::TruncateStdoutStderr():
pushq %rbx
leaq 0x22652(%rip), %rax # 0x2fa6c
movl (%rax), %eax
leal -0x1(%rax), %ecx
shll $0x14, %eax
cmpl $0xfff, %ecx # imm = 0xFFF
movl $0x100000, %ebx # imm = 0x100000
cmovbl %eax, %ebx
leaq 0x15390(%rip), %rdi # 0x227c7
movl $0x100000, %edx # imm =... | _ZN5nglog20TruncateStdoutStderrEv:
push rbx
lea rax, _ZN3fLU18FLAGS_max_log_sizeE; fLU::FLAGS_max_log_size
mov eax, [rax]
lea ecx, [rax-1]; unsigned __int64
shl eax, 14h
cmp ecx, 0FFFh
mov ebx, 100000h
cmovb ebx, eax
lea rdi, aProcSelfFd1; "/proc/self/fd/1"
mov edx, 100000h; unsigne... | void nglog::TruncateStdoutStderr(nglog *this)
{
long long v1; // rbx
v1 = 0x100000LL;
if ( (unsigned int)(fLU::FLAGS_max_log_size - 1) < 0xFFF )
v1 = (unsigned int)(fLU::FLAGS_max_log_size << 20);
nglog::TruncateLogFile((nglog *)"/proc/self/fd/1", (const char *)v1, 0x100000LL);
nglog::TruncateLogFile((n... | TruncateStdoutStderr:
PUSH RBX
LEA RAX,[0x12fa6c]
MOV EAX,dword ptr [RAX]
LEA ECX,[RAX + -0x1]
SHL EAX,0x14
CMP ECX,0xfff
MOV EBX,0x100000
CMOVC EBX,EAX
LEA RDI,[0x1227c7]
MOV EDX,0x100000
MOV RSI,RBX
CALL 0x0010cc99
LEA RDI,[0x1227d7]
MOV EDX,0x100000
MOV RSI,RBX
POP RBX
JMP 0x0010cc99
|
/* nglog::TruncateStdoutStderr() */
void nglog::TruncateStdoutStderr(void)
{
ulong uVar1;
uVar1 = 0x100000;
if (fLU::FLAGS_max_log_size - 1U < 0xfff) {
uVar1 = (ulong)(uint)(fLU::FLAGS_max_log_size << 0x14);
}
TruncateLogFile("/proc/self/fd/1",uVar1,0x100000);
TruncateLogFile("/proc/self/fd/2",uVa... | |
6,267 | my_multi_malloc | eloqsql/mysys/mulalloc.c | void* my_multi_malloc(PSI_memory_key key, myf myFlags, ...)
{
va_list args;
char **ptr,*start,*res;
size_t tot_length,length;
DBUG_ENTER("my_multi_malloc");
va_start(args,myFlags);
tot_length=0;
while ((ptr=va_arg(args, char **)))
{
length=va_arg(args,uint);
tot_length+=ALIGN_SIZE(length);
}
... | O3 | c | my_multi_malloc:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %r10
movq %rsi, %rdx
leaq -0xe0(%rbp), %r14
movq %r10, 0x10(%r14)
movq %rcx, 0x18(%r14)
movq %r8, 0x20(%r14)
movq %r9, 0x28(%r14)
testb %al, %al
je 0x9f7a6
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps ... | my_multi_malloc:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
sub rsp, 0C8h
mov r10, rdx
mov rdx, rsi
lea r14, [rbp+var_E0]
mov [r14+10h], r10
mov [r14+18h], rcx
mov [r14+20h], r8
mov [r14+28h], r9
test al, al
jz short loc_9F7A6
movaps [rbp+var_B0], xmm0
mova... | long long my_multi_malloc(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 a14,
... | my_multi_malloc:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0xc8
MOV R10,RDX
MOV RDX,RSI
LEA R14,[RBP + -0xe0]
MOV qword ptr [R14 + 0x10],R10
MOV qword ptr [R14 + 0x18],RCX
MOV qword ptr [R14 + 0x20],R8
MOV qword ptr [R14 + 0x28],R9
TEST AL,AL
JZ 0x0019f7a6
MOVAPS xmmword ptr [RBP + -0xb0],XMM0
MOVAPS xmmw... |
void my_multi_malloc(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5,int8 param_6,int8 param_7,int8 param_8,
int8 param_9,int8 param_10,int8 param_11,int8 param_12,
int8 param_13,int8 param_14)
{
char in_AL;
uint uVar1;
uint *puVar2;
... | |
6,268 | my_scan_utf32 | eloqsql/strings/ctype-ucs2.c | static size_t
my_scan_utf32(CHARSET_INFO *cs,
const char *str, const char *end, int sequence_type)
{
const char *str0= str;
switch (sequence_type)
{
case MY_SEQ_SPACES:
for ( ; str < end; )
{
my_wc_t wc;
int res= my_utf32_uni(cs, &wc, (uchar*) str, (uchar*) end);
if (r... | O3 | c | my_scan_utf32:
cmpl $0x2, %ecx
jne 0xc5069
pushq %rbp
movq %rsp, %rbp
movq %rsi, %rcx
movq %rcx, %rax
cmpq %rdx, %rcx
jae 0xc5064
leaq 0x4(%rax), %rcx
cmpq %rdx, %rcx
ja 0xc5064
movzbl (%rax), %ecx
shll $0x18, %ecx
movzbl 0x1(%rax), %edi
shll $0x10, %edi
orl %ecx, %edi
xorl %ecx, %ecx
cmpl $0x110000, %edi # imm... | my_scan_utf32:
cmp ecx, 2
jnz short loc_C5069
push rbp
mov rbp, rsp
mov rcx, rsi
loc_C501E:
mov rax, rcx
cmp rcx, rdx
jnb short loc_C5064
lea rcx, [rax+4]
cmp rcx, rdx
ja short loc_C5064
movzx ecx, byte ptr [rax]
shl ecx, 18h
movzx edi, byte ptr [rax+1]
shl edi, 1... | long long my_scan_utf32(long long a1, unsigned __int8 *a2, unsigned long long a3, int a4)
{
unsigned __int8 *v4; // rcx
unsigned __int8 *v5; // rax
unsigned int v6; // edi
if ( a4 != 2 )
return 0LL;
v4 = a2;
do
{
v5 = v4;
if ( (unsigned long long)v4 >= a3 )
break;
if ( (unsigned lo... | my_scan_utf32:
CMP ECX,0x2
JNZ 0x001c5069
PUSH RBP
MOV RBP,RSP
MOV RCX,RSI
LAB_001c501e:
MOV RAX,RCX
CMP RCX,RDX
JNC 0x001c5064
LEA RCX,[RAX + 0x4]
CMP RCX,RDX
JA 0x001c5064
MOVZX ECX,byte ptr [RAX]
SHL ECX,0x18
MOVZX EDI,byte ptr [RAX + 0x1]
SHL EDI,0x10
OR EDI,ECX
XOR ECX,ECX
CMP EDI,0x110000
SETC CL
MOVZX R8D,word p... |
long my_scan_utf32(int8 param_1,byte *param_2,byte *param_3,int param_4)
{
byte *pbVar1;
byte *pbVar2;
uint uVar3;
pbVar1 = param_2;
if (param_4 != 2) {
return 0;
}
do {
pbVar2 = pbVar1;
if ((param_3 <= pbVar2) || (param_3 < pbVar2 + 4)) break;
uVar3 = (uint)pbVar2[1] << 0x10 | (uint)... | |
6,269 | file_set | corpus-core[P]colibri-stateless/src/util/plugin.c | static void file_set(char* key, bytes_t value) {
char* full_path = combine_filename(key);
if (full_path == NULL) return;
FILE* file = fopen(full_path, "wb");
safe_free(full_path);
if (!file) return;
fwrite(value.data, 1, value.len, file);
fclose(file);
} | O0 | c | file_set:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %esi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0xa3ae0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0xa39f9
jmp 0xa3a3f
movq -0x20(%rbp), %rdi
leaq 0x36736(%rip), %rsi # 0xda13a
callq 0x23280
movq %rax, -0x2... | file_set:
push rbp
mov rbp, rsp
sub rsp, 30h
mov [rbp+var_10], esi
mov [rbp+var_8], rdx
mov [rbp+var_18], rdi
mov rdi, [rbp+var_18]
call combine_filename
mov [rbp+var_20], rax
cmp [rbp+var_20], 0
jnz short loc_A39F9
jmp short loc_A3A3F
loc_A39F9:
mov rdi, [rbp+var_20]
l... | long long file_set(long long a1, unsigned int a2, long long a3)
{
long long result; // rax
long long v4; // [rsp+8h] [rbp-28h]
long long v5; // [rsp+10h] [rbp-20h]
result = combine_filename(a1);
v5 = result;
if ( result )
{
v4 = fopen(result, "wb");
result = safe_free(v5);
if ( v4 )
{
... | file_set:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x10],ESI
MOV qword ptr [RBP + -0x8],RDX
MOV qword ptr [RBP + -0x18],RDI
MOV RDI,qword ptr [RBP + -0x18]
CALL 0x001a3ae0
MOV qword ptr [RBP + -0x20],RAX
CMP qword ptr [RBP + -0x20],0x0
JNZ 0x001a39f9
JMP 0x001a3a3f
LAB_001a39f9:
MOV RDI,qword ptr [RBP + ... |
void file_set(int8 param_1,uint param_2,void *param_3)
{
char *__filename;
FILE *__s;
__filename = (char *)combine_filename(param_1);
if (__filename != (char *)0x0) {
__s = fopen(__filename,"wb");
safe_free(__filename);
if (__s != (FILE *)0x0) {
fwrite(param_3,1,(ulong)param_2,__s);
... | |
6,270 | file_set | corpus-core[P]colibri-stateless/src/util/plugin.c | static void file_set(char* key, bytes_t value) {
char* full_path = combine_filename(key);
if (full_path == NULL) return;
FILE* file = fopen(full_path, "wb");
safe_free(full_path);
if (!file) return;
fwrite(value.data, 1, value.len, file);
fclose(file);
} | O3 | c | file_set:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
callq 0x55246
testq %rax, %rax
je 0x551f0
movq %rax, %r15
leaq 0x29f86(%rip), %rsi # 0x7f13a
movq %rax, %rdi
callq 0x21250
movq %rax, %r14
movq %r15, %rdi
callq 0x50f4c
testq %r14, %r14
je 0x551f0
movl %ebp, %edx
movl $... | file_set:
push rbp
push r15
push r14
push rbx
push rax
mov rbx, rdx
mov ebp, esi
call combine_filename
test rax, rax
jz short loc_551F0
mov r15, rax
lea rsi, aWb; "wb"
mov rdi, rax
call _fopen
mov r14, rax
mov rdi, r15
call safe_free
test r14, r14
jz s... | long long file_set(long long a1, unsigned int a2, long long a3)
{
long long result; // rax
long long v5; // rdx
long long v6; // rcx
long long v7; // r15
long long v8; // r14
result = combine_filename(a1);
if ( result )
{
v7 = result;
v8 = fopen(result, "wb", v5, v6);
result = safe_free(v7... | file_set:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV EBP,ESI
CALL 0x00155246
TEST RAX,RAX
JZ 0x001551f0
MOV R15,RAX
LEA RSI,[0x17f13a]
MOV RDI,RAX
CALL 0x00121250
MOV R14,RAX
MOV RDI,R15
CALL 0x00150f4c
TEST R14,R14
JZ 0x001551f0
MOV EDX,EBP
MOV ESI,0x1
MOV RDI,RBX
MOV RCX,R14
CALL 0x00121400
MOV RDI,... |
void file_set(int8 param_1,ulong param_2,void *param_3)
{
char *__filename;
FILE *__s;
__filename = (char *)combine_filename();
if (__filename != (char *)0x0) {
__s = fopen(__filename,"wb");
safe_free(__filename);
if (__s != (FILE *)0x0) {
fwrite(param_3,1,param_2 & 0xffffffff,__s);
... | |
6,271 | sapphire_plugins::shared::ProcessorShim<sapphire_plugins::elastika::ElastikaClap>::registerOrUnregisterTimer(unsigned int&, int, bool) | sapphire-plugins/src/shared/processor_shim.h | bool registerOrUnregisterTimer(clap_id &id, int ms, bool reg) override
{
if (!_host.canUseTimerSupport())
return false;
if (reg)
{
_host.timerSupportRegister(ms, &id);
}
else
{
_host.timerSupportUnregister(id);
}
ret... | O3 | c | sapphire_plugins::shared::ProcessorShim<sapphire_plugins::elastika::ElastikaClap>::registerOrUnregisterTimer(unsigned int&, int, bool):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r12d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
addq $0x8, %r15
movq %r15, %rdi
callq 0xeb0e8
movl %eax, %ebx
te... | _ZN16sapphire_plugins6shared13ProcessorShimINS_8elastika12ElastikaClapEE25registerOrUnregisterTimerERjib:
push rbp
push r15
push r14
push r12
push rbx
mov r12d, ecx
mov ebp, edx
mov r14, rsi
mov r15, rdi
add r15, 8
mov rdi, r15
call _ZNK4clap7helpers9HostProxyILNS0_19Misbehavio... | long long sapphire_plugins::shared::ProcessorShim<sapphire_plugins::elastika::ElastikaClap>::registerOrUnregisterTimer(
long long a1,
unsigned int *a2,
unsigned int a3,
char a4)
{
long long v6; // r15
unsigned int canUseTimerSupport; // ebx
v6 = a1 + 8;
canUseTimerSupport = cla... | registerOrUnregisterTimer:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R12D,ECX
MOV EBP,EDX
MOV R14,RSI
MOV R15,RDI
ADD R15,0x8
MOV RDI,R15
CALL 0x001eb0e8
MOV EBX,EAX
TEST AL,AL
JZ 0x001d3aaa
TEST R12B,R12B
JZ 0x001d3a9f
MOV RDI,R15
MOV ESI,EBP
MOV RDX,R14
CALL 0x001eb11e
JMP 0x001d3aaa
LAB_001d3a9f:
MOV ESI,dwor... |
/* sapphire_plugins::shared::ProcessorShim<sapphire_plugins::elastika::ElastikaClap>::registerOrUnregisterTimer(unsigned
int&, int, bool) */
int4 __thiscall
sapphire_plugins::shared::ProcessorShim<sapphire_plugins::elastika::ElastikaClap>::
registerOrUnregisterTimer
(ProcessorShim<sapphire_plugins::elast... | |
6,272 | Settings::setLastShot(unsigned long, unsigned long) | 666mxvbee[P]BattleShip/lib/Settings/Settings.cpp | void Settings::setLastShot(uint64_t x, uint64_t y) {
std::lock_guard<std::mutex> lock(settings_mutex);
lastShotX = x;
lastShotY = y;
haveLastShot = true;
} | O1 | cpp | Settings::setLastShot(unsigned long, unsigned long):
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x5520
testl %eax, %eax
jne 0x6e31
movq %r15, 0xc8(%rbx)
movq %r14, 0xd0(%rbx)
movb $0x1, 0xc0(%rbx)
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x52f0
movl %eax, %edi
callq ... | _ZN8Settings11setLastShotEmm:
push r15
push r14
push rbx
mov r14, rdx
mov r15, rsi
mov rbx, rdi
call _pthread_mutex_lock
test eax, eax
jnz short loc_6E31
mov [rbx+0C8h], r15
mov [rbx+0D0h], r14
mov byte ptr [rbx+0C0h], 1
mov rdi, rbx
pop rbx
pop r14
pop r15
jmp... | long long Settings::setLastShot(Settings *this, long long a2, long long a3)
{
int v4; // eax
v4 = pthread_mutex_lock(this);
if ( v4 )
std::__throw_system_error(v4);
*((_QWORD *)this + 25) = a2;
*((_QWORD *)this + 26) = a3;
*((_BYTE *)this + 192) = 1;
return pthread_mutex_unlock(this);
}
| setLastShot:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
CALL 0x00105520
TEST EAX,EAX
JNZ 0x00106e31
MOV qword ptr [RBX + 0xc8],R15
MOV qword ptr [RBX + 0xd0],R14
MOV byte ptr [RBX + 0xc0],0x1
MOV RDI,RBX
POP RBX
POP R14
POP R15
JMP 0x001052f0
LAB_00106e31:
MOV EDI,EAX
CALL 0x00105260
|
/* Settings::setLastShot(unsigned long, unsigned long) */
void __thiscall Settings::setLastShot(Settings *this,ulong param_1,ulong param_2)
{
int iVar1;
iVar1 = pthread_mutex_lock((pthread_mutex_t *)this);
if (iVar1 == 0) {
*(ulong *)(this + 200) = param_1;
*(ulong *)(this + 0xd0) = param_2;
thi... | |
6,273 | mysql_hex_string | eloqsql/libmariadb/libmariadb/mariadb_lib.c | ulong STDCALL mysql_hex_string(char *to, const char *from, unsigned long len)
{
char *start= to;
char hexdigits[]= "0123456789ABCDEF";
while (len--)
{
*to++= hexdigits[((unsigned char)*from) >> 4];
*to++= hexdigits[((unsigned char)*from) & 0x0F];
from++;
}
*to= 0;
return (ulong)(to - start);
... | O0 | c | mysql_hex_string:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x28(%rbp)
movq %rsi, -0x30(%rbp)
movq %rdx, -0x38(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
movq 0x2cfa0(%rip), %rax # 0x4ede0
movq %rax, -0x20(%rbp)
movq 0x2cf9d(%rip), %rax # 0x4ede8
... | mysql_hex_string:
push rbp
mov rbp, rsp
sub rsp, 50h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_28], rdi
mov [rbp+var_30], rsi
mov [rbp+var_38], rdx
mov rax, [rbp+var_28]
mov [rbp+var_40], rax
mov rax, cs:qword_4EDE0
mov [rbp+var_20], rax
mov rax, cs:qword_4EDE8... | _BYTE * mysql_hex_string(_BYTE *a1, unsigned __int8 *a2, long long a3)
{
_BYTE *v4; // rax
_BYTE *v8; // [rsp+28h] [rbp-28h]
char v9[24]; // [rsp+30h] [rbp-20h] BYREF
unsigned long long v10; // [rsp+48h] [rbp-8h]
v10 = __readfsqword(0x28u);
v8 = a1;
strcpy(v9, "0123456789ABCDEF");
while ( a3-- )
{
... | mysql_hex_string:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x40],RAX
MOV RAX,qword ptr [0x0014ede0]
MOV qword ptr [RBP... |
long mysql_hex_string(char *param_1,byte *param_2,long param_3)
{
char *pcVar1;
long in_FS_OFFSET;
long local_40;
byte *local_38;
char *local_30;
char local_28 [16];
char local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28._0_8_ = s_0123456789ABCDEF_0014ede0._0_8_;
lo... | |
6,274 | intx::operator>>(intx::uint<256u> const&, unsigned long) | corpus-core[P]colibri-stateless/build_O2/_deps/intx-src/include/intx/intx.hpp | inline constexpr uint256 operator>>(const uint256& x, uint64_t shift) noexcept
{
if (INTX_UNLIKELY(shift >= uint256::num_bits))
return 0;
constexpr auto num_bits = uint256::num_bits;
constexpr auto half_bits = num_bits / 2;
const auto xhi = uint128{x[2], x[3]};
if (shift < half_bits)
... | O2 | cpp | intx::operator>>(intx::uint<256u> const&, unsigned long):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpq $0x100, %rdx # imm = 0x100
jae 0x39daf
movq %rdx, %r14
movq %rsi, %r15
movq 0x10(%rsi), %rbp
movq 0x18(%rsi), %r13
cmpq $0x7f, %rdx
ja 0x39d7d
movq... | _ZN4intxrsERKNS_4uintILj256EEEm:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, rdi
cmp rdx, 100h
jnb loc_39DAF
mov r14, rdx
mov r15, rsi
mov rbp, [rsi+10h]
mov r13, [rsi+18h]
cmp rdx, 7Fh
ja short loc_39D7D
mov rdi, rbp
mov ... | long long intx::operator>>(long long a1, unsigned long long *a2, unsigned long long a3)
{
long long v4; // rbp
long long v5; // r13
long long v6; // rdx
unsigned long long v7; // r12
unsigned long long v8; // r15
__int128 v9; // rax
__int128 v10; // rt0
long long v11; // rdx
long long v12; // rdx
l... | operator>>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
CMP RDX,0x100
JNC 0x00139daf
MOV R14,RDX
MOV R15,RSI
MOV RBP,qword ptr [RSI + 0x10]
MOV R13,qword ptr [RSI + 0x18]
CMP RDX,0x7f
JA 0x00139d7d
MOV RDI,RBP
MOV RSI,R13
MOV RDX,R14
CALL 0x00138a41
MOV qword ptr [RSP + 0x10],RAX
MOV ... |
/* intx::TEMPNAMEPLACEHOLDERVALUE(intx::uint<256u> const&, unsigned long) */
intx * __thiscall intx::operator>>(intx *this,uint *param_1,ulong param_2)
{
intx *piVar1;
int8 uVar2;
intx *piVar3;
int8 uVar4;
int1 auVar5 [16];
int1 auVar6 [16];
int1 auVar7 [16];
if (param_2 < 0x100) {
piVar1 = *(... | |
6,275 | my_coll_parser_scan_reset_sequence | eloqsql/strings/ctype-uca.c | static int
my_coll_parser_scan_reset_sequence(MY_COLL_RULE_PARSER *p)
{
my_coll_rule_reset(&p->rule);
/* Scan "[before x]" option, if exists */
if (my_coll_parser_curr(p)->term == MY_COLL_LEXEM_OPTION)
my_coll_parser_scan_reset_before(p);
/* Try logical reset position */
if (my_coll_parser_curr(p)->term... | O0 | c | my_coll_parser_scan_reset_sequence:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
addq $0x50, %rdi
callq 0x4f7c0
movq -0x10(%rbp), %rdi
callq 0x4ecc0
cmpl $0x7, (%rax)
jne 0x4f520
movq -0x10(%rbp), %rdi
callq 0x4f7f0
movq -0x10(%rbp), %rdi
callq 0x4ecc0
cmpl $0x7, (%rax)
jne ... | my_coll_parser_scan_reset_sequence:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_10], rdi
mov rdi, [rbp+var_10]
add rdi, 50h ; 'P'
call my_coll_rule_reset
mov rdi, [rbp+var_10]
call my_coll_parser_curr
cmp dword ptr [rax], 7
jnz short loc_4F520
mov rdi, [rbp+var_10]
call ... | _BOOL8 my_coll_parser_scan_reset_sequence(long long a1)
{
my_coll_rule_reset(a1 + 80);
if ( *(_DWORD *)my_coll_parser_curr(a1) == 7 )
my_coll_parser_scan_reset_before(a1);
if ( *(_DWORD *)my_coll_parser_curr(a1) != 7 )
return (unsigned int)my_coll_parser_scan_character_list(a1, a1 + 80, 10LL, "Expansion"... | my_coll_parser_scan_reset_sequence:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x10],RDI
MOV RDI,qword ptr [RBP + -0x10]
ADD RDI,0x50
CALL 0x0014f7c0
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x0014ecc0
CMP dword ptr [RAX],0x7
JNZ 0x0014f520
MOV RDI,qword ptr [RBP + -0x10]
CALL 0x0014f7f0
LAB_0014f520:
MOV RDI,... |
int4 my_coll_parser_scan_reset_sequence(long param_1)
{
int iVar1;
int *piVar2;
my_coll_rule_reset(param_1 + 0x50);
piVar2 = (int *)my_coll_parser_curr(param_1);
if (*piVar2 == 7) {
my_coll_parser_scan_reset_before(param_1);
}
piVar2 = (int *)my_coll_parser_curr(param_1);
if (*piVar2 == 7) {
... | |
6,276 | mysql_server_init | eloqsql/libmariadb/libmariadb/mariadb_lib.c | int STDCALL mysql_server_init(int argc __attribute__((unused)),
char **argv __attribute__((unused)),
char **groups __attribute__((unused)))
{
#ifdef _WIN32
BOOL ret = InitOnceExecuteOnce(&init_once, win_init_once, NULL, NULL);
return ret? 0: 1;
#else
return pthread_once(&init_once, mysql_once_init);
#endif
} | O0 | c | mysql_server_init:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq 0x44eb6(%rip), %rdi # 0x64690
leaq 0x809f(%rip), %rsi # 0x27880
callq 0x133d0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
| mysql_server_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 rdi, init_once
lea rsi, mysql_once_init
call _pthread_once
add rsp, 20h
pop rbp
retn
| long long mysql_server_init()
{
return pthread_once(&init_once, mysql_once_init);
}
| mysql_server_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 RDI,[0x164690]
LEA RSI,[0x127880]
CALL 0x001133d0
ADD RSP,0x20
POP RBP
RET
|
void mysql_server_init(void)
{
pthread_once(&init_once,mysql_once_init);
return;
}
| |
6,277 | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/../bfr/pointOperations.h | static void apply(Parameters const & args) {
typedef struct PointBuilder<REAL,SIZE> Point;
int pSize = args.pointSize;
int pStride = args.pointStride;
REAL const * w = args.weightArray[0];
REAL * p = args.resultArray[0];
if (args.srcIndices == 0) {
... | O0 | c | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&):
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %eax
movl ... | _ZN10OpenSubdiv6v3_6_03Bfr6points8Combine1IdE5applyILi4EEEvRKNS2_27CommonCombinationParametersIdEE:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov eax, [rax+8]
mov [rbp+var_C], eax
mov rax, [rbp+var_8]
mov eax, [rax+0Ch]
mov [rbp+var_10], eax
mov ... | long long OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<4>(long long *a1)
{
long long result; // rax
int i; // [rsp+4h] [rbp-3Ch]
int j; // [rsp+14h] [rbp-2Ch]
long long v4; // [rsp+18h] [rbp-28h]
long long v5; // [rsp+20h] [rbp-20h]
double *v6; // [rsp+28h] [rbp-18h]
int v7; // [rsp+30h] [rbp... | |||
6,278 | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/../bfr/pointOperations.h | static void apply(Parameters const & args) {
typedef struct PointBuilder<REAL,SIZE> Point;
int pSize = args.pointSize;
int pStride = args.pointStride;
REAL const * w = args.weightArray[0];
REAL * p = args.resultArray[0];
if (args.srcIndices == 0) {
... | O1 | c | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&):
pushq %rbx
movl 0x8(%rdi), %eax
movslq 0xc(%rdi), %rcx
movq 0x28(%rdi), %rdx
movq (%rdx), %rdx
movq 0x20(%rdi), %rsi
movq (%rsi), %rsi
movq 0x10(%rdi), %r9
movq (%rdi), %r8
testq ... | _ZN10OpenSubdiv6v3_6_03Bfr6points8Combine1IdE5applyILi0EEEvRKNS2_27CommonCombinationParametersIdEE:
push rbx
mov eax, [rdi+8]
movsxd rcx, dword ptr [rdi+0Ch]
mov rdx, [rdi+28h]
mov rdx, [rdx]
mov rsi, [rdi+20h]
mov rsi, [rsi]
mov r9, [rdi+10h]
mov r8, [rdi]
test r9, r9
jz loc_9A9... | long long OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>(long long *a1)
{
long long result; // rax
long long v2; // rcx
double *v3; // rdx
long long v4; // rsi
_DWORD *v5; // r9
long long v6; // r8
long long v7; // r10
double v8; // xmm0_8
long long i; // r11
long long v10; // rdi
lo... | apply<0>:
PUSH RBX
MOV EAX,dword ptr [RDI + 0x8]
MOVSXD RCX,dword ptr [RDI + 0xc]
MOV RDX,qword ptr [RDI + 0x28]
MOV RDX,qword ptr [RDX]
MOV RSI,qword ptr [RDI + 0x20]
MOV RSI,qword ptr [RSI]
MOV R9,qword ptr [RDI + 0x10]
MOV R8,qword ptr [RDI]
TEST R9,R9
JZ 0x0019a9ce
TEST EAX,EAX
JLE 0x0019a979
MOV R10D,dword ptr [R9... |
/* void
OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<double>
const&) */
void OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>
(CommonCombinationParameters *param_1)
{
double dVar1;
uint uVar2;
int iVar3... | |
6,279 | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/../bfr/pointOperations.h | static void apply(Parameters const & args) {
typedef struct PointBuilder<REAL,SIZE> Point;
int pSize = args.pointSize;
int pStride = args.pointStride;
REAL const * w = args.weightArray[0];
REAL * p = args.resultArray[0];
if (args.srcIndices == 0) {
... | O2 | c | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x8(%rdi), %edx
movslq 0xc(%rdi), %r12
movq 0x28(%rdi), %rax
movq (%rax), %r13
mo... | _ZN10OpenSubdiv6v3_6_03Bfr6points8Combine1IdE5applyILi0EEEvRKNS2_27CommonCombinationParametersIdEE:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdi
mov edx, [rdi+8]
movsxd r12, dword ptr [rdi+0Ch]
mov rax, [rdi+28h]
mov r13, [rax]
mov rax, [rdi+20h]
... | long long OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>(long long *a1)
{
long long v1; // r12
double *v2; // r13
long long v3; // r14
int *v4; // rax
long long v5; // r15
unsigned int v6; // ebp
long long i; // r15
long long result; // rax
long long v9; // r15
long long v10; // r12
... | apply<0>:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV EDX,dword ptr [RDI + 0x8]
MOVSXD R12,dword ptr [RDI + 0xc]
MOV RAX,qword ptr [RDI + 0x28]
MOV R13,qword ptr [RAX]
MOV RAX,qword ptr [RDI + 0x20]
MOV R14,qword ptr [RAX]
MOV RAX,qword ptr [RDI + 0x10]
MOV R15,qword ptr [RDI]
TEST RA... |
/* void
OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<double>
const&) */
void OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>
(CommonCombinationParameters *param_1)
{
int iVar1;
double *pdVar2;
double *... | |
6,280 | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&) | NVIDIA-RTX[P]OSD-Lite/opensubdiv/bfr/../bfr/pointOperations.h | static void apply(Parameters const & args) {
typedef struct PointBuilder<REAL,SIZE> Point;
int pSize = args.pointSize;
int pStride = args.pointStride;
REAL const * w = args.weightArray[0];
REAL * p = args.resultArray[0];
if (args.srcIndices == 0) {
... | O3 | c | void OpenSubdiv::v3_6_0::Bfr::points::Combine1<float>::apply<1>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<float> const&):
pushq %rbx
movl 0x8(%rdi), %eax
movslq 0xc(%rdi), %rcx
movq 0x28(%rdi), %rdx
movq (%rdx), %rdx
movq 0x20(%rdi), %rsi
movq (%rsi), %rsi
movq 0x10(%rdi), %r9
movq (%rdi), %r8
testq ... | _ZN10OpenSubdiv6v3_6_03Bfr6points8Combine1IdE5applyILi0EEEvRKNS2_27CommonCombinationParametersIdEE:
push rbx
mov eax, [rdi+8]
movsxd rcx, dword ptr [rdi+0Ch]
mov rdx, [rdi+28h]
mov rdx, [rdx]
mov rsi, [rdi+20h]
mov rsi, [rsi]
mov r9, [rdi+10h]
mov r8, [rdi]
test r9, r9
jz loc_9D4... | long long OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>(long long *a1)
{
long long result; // rax
long long v2; // rcx
double *v3; // rdx
long long v4; // rsi
_DWORD *v5; // r9
long long v6; // r8
long long v7; // r10
double v8; // xmm0_8
long long i; // r11
long long v10; // rdi
lo... | apply<0>:
PUSH RBX
MOV EAX,dword ptr [RDI + 0x8]
MOVSXD RCX,dword ptr [RDI + 0xc]
MOV RDX,qword ptr [RDI + 0x28]
MOV RDX,qword ptr [RDX]
MOV RSI,qword ptr [RDI + 0x20]
MOV RSI,qword ptr [RSI]
MOV R9,qword ptr [RDI + 0x10]
MOV R8,qword ptr [RDI]
TEST R9,R9
JZ 0x0019d4fa
TEST EAX,EAX
JLE 0x0019d4a5
MOV R10D,dword ptr [R9... |
/* void
OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>(OpenSubdiv::v3_6_0::Bfr::points::CommonCombinationParameters<double>
const&) */
void OpenSubdiv::v3_6_0::Bfr::points::Combine1<double>::apply<0>
(CommonCombinationParameters *param_1)
{
double dVar1;
uint uVar2;
int iVar3... | |
6,281 | mthd_stmt_read_all_rows | eloqsql/libmariadb/libmariadb/mariadb_stmt.c | int mthd_stmt_read_all_rows(MYSQL_STMT *stmt)
{
MYSQL_DATA *result= &stmt->result;
MYSQL_ROWS *current, **pprevious;
ulong packet_len;
unsigned char *p;
pprevious= &result->data;
while ((packet_len = ma_net_safe_read(stmt->mysql)) != packet_error)
{
p= stmt->mysql->net.read_pos;
if (packet_len >... | O3 | c | mthd_stmt_read_all_rows:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
callq 0x595d3
movq %rax, %r15
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmpq %rax, %r15
je 0x626ce
leaq 0x80(%rbx), %r14
leaq 0x90(%rbx), %rax
movq %rax... | mthd_stmt_read_all_rows:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov rbx, rdi
mov rdi, [rdi+38h]
call ma_net_safe_read
mov r15, rax
mov eax, 0FFFFFFFFh
cmp r15, rax
jz loc_626CE
lea r14, [rbx+80h]
lea rax, [rbx+90h]
mo... | long long mthd_stmt_read_all_rows(long long a1, long long a2, long long a3, long long a4, unsigned long long a5, int a6)
{
unsigned long long v7; // r15
char **v8; // r14
_BYTE *v9; // r13
char *v10; // rax
long long v11; // rcx
long long v12; // r8
long long v13; // r9
char *v14; // r12
void *v15; /... | mthd_stmt_read_all_rows:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x38]
CALL 0x001595d3
MOV R15,RAX
MOV EAX,0xffffffff
CMP R15,RAX
JZ 0x001626ce
LEA R14,[RBX + 0x80]
LEA RAX,[RBX + 0x90]
MOV qword ptr [RBP + -0x38],RAX
LAB_001624e5:
MOV RAX,qwor... |
int8 mthd_stmt_read_all_rows(long param_1)
{
long *plVar1;
ushort uVar2;
uint uVar3;
long lVar4;
ulong uVar5;
ulong __n;
int8 *puVar6;
ulong uVar7;
ulong uVar8;
char *pcVar9;
ulong uVar10;
byte *pbVar11;
byte bVar12;
int8 *puVar13;
long lVar14;
bool bVar15;
char *local_38;
__n =... | |
6,282 | my_init | eloqsql/mysys/my_init.c | my_bool my_init(void)
{
char *str;
if (my_init_done)
return 0;
my_init_done= 1;
mysys_usage_id++;
my_umask= 0660; /* Default umask for new files */
my_umask_dir= 0700; /* Default umask for new directories */
my_global_flags= 0;
/* Default creation of new f... | O0 | c | my_init:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0xb901a1(%rip), %rax # 0xc828f0
cmpb $0x0, (%rax)
je 0xf275d
movb $0x0, -0x1(%rbp)
jmp 0xf28e6
leaq 0xb9018c(%rip), %rax # 0xc828f0
movb $0x1, (%rax)
leaq 0xb90186(%rip), %rax # 0xc828f4
movl (%rax), %ecx
addl $0x1, %ecx
leaq 0xb9017a(%rip), %rax # 0... | my_init:
push rbp
mov rbp, rsp
sub rsp, 20h
lea rax, my_init_done
cmp byte ptr [rax], 0
jz short loc_F275D
mov [rbp+var_1], 0
jmp loc_F28E6
loc_F275D:
lea rax, my_init_done
mov byte ptr [rax], 1
lea rax, mysys_usage_id
mov ecx, [rax]
add ecx, 1
lea rax, mysys_usag... | char my_init()
{
_BYTE *v1; // [rsp+8h] [rbp-18h]
long long v2; // [rsp+10h] [rbp-10h]
long long v3; // [rsp+10h] [rbp-10h]
if ( my_init_done )
return 0;
my_init_done = 1;
++mysys_usage_id;
my_umask = 432;
my_umask_dir = 448;
my_global_flags = 0LL;
v2 = getenv("UMASK");
if ( v2 )
my_umask... | my_init:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
LEA RAX,[0xd828f0]
CMP byte ptr [RAX],0x0
JZ 0x001f275d
MOV byte ptr [RBP + -0x1],0x0
JMP 0x001f28e6
LAB_001f275d:
LEA RAX,[0xd828f0]
MOV byte ptr [RAX],0x1
LEA RAX,[0xd828f4]
MOV ECX,dword ptr [RAX]
ADD ECX,0x1
LEA RAX,[0xd828f4]
MOV dword ptr [RAX],ECX
LEA RAX,[0x3bfba8]
MOV... |
int1 my_init(void)
{
long lVar1;
char cVar2;
uint uVar3;
char *pcVar4;
long lVar5;
int1 local_9;
if (my_init_done == '\0') {
my_init_done = '\x01';
mysys_usage_id = mysys_usage_id + 1;
my_umask = 0x1b0;
my_umask_dir = 0x1c0;
my_global_flags = 0;
pcVar4 = getenv("UMASK");
i... | |
6,283 | ma_write_init_default | eloqsql/storage/maria/ma_write.c | MARIA_RECORD_POS _ma_write_init_default(MARIA_HA *info,
const uchar *record
__attribute__((unused)))
{
return ((info->s->state.dellink != HA_OFFSET_ERROR &&
!info->append_insert_at_end) ?
info->s->state.dellink :
... | O0 | c | ma_write_init_default:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
cmpq $-0x1, 0xc8(%rax)
je 0x6158e
movq -0x8(%rbp), %rax
cmpb $0x0, 0x681(%rax)
jne 0x6158e
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq 0xc8(%rax), %rax
movq %rax, -0x18(%rbp)
jmp 0x615... | _ma_write_init_default:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_8]
mov rax, [rax]
cmp qword ptr [rax+0C8h], 0FFFFFFFFFFFFFFFFh
jz short loc_6158E
mov rax, [rbp+var_8]
cmp byte ptr [rax+681h], 0
jnz short loc_6158E
mov rax, [rbp+v... | long long ma_write_init_default(long long a1)
{
if ( *(_QWORD *)(*(_QWORD *)a1 + 200LL) == -1LL || *(_BYTE *)(a1 + 1665) )
return *(_QWORD *)(*(_QWORD *)(a1 + 32) + 40LL);
else
return *(_QWORD *)(*(_QWORD *)a1 + 200LL);
}
| _ma_write_init_default:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
CMP qword ptr [RAX + 0xc8],-0x1
JZ 0x0016158e
MOV RAX,qword ptr [RBP + -0x8]
CMP byte ptr [RAX + 0x681],0x0
JNZ 0x0016158e
MOV RAX,qword ptr [RBP + -0x8]
MOV... |
int8 _ma_write_init_default(long *param_1)
{
int8 local_20;
if ((*(long *)(*param_1 + 200) == -1) || (*(char *)((long)param_1 + 0x681) != '\0')) {
local_20 = *(int8 *)(param_1[4] + 0x28);
}
else {
local_20 = *(int8 *)(*param_1 + 200);
}
return local_20;
}
| |
6,284 | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | Value do_evaluate(const std::shared_ptr<Context> & context) const override {
if (!expr) throw std::runtime_error("UnaryOpExpr.expr is null");
auto e = expr->evaluate(context);
switch (op) {
case Op::Plus: return e;
case Op::Minus: return -e;
case Op::LogicalNo... | O1 | cpp | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq 0x20(%rsi), %rsi
testq %rsi, %rsi
je 0x6d474
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6d5d0
movl 0x30(%r14), %eax
cmpq $0x4, %rax
ja 0x6d4c4
leaq 0x49623(%... | _ZNK5minja11UnaryOpExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
push r15
push r14
push r12
push rbx
sub rsp, 58h
mov r14, rsi
mov rsi, [rsi+20h]
test rsi, rsi
jz loc_6D474
mov rbx, rdi
lea rdi, [rsp+78h+var_70]
call _ZNK5minja10Expression8evaluateERKSt10shared_ptrINS_7Con... | do_evaluate:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R14,RSI
MOV RSI,qword ptr [RSI + 0x20]
TEST RSI,RSI
JZ 0x0016d474
MOV RBX,RDI
LEA RDI,[RSP + 0x8]
CALL 0x0016d5d0
MOV EAX,dword ptr [R14 + 0x30]
CMP RAX,0x4
JA 0x0016d4c4
LEA RCX,[0x1b694c]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RA... |
/* minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
UnaryOpExpr * __thiscall minja::UnaryOpExpr::do_evaluate(UnaryOpExpr *this,shared_ptr *param_1)
{
int *piVar1;
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *p_Var2;
_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *p_Var3;
_Sp_co... | ||
6,285 | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const | monkey531[P]llama/common/minja.hpp | Value do_evaluate(const std::shared_ptr<Context> & context) const override {
if (!expr) throw std::runtime_error("UnaryOpExpr.expr is null");
auto e = expr->evaluate(context);
switch (op) {
case Op::Plus: return e;
case Op::Minus: return -e;
case Op::LogicalNo... | O2 | cpp | minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq 0x20(%rsi), %rsi
testq %rsi, %rsi
je 0x60eae
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x60fb2
movl 0x30(%r14), %eax
cmpq $0x4, %rax
ja 0x60efa
leaq 0x36ad5(%rip), %rcx # 0x979... | _ZNK5minja11UnaryOpExpr11do_evaluateERKSt10shared_ptrINS_7ContextEE:
push r14
push rbx
sub rsp, 58h
mov r14, rsi
mov rsi, [rsi+20h]
test rsi, rsi
jz short loc_60EAE
mov rbx, rdi
lea rdi, [rsp+68h+var_60]
call _ZNK5minja10Expression8evaluateERKSt10shared_ptrINS_7ContextEE; minja::Exp... | minja::Value * minja::UnaryOpExpr::do_evaluate(
minja::Value *this,
long long a2,
int a3,
int a4,
int a5,
int a6)
{
long long v7; // rsi
std::runtime_error *exception; // r14
std::runtime_error *v10; // r14
bool v11; // [rsp+7h] [rbp-61h] BYREF
_BYTE v12[96]; //... | do_evaluate:
PUSH R14
PUSH RBX
SUB RSP,0x58
MOV R14,RSI
MOV RSI,qword ptr [RSI + 0x20]
TEST RSI,RSI
JZ 0x00160eae
MOV RBX,RDI
LEA RDI,[RSP + 0x8]
CALL 0x00160fb2
MOV EAX,dword ptr [R14 + 0x30]
CMP RAX,0x4
JA 0x00160efa
LEA RCX,[0x19792c]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_0:
LEA RSI... |
/* minja::UnaryOpExpr::do_evaluate(std::shared_ptr<minja::Context> const&) const */
UnaryOpExpr * __thiscall minja::UnaryOpExpr::do_evaluate(UnaryOpExpr *this,shared_ptr *param_1)
{
runtime_error *prVar1;
bool local_61;
Expression local_60 [80];
if (*(shared_ptr **)(param_1 + 0x20) == (shared_ptr *)0x0) {... | |
6,286 | my_char_weight_put | eloqsql/strings/ctype-uca.c | static my_bool
my_char_weight_put(MY_UCA_WEIGHT_LEVEL *dst,
uint16 *to, size_t to_length, size_t *nweights,
my_wc_t *str, size_t len)
{
size_t count;
int rc= FALSE;
if (!to_length)
{
*nweights= 0;
return len > 0;
}
to_length--; /* Without trailing zero */
for... | O0 | c | my_char_weight_put:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %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)
movl $0x0, -0x44(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x513fe
movq -0x28(%rbp), %rax
movq $0x0, (%rax)
cmpq $0x0, -0x38(%rbp... | my_char_weight_put:
push rbp
mov rbp, rsp
sub rsp, 70h
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
mov [rbp+var_44], 0
cmp [rbp+var_20], 0
jnz short loc_513FE
mov rax, [rbp+var_28]
mo... | bool my_char_weight_put(
_QWORD *a1,
_WORD *a2,
unsigned long long a3,
unsigned long long *a4,
unsigned long long *a5,
unsigned long long a6)
{
__int16 *v6; // rax
__int16 v7; // cx
_WORD *v8; // rax
bool v10; // [rsp+7h] [rbp-69h]
long long v11; // [rsp+8h] [r... | my_char_weight_put:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
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
MOV dword ptr [RBP + -0x44],0x0
CMP qword ptr [RBP + -0x20],0x0
JNZ 0x001513... |
int8
my_char_weight_put(long param_1,short *param_2,long param_3,ulong *param_4,ulong *param_5,
ulong param_6)
{
long lVar1;
ulong uVar2;
bool bVar3;
short local_66 [3];
short *local_60;
ulong local_58;
uint local_4c;
ulong local_48;
ulong local_40;
ulong *local_38;
ulong *loca... | |
6,287 | translog_buffer_increase_writers | eloqsql/storage/maria/ma_loghandler.c | static inline void
translog_buffer_increase_writers(struct st_translog_buffer *buffer)
{
DBUG_ENTER("translog_buffer_increase_writers");
translog_buffer_lock_assert_owner(buffer);
buffer->copy_to_buffer_in_progress++;
DBUG_PRINT("info", ("copy_to_buffer_in_progress. Buffer #%u %p progress: %d",
... | O0 | c | translog_buffer_increase_writers:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x100078(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x100078(%rax)
jmp 0x9623d
jmp 0x9623f
jmp 0x96241
popq %rbp
retq
nopw %cs:(%rax,%rax)
| translog_buffer_increase_writers:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov ecx, dword ptr ds:loc_100078[rax]
add ecx, 1
mov dword ptr ds:loc_100078[rax], ecx
jmp short $+2
loc_9623D:
jmp short $+2
loc_9623F:
jmp short $+2
loc_96241:
pop rbp
retn
| long long translog_buffer_increase_writers(long long a1)
{
long long result; // rax
result = a1;
++*(_DWORD *)((char *)&loc_100078 + a1);
return result;
}
| translog_buffer_increase_writers:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RAX + 0x100078]
ADD ECX,0x1
MOV dword ptr [RAX + 0x100078],ECX
JMP 0x0019623d
LAB_0019623d:
JMP 0x0019623f
LAB_0019623f:
JMP 0x00196241
LAB_00196241:
POP RBP
RET
|
void translog_buffer_increase_writers(long param_1)
{
*(int *)((long)&Elf64_Phdr_ARRAY_00100040[1].p_type + param_1) =
*(int *)((long)&Elf64_Phdr_ARRAY_00100040[1].p_type + param_1) + 1;
return;
}
| |
6,288 | translog_scanner_set_last_page | eloqsql/storage/maria/ma_loghandler.c | static my_bool translog_scanner_set_last_page(TRANSLOG_SCANNER_DATA *scanner)
{
my_bool page_ok;
if (LSN_FILE_NO(scanner->page_addr) == LSN_FILE_NO(scanner->horizon))
{
/* It is last file => we can easy find last page address by horizon */
uint pagegrest= LSN_OFFSET(scanner->horizon) % TRANSLOG_PAGE_SIZE;... | O3 | c | translog_scanner_set_last_page:
movq 0x2000(%rdi), %rcx
movq 0x2008(%rdi), %rax
movq %rax, %rdx
xorq %rcx, %rdx
shrq $0x20, %rdx
jne 0x4bfe7
movl %eax, %ecx
andl $0x1fff, %ecx # imm = 0x1FFF
movl $0x2000, %edx # imm = 0x2000
cmovnel %ecx, %edx
subq %rdx, %rax
movq %rax, 0x2010(%rdi)
xorl %eax, %eax
... | translog_scanner_set_last_page:
mov rcx, [rdi+2000h]
mov rax, [rdi+2008h]
mov rdx, rax
xor rdx, rcx
shr rdx, 20h
jnz short loc_4BFE7
mov ecx, eax
and ecx, 1FFFh
mov edx, 2000h
cmovnz edx, ecx
sub rax, rdx
mov [rdi+2010h], rax
xor eax, eax
retn
loc_4BFE7:
push rbp
mov ... | char translog_scanner_set_last_page(_QWORD *a1)
{
long long v1; // rcx
unsigned long long v2; // rax
long long v3; // rdx
bool v5; // [rsp-9h] [rbp-9h] BYREF
v1 = a1[1024];
v2 = a1[1025];
if ( (v1 ^ v2) >> 32 )
{
a1[1026] = v1;
return translog_get_last_page_addr(a1 + 1026, &v5, 0);
}
else
... | translog_scanner_set_last_page:
MOV RCX,qword ptr [RDI + 0x2000]
MOV RAX,qword ptr [RDI + 0x2008]
MOV RDX,RAX
XOR RDX,RCX
SHR RDX,0x20
JNZ 0x0014bfe7
MOV ECX,EAX
AND ECX,0x1fff
MOV EDX,0x2000
CMOVNZ EDX,ECX
SUB RAX,RDX
MOV qword ptr [RDI + 0x2010],RAX
XOR EAX,EAX
RET
LAB_0014bfe7:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ... |
int8 translog_scanner_set_last_page(long param_1)
{
ulong uVar1;
int8 uVar2;
ulong uVar3;
int1 local_9;
uVar1 = *(ulong *)(param_1 + 0x2008);
if ((uVar1 ^ *(ulong *)(param_1 + 0x2000)) >> 0x20 == 0) {
uVar3 = 0x2000;
if ((uVar1 & 0x1fff) != 0) {
uVar3 = uVar1 & 0x1fff;
}
*(ulong *... | |
6,289 | js_method_set_home_object | bluesky950520[P]quickjs/quickjs.c | static void js_method_set_home_object(JSContext *ctx, JSValue func_obj,
JSValue home_obj)
{
JSObject *p, *p1;
JSFunctionBytecode *b;
if (JS_VALUE_GET_TAG(func_obj) != JS_TAG_OBJECT)
return;
p = JS_VALUE_GET_OBJ(func_obj);
if (!js_class_has_bytecode(p->c... | O3 | c | js_method_set_home_object:
cmpl $-0x1, %edx
jne 0x40a76
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movzwl 0x6(%rsi), %eax
cmpq $0x38, %rax
ja 0x40a71
movq %rcx, %rbx
movabsq $0x110000000012000, %rcx # imm = 0x110000000012000
btq %rax, %rcx
jae 0x40a71
movq 0x30(%r14), %rax
testb $0x10, 0x18(%rax)
je 0x40a71
movq ... | js_method_set_home_object:
cmp edx, 0FFFFFFFFh
jnz short locret_40A76
push r15
push r14
push rbx
mov r14, rsi
movzx eax, word ptr [rsi+6]
cmp rax, 38h ; '8'
ja short loc_40A71
mov rbx, rcx
mov rcx, 110000000012000h
bt rcx, rax
jnb short loc_40A71
mov rax, [r14+30h]
t... | void js_method_set_home_object(long long a1, long long a2, int a3, _DWORD *a4, long long a5, long long a6)
{
unsigned long long v7; // rax
long long v9; // rcx
int v10; // r15d
_QWORD *v11; // rsi
long long v12; // rdi
int v13; // eax
long long v14; // rcx
if ( a3 == -1 )
{
v7 = *(unsigned __int... | js_method_set_home_object:
CMP EDX,-0x1
JNZ 0x00140a76
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RSI
MOVZX EAX,word ptr [RSI + 0x6]
CMP RAX,0x38
JA 0x00140a71
MOV RBX,RCX
MOV RCX,0x110000000012000
BT RCX,RAX
JNC 0x00140a71
MOV RAX,qword ptr [R14 + 0x30]
TEST byte ptr [RAX + 0x18],0x10
JZ 0x00140a71
MOV R15,R8
MOV RSI,qword pt... |
void js_method_set_home_object(long param_1,long param_2,int param_3,int *param_4,int param_5)
{
int iVar1;
int *piVar2;
int8 uVar3;
if ((((param_3 == -1) && ((ulong)*(ushort *)(param_2 + 6) < 0x39)) &&
((0x110000000012000U >> ((ulong)*(ushort *)(param_2 + 6) & 0x3f) & 1) != 0)) &&
((*(byte *)(*... | |
6,290 | ma_apply_redo_free_head_or_tail | eloqsql/storage/maria/ma_blockrec.c | uint _ma_apply_redo_free_head_or_tail(MARIA_HA *info, LSN lsn,
const uchar *header)
{
MARIA_SHARE *share= info->s;
uchar *buff;
pgcache_page_no_t page;
MARIA_PINNED_PAGE page_link;
my_bool res;
DBUG_ENTER("_ma_apply_redo_free_head_or_tail");
share->state.changed|= (S... | O0 | c | ma_apply_redo_free_head_or_tail:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %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 -0x28(%rbp), %rax
movl 0x170(%rax), %ecx
orl $0x181, %ecx # imm = 0x181
movl %ecx, 0x170(%rax)... | _ma_apply_redo_free_head_or_tail:
push rbp
mov rbp, rsp
sub rsp, 70h
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 rax, [rbp+var_28]
mov ecx, [rax+170h]
or ecx, 181h
mov [rax+170h], ecx... | long long ma_apply_redo_free_head_or_tail(long long *a1, signed long long a2, unsigned int *a3, double a4)
{
char v5; // [rsp+1Fh] [rbp-51h]
long long v6; // [rsp+20h] [rbp-50h] BYREF
int v7; // [rsp+28h] [rbp-48h]
char v8; // [rsp+30h] [rbp-40h]
unsigned long long v9; // [rsp+38h] [rbp-38h]
unsigned __int... | val_str:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x28],RAX
JMP 0x00ef3d1a
LAB_00ef3d1a:
MOV RAX,qword ptr [RBP + -0x28]
TEST byte ptr [RAX + 0x64],0x1
JZ 0x00ef3d30
JMP 0x00ef3d26
LAB_00ef3d26:
MOV qword ptr ... |
/* Item_sum_min_max::val_str(String*) */
int8 __thiscall Item_sum_min_max::val_str(Item_sum_min_max *this,String *param_1)
{
int8 local_10;
if (((byte)this[100] & 1) == 0) {
local_10 = (**(code **)(**(long **)(this + 0x120) + 0x108))(*(long **)(this + 0x120),param_1);
this[100] = (Item_sum_min_max)(*(... | |
6,291 | LefDefParser::lefwMacroTimingRisecs(double, double) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefwWriter.cpp | int
lefwMacroTimingRisecs(double min,
double max)
{
if (!lefwFile)
return LEFW_UNINITIALIZED;
if (!lefwDidInit)
return LEFW_BAD_ORDER;
if (!lefwIsMacroTiming)
return LEFW_BAD_ORDER;
if (lefwWriteEncrypt)
encPrint(lefwFile, (char*) " RISECS... | O3 | cpp | LefDefParser::lefwMacroTimingRisecs(double, double):
leaq 0x6b8a8(%rip), %rax # 0x8d0f0
movq (%rax), %rdi
testq %rdi, %rdi
je 0x21887
leaq 0x6baed(%rip), %rax # 0x8d344
cmpl $0x0, (%rax)
movl $0x2, %eax
je 0x218aa
leaq 0x6bb34(%rip), %rcx # 0x8d39c
cmpl $0x0, (%rcx)
je 0x218aa
pushq %rax
cmpb $0x1, 0x6bb67(... | _ZN12LefDefParser21lefwMacroTimingRisecsEdd:
lea rax, _ZN12LefDefParser8lefwFileE; LefDefParser::lefwFile
mov rdi, [rax]
test rdi, rdi
jz short loc_21887
lea rax, _ZN12LefDefParser11lefwDidInitE; LefDefParser::lefwDidInit
cmp dword ptr [rax], 0
mov eax, 2
jz short locret_218AA
lea r... | long long LefDefParser::lefwMacroTimingRisecs(
LefDefParser *this,
double a2,
double a3,
long long a4,
int a5,
long long a6,
int a7,
int a8)
{
long long result; // rax
if ( !*(_QWORD *)&LefDefParser::lefwFile )
return 1LL;
result = 2LL;
if ( ... | lefwMacroTimingRisecs:
LEA RAX,[0x18d0f0]
MOV RDI,qword ptr [RAX]
TEST RDI,RDI
JZ 0x00121887
LEA RAX,[0x18d344]
CMP dword ptr [RAX],0x0
MOV EAX,0x2
JZ 0x001218aa
LEA RCX,[0x18d39c]
CMP dword ptr [RCX],0x0
JZ 0x001218aa
PUSH RAX
CMP byte ptr [0x0018d3dc],0x1
JNZ 0x0012188d
LEA RSI,[0x15c7dc]
MOV AL,0x2
CALL 0x00155afd
J... |
/* LefDefParser::lefwMacroTimingRisecs(double, double) */
int8 LefDefParser::lefwMacroTimingRisecs(double param_1,double param_2)
{
int8 uVar1;
if (lefwFile != (_IO_FILE *)0x0) {
uVar1 = 2;
if ((lefwDidInit != 0) && (lefwIsMacroTiming != 0)) {
if (lefwWriteEncrypt == '\x01') {
encPrint(l... | |
6,292 | ft_parse_internal | eloqsql/storage/myisam/ft_parser.c | static int ft_parse_internal(MYSQL_FTPARSER_PARAM *param,
const char *doc_arg, int doc_len)
{
uchar *doc= (uchar*) doc_arg;
uchar *end= doc + doc_len;
MY_FT_PARSER_PARAM *ft_param=param->mysql_ftparam;
TREE *wtree= ft_param->wtree;
FT_WORD w;
DBUG_ENTER("ft_parse_internal");
... | O3 | c | ft_parse_internal:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq -0x48(%rbp), %r14
movq %rsi, (%r14)
movslq %edx, %r15
addq %rsi, %r15
movq 0x18(%rdi), %rax
movq (%rax), %r12
leaq -0x40(%rbp), %r13
movq 0x230(%r12), %rdi
movq %r14, %rsi
movq %r15... | ft_parse_internal:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov rbx, rdi
lea r14, [rbp+var_48]
mov [r14], rsi
movsxd r15, edx
add r15, rsi
mov rax, [rdi+18h]
mov r12, [rax]
lea r13, [rbp+var_40]
loc_7576D:
mov rdi, [r12+23... | long long ft_parse_internal(long long a1, _BYTE *a2, int a3)
{
unsigned long long v3; // r15
long long v4; // r12
_BYTE *v6; // [rsp+8h] [rbp-48h] BYREF
long long v7; // [rsp+10h] [rbp-40h] BYREF
unsigned int v8; // [rsp+20h] [rbp-30h]
v6 = a2;
v3 = (unsigned long long)&a2[a3];
v4 = **(_QWORD **)(a1 +... | ft_parse_internal:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV RBX,RDI
LEA R14,[RBP + -0x48]
MOV qword ptr [R14],RSI
MOVSXD R15,EDX
ADD R15,RSI
MOV RAX,qword ptr [RDI + 0x18]
MOV R12,qword ptr [RAX]
LEA R13,[RBP + -0x40]
LAB_0017576d:
MOV RDI,qword ptr [R12 + 0x230]
MOV RSI,R14
MO... |
int8 ft_parse_internal(long param_1,long param_2,int param_3)
{
long lVar1;
char cVar2;
int iVar3;
long local_50;
int8 local_48 [2];
int4 local_38;
lVar1 = **(long **)(param_1 + 0x18);
local_50 = param_2;
do {
cVar2 = ft_simple_get_word(*(int8 *)(lVar1 + 0x230),&local_50,param_3 + param_2,loc... | |
6,293 | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | monkey531[P]llama/common/./json.hpp | void parse(const bool strict, BasicJsonType& result)
{
if (callback)
{
json_sax_dom_callback_parser<BasicJsonType> sdp(result, callback, allow_exceptions);
sax_parse_internal(&sdp);
// in strict mode, input must be completely read
if (strict && (get_t... | O2 | cpp | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | _ZN8nlohmann16json_abi_v3_11_36detail6parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE5parseEbRSF_:
push rbp
push r15
push r14
push r12
push ... | long long nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::itera... | |||
6,294 | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | monkey531[P]llama/common/./json.hpp | void parse(const bool strict, BasicJsonType& result)
{
if (callback)
{
json_sax_dom_callback_parser<BasicJsonType> sdp(result, callback, allow_exceptions);
sax_parse_internal(&sdp);
// in strict mode, input must be completely read
if (strict && (get_t... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vect... | _ZN8nlohmann16json_abi_v3_11_36detail6parserINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE5parseEbRSF_:
push rbp
push r15
push r14
push r12
push ... | void nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_i... | parse:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x1b0
MOV RBX,RDX
MOV EBP,ESI
MOV R14,RDI
CMP qword ptr [RDI + 0x10],0x0
JZ 0x00144909
LEA R15,[RSP + 0xa8]
MOV RDI,R15
MOV RSI,R14
CALL 0x001446a2
MOVZX ECX,byte ptr [R14 + 0xc0]
LAB_0014473d:
LEA RDI,[RSP + 0xc8]
MOV RSI,RBX
MOV RDX,R15
CALL 0x00145a38
MOV R... |
/* nlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
cha... | |
6,295 | scan_one_character | eloqsql/strings/ctype.c | static size_t
scan_one_character(const char *s, const char *e, my_wc_t *wc)
{
CHARSET_INFO *cs= &my_charset_utf8mb3_general_ci;
if (s >= e)
return 0;
/* Escape sequence: \uXXXX */
if (s[0] == '\\' && s + 2 < e && s[1] == 'u' && my_isxdigit(cs, s[2]))
{
size_t len= 3; /* We have at least one digit */
... | O0 | c | scan_one_character:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
leaq 0x315bf5(%rip), %rax # 0x38d080
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
jb 0x774a6
movq $0x0, -0x8(%rbp)
jmp 0x775d8
movq -0x10(%rbp), %rax
movsbl (%r... | scan_one_character:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
lea rax, my_charset_utf8mb3_general_ci
mov [rbp+var_28], rax
mov rax, [rbp+var_10]
cmp rax, [rbp+var_18]
jb short loc_774A6
mov [rbp+var_8], 0
jmp ... | long long scan_one_character(char *a1, unsigned long long a2, _QWORD *a3)
{
bool v4; // [rsp+Bh] [rbp-35h]
int v5; // [rsp+Ch] [rbp-34h]
long long v6; // [rsp+10h] [rbp-30h]
unsigned __int8 *i; // [rsp+30h] [rbp-10h]
if ( (unsigned long long)a1 >= a2 )
return 0LL;
if ( *a1 == 92
&& (unsigned long ... | scan_one_character:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
LEA RAX,[0x48d080]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x10]
CMP RAX,qword ptr [RBP + -0x18]
JC 0x001774a6
MOV qword ptr [RBP + -0x8],0x0
JMP 0x0017... |
long scan_one_character(byte *param_1,byte *param_2,int8 *param_3)
{
int iVar1;
bool bVar2;
long local_38;
byte *local_18;
long local_10;
if (param_1 < param_2) {
if ((((*param_1 == 0x5c) && (param_1 + 2 < param_2)) && (param_1[1] == 0x75)) &&
((*(byte *)(my_charset_utf8mb3_general_ci._64_8_... | |
6,296 | ma_end_block_record | eloqsql/storage/maria/ma_blockrec.c | void _ma_end_block_record(MARIA_HA *info)
{
DBUG_ENTER("_ma_end_block_record");
my_free(info->cur_row.empty_bits);
delete_dynamic(&info->bitmap_blocks);
my_free(info->cur_row.extents);
my_free(info->blob_buff);
/*
The data file is closed, when needed, in ma_once_end_block_record().
The following pro... | O3 | c | ma_end_block_record:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xc8(%rdi), %rdi
callq 0x9ffde
leaq 0x2c0(%rbx), %rdi
callq 0x91e20
movq 0x90(%rbx), %rdi
callq 0x9ffde
movq 0x3a8(%rbx), %rdi
callq 0x9ffde
movl $0xffffffff, 0x480(%rbx) # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %rbp
ret... | _ma_end_block_record:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
mov rdi, [rdi+0C8h]
call my_free
lea rdi, [rbx+2C0h]
call delete_dynamic
mov rdi, [rbx+90h]
call my_free
mov rdi, [rbx+3A8h]
call my_free
mov dword ptr [rbx+480h], 0FFFFFFFFh
add rsp, 8
pop ... | long long ma_end_block_record(long long a1)
{
long long result; // rax
my_free(*(_QWORD *)(a1 + 200));
delete_dynamic(a1 + 704);
my_free(*(_QWORD *)(a1 + 144));
result = my_free(*(_QWORD *)(a1 + 936));
*(_DWORD *)(a1 + 1152) = -1;
return result;
}
| _ma_end_block_record:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0xc8]
CALL 0x0019ffde
LEA RDI,[RBX + 0x2c0]
CALL 0x00191e20
MOV RDI,qword ptr [RBX + 0x90]
CALL 0x0019ffde
MOV RDI,qword ptr [RBX + 0x3a8]
CALL 0x0019ffde
MOV dword ptr [RBX + 0x480],0xffffffff
ADD RSP,0x8
POP RBX
POP RBP
... |
void _ma_end_block_record(long param_1)
{
my_free(*(int8 *)(param_1 + 200));
delete_dynamic(param_1 + 0x2c0);
my_free(*(int8 *)(param_1 + 0x90));
my_free(*(int8 *)(param_1 + 0x3a8));
*(int4 *)(param_1 + 0x480) = 0xffffffff;
return;
}
| |
6,297 | JS_DefineObjectNameComputed | bluesky950520[P]quickjs/quickjs.c | static int JS_DefineObjectNameComputed(JSContext *ctx, JSValue obj,
JSValue str, int flags)
{
if (JS_IsObject(obj) &&
!js_object_has_name(ctx, obj)) {
JSAtom prop;
JSValue name_str;
prop = JS_ValueToAtom(ctx, str);
if (prop == JS_ATOM_NU... | O2 | c | JS_DefineObjectNameComputed:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
cmpl $-0x1, %ebx
jne 0x37f92
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq 0x39b54
testl %eax, %eax
je 0x37fa5
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x18... | JS_DefineObjectNameComputed:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, rdx
cmp ebx, 0FFFFFFFFh
jnz short loc_37F92
mov r12, r8
mov r13, rcx
mov r14, rsi
mov r15, rdi
mov rdi, rsi
call js_object_has_name
test eax, eax
jz s... | long long JS_DefineObjectNameComputed(
long long a1,
long long a2,
long long a3,
long long a4,
int a5,
double a6,
__m128 a7,
__m128 a8,
__m128 a9,
double a10,
double a11,
__m128 a12,
__m128 a13)
{
unsigned int v16... | JS_DefineObjectNameComputed:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RDX
CMP EBX,-0x1
JNZ 0x00137f92
MOV R12,R8
MOV R13,RCX
MOV R14,RSI
MOV R15,RDI
MOV RDI,RSI
CALL 0x00139b54
TEST EAX,EAX
JZ 0x00137fa5
LAB_00137f92:
XOR EBP,EBP
LAB_00137f94:
MOV EAX,EBP
ADD RSP,0x18
POP RBX
POP R12
P... |
int4
JS_DefineObjectNameComputed
(int8 param_1,int8 param_2,int8 param_3,int8 param_4,
int8 param_5)
{
int iVar1;
int1 auVar2 [16];
if (((int)param_3 == -1) && (iVar1 = js_object_has_name(param_2), iVar1 == 0)) {
iVar1 = JS_ValueToAtom(param_1,param_4,param_5);
if (iVar1 == 0) {
... | |
6,298 | mi_read_rnd_dynamic_record | eloqsql/storage/myisam/mi_dynrec.c | int _mi_read_rnd_dynamic_record(MI_INFO *info, uchar *buf,
register my_off_t filepos,
my_bool skip_deleted_blocks)
{
int block_of_record, info_read, save_errno;
uint left_len,b_type;
uchar *UNINIT_VAR(to);
MI_BLOCK_INFO block_info;
MYISAM_SHARE *share=info->s;
DBUG_ENTER("_mi_read_rnd_dynamic_record... | O3 | c | mi_read_rnd_dynamic_record:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movl %ecx, %r13d
movq %rdx, %r14
movq %rsi, -0xd0(%rbp)
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movq (%rdi), %rax
movl $0x1, %r15d
cmpl $0x2, 0x1f4(%rdi)
movl $0x1, %ecx
movq... | _mi_read_rnd_dynamic_record:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0F8h
mov r13d, ecx
mov r14, rdx
mov [rbp+var_D0], rsi
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov rax, [rdi]
mov r15d, 1
cmp dword ptr [rdi+1F... | long long mi_read_rnd_dynamic_record(unsigned long long a1, unsigned long long a2, unsigned long long a3, int a4)
{
long long v6; // rbx
unsigned int *v7; // rax
long long v8; // r15
bool v9; // zf
unsigned long long v10; // rax
int v11; // eax
unsigned int block_info; // eax
unsigned long long v13; //... | _mi_read_rnd_dynamic_record:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xf8
MOV R13D,ECX
MOV R14,RDX
MOV qword ptr [RBP + -0xd0],RSI
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RDI]
MOV R15D,0x1
CMP dword ptr [RDI + 0x1f4],0x2
MOV ECX,0x1
MO... |
int4
_mi_read_rnd_dynamic_record(long *param_1,int8 param_2,ulong param_3,int4 param_4)
{
void *pvVar1;
int iVar2;
uint uVar3;
uint uVar4;
ulong uVar5;
long lVar6;
int4 *puVar7;
int *piVar8;
uint uVar9;
long lVar10;
int4 uVar11;
ulong uVar12;
long in_FS_OFFSET;
int1 local_128 [72];
long ... | |
6,299 | js_typed_array_get_buffer | bluesky950520[P]quickjs/quickjs.c | static JSValue js_typed_array_get_buffer(JSContext *ctx, JSValue this_val)
{
JSObject *p;
JSTypedArray *ta;
p = get_typed_array(ctx, this_val);
if (!p)
return JS_EXCEPTION;
ta = p->u.typed_array;
return js_dup(JS_MKPTR(JS_TAG_OBJECT, ta->buffer));
} | O1 | c | js_typed_array_get_buffer:
pushq %rbx
subq $0x10, %rsp
movq %rsi, 0x8(%rsp)
cmpl $-0x1, %edx
jne 0x7fc31
movq 0x8(%rsp), %rbx
movzwl 0x6(%rbx), %eax
addl $-0x15, %eax
cmpw $0xc, %ax
jb 0x7fc41
leaq 0x210d1(%rip), %rsi # 0xa0d09
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x21953
testq %rbx, %rbx
je 0x7fc59
movq 0x30(%rbx... | js_typed_array_get_buffer:
push rbx
sub rsp, 10h
mov [rsp+18h+var_10], rsi
cmp edx, 0FFFFFFFFh
jnz short loc_7FC31
mov rbx, [rsp+18h+var_10]
movzx eax, word ptr [rbx+6]
add eax, 0FFFFFFEBh
cmp ax, 0Ch
jb short loc_7FC41
loc_7FC31:
lea rsi, aNotATypedarray; "not a TypedArray"
xo... | _DWORD * js_typed_array_get_buffer(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
long long a6,
__m128 a7,
__m128 a8,
__m128 a9,
__m128 a10,
__m128 a11,
__m128 a12,
__m128 a13,
__m128 ... | js_typed_array_get_buffer:
PUSH RBX
SUB RSP,0x10
MOV qword ptr [RSP + 0x8],RSI
CMP EDX,-0x1
JNZ 0x0017fc31
MOV RBX,qword ptr [RSP + 0x8]
MOVZX EAX,word ptr [RBX + 0x6]
ADD EAX,-0x15
CMP AX,0xc
JC 0x0017fc41
LAB_0017fc31:
LEA RSI,[0x1a0d09]
XOR EBX,EBX
XOR EAX,EAX
CALL 0x00121953
LAB_0017fc41:
TEST RBX,RBX
JZ 0x0017fc59... |
int1 [16] js_typed_array_get_buffer(int8 param_1,long param_2,int param_3)
{
int *piVar1;
int8 uVar2;
int1 auVar3 [16];
if ((param_3 != -1) || (0xb < (ushort)(*(short *)(param_2 + 6) - 0x15U))) {
param_2 = 0;
JS_ThrowTypeError(param_1,"not a TypedArray");
}
if (param_2 == 0) {
uVar2 = 6;
... |
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.