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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
25,000 | exp_mont_384 | corpus-core[P]colibri-stateless/build_O3/_deps/blst-src/src/exp.c | static void exp_mont_384(vec384 out, const vec384 inp, const byte *pow,
size_t pow_bits, const vec384 p, limb_t n0)
{
#if 1
vec384 ret;
vec_copy(ret, inp, sizeof(ret)); /* ret = inp^1 */
--pow_bits; /* most significant bit is set, skip over */
while (pow_bits--) {
sqr_... | O3 | c | exp_mont_384:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, -0x40(%rbp)
movq %rdi, -0x30(%rbp)
movups (%rsi), %xmm0
movups 0x10(%rsi), %xmm1
movq %rsi, -0x38(%rbp)
movups 0x20(%rsi), %xmm2
movaps %xmm2, -0x50(%rbp)
movaps %xmm1, -0x60(%rbp)
movaps %xmm0, -... | exp_mont_384:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 48h
mov [rbp+var_40], rdx
mov [rbp+var_30], rdi
movups xmm0, xmmword ptr [rsi]
movups xmm1, xmmword ptr [rsi+10h]
mov [rbp+var_38], rsi
movups xmm2, xmmword ptr [rsi+20h]
movaps [rbp+var_5... | _OWORD * exp_mont_384(_OWORD *a1, _OWORD *a2, long long a3, long long a4)
{
__int128 v4; // xmm0
__int128 v5; // xmm1
long long i; // r14
int v7; // eax
__int128 v8; // xmm0
__int128 v9; // xmm1
_OWORD *result; // rax
__int128 v11; // [rsp+0h] [rbp-70h] BYREF
__int128 v12; // [rsp+10h] [rbp-60h]
__i... | exp_mont_384:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RBP + -0x40],RDX
MOV qword ptr [RBP + -0x30],RDI
MOVUPS XMM0,xmmword ptr [RSI]
MOVUPS XMM1,xmmword ptr [RSI + 0x10]
MOV qword ptr [RBP + -0x38],RSI
MOVUPS XMM2,xmmword ptr [RSI + 0x20]
MOVAPS xmmword ptr [RBP + -... |
void exp_mont_384(int8 *param_1,int4 *param_2,long param_3,long param_4)
{
int4 local_78;
int4 uStack_74;
int4 uStack_70;
int4 uStack_6c;
int8 local_68;
int8 uStack_60;
int8 local_58;
int8 uStack_50;
long local_48;
int4 *local_40;
int8 *local_38;
local_78 = *param_2;
uStack_74 = param_2[1... | |
25,001 | lunasvg::parsePaint(std::basic_string_view<char, std::char_traits<char>>, lunasvg::SVGLayoutState const*, lunasvg::Color const&) | dmazzella[P]pylunasvg/lunasvg/source/svglayoutstate.cpp | static Paint parsePaint(std::string_view input, const SVGLayoutState* state, const Color& defaultValue)
{
std::string id;
if(!parseUrlValue(input, id))
return Paint(parseColorOrNone(input, state, defaultValue));
if(skipOptionalSpaces(input))
return Paint(id, parseColorOrNone(input, state, de... | O0 | cpp | lunasvg::parsePaint(std::basic_string_view<char, std::char_traits<char>>, lunasvg::SVGLayoutState const*, lunasvg::Color const&):
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0xb0(%rbp)
movq %rdi, %rax
movq %rax, -0xa8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq %rcx, -0x20... | _ZN7lunasvgL10parsePaintESt17basic_string_viewIcSt11char_traitsIcEEPKNS_14SVGLayoutStateERKNS_5ColorE:
push rbp
mov rbp, rsp
sub rsp, 0C0h
mov [rbp+var_B0], rdi
mov rax, rdi
mov [rbp+var_A8], rax
mov [rbp+var_8], rdi
mov qword ptr [rbp+var_18], rsi
mov qword ptr [rbp+var_18+8], rdx
mo... | lunasvg::Paint * lunasvg::parsePaint(lunasvg::Paint *a1, long long a2, long long a3, long long a4, long long a5)
{
int v6; // [rsp+48h] [rbp-78h] BYREF
int v7; // [rsp+4Ch] [rbp-74h]
__int128 v8; // [rsp+50h] [rbp-70h]
int v9; // [rsp+68h] [rbp-58h] BYREF
_BYTE v10[32]; // [rsp+78h] [rbp-48h] BYREF
long lon... | parsePaint:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xc0
MOV qword ptr [RBP + -0xb0],RDI
MOV RAX,RDI
MOV qword ptr [RBP + -0xa8],RAX
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x10],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x28],R8
LEA RDI,[RBP + -0x48]
MOV qword ptr [RBP... |
/* lunasvg::parsePaint(std::basic_string_view<char, std::char_traits<char> >,
lunasvg::SVGLayoutState const*, lunasvg::Color const&) */
Paint * lunasvg::parsePaint(Paint *param_1,lunasvg *param_2,int8 param_3,int8 param_4,
int8 param_5)
{
byte bVar1;
int4 local_80;
int4 local_7c;
... | |
25,002 | lunasvg::parsePaint(std::basic_string_view<char, std::char_traits<char>>, lunasvg::SVGLayoutState const*, lunasvg::Color const&) | dmazzella[P]pylunasvg/lunasvg/source/svglayoutstate.cpp | static Paint parsePaint(std::string_view input, const SVGLayoutState* state, const Color& defaultValue)
{
std::string id;
if(!parseUrlValue(input, id))
return Paint(parseColorOrNone(input, state, defaultValue));
if(skipOptionalSpaces(input))
return Paint(id, parseColorOrNone(input, state, de... | O1 | cpp | lunasvg::parsePaint(std::basic_string_view<char, std::char_traits<char>>, lunasvg::SVGLayoutState const*, lunasvg::Color const&):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdi, %rbx
movq %rsp, %rdi
movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
leaq 0x20(%rsp),... | _ZN7lunasvgL10parsePaintESt17basic_string_viewIcSt11char_traitsIcEEPKNS_14SVGLayoutStateERKNS_5ColorE:
push rbp
push r15
push r14
push r12
push rbx
sub rsp, 30h
mov r14, r8
mov r15, rcx
mov rbx, rdi
mov rdi, rsp
mov [rdi], rsi
mov [rdi+8], rdx
lea r12, [rsp+58h+var_38]
mov... | long long lunasvg::parsePaint(long long a1, long long a2, long long a3, long long a4, long long a5)
{
bool v8; // al
long long v9; // rdx
long long v10; // rdi
long long v11; // rcx
unsigned long long v12; // rsi
int v14; // ebp
int v15; // eax
long long v17; // [rsp+0h] [rbp-58h] BYREF
long long v18... | parsePaint:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x30
MOV R14,R8
MOV R15,RCX
MOV RBX,RDI
MOV RDI,RSP
MOV qword ptr [RDI],RSI
MOV qword ptr [RDI + 0x8],RDX
LEA R12,[RSP + 0x20]
MOV qword ptr [R12 + -0x10],R12
MOV qword ptr [R12 + -0x8],0x0
MOV byte ptr [R12],0x0
LAB_001168d0:
LEA RSI,[RSP + 0x10]
CALL 0x... |
/* lunasvg::parsePaint(std::basic_string_view<char, std::char_traits<char> >,
lunasvg::SVGLayoutState const*, lunasvg::Color const&) */
long * lunasvg::parsePaint(long *param_1,lunasvg *param_2,byte *param_3,int8 param_4,
int8 param_5)
{
char cVar1;
int4 uVar2;
byte *pbVar3;
luna... | |
25,003 | BC_add_object_ref1 | bluesky950520[P]quickjs/quickjs.c | static int BC_add_object_ref1(BCReaderState *s, JSObject *p)
{
if (s->allow_reference) {
if (js_resize_array(s->ctx, (void *)&s->objects,
sizeof(s->objects[0]),
&s->objects_size, s->objects_count + 1))
return -1;
s->objects[s->objec... | O1 | c | BC_add_object_ref1:
xorl %eax, %eax
cmpb $0x0, 0x36(%rdi)
je 0x470c9
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl 0x40(%rdi), %r8d
cmpl %r8d, 0x44(%rdi)
jle 0x470ca
movq 0x38(%r14), %rax
movslq 0x40(%r14), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x40(%r14)
movq %rbx, (%rax,%rcx,8)
xorl %eax, %eax
... | BC_add_object_ref1:
xor eax, eax
cmp byte ptr [rdi+36h], 0
jz short locret_470C9
push r14
push rbx
push rax
mov rbx, rsi
mov r14, rdi
mov r8d, [rdi+40h]
cmp [rdi+44h], r8d
jle short loc_470CA
loc_470AD:
mov rax, [r14+38h]
movsxd rcx, dword ptr [r14+40h]
lea edx, [rcx+1... | long long BC_add_object_ref1(long long a1, long long a2)
{
long long result; // rax
int v3; // r8d
long long v4; // rax
long long v5; // rcx
int v6; // ecx
result = 0LL;
if ( *(_BYTE *)(a1 + 54) )
{
v3 = *(_DWORD *)(a1 + 64);
if ( *(_DWORD *)(a1 + 68) > v3
|| (v6 = js_realloc_array(*(_QW... | BC_add_object_ref1:
XOR EAX,EAX
CMP byte ptr [RDI + 0x36],0x0
JZ 0x001470c9
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RSI
MOV R14,RDI
MOV R8D,dword ptr [RDI + 0x40]
CMP dword ptr [RDI + 0x44],R8D
JLE 0x001470ca
LAB_001470ad:
MOV RAX,qword ptr [R14 + 0x38]
MOVSXD RCX,dword ptr [R14 + 0x40]
LEA EDX,[RCX + 0x1]
MOV dword ptr [R1... |
int8 BC_add_object_ref1(int8 *param_1,int8 param_2)
{
int iVar1;
int8 in_R9;
if (*(char *)((long)param_1 + 0x36) != '\0') {
if ((*(int *)((long)param_1 + 0x44) <= *(int *)(param_1 + 8)) &&
(iVar1 = js_realloc_array(*param_1,param_1 + 7,8,(long)param_1 + 0x44,
*(int... | |
25,004 | BC_add_object_ref1 | bluesky950520[P]quickjs/quickjs.c | static int BC_add_object_ref1(BCReaderState *s, JSObject *p)
{
if (s->allow_reference) {
if (js_resize_array(s->ctx, (void *)&s->objects,
sizeof(s->objects[0]),
&s->objects_size, s->objects_count + 1))
return -1;
s->objects[s->objec... | O2 | c | BC_add_object_ref1:
pushq %r15
pushq %r14
pushq %rbx
xorl %ebx, %ebx
cmpb $0x0, 0x36(%rdi)
je 0x3d494
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rdi
leaq 0x38(%r15), %rsi
leaq 0x44(%r15), %rcx
movl 0x40(%r15), %r8d
incl %r8d
pushq $0x8
popq %rdx
callq 0x3b0ef
testl %eax, %eax
je 0x3d481
pushq $-0x1
popq %rbx
jmp 0x3... | BC_add_object_ref1:
push r15
push r14
push rbx
xor ebx, ebx
cmp byte ptr [rdi+36h], 0
jz short loc_3D494
mov r14, rsi
mov r15, rdi
mov rdi, [rdi]
lea rsi, [r15+38h]
lea rcx, [r15+44h]
mov r8d, [r15+40h]
inc r8d
push 8
pop rdx
call js_resize_array
test eax, ... | long long BC_add_object_ref1(long long a1, long long a2)
{
unsigned int v2; // ebx
long long v3; // rax
long long v4; // rcx
v2 = 0;
if ( *(_BYTE *)(a1 + 54) )
{
if ( (unsigned int)js_resize_array(*(_QWORD *)a1, a1 + 56, 8LL, (_DWORD *)(a1 + 68), *(_DWORD *)(a1 + 64) + 1) )
{
return (unsigne... | BC_add_object_ref1:
PUSH R15
PUSH R14
PUSH RBX
XOR EBX,EBX
CMP byte ptr [RDI + 0x36],0x0
JZ 0x0013d494
MOV R14,RSI
MOV R15,RDI
MOV RDI,qword ptr [RDI]
LEA RSI,[R15 + 0x38]
LEA RCX,[R15 + 0x44]
MOV R8D,dword ptr [R15 + 0x40]
INC R8D
PUSH 0x8
POP RDX
CALL 0x0013b0ef
TEST EAX,EAX
JZ 0x0013d481
PUSH -0x1
POP RBX
JMP 0x0013... |
int4 BC_add_object_ref1(int8 *param_1,int8 param_2)
{
int iVar1;
int4 uVar2;
uVar2 = 0;
if (*(char *)((long)param_1 + 0x36) != '\0') {
iVar1 = js_resize_array(*param_1,param_1 + 7,8,(long)param_1 + 0x44,*(int *)(param_1 + 8) + 1);
if (iVar1 == 0) {
iVar1 = *(int *)(param_1 + 8);
*(int *... | |
25,005 | facebook::yoga::Style::computePadding(facebook::yoga::PhysicalEdge, facebook::yoga::Direction) const | yoga-mod/yoga/../yoga/style/Style.h | Style::Length computePadding(PhysicalEdge edge, Direction direction) const {
switch (edge) {
case PhysicalEdge::Left:
return computeLeftEdge(padding_, direction);
case PhysicalEdge::Top:
return computeTopEdge(padding_);
case PhysicalEdge::Right:
return computeRightEdge(padd... | O3 | c | facebook::yoga::Style::computePadding(facebook::yoga::PhysicalEdge, facebook::yoga::Direction) const:
pushq %rbp
movq %rsp, %rbp
cmpl $0x3, %esi
ja 0x7964f
movl %esi, %eax
leaq 0x320e94(%rip), %rcx # 0x39a498
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x30(%rdi), %rsi
movzbl %dl, %edx
callq 0x7965c
j... | _ZNK8facebook4yoga5Style14computePaddingENS0_12PhysicalEdgeENS0_9DirectionE:
push rbp
mov rbp, rsp
cmp esi, 3; switch 4 cases
ja short def_7960B; jumptable 000000000007960B default case
mov eax, esi
lea rcx, jpt_7960B
movsxd rax, ds:(jpt_7960B - 39A498h)[rcx+rax*4]
add rax, rcx
jmp rax;... | long long facebook::yoga::Style::computePadding(long long a1, const char *a2, unsigned __int8 a3)
{
long long v3; // rax
switch ( (int)a2 )
{
case 0:
v3 = facebook::yoga::Style::computeLeftEdge(a1, a1 + 48, a3);
break;
case 1:
v3 = facebook::yoga::Style::computeTopEdge(a1, a1 + 48);
... | computePadding:
PUSH RBP
MOV RBP,RSP
CMP ESI,0x3
JA 0x0017964f
MOV EAX,ESI
LEA RCX,[0x49a498]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_0:
LEA RSI,[RDI + 0x30]
MOVZX EDX,DL
CALL 0x0017965c
JMP 0x0017963d
caseD_2:
LEA RSI,[RDI + 0x30]
MOVZX EDX,DL
CALL 0x001796ec
JMP 0x0017963d
caseD_3:
LEA... |
/* facebook::yoga::Style::computePadding(facebook::yoga::PhysicalEdge, facebook::yoga::Direction)
const */
ulong __thiscall
facebook::yoga::Style::computePadding(Style *this,int4 param_2,int1 param_3)
{
ulong uVar1;
switch(param_2) {
case 0:
uVar1 = computeLeftEdge(this,this + 0x30,param_3);
brea... | |
25,006 | intx::internal::udivrem_knuth(unsigned long*, unsigned long*, int, unsigned long const*, int) | corpus-core[P]colibri-stateless/build_O3/_deps/intx-src/include/intx/intx.hpp | inline void udivrem_knuth(
uint64_t q[], uint64_t u[], int ulen, const uint64_t d[], int dlen) noexcept
{
INTX_REQUIRE(dlen >= 3);
INTX_REQUIRE(ulen >= dlen);
const auto divisor = uint128{d[dlen - 2], d[dlen - 1]};
const auto reciprocal = reciprocal_3by2(divisor);
for (int j = ulen - dlen - 1; ... | O3 | cpp | intx::internal::udivrem_knuth(unsigned long*, unsigned long*, int, unsigned long const*, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, 0x38(%rsp)
movq %rdi, 0x50(%rsp)
cmpl $0x2, %r8d
jle 0x3e492
movl %r8d, %ebx
movl %edx, %r12d
cmpl %r8d, %edx
jl 0x3e4b1
movq %rcx,... | _ZN4intx8internal13udivrem_knuthEPmS1_iPKmi:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov [rsp+88h+var_50], rsi
mov [rsp+88h+var_38], rdi
cmp r8d, 2
jle loc_3E492
mov ebx, r8d
mov r12d, edx
cmp edx, r8d
jl loc_3E4B1
mov r14, rcx
lea ... | intx::internal * intx::internal::udivrem_knuth(
intx::internal *this,
unsigned long long *a2,
unsigned long long *a3,
const unsigned long long *a4,
const unsigned long long *a5)
{
unsigned long long *v5; // rbx
int v6; // r12d
long long v8; // r15
unsigned long long v9; /... | udivrem_knuth:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV qword ptr [RSP + 0x38],RSI
MOV qword ptr [RSP + 0x50],RDI
CMP R8D,0x2
JLE 0x0013e492
MOV EBX,R8D
MOV R12D,EDX
CMP EDX,R8D
JL 0x0013e4b1
MOV R14,RCX
LEA R15D,[RBX + -0x2]
MOV R13,qword ptr [RCX + R15*0x8]
LEA EAX,[RBX + -0x1]
MOV qword... |
/* intx::internal::udivrem_knuth(unsigned long*, unsigned long*, int, unsigned long const*, int) */
void intx::internal::udivrem_knuth
(ulong *param_1,ulong *param_2,int param_3,ulong *param_4,int param_5)
{
ulong *puVar1;
intx *piVar2;
int1 auVar3 [16];
int1 auVar4 [16];
int1 auVar5 [16];
... | |
25,007 | tree_delete | eloqsql/mysys/tree.c | int tree_delete(TREE *tree, void *key, uint key_size, void *custom_arg)
{
int cmp,remove_colour;
TREE_ELEMENT *element,***parent, ***org_parent, *nod;
if (!tree->with_delete)
return 1; /* not allowed */
parent= tree->parents;
*parent= &tree->root; element= tree->root;
for (;;)
{
if (element =... | O3 | c | tree_delete:
movl $0x1, %eax
cmpb $0x0, 0x278(%rdi)
je 0xa7e49
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r13
movq %rdi, %rcx
movq %rdi, 0x8(%rdi)
movq (%rdi), %r15
leaq 0x2e1102(%rip), %rbx # 0x388c00
cmpq %rbx, %r15
je 0xa7e3b
movq %rsi, %r14
movl... | tree_delete:
mov eax, 1
cmp byte ptr [rdi+278h], 0
jz locret_A7E49
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov r13, rcx
mov rcx, rdi
mov [rdi+8], rdi
mov r15, [rdi]
lea rbx, null_element
cmp r15, rbx
jz loc_A7E3B... | long long tree_delete(char **a1, long long a2, unsigned int a3, long long a4)
{
long long result; // rax
char **v6; // rcx
char *v7; // r15
void ***i; // r12
char *v10; // rsi
unsigned int v11; // eax
void **v12; // rax
void *v13; // rdx
void ***v14; // rax
char **v15; // r9
_QWORD *v16; // rdx
... | tree_delete:
MOV EAX,0x1
CMP byte ptr [RDI + 0x278],0x0
JZ 0x001a7e49
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV R13,RCX
MOV RCX,RDI
MOV qword ptr [RDI + 0x8],RDI
MOV R15,qword ptr [RDI]
LEA RBX,[0x488c00]
CMP R15,RBX
JZ 0x001a7e3b
MOV R14,RSI
MOV dword ptr [RBP + -0x34],EDX
LEA ... |
int8 tree_delete(long *param_1,int8 param_2,uint param_3,int8 param_4)
{
int iVar1;
int8 *puVar2;
uint uVar3;
long *plVar4;
long *plVar5;
long *plVar6;
long *plVar7;
long lVar8;
long *plVar9;
if ((char)param_1[0x4f] == '\0') {
return 1;
}
param_1[1] = (long)param_1;
plVar9 = (long *)*... | |
25,008 | js_inner_module_evaluation | bluesky950520[P]quickjs/quickjs.c | static int js_inner_module_evaluation(JSContext *ctx, JSModuleDef *m,
int index, JSModuleDef **pstack_top,
JSValue *pvalue)
{
JSModuleDef *m1;
int i;
if (js_check_stack_overflow(ctx->rt, 0)) {
JS_ThrowStackOverflow(ctx);
... | O1 | c | js_inner_module_evaluation:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rax
cmpq %rbp, 0xe8(%rax)
jbe 0x44adc
leaq 0x5a530(%rip), %rsi # 0x9efd6
movq %r14, %rdi
xorl %eax, %eax
callq 0x20add
movq 0x18(%r14), %rcx... | js_inner_module_evaluation:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov rbx, r8
mov r14, rdi
mov rax, [rdi+18h]
cmp [rax+0E8h], rbp
jbe short loc_44ADC
lea rsi, aMaximumCallSta; "Maximum call stack size exceeded"
mov rdi, r14
... | long long js_inner_module_evaluation(
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,
__m1... | js_inner_module_evaluation:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV RBX,R8
MOV R14,RDI
MOV RAX,qword ptr [RDI + 0x18]
CMP qword ptr [RAX + 0xe8],RBP
JBE 0x00144adc
LEA RSI,[0x19efd6]
MOV RDI,R14
XOR EAX,EAX
CALL 0x00120add
MOV RCX,qword ptr [R14 + 0x18]
MOV RDX,qword ptr [RCX ... |
int js_inner_module_evaluation
(long param_1,long param_2,int param_3,long *param_4,int8 *param_5)
{
int iVar1;
int8 uVar2;
int *piVar3;
int8 uVar4;
long lVar5;
uint uVar6;
long lVar7;
long lVar8;
if (&stack0xfffffffffffffff8 < *(int1 **)(*(long *)(param_1 + 0x18) + 0xe8)) {
JS_... | |
25,009 | js_inner_module_evaluation | bluesky950520[P]quickjs/quickjs.c | static int js_inner_module_evaluation(JSContext *ctx, JSModuleDef *m,
int index, JSModuleDef **pstack_top,
JSValue *pvalue)
{
JSModuleDef *m1;
int i;
if (js_check_stack_overflow(ctx->rt, 0)) {
JS_ThrowStackOverflow(ctx);
... | O2 | c | js_inner_module_evaluation:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %rbx
movq %rdi, %r12
movq 0x18(%rdi), %rax
cmpq %rbp, 0xe8(%rax)
jbe 0x3c5aa
movq %r12, %rdi
callq 0x35d91
movq 0x18(%r12), %rcx
movq 0xf0(%rcx), %rdx
movq 0xf8(%rcx), %rax
andl $0x0,... | js_inner_module_evaluation:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 18h
mov rbx, r8
mov r12, rdi
mov rax, [rdi+18h]
cmp [rax+0E8h], rbp
jbe short loc_3C5AA
mov rdi, r12
call JS_ThrowStackOverflow
mov rcx, [r12+18h]
mov rdx,... | long long js_inner_module_evaluation(
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,
__m... | js_inner_module_evaluation:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,R8
MOV R12,RDI
MOV RAX,qword ptr [RDI + 0x18]
CMP qword ptr [RAX + 0xe8],RBP
JBE 0x0013c5aa
MOV RDI,R12
CALL 0x00135d91
MOV RCX,qword ptr [R12 + 0x18]
MOV RDX,qword ptr [RCX + 0xf0]
MOV RAX,qword ptr [RCX ... |
ulong js_inner_module_evaluation
(long param_1,long param_2,uint param_3,long *param_4,int8 *param_5)
{
int iVar1;
int8 uVar2;
int *piVar3;
int8 uVar4;
long lVar5;
uint uVar6;
long lVar7;
long lVar8;
if (&stack0xfffffffffffffff8 < *(int1 **)(*(long *)(param_1 + 0x18) + 0xe8)) {
... | |
25,010 | minja::SetTemplateNode::SetTemplateNode(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::shared_ptr<minja::TemplateNode>&&) | monkey531[P]llama/common/minja.hpp | SetTemplateNode(const Location & location, const std::string & name, std::shared_ptr<TemplateNode> && tv)
: TemplateNode(location), name(name), template_value(std::move(tv)) {} | O3 | cpp | minja::SetTemplateNode::SetTemplateNode(minja::Location const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::shared_ptr<minja::TemplateNode>&&):
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %r14
movq %rdi, %rbx
leaq 0x8c27c(%rip), %r15 # 0x12ffc8
addq $0x10, %r15
movq %... | _ZN5minja15SetTemplateNodeC2ERKNS_8LocationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEOSt10shared_ptrINS_12TemplateNodeEE:
push r15
push r14
push rbx
mov r14, rcx
mov rbx, rdi
lea r15, _ZTVN5minja12TemplateNodeE; `vtable for'minja::TemplateNode
add r15, 10h
mov [rdi], r15
mov ... | long long minja::SetTemplateNode::SetTemplateNode(long long a1, _QWORD *a2, long long a3, __int128 *a4)
{
long long v5; // rax
long long result; // rax
__int128 v7; // xmm0
*(_QWORD *)a1 = &`vtable for'minja::TemplateNode + 2;
*(_QWORD *)(a1 + 8) = *a2;
v5 = a2[1];
*(_QWORD *)(a1 + 16) = v5;
if ( v5 )... | SetTemplateNode:
PUSH R15
PUSH R14
PUSH RBX
MOV R14,RCX
MOV RBX,RDI
LEA R15,[0x22ffc8]
ADD R15,0x10
MOV qword ptr [RDI],R15
MOV RAX,qword ptr [RSI]
MOV qword ptr [RDI + 0x8],RAX
MOV RAX,qword ptr [RSI + 0x8]
MOV qword ptr [RDI + 0x10],RAX
TEST RAX,RAX
JZ 0x001a3d7c
MOV RCX,qword ptr [0x00230f80]
CMP byte ptr [RCX],0x0
... |
/* minja::SetTemplateNode::SetTemplateNode(minja::Location const&, std::__cxx11::string const&,
std::shared_ptr<minja::TemplateNode>&&) */
void __thiscall
minja::SetTemplateNode::SetTemplateNode
(SetTemplateNode *this,Location *param_1,string *param_2,shared_ptr *param_3)
{
long lVar1;
int8 uVar2;
... | |
25,011 | my_sync_dir | eloqsql/mysys/my_sync.c | int my_sync_dir(const char *dir_name __attribute__((unused)),
myf my_flags __attribute__((unused)))
{
#ifdef NEED_EXPLICIT_SYNC_DIR
static const char cur_dir_name[]= {FN_CURLIB, 0};
File dir_fd;
int res= 0;
const char *correct_dir_name;
DBUG_ENTER("my_sync_dir");
DBUG_PRINT("my",("Dir: '%s' ... | O3 | c | my_sync_dir:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x0, (%rdi)
movq %rsi, %rbx
leaq 0x400a4(%rip), %rax # 0xe2d08
cmoveq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0xa191c
testl %eax, %eax
js 0xa2cab
movl %eax, %r14d
movq %rbx, %rsi
orq $0x20, %rsi
movl %eax, %edi
callq ... | my_sync_dir:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
cmp byte ptr [rdi], 0
mov rbx, rsi
lea rax, my_sync_dir_cur_dir_name
cmovz rdi, rax
xor esi, esi
mov rdx, rbx
call my_open
test eax, eax
js short loc_A2CAB
mov r14d, eax
mov rsi, rbx
or ... | long long my_sync_dir(_BYTE *a1, long long a2)
{
int v2; // eax
unsigned int v3; // r14d
unsigned int v4; // r15d
bool v5; // zf
long long result; // rax
if ( !*a1 )
a1 = &my_sync_dir_cur_dir_name;
v2 = my_open((long long)a1, 0, a2);
if ( v2 < 0 )
return 1LL;
v3 = v2;
v4 = 2 * ((unsigned i... | my_sync_dir:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
CMP byte ptr [RDI],0x0
MOV RBX,RSI
LEA RAX,[0x1e2d08]
CMOVZ RDI,RAX
XOR ESI,ESI
MOV RDX,RBX
CALL 0x001a191c
TEST EAX,EAX
JS 0x001a2cab
MOV R14D,EAX
MOV RSI,RBX
OR RSI,0x20
MOV EDI,EAX
CALL 0x001a2b1c
XOR R15D,R15D
TEST EAX,EAX
SETNZ R15B
ADD R15D,R15... |
char my_sync_dir(char *param_1,ulong param_2)
{
char cVar1;
int iVar2;
int iVar3;
if (*param_1 == '\0') {
param_1 = ".";
}
iVar2 = my_open(param_1,0,param_2);
if (iVar2 < 0) {
cVar1 = '\x01';
}
else {
iVar3 = my_sync(iVar2,param_2 | 0x20);
iVar2 = my_close(iVar2,param_2);
cVar... | |
25,012 | nglog::(anonymous namespace)::MinimalFormatter::AppendUint64(unsigned long, unsigned int) | ng-log[P]ng-log/src/signalhandler.cc | void AppendUint64(uint64 number, unsigned radix) {
unsigned i = 0;
while (cursor_ + i < end_) {
const uint64 tmp = number % radix;
number /= radix;
cursor_[i] = static_cast<char>(tmp < 10 ? '0' + tmp : 'a' + tmp - 10);
++i;
if (number == 0) {
break;
}
}
// Rev... | O1 | cpp | nglog::(anonymous namespace)::MinimalFormatter::AppendUint64(unsigned long, unsigned int):
movl %edx, %r8d
xorl %ecx, %ecx
movl %ecx, %r9d
addq 0x8(%rdi), %r9
cmpq 0x10(%rdi), %r9
jae 0x200fe
movq %rsi, %rax
xorl %edx, %edx
divq %r8
leal 0x57(%rdx), %r10d
movl %edx, %r11d
orb $0x30, %r11b
cmpq $0xa, %rdx
movzbl %r11b, ... | _ZN5nglog12_GLOBAL__N_116MinimalFormatter12AppendUint64Emj:
mov r8d, edx
xor ecx, ecx
loc_200C1:
mov r9d, ecx
add r9, [rdi+8]
cmp r9, [rdi+10h]
jnb short loc_200FE
mov rax, rsi
xor edx, edx
div r8
lea r10d, [rdx+57h]
mov r11d, edx
or r11b, 30h
cmp rdx, 0Ah
movzx ed... | long long nglog::`anonymous namespace'::MinimalFormatter::AppendUint64(
nglog::_anonymous_namespace_::MinimalFormatter *this,
unsigned long long a2,
unsigned int a3)
{
unsigned int v3; // ecx
_BYTE *v4; // r9
char v5; // r10
bool v6; // cf
unsigned long long v7; // rdx
long long res... | AppendUint64:
MOV R8D,EDX
XOR ECX,ECX
LAB_001200c1:
MOV R9D,ECX
ADD R9,qword ptr [RDI + 0x8]
CMP R9,qword ptr [RDI + 0x10]
JNC 0x001200fe
MOV RAX,RSI
XOR EDX,EDX
DIV R8
LEA R10D,[RDX + 0x57]
MOV R11D,EDX
OR R11B,0x30
CMP RDX,0xa
MOVZX EDX,R11B
MOVZX R10D,R10B
CMOVC R10D,EDX
MOV byte ptr [R9],R10B
INC ECX
CMP RSI,R8
MOV... |
/* nglog::(anonymous namespace)::MinimalFormatter::AppendUint64(unsigned long, unsigned int) */
void __thiscall
nglog::(anonymous_namespace)::MinimalFormatter::AppendUint64
(MinimalFormatter *this,ulong param_1,uint param_2)
{
int1 uVar1;
int1 *puVar2;
int1 auVar3 [16];
int1 auVar4 [16];
byte bVa... | |
25,013 | get_store_length | eloqsql/libmariadb/libmariadb/mariadb_lib.c | static size_t get_store_length(size_t length)
{
#define MAX_STORE_SIZE 9
unsigned char buffer[MAX_STORE_SIZE], *p;
/* We just store the length and subtract offset of our buffer
to determine the length */
p= mysql_net_store_length(buffer, length);
return p - buffer;
} | O0 | c | get_store_length:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x20(%rbp)
movq -0x20(%rbp), %rsi
leaq -0x11(%rbp), %rdi
movq %rdi, -0x38(%rbp)
callq 0x40f10
movq -0x38(%rbp), %rcx
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
subq %rcx, %rax
movq %rax, -0x30(%rbp)
mo... | get_store_length:
push rbp
mov rbp, rsp
sub rsp, 40h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_20], rdi
mov rsi, [rbp+var_20]
lea rdi, [rbp+var_11]
mov [rbp+var_38], rdi
call mysql_net_store_length
mov rcx, [rbp+var_38]
mov [rbp+var_28], rax
mov rax, [rbp+var_28... | long long get_store_length(long long a1)
{
_BYTE v2[9]; // [rsp+2Fh] [rbp-11h] BYREF
unsigned long long v3; // [rsp+38h] [rbp-8h]
v3 = __readfsqword(0x28u);
return mysql_net_store_length(v2, a1) - (_QWORD)v2;
}
| get_store_length:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x20],RDI
MOV RSI,qword ptr [RBP + -0x20]
LEA RDI,[RBP + -0x11]
MOV qword ptr [RBP + -0x38],RDI
CALL 0x00140f10
MOV RCX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qwo... |
long get_store_length(int8 param_1)
{
long lVar1;
long in_FS_OFFSET;
int1 local_19 [9];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
lVar1 = mysql_net_store_length(local_19,param_1);
if (*(long *)(in_FS_OFFSET + 0x28) == local_10) {
return lVar1 - (long)local_19;
}
... | |
25,014 | eth_verify_state_proof | corpus-core[P]colibri-stateless/src/chains/eth/verifier/eth_account.c | bool eth_verify_state_proof(verify_ctx_t* ctx, ssz_ob_t state_proof, bytes32_t state_root) {
bytes32_t body_root = {0};
json_t block_number = json_len(ctx->args) ? json_at(ctx->args, json_len(ctx->args) - 1) : (json_t) {0};
ssz_ob_t state_merkle_proof = ssz_get(&state_proof, "proof");
ssz_ob_... | O2 | c | eth_verify_state_proof:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x110, %rsp # imm = 0x110
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x140(%rsp), %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movq 0x18(%rdi), %rax
movq %rax, 0x10(%rsp)
movups 0x8(%rdi), %xmm0
movups... | eth_verify_state_proof:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 110h
mov r14, rsi
mov rbx, rdi
lea r15, [rsp+138h+arg_0]
xorps xmm0, xmm0
movaps [rsp+138h+var_D8], xmm0
movaps [rsp+138h+var_E8], xmm0
mov rax, [rdi+18h]
mov [rsp+138h+var_128], rax
movups xmm0, xm... | int eth_verify_state_proof(long long a1, _OWORD *a2, int a3, int a4, int a5, int a6, char a7)
{
int v7; // edx
int v8; // ecx
int v9; // r8d
int v10; // r9d
int v11; // eax
int v12; // edx
int v13; // ecx
int v14; // r8d
int v15; // r9d
long long v16; // rcx
__int128 v17; // xmm1
const char *v1... | eth_verify_state_proof:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x110
MOV R14,RSI
MOV RBX,RDI
LEA R15,[RSP + 0x140]
XORPS XMM0,XMM0
MOVAPS xmmword ptr [RSP + 0x60],XMM0
MOVAPS xmmword ptr [RSP + 0x50],XMM0
MOV RAX,qword ptr [RDI + 0x18]
MOV qword ptr [RSP + 0x10],RAX
MOVUPS XMM0,xmmword ptr [RDI + 0x8]
MOV... |
int8 eth_verify_state_proof(long param_1,int8 *param_2)
{
int iVar1;
long lVar2;
long lVar3;
int4 extraout_var;
char *pcVar4;
char *local_118;
long lStack_110;
int8 local_108;
uint local_100 [2];
void *local_f8;
long local_f0;
int8 local_e8;
int8 uStack_e0;
int8 local_d8;
int8 uStack_d0;... | |
25,015 | eth_verify_state_proof | corpus-core[P]colibri-stateless/src/chains/eth/verifier/eth_account.c | bool eth_verify_state_proof(verify_ctx_t* ctx, ssz_ob_t state_proof, bytes32_t state_root) {
bytes32_t body_root = {0};
json_t block_number = json_len(ctx->args) ? json_at(ctx->args, json_len(ctx->args) - 1) : (json_t) {0};
ssz_ob_t state_merkle_proof = ssz_get(&state_proof, "proof");
ssz_ob_... | O3 | c | eth_verify_state_proof:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x110, %rsp # imm = 0x110
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x140(%rsp), %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movq 0x18(%rdi), %rax
movq %rax, 0x10(%rsp)
movups 0x8(%rdi), %xmm0
movups... | eth_verify_state_proof:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 110h
mov r14, rsi
mov rbx, rdi
lea r15, [rsp+138h+arg_0]
xorps xmm0, xmm0
movaps [rsp+138h+var_D8], xmm0
movaps [rsp+138h+var_E8], xmm0
mov rax, [rdi+18h]
mov [rsp+138h+var_128], rax
movups xmm0, xm... | char eth_verify_state_proof(long long a1, const __m128i *a2, int a3, int a4, int a5, int a6, char a7)
{
int v7; // edx
int v8; // ecx
int v9; // r8d
int v10; // r9d
int v11; // eax
int v12; // edx
int v13; // ecx
int v14; // r8d
int v15; // r9d
long long v16; // rcx
__m128i v17; // xmm1
const c... | eth_verify_state_proof:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x110
MOV R14,RSI
MOV RBX,RDI
LEA R15,[RSP + 0x140]
XORPS XMM0,XMM0
MOVAPS xmmword ptr [RSP + 0x60],XMM0
MOVAPS xmmword ptr [RSP + 0x50],XMM0
MOV RAX,qword ptr [RDI + 0x18]
MOV qword ptr [RSP + 0x10],RAX
MOVUPS XMM0,xmmword ptr [RDI + 0x8]
MOV... |
int8 eth_verify_state_proof(long param_1,int8 *param_2)
{
long lVar1;
long lVar2;
char *pcVar3;
int1 auVar4 [16];
int1 auVar5 [16];
int1 auVar6 [16];
int1 auVar7 [16];
char *local_118;
long lStack_110;
int8 local_108;
uint local_100 [2];
char *local_f8;
long local_f0;
int8 local_e8;
int8... | |
25,016 | maria_delete_all_rows | eloqsql/storage/maria/ma_delete_all.c | int maria_delete_all_rows(MARIA_HA *info)
{
MARIA_SHARE *share= info->s;
my_bool log_record;
LSN lsn;
#ifdef HAVE_MMAP
my_bool mmap_file= share->file_map != 0;
#endif
DBUG_ENTER("maria_delete_all_rows");
if (share->options & HA_OPTION_READ_ONLY_DATA)
{
DBUG_RETURN(my_errno=EACCES);
}
/**
@to... | O3 | c | maria_delete_all_rows:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq (%rdi), %r14
testb $0x1, 0x722(%r14)
jne 0x6a010
movq %rdi, %rbx
movq 0x5f0(%r14), %r13
movl $0x1, %esi
movl $0x1, %edx
callq 0x37dde
testl %eax, %eax
je 0x6a026
callq 0xa1b22
movl (%rax), %r14... | maria_delete_all_rows:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov r14, [rdi]
test byte ptr [r14+722h], 1
jnz short loc_6A010
mov rbx, rdi
mov r13, [r14+5F0h]
mov esi, 1
mov edx, 1
call _ma_readinfo
test eax, eax
jz ... | long long maria_delete_all_rows(_QWORD *a1, const char *a2)
{
long long v2; // r14
long long v4; // r13
long long v5; // rsi
unsigned int v6; // r14d
long long v7; // rdi
char v8; // r12
unsigned int v9; // r15d
long long v10; // rax
int v11; // eax
long long v12; // rdx
long long v13; // rcx
l... | maria_delete_all_rows:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R14,qword ptr [RDI]
TEST byte ptr [R14 + 0x722],0x1
JNZ 0x0016a010
MOV RBX,RDI
MOV R13,qword ptr [R14 + 0x5f0]
MOV ESI,0x1
MOV EDX,0x1
CALL 0x00137dde
TEST EAX,EAX
JZ 0x0016a026
CALL 0x001a1b22
MOV R14D,dword ptr [... |
int4 maria_delete_all_rows(long *param_1)
{
int4 uVar1;
long lVar2;
long lVar3;
bool bVar4;
char cVar5;
int iVar6;
int4 *puVar7;
long lVar8;
int1 local_88 [32];
int *local_68;
int8 local_60;
int8 local_40;
int local_34;
lVar2 = *param_1;
if ((*(byte *)(lVar2 + 0x722) & 1) != 0) {
... | |
25,017 | ggml_compute_forward_soft_max_back_f32 | Yangxiaoz[P]GGML-Tutorial/ggml/src/ggml-cpu/ggml-cpu.c | static void ggml_compute_forward_soft_max_back_f32(
const struct ggml_compute_params * params,
struct ggml_tensor * dst) {
const struct ggml_tensor * src0 = dst->src[0];
const struct ggml_tensor * src1 = dst->src[1];
GGML_ASSERT(ggml_is_contiguous(src0));
GGML_ASSERT(ggml_is_contiguous... | O0 | c | ggml_compute_forward_soft_max_back_f32:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x98(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0xa0(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0xd280
testb $0x1, %al
jne... | ggml_compute_forward_soft_max_back_f32:
push rbp
mov rbp, rsp
sub rsp, 80h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
mov rax, [rax+98h]
mov [rbp+var_18], rax
mov rax, [rbp+var_10]
mov rax, [rax+0A0h]
mov [rbp+var_20], rax
mov rdi, [rbp+var_18]
call ... | long long ggml_compute_forward_soft_max_back_f32(int *a1, long long a2, __m128 _XMM0)
{
long long result; // rax
int v21; // ecx
int v23; // eax
int v24; // [rsp+18h] [rbp-68h]
int k; // [rsp+1Ch] [rbp-64h]
int v26; // [rsp+20h] [rbp-60h] BYREF
int j; // [rsp+24h] [rbp-5Ch]
long long v28; // [rsp+28h] ... | ggml_compute_forward_soft_max_back_f32:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x80
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x98]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0xa0]
MOV qword ptr [RBP + -0x2... |
void ggml_compute_forward_soft_max_back_f32(int *param_1,long param_2)
{
uint uVar1;
int iVar2;
ulong uVar3;
int iVar4;
int1 auVar5 [16];
int local_70;
int local_6c;
uint local_68;
int local_64;
long local_60;
long local_58;
long local_50;
int local_48;
int local_44;
int local_40;
int ... | |
25,018 | pvio_socket_keepalive | eloqsql/libmariadb/plugins/pvio/pvio_socket.c | int pvio_socket_keepalive(MARIADB_PVIO *pvio)
{
int opt= 1;
struct st_pvio_socket *csock= NULL;
if (!pvio || !pvio->data)
return 1;
csock= (struct st_pvio_socket *)pvio->data;
return setsockopt(csock->socket, SOL_SOCKET, SO_KEEPALIVE,
#ifndef _WIN32
(const void *)&opt, sizeof(opt));
#els... | O3 | c | pvio_socket_keepalive:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x1, -0x4(%rbp)
movl $0x1, %eax
testq %rdi, %rdi
je 0x5e217
movq (%rdi), %rcx
testq %rcx, %rcx
je 0x5e217
movl (%rcx), %edi
leaq -0x4(%rbp), %rcx
movl $0x1, %esi
movl $0x9, %edx
movl $0x4, %r8d
callq 0x37120
addq $0x10, %rsp
popq %rbp
retq
| pvio_socket_keepalive:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_4], 1
mov eax, 1
test rdi, rdi
jz short loc_5E217
mov rcx, [rdi]
test rcx, rcx
jz short loc_5E217
mov edi, [rcx]
lea rcx, [rbp+var_4]
mov esi, 1
mov edx, 9
mov r8d, 4
call _setsockopt
loc... | long long pvio_socket_keepalive(_QWORD *a1)
{
long long result; // rax
int v2; // [rsp+Ch] [rbp-4h] BYREF
v2 = 1;
result = 1LL;
if ( a1 )
{
if ( *a1 )
return setsockopt(*(unsigned int *)*a1, 1LL, 9LL, &v2, 4LL);
}
return result;
}
| pvio_socket_keepalive:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0x4],0x1
MOV EAX,0x1
TEST RDI,RDI
JZ 0x0015e217
MOV RCX,qword ptr [RDI]
TEST RCX,RCX
JZ 0x0015e217
MOV EDI,dword ptr [RCX]
LEA RCX,[RBP + -0x4]
MOV ESI,0x1
MOV EDX,0x9
MOV R8D,0x4
CALL 0x00137120
LAB_0015e217:
ADD RSP,0x10
POP RBP
RET
|
int pvio_socket_keepalive(int8 *param_1)
{
int iVar1;
int4 local_c;
local_c = 1;
iVar1 = 1;
if ((param_1 != (int8 *)0x0) && ((int *)*param_1 != (int *)0x0)) {
iVar1 = setsockopt(*(int *)*param_1,1,9,&local_c,4);
}
return iVar1;
}
| |
25,019 | my_suspend_hook | eloqsql/libmariadb/libmariadb/mariadb_lib.c | static void
my_suspend_hook(my_bool suspend, void *data)
{
struct my_hook_data *hook_data= (struct my_hook_data *)data;
if (suspend)
{
hook_data->orig_pvio= hook_data->orig_mysql->net.pvio;
hook_data->orig_mysql->net.pvio= hook_data->new_mysql->net.pvio;
}
else
hook_data->orig_mysql->net.pvio= hoo... | O0 | c | my_suspend_hook:
pushq %rbp
movq %rsp, %rbp
movb %dil, %al
movb %al, -0x1(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpb $0x0, -0x1(%rbp)
je 0x1d715
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x18(%rbp), %rax
movq 0x8(%r... | my_suspend_hook:
push rbp
mov rbp, rsp
mov al, dil
mov [rbp+var_1], al
mov [rbp+var_10], rsi
mov rax, [rbp+var_10]
mov [rbp+var_18], rax
cmp [rbp+var_1], 0
jz short loc_1D715
mov rax, [rbp+var_18]
mov rax, [rax]
mov rcx, [rax]
mov rax, [rbp+var_18]
mov [rax+10h], ... | _QWORD * my_suspend_hook(char a1, long long a2)
{
long long v2; // rcx
_QWORD *result; // rax
if ( a1 )
{
*(_QWORD *)(a2 + 16) = **(_QWORD **)a2;
v2 = **(_QWORD **)(a2 + 8);
}
else
{
v2 = *(_QWORD *)(a2 + 16);
}
result = *(_QWORD **)a2;
**(_QWORD **)a2 = v2;
return result;
}
| my_suspend_hook:
PUSH RBP
MOV RBP,RSP
MOV AL,DIL
MOV byte ptr [RBP + -0x1],AL
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x18],RAX
CMP byte ptr [RBP + -0x1],0x0
JZ 0x0011d715
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RCX,qword ptr [RAX]
MOV RAX,qword ptr [RBP... |
void my_suspend_hook(char param_1,int8 *param_2)
{
if (param_1 == '\0') {
*(int8 *)*param_2 = param_2[2];
}
else {
param_2[2] = *(int8 *)*param_2;
*(int8 *)*param_2 = *(int8 *)param_2[1];
}
return;
}
| |
25,020 | l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long, CURSOR*, LF_PINS*, char (*)(void*, void*)) | eloqsql/mysys/lf_hash.cc | static int l_find(LF_SLIST **head, CHARSET_INFO *cs, uint32 hashnr,
const uchar *key, size_t keylen, CURSOR *cursor, LF_PINS *pins,
my_hash_walk_action callback)
{
uint32 cur_hashnr;
const uchar *cur_key;
size_t cur_keylen;
intptr link;
DBUG_ASSERT(!cs || ... | O0 | cpp | l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long, CURSOR*, LF_PINS*, char (*)(void*, void*)):
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
mo... | _ZL6l_findPP8LF_SLISTPK15charset_info_stjPKhmP6CURSORP7LF_PINSPFcPvSB_E:
push rbp
mov rbp, rsp
sub rsp, 0D0h
mov rax, [rbp+arg_8]
mov rax, [rbp+arg_0]
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_1C], edx
mov [rbp+var_28], rcx
mov [rbp+var_30], r8
mov [rbp+var_38],... | _BOOL8 l_find(
volatile signed long long *a1,
long long a2,
unsigned int a3,
long long a4,
long long a5,
volatile signed long long **a6,
volatile long long *a7,
unsigned __int8 ( *a8)(volatile signed long long *, long long))
{
signed long long v8; // rt... | l_find:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV RAX,qword ptr [RBP + 0x18]
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV dword ptr [RBP + -0x1c],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV qword ptr [RBP + -0x30],R8
MOV qword ptr [RBP + -0x38],R9
JMP 0x001fdbfc
LAB_001fdbf... |
/* l_find(LF_SLIST**, charset_info_st const*, unsigned int, unsigned char const*, unsigned long,
CURSOR*, LF_PINS*, char (*)(void*, void*)) */
byte l_find(LF_SLIST **param_1,charset_info_st *param_2,uint param_3,uchar *param_4,ulong param_5,
CURSOR *param_6,LF_PINS *param_7,_func_char_void_ptr_void_ptr ... | |
25,021 | google::protobuf::DelocalizeRadix(char*) | aimrt_mujoco_sim/_deps/protobuf-src/src/google/protobuf/stubs/strutil.cc | void DelocalizeRadix(char* buffer) {
// Fast check: if the buffer has a normal decimal point, assume no
// translation is needed.
if (strchr(buffer, '.') != nullptr) return;
// Find the first unknown character.
while (IsValidFloatChar(*buffer)) ++buffer;
if (*buffer == '\0') {
// No radix character f... | O0 | cpp | google::protobuf::DelocalizeRadix(char*):
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movl $0x2e, %esi
callq 0x13170
cmpq $0x0, %rax
je 0x2a3e3
jmp 0x2a4d0
jmp 0x2a3e5
movq 0x20(%rsp), %rax
movsbl (%rax), %edi
callq 0x2a4e0
testb $0x1, %al
jne 0x2a3f8
jmp 0x2a408
movq 0x20(%rsp), %rax
addq $0x1, %rax
m... | _ZN6google8protobuf15DelocalizeRadixEPc:
sub rsp, 28h
mov [rsp+28h+var_8], rdi
mov rdi, [rsp+28h+var_8]
mov esi, 2Eh ; '.'; char
call _strchr
cmp rax, 0
jz short loc_2A3E3
jmp loc_2A4D0
loc_2A3E3:
jmp short $+2
loc_2A3E5:
mov rax, [rsp+28h+var_8]
movsx edi, byte ptr [rax]; this... | long long google::protobuf::DelocalizeRadix(google::protobuf *this, char *a2)
{
long long result; // rax
long long v3; // rax
bool v4; // [rsp+17h] [rbp-11h]
_BYTE *v5; // [rsp+18h] [rbp-10h]
google::protobuf *v6; // [rsp+20h] [rbp-8h]
_BYTE *v7; // [rsp+20h] [rbp-8h]
v6 = this;
result = strchr(this, ... | DelocalizeRadix:
SUB RSP,0x28
MOV qword ptr [RSP + 0x20],RDI
MOV RDI,qword ptr [RSP + 0x20]
MOV ESI,0x2e
CALL 0x00113170
CMP RAX,0x0
JZ 0x0012a3e3
JMP 0x0012a4d0
LAB_0012a3e3:
JMP 0x0012a3e5
LAB_0012a3e5:
MOV RAX,qword ptr [RSP + 0x20]
MOVSX EDI,byte ptr [RAX]
CALL 0x0012a4e0
TEST AL,0x1
JNZ 0x0012a3f8
JMP 0x0012a408
L... |
/* google::protobuf::DelocalizeRadix(char*) */
void google::protobuf::DelocalizeRadix(char *param_1)
{
uint uVar1;
char *pcVar2;
ulong uVar3;
size_t sVar4;
bool bVar5;
char *local_8;
pcVar2 = strchr(param_1,0x2e);
local_8 = param_1;
if (pcVar2 == (char *)0x0) {
while (uVar3 = IsValidFloatCha... | |
25,022 | rw_pr_rdlock | eloqsql/mysys/thr_rwlock.c | int rw_pr_rdlock(rw_pr_lock_t *rwlock)
{
pthread_mutex_lock(&rwlock->lock);
/*
The fact that we were able to acquire 'lock' mutex means
that there are no active writers and we can acquire rd-lock.
Increment active readers counter to prevent requests for
wr-lock from succeeding and unlock mutex.
*/... | O3 | c | rw_pr_rdlock:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x244c0
incl 0x58(%rbx)
movq %rbx, %rdi
callq 0x24210
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
| rw_pr_rdlock:
push rbp
mov rbp, rsp
push rbx
push rax
mov rbx, rdi
call _pthread_mutex_lock
inc dword ptr [rbx+58h]
mov rdi, rbx
call _pthread_mutex_unlock
xor eax, eax
add rsp, 8
pop rbx
pop rbp
retn
| long long rw_pr_rdlock(long long a1)
{
pthread_mutex_lock(a1);
++*(_DWORD *)(a1 + 88);
pthread_mutex_unlock(a1);
return 0LL;
}
| rw_pr_rdlock:
PUSH RBP
MOV RBP,RSP
PUSH RBX
PUSH RAX
MOV RBX,RDI
CALL 0x001244c0
INC dword ptr [RBX + 0x58]
MOV RDI,RBX
CALL 0x00124210
XOR EAX,EAX
ADD RSP,0x8
POP RBX
POP RBP
RET
|
int8 rw_pr_rdlock(pthread_mutex_t *param_1)
{
pthread_mutex_lock(param_1);
*(int *)((long)param_1 + 0x58) = *(int *)((long)param_1 + 0x58) + 1;
pthread_mutex_unlock(param_1);
return 0;
}
| |
25,023 | YAML::detail::node_data::compute_map_size() const | aimrt_mujoco_sim/_deps/yaml-cpp-src/src/node_data.cpp | void node_data::compute_map_size() const {
auto it = m_undefinedPairs.begin();
while (it != m_undefinedPairs.end()) {
auto jt = std::next(it);
if (it->first->is_defined() && it->second->is_defined())
m_undefinedPairs.erase(it);
it = jt;
}
} | O3 | cpp | YAML::detail::node_data::compute_map_size() const:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x98(%rdi), %r15
movq 0x98(%rdi), %r12
cmpq %r15, %r12
je 0x61306
movq %rdi, %rbx
movq %r12, %r14
movq (%r12), %r12
movq 0x10(%r14), %rax
movq (%rax), %rax
movq (%rax), %rax
cmpb $0x1, (%rax)
jne 0x61301
movq ... | _ZNK4YAML6detail9node_data16compute_map_sizeEv:
push r15
push r14
push r12
push rbx
push rax
lea r15, [rdi+98h]
mov r12, [rdi+98h]
cmp r12, r15
jz short loc_61306
mov rbx, rdi
loc_612C0:
mov r14, r12
mov r12, [r12]
mov rax, [r14+10h]
mov rax, [rax]
mov rax, [rax]
... | void YAML::detail::node_data::compute_map_size(YAML::detail::node_data *this)
{
YAML::detail::node_data *v1; // r12
YAML::detail::node_data *v2; // r14
v1 = (YAML::detail::node_data *)*((_QWORD *)this + 19);
while ( v1 != (YAML::detail::node_data *)((char *)this + 152) )
{
v2 = v1;
v1 = *(YAML::deta... | compute_map_size:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
LEA R15,[RDI + 0x98]
MOV R12,qword ptr [RDI + 0x98]
CMP R12,R15
JZ 0x00161306
MOV RBX,RDI
LAB_001612c0:
MOV R14,R12
MOV R12,qword ptr [R12]
MOV RAX,qword ptr [R14 + 0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX]
CMP byte ptr [RAX],0x1
JNZ 0x00161301
... |
/* YAML::detail::node_data::compute_map_size() const */
void __thiscall YAML::detail::node_data::compute_map_size(node_data *this)
{
node_data *pnVar1;
node_data *pnVar2;
pnVar1 = *(node_data **)(this + 0x98);
while (pnVar2 = pnVar1, pnVar2 != this + 0x98) {
pnVar1 = *(node_data **)pnVar2;
if ((**... | |
25,024 | mysql_stat | eloqsql/libmariadb/libmariadb/mariadb_lib.c | char * STDCALL
mysql_stat(MYSQL *mysql)
{
if (ma_simple_command(mysql, COM_STATISTICS,0,0,0,0))
return mysql->net.last_error;
mysql->net.read_pos[mysql->packet_length]=0; /* End of stat string */
if (!mysql->net.read_pos[0])
{
SET_CLIENT_ERROR(mysql, CR_WRONG_HOST_INFO , SQLSTATE_UNKNOWN, 0);
return... | O0 | c | mysql_stat:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movl $0x9, %esi
xorl %eax, %eax
movl %eax, %r9d
xorl %r8d, %r8d
movq %r9, %rdx
movq %r9, %rcx
callq 0x1c930
cmpl $0x0, %eax
je 0x26180
movq -0x10(%rbp), %rax
addq $0x97, %rax
movq %rax, -0x8(%rbp)
jmp 0x26225
movq -0x1... | mysql_stat:
push rbp
mov rbp, rsp
sub rsp, 10h
mov [rbp+var_10], rdi
mov rdi, [rbp+var_10]
mov esi, 9
xor eax, eax
mov r9d, eax
xor r8d, r8d
mov rdx, r9
mov rcx, r9
call ma_simple_command
cmp eax, 0
jz short loc_26180
mov rax, [rbp+var_10]
add rax, 97h
mov ... | long long mysql_stat(long long a1)
{
if ( (unsigned int)ma_simple_command(a1, 9u, 0LL, 0LL, 0, 0LL) )
return a1 + 151;
*(_BYTE *)(*(_QWORD *)(a1 + 32) + *(_QWORD *)(a1 + 856)) = 0;
if ( **(_BYTE **)(a1 + 32) )
return *(_QWORD *)(a1 + 32);
*(_DWORD *)(a1 + 144) = 2009;
strncpy(a1 + 663, SQLSTATE_UNKNO... | mysql_stat:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x10],RDI
MOV RDI,qword ptr [RBP + -0x10]
MOV ESI,0x9
XOR EAX,EAX
MOV R9D,EAX
XOR R8D,R8D
MOV RDX,R9
MOV RCX,R9
CALL 0x0011c930
CMP EAX,0x0
JZ 0x00126180
MOV RAX,qword ptr [RBP + -0x10]
ADD RAX,0x97
MOV qword ptr [RBP + -0x8],RAX
JMP 0x00126225
LAB_001... |
long mysql_stat(long param_1)
{
int iVar1;
int8 local_10;
iVar1 = ma_simple_command(param_1,9,0,0,0);
if (iVar1 == 0) {
*(int1 *)(*(long *)(param_1 + 0x20) + *(long *)(param_1 + 0x358)) = 0;
if (**(char **)(param_1 + 0x20) == '\0') {
*(int4 *)(param_1 + 0x90) = 0x7d9;
strncpy((char *)(p... | |
25,025 | testing::internal::InternalRunDeathTestFlag::~InternalRunDeathTestFlag() | AlayaLite/build_O3/_deps/googletest-src/googletest/include/gtest/internal/gtest-death-test-internal.h | ~InternalRunDeathTestFlag() {
if (write_fd_ >= 0) posix::Close(write_fd_);
} | O3 | c | testing::internal::InternalRunDeathTestFlag::~InternalRunDeathTestFlag():
pushq %rbx
movq %rdi, %rbx
movl 0x28(%rdi), %edi
testl %edi, %edi
js 0x7b0a6
callq 0x11290
movq (%rbx), %rdi
addq $0x10, %rbx
cmpq %rbx, %rdi
je 0x7b0be
movq (%rbx), %rsi
incq %rsi
popq %rbx
jmp 0x11120
popq %rbx
retq
movq %rax, %rdi
callq 0x18a8... | _ZN7testing8internal24InternalRunDeathTestFlagD2Ev:
push rbx
mov rbx, rdi
mov edi, [rdi+28h]
test edi, edi
js short loc_7B0A6
call _close
loc_7B0A6:
mov rdi, [rbx]; void *
add rbx, 10h
cmp rdi, rbx
jz short loc_7B0BE
mov rsi, [rbx]
inc rsi; unsigned __int64
pop rbx
jmp... | void testing::internal::InternalRunDeathTestFlag::~InternalRunDeathTestFlag(void **this)
{
long long v2; // rdi
_QWORD *v3; // rdi
_QWORD *v4; // rbx
v2 = *((unsigned int *)this + 10);
if ( (int)v2 >= 0 )
close(v2);
v3 = *this;
v4 = this + 2;
if ( v3 != v4 )
operator delete(v3, *v4 + 1LL);
}
| ~InternalRunDeathTestFlag:
PUSH RBX
MOV RBX,RDI
MOV EDI,dword ptr [RDI + 0x28]
TEST EDI,EDI
JS 0x0017b0a6
LAB_0017b0a1:
CALL 0x00111290
LAB_0017b0a6:
MOV RDI,qword ptr [RBX]
ADD RBX,0x10
CMP RDI,RBX
JZ 0x0017b0be
MOV RSI,qword ptr [RBX]
INC RSI
POP RBX
JMP 0x00111120
LAB_0017b0be:
POP RBX
RET
|
/* testing::internal::InternalRunDeathTestFlag::~InternalRunDeathTestFlag() */
void __thiscall
testing::internal::InternalRunDeathTestFlag::~InternalRunDeathTestFlag
(InternalRunDeathTestFlag *this)
{
if (-1 < *(int *)(this + 0x28)) {
/* try { // try from 0017b0a1 to 0017b0a5 has its ... | |
25,026 | strlength | eloqsql/mysys/mf_format.c | size_t strlength(const char *str)
{
reg1 const char * pos;
reg2 const char * found;
DBUG_ENTER("strlength");
pos= found= str;
while (*pos)
{
if (*pos != ' ')
{
while (*++pos && *pos != ' ') {};
if (!*pos)
{
found=pos; /* String ends here */
break;
}
}
found=pos;... | O3 | c | strlength:
pushq %rbp
movq %rsp, %rbp
movb (%rdi), %dl
movq %rdi, %rax
movq %rdi, %rcx
cmpb $0x20, %dl
je 0xb4c5d
movzbl %dl, %edx
testl %edx, %edx
je 0xb4c76
movzbl 0x1(%rcx), %eax
incq %rcx
testl %eax, %eax
je 0xb4c73
cmpl $0x20, %eax
jne 0xb4c4d
movq %rcx, %rsi
movb 0x1(%rsi), %dl
incq %rsi
cmpb $0x20, %dl
je 0xb4c6... | strlength:
push rbp
mov rbp, rsp
mov dl, [rdi]
mov rax, rdi
mov rcx, rdi
loc_B4C41:
cmp dl, 20h ; ' '
jz short loc_B4C5D
movzx edx, dl
test edx, edx
jz short loc_B4C76
loc_B4C4D:
movzx eax, byte ptr [rcx+1]
inc rcx
test eax, eax
jz short loc_B4C73
cmp eax, 20h ; '... | long long strlength(_BYTE *a1)
{
char v1; // dl
_BYTE *v2; // rax
_BYTE *v3; // rcx
int v4; // eax
_BYTE *v5; // rsi
v1 = *a1;
v2 = a1;
v3 = a1;
while ( v1 == 32 )
{
LABEL_6:
v5 = v3;
do
v1 = *++v5;
while ( v1 == 32 );
v2 = v3;
v3 = v5;
}
if ( v1 )
{
while ( 1 )... | strlength:
PUSH RBP
MOV RBP,RSP
MOV DL,byte ptr [RDI]
MOV RAX,RDI
MOV RCX,RDI
LAB_001b4c41:
CMP DL,0x20
JZ 0x001b4c5d
MOVZX EDX,DL
TEST EDX,EDX
JZ 0x001b4c76
LAB_001b4c4d:
MOVZX EAX,byte ptr [RCX + 0x1]
INC RCX
TEST EAX,EAX
JZ 0x001b4c73
CMP EAX,0x20
JNZ 0x001b4c4d
LAB_001b4c5d:
MOV RSI,RCX
LAB_001b4c60:
MOV DL,byte pt... |
long strlength(char *param_1)
{
char *pcVar1;
char *pcVar2;
char *pcVar3;
char cVar4;
char *pcVar5;
cVar4 = *param_1;
pcVar3 = param_1;
pcVar5 = param_1;
do {
pcVar2 = pcVar5;
if (cVar4 != ' ') {
if (cVar4 == '\0') {
LAB_001b4c76:
return (long)pcVar3 - (long)param_1;
}... | |
25,027 | check_mb_eucjpms | eloqsql/libmariadb/libmariadb/ma_charset.c | static unsigned int check_mb_eucjpms(const char *start, const char *end)
{
if (*((uchar *)start) < 0x80) {
return 0; /* invalid eucjpms character */
}
if (valid_eucjpms(start[0]) && (end - start) > 1 && valid_eucjpms(start[1])) {
return 2;
}
if (valid_eucjpms_ss2(start[0]) && (end - start) > 1 && val... | O0 | c | check_mb_eucjpms:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x80, %eax
jge 0x5e096
movl $0x0, -0x4(%rbp)
jmp 0x5e1dd
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
andl $0xff, %eax
cmpl $0xa1, %eax
jl 0x5e101
movq -0x10(%rbp), %rax
movsbl (%rax... | check_mb_eucjpms:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_10]
movzx eax, byte ptr [rax]
cmp eax, 80h
jge short loc_5E096
mov [rbp+var_4], 0
jmp loc_5E1DD
loc_5E096:
mov rax, [rbp+var_10]
movsx eax, byte ptr [rax]
and eax, 0FFh
cm... | long long check_mb_eucjpms(unsigned __int8 *a1, long long a2)
{
if ( *a1 >= 0x80u )
{
if ( *a1 < 0xA1u || *a1 == 255 || a2 - (long long)a1 <= 1 || a1[1] < 0xA1u || a1[1] == 255 )
{
if ( *a1 == 142 && a2 - (long long)a1 > 1 && a1[1] >= 0xA1u && a1[1] <= 0xDFu )
{
return 2;
}
... | check_mb_eucjpms:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOVZX EAX,byte ptr [RAX]
CMP EAX,0x80
JGE 0x0015e096
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0015e1dd
LAB_0015e096:
MOV RAX,qword ptr [RBP + -0x10]
MOVSX EAX,byte ptr [RAX]
AND EAX,0xff
CM... |
int4 check_mb_eucjpms(byte *param_1,long param_2)
{
int4 local_c;
if (*param_1 < 0x80) {
local_c = 0;
}
else if ((((*param_1 < 0xa1) || (0xfe < *param_1)) || (param_2 - (long)param_1 < 2)) ||
((param_1[1] < 0xa1 || (0xfe < param_1[1])))) {
if (((*param_1 == 0x8e) && ((1 < param_2 - (long)... | |
25,028 | ma_init_dynamic_string | eloqsql/libmariadb/libmariadb/ma_string.c | my_bool ma_init_dynamic_string(DYNAMIC_STRING *str, const char *init_str,
size_t init_alloc, size_t alloc_increment)
{
uint length;
if (!alloc_increment)
alloc_increment=128;
length=1;
if (init_str && (length= (uint) strlen(init_str)+1) < init_alloc)
init_alloc=((length+alloc_increment-1)/alloc_... | O3 | c | ma_init_dynamic_string:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rcx, %rcx
movl $0x80, %r13d
cmovneq %rcx, %r13
testq %rsi, %rsi
je 0x27b08
movq %r15, %rdi
callq 0x131c0
movq %rax, %r12
incl %r12d
cmpq %r14, %r12
... | ma_init_dynamic_string:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rdx
mov r15, rsi
mov rbx, rdi
test rcx, rcx
mov r13d, 80h
cmovnz r13, rcx
test rsi, rsi
jz short loc_27B08
mov rdi, r15
call _strlen
mov r12, rax
i... | long long ma_init_dynamic_string(long long *a1, long long a2, unsigned long long a3, unsigned long long a4)
{
unsigned long long v5; // r13
unsigned long long v6; // r12
long long v7; // rax
v5 = 128LL;
if ( a4 )
v5 = a4;
if ( a2 )
{
v6 = (unsigned int)strlen(a2) + 1;
if ( v6 < a3 )
a3... | ma_init_dynamic_string:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RDX
MOV R15,RSI
MOV RBX,RDI
TEST RCX,RCX
MOV R13D,0x80
CMOVNZ R13,RCX
TEST RSI,RSI
JZ 0x00127b08
MOV RDI,R15
CALL 0x001131c0
MOV R12,RAX
INC R12D
CMP R12,R14
JNC 0x00127b0e
LEA R14,[R12 + R13*0x1]
DEC R14
MOV RAX,... |
int8 ma_init_dynamic_string(int8 *param_1,char *param_2,ulong param_3,ulong param_4)
{
size_t sVar1;
void *__dest;
int8 uVar2;
ulong uVar3;
uVar3 = 0x80;
if (param_4 != 0) {
uVar3 = param_4;
}
if (param_2 == (char *)0x0) {
sVar1 = 1;
}
else {
sVar1 = strlen(param_2);
sVar1 = (si... | |
25,029 | allocate_small | seiftnesse[P]memoryallocator/src/custom_alloc_small.c | void *allocate_small(size_t size) {
if (size > SMALL_ALLOCATION_THRESHOLD) {
HEAP_LOG("Size %zu exceeds small allocation threshold\n", size);
return NULL;
}
HEAP_LOG("Small allocation requested: %zu bytes\n", size);
// Find a free block in the bitmap
int blocks_needed = (size + SMA... | O3 | c | allocate_small:
xorl %eax, %eax
cmpq $0x100, %rdi # imm = 0x100
ja 0x2535
pushq %rbx
movq %rdi, %rcx
addq $0x1f, %rdi
movq %rdi, %rdx
shrq $0x5, %rdx
movl $0xffffffff, %ebx # imm = 0xFFFFFFFF
leaq 0x4102c52(%rip), %rsi # 0x4105100
xorl %r8d, %r8d
xorl %r9d, %r9d
movl %r9d, %r10d
shrl $0x5, %r10d
movl... | allocate_small:
xor eax, eax
cmp rdi, 100h
ja locret_2535
push rbx
mov rcx, rdi
add rdi, 1Fh
mov rdx, rdi
shr rdx, 5
mov ebx, 0FFFFFFFFh
lea rsi, small_block_bitmap
xor r8d, r8d
xor r9d, r9d
loc_24B4:
mov r10d, r9d
shr r10d, 5
mov r11d, [rsi+r10*4]
xor r10... | char * allocate_small(unsigned long long a1)
{
char *result; // rax
unsigned long long v3; // rdi
unsigned long long v4; // rdx
int v5; // ebx
int v6; // r8d
unsigned int v7; // r9d
int v8; // r11d
int v9; // ecx
unsigned long long v10; // rdi
result = 0LL;
if ( a1 > 0x100 )
return result;
... | allocate_small:
XOR EAX,EAX
CMP RDI,0x100
JA 0x00102535
PUSH RBX
MOV RCX,RDI
ADD RDI,0x1f
MOV RDX,RDI
SHR RDX,0x5
MOV EBX,0xffffffff
LEA RSI,[0x4205100]
XOR R8D,R8D
XOR R9D,R9D
LAB_001024b4:
MOV R10D,R9D
SHR R10D,0x5
MOV R11D,dword ptr [RSI + R10*0x4]
XOR R10D,R10D
BT R11D,R9D
JNC 0x001024cd
MOV R8D,R10D
JMP 0x001024dc... |
int * allocate_small(ulong param_1)
{
int iVar1;
int iVar2;
ulong uVar3;
int iVar4;
ulong uVar5;
uint uVar6;
ulong uVar7;
if (param_1 < 0x101) {
uVar3 = param_1 + 0x1f >> 5;
uVar5 = 0xffffffff;
iVar4 = 0;
uVar7 = 0;
do {
iVar1 = 0;
if (((uint)(&small_block_bitmap)[uV... | |
25,030 | psi_cond_wait | eloqsql/mysys/my_thr_init.c | ATTRIBUTE_COLD int psi_cond_wait(mysql_cond_t *that, mysql_mutex_t *mutex,
const char *file, uint line)
{
PSI_cond_locker_state state;
PSI_cond_locker *locker= PSI_COND_CALL(start_cond_wait)
(&state, that->m_psi, mutex->m_psi, PSI_COND_WAIT, file, line);
int result= my_cond_wa... | O3 | c | psi_cond_wait:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movl %ecx, %r9d
movq %rdx, %r8
movq %rsi, %r14
movq %rdi, %r15
leaq 0x3330cf(%rip), %r12 # 0x36ffe8
movq (%r12), %rax
movq 0x30(%rdi), %rsi
movq 0x40(%r14), %rdx
leaq -0x58(%rbp), %rdi
xorl %ecx, %ecx
callq *0x1c0(... | psi_cond_wait:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
sub rsp, 40h
mov r9d, ecx
mov r8, rdx
mov r14, rsi
mov r15, rdi
lea r12, PSI_server
mov rax, [r12]
mov rsi, [rdi+30h]
mov rdx, [r14+40h]
lea rdi, [rbp+var_58]
xor ecx, ecx
call qwor... | long long psi_cond_wait(long long a1, long long a2, long long a3, unsigned int a4)
{
long long v4; // rbx
unsigned int v5; // r14d
_BYTE v7[88]; // [rsp+8h] [rbp-58h] BYREF
v4 = (*((long long ( **)(_BYTE *, _QWORD, _QWORD, _QWORD, long long, _QWORD))PSI_server + 56))(
v7,
*(_QWORD *)(a1 + 48... | psi_cond_wait:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
SUB RSP,0x40
MOV R9D,ECX
MOV R8,RDX
MOV R14,RSI
MOV R15,RDI
LEA R12,[0x46ffe8]
MOV RAX,qword ptr [R12]
MOV RSI,qword ptr [RDI + 0x30]
MOV RDX,qword ptr [R14 + 0x40]
LEA RDI,[RBP + -0x58]
XOR ECX,ECX
CALL qword ptr [RAX + 0x1c0]
MOV RBX,RAX
MOV RDI,... |
int psi_cond_wait(pthread_cond_t *param_1,pthread_mutex_t *param_2,int8 param_3,
int4 param_4)
{
int iVar1;
long lVar2;
int1 local_60 [56];
lVar2 = (**(code **)(PSI_server + 0x1c0))
(local_60,param_1[1].__align,*(int8 *)((long)param_2 + 0x40),0,param_3,
... | |
25,031 | postprocess_cpu_params(cpu_params&, cpu_params const*) | monkey531[P]llama/common/common.cpp | void postprocess_cpu_params(cpu_params& cpuparams, const cpu_params* role_model) {
int32_t n_set = 0;
if (cpuparams.n_threads < 0) {
// Assuming everything about cpuparams is invalid
if (role_model != nullptr) {
cpuparams = *role_model;
} else {
cpuparams.n_threa... | O3 | cpp | postprocess_cpu_params(cpu_params&, cpu_params const*):
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, (%rdi)
jns 0x4d482
testq %rsi, %rsi
je 0x4d47b
movl $0x214, %edx # imm = 0x214
movq %rbx, %rdi
callq 0x19620
jmp 0x4d482
callq 0x4d26e
movl %eax, (%rbx)
pxor %xmm1, %xmm1
movl $0x4, %eax
pxor %... | _Z22postprocess_cpu_paramsR10cpu_paramsPKS_:
push rbp
push rbx
push rax
mov rbx, rdi
cmp dword ptr [rdi], 0
jns short loc_4D482
test rsi, rsi
jz short loc_4D47B
mov edx, 214h
mov rdi, rbx
call _memcpy
jmp short loc_4D482
loc_4D47B:
call _Z16cpu_get_num_mathv; cpu_get_num_m... | int * postprocess_cpu_params(int *a1, long long a2, long long a3, long long a4, long long a5, long long a6, char a7)
{
int *result; // rax
__m128i v8; // xmm0
__m128i v9; // xmm1
int v10; // ebp
int v11; // eax
int v12; // r9d
if ( *a1 < 0 )
{
if ( a2 )
memcpy(a1, a2, 532LL);
else
*... | postprocess_cpu_params:
PUSH RBP
PUSH RBX
PUSH RAX
MOV RBX,RDI
CMP dword ptr [RDI],0x0
JNS 0x0014d482
TEST RSI,RSI
JZ 0x0014d47b
MOV EDX,0x214
MOV RDI,RBX
CALL 0x00119620
JMP 0x0014d482
LAB_0014d47b:
CALL 0x0014d26e
MOV dword ptr [RBX],EAX
LAB_0014d482:
PXOR XMM1,XMM1
MOV EAX,0x4
PXOR XMM0,XMM0
LAB_0014d48f:
MOVD XMM2,... |
/* postprocess_cpu_params(cpu_params&, cpu_params const*) */
void postprocess_cpu_params(cpu_params *param_1,cpu_params *param_2)
{
int1 auVar1 [13];
int1 auVar2 [13];
int1 auVar3 [13];
ulong uVar4;
int1 auVar5 [13];
int4 uVar6;
long lVar7;
int8 uVar8;
int iVar9;
int iVar10;
int iVar11;
int i... | |
25,032 | ma_bitmap_create_first | eloqsql/storage/maria/ma_bitmap.c | int _ma_bitmap_create_first(MARIA_SHARE *share)
{
uint block_size= share->bitmap.block_size;
File file= share->bitmap.file.file;
uchar marker[CRC_SIZE];
/*
Next write operation of the page will write correct CRC
if it is needed
*/
int4store(marker, MARIA_NO_CRC_BITMAP_PAGE);
if (mysql_file_chsiz... | O3 | c | ma_bitmap_create_first:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movq %fs:0x28, %rax
movq %rax, -0x30(%rbp)
movl 0xa60(%rdi), %r14d
movl 0xb44(%rdi), %r13d
movl $0xfffffffe, -0x34(%rbp) # imm = 0xFFFFFFFE
leaq -0x4(%r13), %r15
leaq 0x3314be(%rip)... | _ma_bitmap_create_first:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov rbx, rdi
mov rax, fs:28h
mov [rbp+var_30], rax
mov r14d, [rdi+0A60h]
mov r13d, [rdi+0B44h]
mov [rbp+var_34], 0FFFFFFFEh
lea r15, [r13-4]
lea rax, PSI_ser... | long long ma_bitmap_create_first(long long a1)
{
unsigned int v1; // r14d
long long v2; // r13
long long v3; // rax
int v4; // eax
unsigned int v5; // r12d
_BYTE v7[72]; // [rsp+0h] [rbp-80h] BYREF
int v8; // [rsp+48h] [rbp-38h] BYREF
int v9; // [rsp+4Ch] [rbp-34h] BYREF
unsigned long long v10; // [r... | _ma_bitmap_create_first:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV RBX,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x30],RAX
MOV R14D,dword ptr [RDI + 0xa60]
MOV R13D,dword ptr [RDI + 0xb44]
MOV dword ptr [RBP + -0x34],0xfffffffe
LEA R15,[R13 + -0x4]
LEA RAX,[0x486010]... |
/* WARNING: Type propagation algorithm not settling */
int8 _ma_bitmap_create_first(long param_1)
{
int4 uVar1;
uint uVar2;
long lVar3;
long lVar4;
int8 uVar5;
long in_FS_OFFSET;
int1 local_88 [72];
int local_40 [2];
long local_38;
local_38 = *(long *)(in_FS_OFFSET + 0x28);
uVar1 = *(int4 *)... | |
25,033 | ftxui::(anonymous namespace)::ExecuteSignalHandlers() | Andrewchistyakov[P]flashcards_lyc/build_O1/_deps/ftxui-src/src/ftxui/component/screen_interactive.cpp | void ExecuteSignalHandlers() {
int signal_exit_count = g_signal_exit_count.exchange(0);
while (signal_exit_count--) {
ScreenInteractive::Private::Signal(*g_active_screen, SIGABRT);
}
#if !defined(_WIN32)
int signal_stop_count = g_signal_stop_count.exchange(0);
while (signal_stop_count--) {
ScreenInte... | O1 | cpp | ftxui::(anonymous namespace)::ExecuteSignalHandlers():
pushq %rbp
pushq %rbx
pushq %rax
xorl %ebx, %ebx
xorl %ebp, %ebp
xchgl %ebp, 0x2c281(%rip) # 0x5b2c8
testl %ebp, %ebp
je 0x2f054
callq 0x2ee95
decl %ebp
jne 0x2f04b
xchgl %ebx, 0x2c272(%rip) # 0x5b2cc
testl %ebx, %ebx
je 0x2f073
movq 0x2c25b(%rip), %rdi ... | _ZN5ftxui12_GLOBAL__N_121ExecuteSignalHandlersEv:
push rbp
push rbx
push rax
xor ebx, ebx
xor ebp, ebp
xchg ebp, cs:_ZN5ftxui12_GLOBAL__N_119g_signal_exit_countE; ftxui::`anonymous namespace'::g_signal_exit_count
test ebp, ebp
jz short loc_2F054
loc_2F04B:
call _ZN5ftxui12_GLOBAL__N_16OnE... | long long ftxui::`anonymous namespace'::ExecuteSignalHandlers(ftxui::_anonymous_namespace_ *this)
{
__int32 i; // ebp
long long result; // rax
__int32 j; // ebx
__int32 k; // ebx
for ( i = _InterlockedExchange(&ftxui::`anonymous namespace'::g_signal_exit_count, 0); i; --i )
result = ftxui::`anonymous na... | ExecuteSignalHandlers:
PUSH RBP
PUSH RBX
PUSH RAX
XOR EBX,EBX
XOR EBP,EBP
XCHG dword ptr [0x0015b2c8],EBP
TEST EBP,EBP
JZ 0x0012f054
LAB_0012f04b:
CALL 0x0012ee95
DEC EBP
JNZ 0x0012f04b
LAB_0012f054:
XCHG dword ptr [0x0015b2cc],EBX
TEST EBX,EBX
JZ 0x0012f073
LAB_0012f05e:
MOV RDI,qword ptr [0x0015b2c0]
MOV ESI,0x14
CAL... |
/* ftxui::(anonymous namespace)::ExecuteSignalHandlers() */
void ftxui::(anonymous_namespace)::ExecuteSignalHandlers(void)
{
int iVar1;
int iVar2;
iVar2 = g_signal_exit_count;
LOCK();
g_signal_exit_count = 0;
UNLOCK();
if (iVar2 != 0) {
do {
OnExit();
iVar2 = iVar2 + -1;
} while ... | |
25,034 | js_date_parse_isostring | bluesky950520[P]quickjs/quickjs.c | static BOOL js_date_parse_isostring(const uint8_t *sp, int fields[9], BOOL *is_local) {
int sgn, i, p = 0;
/* initialize fields to the beginning of the Epoch */
for (i = 0; i < 9; i++) {
fields[i] = (i == 2);
}
*is_local = FALSE;
/* year is either yyyy digits or [+-]yyyyyy */
sgn =... | O0 | c | js_date_parse_isostring:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movl $0x0, 0xc(%rsp)
movl $0x0, 0x10(%rsp)
cmpl $0x9, 0x10(%rsp)
jge 0x9fee1
cmpl $0x2, 0x10(%rsp)
sete %al
andb $0x1, %al
movzbl %al, %edx
movq 0x20(%rsp), %rax
movslq 0x10(%rsp), %rcx
movl %edx, (%rax,%rcx,4)
m... | js_date_parse_isostring:
sub rsp, 38h
mov [rsp+38h+var_10], rdi
mov [rsp+38h+var_18], rsi
mov [rsp+38h+var_20], rdx
mov [rsp+38h+var_2C], 0
mov [rsp+38h+var_28], 0
loc_9FEB3:
cmp [rsp+38h+var_28], 9
jge short loc_9FEE1
cmp [rsp+38h+var_28], 2
setz al
and al, 1
movzx edx, al
... | _BOOL8 js_date_parse_isostring(long long a1, _DWORD *a2, _DWORD *a3)
{
int v4; // [rsp+Ch] [rbp-2Ch] BYREF
int i; // [rsp+10h] [rbp-28h]
int v6; // [rsp+14h] [rbp-24h]
_DWORD *v7; // [rsp+18h] [rbp-20h]
_DWORD *v8; // [rsp+20h] [rbp-18h]
long long v9; // [rsp+28h] [rbp-10h]
v9 = a1;
v8 = a2;
v7 = a3... | js_date_parse_isostring:
SUB RSP,0x38
MOV qword ptr [RSP + 0x28],RDI
MOV qword ptr [RSP + 0x20],RSI
MOV qword ptr [RSP + 0x18],RDX
MOV dword ptr [RSP + 0xc],0x0
MOV dword ptr [RSP + 0x10],0x0
LAB_0019feb3:
CMP dword ptr [RSP + 0x10],0x9
JGE 0x0019fee1
CMP dword ptr [RSP + 0x10],0x2
SETZ AL
AND AL,0x1
MOVZX EDX,AL
MOV R... |
bool js_date_parse_isostring(byte *param_1,int *param_2,int4 *param_3)
{
int iVar1;
int local_2c;
int local_28;
uint local_24;
int4 *local_20;
int *local_18;
byte *local_10;
local_2c = 0;
for (local_28 = 0; local_28 < 9; local_28 = local_28 + 1) {
param_2[local_28] = (uint)(local_28 == 2);
... | |
25,035 | getopt_double | eloqsql/mysys/my_getopt.c | static double getopt_double(char *arg, const struct my_option *optp, int *err)
{
double num;
int error;
char *end= arg + 1000; /* Big enough as *arg is \0 terminated */
num= my_strtod(arg, &end, &error);
if (end[0] != 0 || error)
{
my_getopt_error_reporter(ERROR_LEVEL,
"I... | O0 | c | getopt_double:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
addq $0x3e8, %rax # imm = 0x3E8
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq -0x2c(%rbp), %rdx
callq 0x142150
movsd %xmm0, -0x28(... | getopt_double:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov rax, [rbp+var_10]
add rax, 3E8h
mov [rbp+var_38], rax
mov rdi, [rbp+var_10]
lea rsi, [rbp+var_38]
lea rdx, [rbp+var_2C]
call my_strtod
movsd [rbp+va... | double getopt_double(long long a1, const char **a2, _DWORD *a3)
{
_BYTE *v4; // [rsp+8h] [rbp-38h] BYREF
int v5; // [rsp+14h] [rbp-2Ch] BYREF
double v6; // [rsp+18h] [rbp-28h]
_DWORD *v7; // [rsp+20h] [rbp-20h]
const char **v8; // [rsp+28h] [rbp-18h]
long long v9; // [rsp+30h] [rbp-10h]
v9 = a1;
v8 = ... | getopt_double:
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
MOV RAX,qword ptr [RBP + -0x10]
ADD RAX,0x3e8
MOV qword ptr [RBP + -0x38],RAX
MOV RDI,qword ptr [RBP + -0x10]
LEA RSI,[RBP + -0x38]
LEA RDX,[RBP + -0x2c]
CALL 0x00242150
MOVSD... |
int8 getopt_double(long param_1,int8 *param_2,int4 *param_3)
{
char *local_40;
int local_34;
int8 local_30;
int4 *local_28;
int8 *local_20;
long local_18;
int8 local_10;
local_40 = (char *)(param_1 + 1000);
local_28 = param_3;
local_20 = param_2;
local_18 = param_1;
local_30 = my_strtod(par... | |
25,036 | mp_mul | bluesky950520[P]quickjs/libbf.c | int mp_mul(bf_context_t *s, limb_t *result,
const limb_t *op1, limb_t op1_size,
const limb_t *op2, limb_t op2_size)
{
#ifdef USE_FFT_MUL
if (unlikely(bf_min(op1_size, op2_size) >= FFT_MUL_THRESHOLD)) {
bf_t r_s, *r = &r_s;
r->tab = result;
/* XXX: optimize memory usage ... | O2 | c | mp_mul:
subq $0x38, %rsp
cmpq %r9, %rcx
movq %r9, %rax
cmovlq %rcx, %rax
cmpq $0x64, %rax
jge 0x73b09
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movq %r9, %r8
callq 0x740a1
xorl %eax, %eax
addq $0x38, %rsp
retq
leaq 0x10(%rsp), %rax
movq %rsi, 0x20(%rax)
movl $0x4, (%rsp)
movq %rax, %rsi
callq 0x73b... | mp_mul:
sub rsp, 38h
cmp rcx, r9
mov rax, r9
cmovl rax, rcx
cmp rax, 64h ; 'd'
jge short loc_73B09
mov rdi, rsi
mov rsi, rdx
mov rdx, rcx
mov rcx, r8
mov r8, r9
call mp_mul_basecase
loc_73B02:
xor eax, eax
loc_73B04:
add rsp, 38h
retn
loc_73B09:
lea rax, [rsp+38h... | long long mp_mul(int a1, long long a2, long long a3, long long a4, long long a5, long long a6)
{
long long v6; // rax
char v8; // [rsp+10h] [rbp-28h] BYREF
long long v9; // [rsp+30h] [rbp-8h]
v6 = a6;
if ( a4 < a6 )
v6 = a4;
if ( v6 < 100 )
{
mp_mul_basecase(a2, a3, a4, a5, a6);
return 0LL;
... | mp_mul:
SUB RSP,0x38
CMP RCX,R9
MOV RAX,R9
CMOVL RAX,RCX
CMP RAX,0x64
JGE 0x00173b09
MOV RDI,RSI
MOV RSI,RDX
MOV RDX,RCX
MOV RCX,R8
MOV R8,R9
CALL 0x001740a1
LAB_00173b02:
XOR EAX,EAX
LAB_00173b04:
ADD RSP,0x38
RET
LAB_00173b09:
LEA RAX,[RSP + 0x10]
MOV qword ptr [RAX + 0x20],RSI
MOV dword ptr [RSP],0x4
MOV RSI,RAX
CAL... |
int8
mp_mul(int8 param_1,int8 param_2,int8 param_3,long param_4,int8 param_5,
long param_6)
{
int iVar1;
long lVar2;
int1 local_28 [32];
int8 local_8;
lVar2 = param_6;
if (param_4 < param_6) {
lVar2 = param_4;
}
if (lVar2 < 100) {
mp_mul_basecase(param_2,param_3,param_4,param_5,param_... | |
25,037 | async_func_mark | bluesky950520[P]quickjs/quickjs.c | static void async_func_mark(JSRuntime *rt, JSAsyncFunctionState *s,
JS_MarkFunc *mark_func)
{
JSStackFrame *sf;
JSValue *sp;
sf = &s->frame;
JS_MarkValue(rt, sf->cur_func, mark_func);
JS_MarkValue(rt, s->this_val, mark_func);
if (sf->cur_sp) {
/* if the funct... | O1 | c | async_func_mark:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0xfffffffe, %r12d # imm = 0xFFFFFFFE
movsd 0x20(%rsi), %xmm0
movl 0x28(%rsi), %eax
movsd %xmm0, 0x8(%rsp)
andl $-0x2, %eax
cmpl %r12d, %eax
jne 0x3b60d
movq 0x8(%rsp), %rsi... | async_func_mark:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 10h
mov rbx, rdx
mov r14, rsi
mov r15, rdi
mov r12d, 0FFFFFFFEh
movsd xmm0, qword ptr [rsi+20h]
mov eax, [rsi+28h]
movsd [rsp+38h+var_30], xmm0
and eax, 0FFFFFFFEh
cmp eax, r12d
jnz short loc_3B... | long long async_func_mark(long long a1, long long a2, void ( *a3)(long long, _QWORD))
{
long long result; // rax
unsigned long long i; // r13
if ( (*(_DWORD *)(a2 + 40) & 0xFFFFFFFE) == 0xFFFFFFFE )
a3(a1, *(_QWORD *)(a2 + 32));
result = *(_DWORD *)(a2 + 8) & 0xFFFFFFFE;
if ( (_DWORD)result == -2 )
... | async_func_mark:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV RBX,RDX
MOV R14,RSI
MOV R15,RDI
MOV R12D,0xfffffffe
MOVSD XMM0,qword ptr [RSI + 0x20]
MOV EAX,dword ptr [RSI + 0x28]
MOVSD qword ptr [RSP + 0x8],XMM0
AND EAX,0xfffffffe
CMP EAX,R12D
JNZ 0x0013b60d
MOV RSI,qword ptr [RSP + 0x8]
MOV RDI,R15
CA... |
void async_func_mark(int8 param_1,int8 *param_2,code *param_3)
{
int8 *puVar1;
if ((*(uint *)(param_2 + 5) & 0xfffffffe) == 0xfffffffe) {
(*param_3)(param_1,param_2[4]);
}
if ((*(uint *)(param_2 + 1) & 0xfffffffe) == 0xfffffffe) {
(*param_3)(param_1,*param_2);
}
if (param_2[0xc] != 0) {
for... | |
25,038 | async_func_mark | bluesky950520[P]quickjs/quickjs.c | static void async_func_mark(JSRuntime *rt, JSAsyncFunctionState *s,
JS_MarkFunc *mark_func)
{
JSStackFrame *sf;
JSValue *sp;
sf = &s->frame;
JS_MarkValue(rt, sf->cur_func, mark_func);
JS_MarkValue(rt, s->this_val, mark_func);
if (sf->cur_sp) {
/* if the funct... | O2 | c | async_func_mark:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0xfffffffe, %r12d # imm = 0xFFFFFFFE
movl 0x28(%rsi), %eax
andl $-0x2, %eax
cmpl %r12d, %eax
jne 0x3438a
movq 0x20(%r14), %rsi
movq %r15, %rdi
callq *%rbx
movl 0x8(%r14), %eax
andl $-0x2, %... | async_func_mark:
push r15
push r14
push r13
push r12
push rbx
mov rbx, rdx
mov r14, rsi
mov r15, rdi
mov r12d, 0FFFFFFFEh
mov eax, [rsi+28h]
and eax, 0FFFFFFFEh
cmp eax, r12d
jnz short loc_3438A
mov rsi, [r14+20h]
mov rdi, r15
call rbx
loc_3438A:
mov eax, [r... | unsigned long long async_func_mark(long long a1, long long a2, void ( *a3)(long long, _QWORD))
{
unsigned long long result; // rax
unsigned long long i; // r13
if ( (*(_DWORD *)(a2 + 40) & 0xFFFFFFFE) == 0xFFFFFFFE )
a3(a1, *(_QWORD *)(a2 + 32));
if ( (*(_DWORD *)(a2 + 8) & 0xFFFFFFFE) == 0xFFFFFFFE )
... | async_func_mark:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV RBX,RDX
MOV R14,RSI
MOV R15,RDI
MOV R12D,0xfffffffe
MOV EAX,dword ptr [RSI + 0x28]
AND EAX,0xfffffffe
CMP EAX,R12D
JNZ 0x0013438a
MOV RSI,qword ptr [R14 + 0x20]
MOV RDI,R15
CALL RBX
LAB_0013438a:
MOV EAX,dword ptr [R14 + 0x8]
AND EAX,0xfffffffe
CMP EAX,R... |
void async_func_mark(int8 param_1,int8 *param_2,code *param_3)
{
int8 *puVar1;
int8 *puVar2;
if ((*(uint *)(param_2 + 5) & 0xfffffffe) == 0xfffffffe) {
(*param_3)(param_1,param_2[4]);
}
if ((*(uint *)(param_2 + 1) & 0xfffffffe) == 0xfffffffe) {
(*param_3)(param_1,*param_2);
}
puVar1 = (int8 *... | |
25,039 | check_mb_euckr | eloqsql/libmariadb/libmariadb/ma_charset.c | static unsigned int check_mb_euckr(const char *start, const char *end)
{
if (end - start <= 1) {
return 0; /* invalid length */
}
if (*(uchar *)start < 0x80) {
return 0; /* invalid euckr character */
}
if (valid_euckr(start[1])) {
return 2;
}
return 0;
} | O0 | c | check_mb_euckr:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
subq %rcx, %rax
cmpq $0x1, %rax
jg 0x47486
movl $0x0, -0x4(%rbp)
jmp 0x474cd
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x80, %eax
jge 0x4749d
movl $0x0, -0x4(%rbp)
jmp 0x474cd
mo... | check_mb_euckr:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov rax, [rbp+var_18]
mov rcx, [rbp+var_10]
sub rax, rcx
cmp rax, 1
jg short loc_47486
mov [rbp+var_4], 0
jmp short loc_474CD
loc_47486:
mov rax, [rbp+var_10]
movzx eax, byte ptr [rax]
cmp... | long long check_mb_euckr(unsigned __int8 *a1, long long a2)
{
if ( a2 - (long long)a1 > 1 )
{
if ( *a1 >= 0x80u )
{
if ( a1[1] < 0xA1u || a1[1] == 255 )
return 0;
else
return 2;
}
else
{
return 0;
}
}
else
{
return 0;
}
}
| check_mb_euckr:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,qword ptr [RBP + -0x10]
SUB RAX,RCX
CMP RAX,0x1
JG 0x00147486
MOV dword ptr [RBP + -0x4],0x0
JMP 0x001474cd
LAB_00147486:
MOV RAX,qword ptr [RBP + -0x10]
MOVZX EAX,byte ptr [RAX]
... |
int4 check_mb_euckr(byte *param_1,long param_2)
{
int4 local_c;
if (param_2 - (long)param_1 < 2) {
local_c = 0;
}
else if (*param_1 < 0x80) {
local_c = 0;
}
else if ((param_1[1] < 0xa1) || (0xfe < param_1[1])) {
local_c = 0;
}
else {
local_c = 2;
}
return local_c;
}
| |
25,040 | my_reverse_bits(unsigned int) | eloqsql/include/my_bit.h | static inline uint32 my_reverse_bits(uint32 key)
{
return
((uint32)_my_bits_reverse_table[ key & 255] << 24) |
((uint32)_my_bits_reverse_table[(key>> 8) & 255] << 16) |
((uint32)_my_bits_reverse_table[(key>>16) & 255] << 8) |
(uint32)_my_bits_reverse_table[(key>>24) ];
} | O0 | c | my_reverse_bits(unsigned int):
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movl -0x4(%rbp), %eax
andl $0xff, %eax
movl %eax, %eax
movl %eax, %ecx
leaq 0x57936(%rip), %rax # 0xb69d0
movzbl (%rax,%rcx), %eax
shll $0x18, %eax
movl -0x4(%rbp), %ecx
shrl $0x8, %ecx
andl $0xff, %ecx
movl %ecx, %ecx
movl %ecx, %edx
l... | _ZL15my_reverse_bitsj:
push rbp
mov rbp, rsp
mov [rbp+var_4], edi
mov eax, [rbp+var_4]
and eax, 0FFh
mov eax, eax
mov ecx, eax
lea rax, _my_bits_reverse_table
movzx eax, byte ptr [rax+rcx]
shl eax, 18h
mov ecx, [rbp+var_4]
shr ecx, 8
and ecx, 0FFh
mov ecx, ecx
mov ... | long long my_reverse_bits(unsigned int a1)
{
return my_bits_reverse_table[HIBYTE(a1)] | (my_bits_reverse_table[BYTE2(a1)] << 8) | (my_bits_reverse_table[BYTE1(a1)] << 16) | (my_bits_reverse_table[(unsigned __int8)a1] << 24);
}
| my_reverse_bits:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x4],EDI
MOV EAX,dword ptr [RBP + -0x4]
AND EAX,0xff
MOV EAX,EAX
MOV ECX,EAX
LEA RAX,[0x1b69d0]
MOVZX EAX,byte ptr [RAX + RCX*0x1]
SHL EAX,0x18
MOV ECX,dword ptr [RBP + -0x4]
SHR ECX,0x8
AND ECX,0xff
MOV ECX,ECX
MOV EDX,ECX
LEA RCX,[0x1b69d0]
MOVZX ECX,byte pt... |
/* my_reverse_bits(unsigned int) */
uint my_reverse_bits(uint param_1)
{
return (uint)(byte)_my_bits_reverse_table[param_1 & 0xff] << 0x18 |
(uint)(byte)_my_bits_reverse_table[param_1 >> 8 & 0xff] << 0x10 |
(uint)(byte)_my_bits_reverse_table[param_1 >> 0x10 & 0xff] << 8 |
(uint)(byte)_my... | |
25,041 | my_charpos_mb | eloqsql/strings/ctype-mb.c | size_t my_charpos_mb(CHARSET_INFO *cs __attribute__((unused)),
const char *pos, const char *end, size_t length)
{
const char *start= pos;
while (length && pos < end)
{
uint mb_len;
pos+= (mb_len= my_ismbchar(cs, pos, end)) ? mb_len : 1;
length--;
}
return (size_t) (length ? end+2-start :... | O3 | c | my_charpos_mb:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %rbx
testq %rcx, %rcx
setne %cl
sete %al
cmpq %rdx, %rsi
setae %dl
orb %al, %dl
movq %rsi, -0x30(%rbp)
movq %rsi, %rax
jne 0x3b2ae
movq %rdi, %r12
decq %r15
movl $0x1, %r14d
movq -0x30(... | my_charpos_mb:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rcx
mov rbx, rdx
test rcx, rcx
setnz cl
setz al
cmp rsi, rdx
setnb dl
or dl, al
mov [rbp+var_30], rsi
mov rax, rsi
jnz short loc_3B2AE
mov r12, rdi
dec ... | unsigned long long my_charpos_mb(long long a1, unsigned long long a2, unsigned long long a3, long long a4)
{
long long v4; // r15
bool v6; // zf
unsigned long long v7; // rax
long long v8; // r15
unsigned long long v9; // r13
long long v10; // rax
bool v11; // cc
bool v12; // cf
unsigned long long v1... | my_charpos_mb:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RCX
MOV RBX,RDX
TEST RCX,RCX
SETNZ CL
SETZ AL
CMP RSI,RDX
SETNC DL
OR DL,AL
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,RSI
JNZ 0x0013b2ae
MOV R12,RDI
DEC R15
MOV R14D,0x1
MOV RAX,qword ptr [RBP + -0x30]
LAB_0013b278:
MOV R13,... |
long my_charpos_mb(long param_1,ulong param_2,ulong param_3,long param_4)
{
uint uVar1;
ulong uVar2;
ulong uVar3;
bool bVar4;
bVar4 = param_4 != 0;
uVar3 = param_2;
if (param_2 < param_3 && bVar4) {
do {
param_4 = param_4 + -1;
uVar1 = (**(code **)(*(long *)(param_1 + 0xb8) + 0xc0))(p... | |
25,042 | ma_scan_init_block_record | eloqsql/storage/maria/ma_blockrec.c | my_bool _ma_scan_init_block_record(MARIA_HA *info)
{
MARIA_SHARE *share= info->s;
myf flag= MY_WME | (share->temporary ? MY_THREAD_SPECIFIC : 0);
DBUG_ENTER("_ma_scan_init_block_record");
DBUG_ASSERT(info->dfile.file == share->bitmap.file.file);
/*
bitmap_buff may already be allocated if this is the seco... | O0 | c | ma_scan_init_block_record:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movsbl 0x7d9(%rax), %edx
xorl %eax, %eax
movl $0x10000, %ecx # imm = 0x10000
cmpl $0x0, %edx
cmovnel %ecx, %eax
orl $0x10, %eax
mo... | _ma_scan_init_block_record:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
mov rax, [rax]
mov [rbp+var_18], rax
mov rax, [rbp+var_18]
movsx edx, byte ptr [rax+7D9h]
xor eax, eax
mov ecx, offset stru_10000
cmp edx, 0
cmovnz eax, ecx
or ea... | char ma_scan_init_block_record(long long *a1)
{
unsigned int v1; // eax
long long v2; // rax
long long v4; // [rsp+8h] [rbp-18h]
v4 = *a1;
v1 = 0;
if ( *(_BYTE *)(*a1 + 2009) )
v1 = (unsigned int)&stru_10000;
if ( !a1[68] )
{
v2 = my_malloc(0LL, (unsigned int)(2 * *(_DWORD *)(v4 + 1980)), v1 |... | _ma_scan_init_block_record:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOVSX EDX,byte ptr [RAX + 0x7d9]
XOR EAX,EAX
MOV ECX,0x10000
CMP EDX,0x0
CMOVNZ EAX,ECX
OR EAX,0x10
MOV EA... |
int1 _ma_scan_init_block_record(long *param_1)
{
long lVar1;
int1 uVar2;
uint uVar3;
long lVar4;
lVar1 = *param_1;
uVar3 = 0;
if (*(char *)(lVar1 + 0x7d9) != '\0') {
uVar3 = 0x10000;
}
if (param_1[0x44] == 0) {
lVar4 = my_malloc(0,*(int *)(lVar1 + 0x7bc) << 1,uVar3 | 0x10);
param_1[0x... | |
25,043 | ma_scan_init_block_record | eloqsql/storage/maria/ma_blockrec.c | my_bool _ma_scan_init_block_record(MARIA_HA *info)
{
MARIA_SHARE *share= info->s;
myf flag= MY_WME | (share->temporary ? MY_THREAD_SPECIFIC : 0);
DBUG_ENTER("_ma_scan_init_block_record");
DBUG_ASSERT(info->dfile.file == share->bitmap.file.file);
/*
bitmap_buff may already be allocated if this is the seco... | O3 | c | ma_scan_init_block_record:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %r14
movq 0x220(%rdi), %rax
movq %r14, %rdi
testq %rax, %rax
jne 0x5e0bd
xorl %edx, %edx
cmpb $0x0, 0x7d9(%r14)
setne %dl
shll $0x10, %edx
orq $0x10, %rdx
movl 0x7bc(%r14), %esi
addl %esi, %esi
xorl %edi, %edi
callq... | _ma_scan_init_block_record:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdi
mov r14, [rdi]
mov rax, [rdi+220h]
mov rdi, r14
test rax, rax
jnz short loc_5E0BD
xor edx, edx
cmp byte ptr [r14+7D9h], 0
setnz dl
shl edx, 10h
or rdx, 10h
mov esi, [r14+7BCh]
add ... | long long ma_scan_init_block_record(long long a1)
{
long long v2; // r14
long long v3; // rax
long long v4; // rdi
long long v5; // rcx
v2 = *(_QWORD *)a1;
v3 = *(_QWORD *)(a1 + 544);
v4 = *(_QWORD *)a1;
if ( v3 )
goto LABEL_4;
v3 = my_malloc(
0LL,
(unsigned int)(2 * *(_DWORD *... | _ma_scan_init_block_record:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDI
MOV R14,qword ptr [RDI]
MOV RAX,qword ptr [RDI + 0x220]
MOV RDI,R14
TEST RAX,RAX
JNZ 0x0015e0bd
XOR EDX,EDX
CMP byte ptr [R14 + 0x7d9],0x0
SETNZ DL
SHL EDX,0x10
OR RDX,0x10
MOV ESI,dword ptr [R14 + 0x7bc]
ADD ESI,ESI
XOR EDI,EDI
CALL 0x0019f... |
int8 _ma_scan_init_block_record(long *param_1)
{
long lVar1;
long lVar2;
int8 uVar3;
long lVar4;
lVar1 = *param_1;
lVar2 = param_1[0x44];
lVar4 = lVar1;
if (lVar2 == 0) {
lVar2 = my_malloc(0,*(int *)(lVar1 + 0x7bc) * 2,
(ulong)(*(char *)(lVar1 + 0x7d9) != '\0') << 0x10 | 0... | |
25,044 | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) | monkey531[P]llama/common/json.hpp | static diyfp mul(const diyfp& x, const diyfp& y) noexcept
{
static_assert(kPrecision == 64, "internal error");
// Computes:
// f = round((x.f * y.f) / 2^q)
// e = x.e + y.e + q
// Emulate the 64-bit * 64-bit multiplication:
//
// p = u * v
// = (... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&):
movq (%rdi), %rax
movl %eax, %ecx
shrq $0x20, %rax
movq (%rsi), %r8
movl %r8d, %edx
shrq $0x20, %r8
movq %rdx, %r9
imulq %rcx, %r9
imulq %r... | _ZN8nlohmann16json_abi_v3_11_36detail9dtoa_impl5diyfp3mulERKS3_S5_:
mov rax, [rdi]
mov ecx, eax
shr rax, 20h
mov r8, [rsi]
mov edx, r8d
shr r8, 20h
mov r9, rdx
imul r9, rcx
imul rcx, r8
imul rdx, rax
imul r8, rax
shr r9, 20h
mov r10d, ecx
add r10, r9
shr rcx, 20h
... | unsigned long long nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(_QWORD *a1, _QWORD *a2)
{
long long v2; // rcx
v2 = (unsigned int)*a1;
return ((unsigned long long)(HIDWORD(*a2) * v2) >> 32)
+ HIDWORD(*a1) * HIDWORD(*a2)
+ ((HIDWORD(*a1) * (unsigned long long)(unsigned int)*a2) >> 32)
... | mul:
MOV RAX,qword ptr [RDI]
MOV ECX,EAX
SHR RAX,0x20
MOV R8,qword ptr [RSI]
MOV EDX,R8D
SHR R8,0x20
MOV R9,RDX
IMUL R9,RCX
IMUL RCX,R8
IMUL RDX,RAX
IMUL R8,RAX
SHR R9,0x20
MOV R10D,ECX
ADD R10,R9
SHR RCX,0x20
MOV EAX,EDX
ADD RAX,R10
SHR RDX,0x20
ADD RDX,R8
ADD RDX,RCX
SUB RAX,-0x80000000
SHR RAX,0x20
ADD RAX,RDX
MOV E... |
/* nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp
const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) */
int1 [16]
nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(diyfp *param_1,diyfp *param_2)
{
ulong uVar1;
ulong uVa... | |
25,045 | nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ... | llama.cpp/common/./json.hpp | iterator erase(iterator first, iterator last)
{
if (first == last)
{
return first;
}
const auto elements_affected = std::distance(first, last);
const auto offset = std::distance(Container::begin(), first);
// This is the start situation. We need to delet... | O3 | cpp | nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, ... | _ZN8nlohmann16json_abi_v3_11_311ordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_10basic_jsonIS1_St6vectorS7_blmdSaNS0_14adl_serializerES9_IhSaIhEEvEESt4lessIvESaISt4pairIKS7_SD_EEE5eraseEN9__gnu_cxx17__normal_iteratorIPSI_S9_ISI_SJ_EEESP_:
push rbp
push r15
push r14
push r13
push r12
... | long long nlohmann::json_abi_v3_11_3::ordered_map<std::string,nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,std::less<void>,std::allocator<s... | erase:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x18
MOV RBX,RSI
CMP RSI,RDX
JZ 0x00186c04
MOV R15,RDX
MOV R14,RDI
MOV RAX,RDX
SUB RAX,RBX
SAR RAX,0x4
MOV RCX,-0x5555555555555555
IMUL RAX,RCX
MOV qword ptr [RSP + 0x10],RAX
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP + 0x8],RAX
LEA RBP,[RBX + 0x10]
M... |
/* nlohmann::json_abi_v3_11_3::ordered_map<std::__cxx11::string,
nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector,
std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::all... | |
25,046 | mark_object | eloqsql/strings/json_lib.c | static int mark_object(json_engine_t *j)
{
j->state= JST_OBJ_START;
if (++j->stack_p < JSON_DEPTH_LIMIT)
{
j->stack[j->stack_p]= JST_OBJ_CONT;
return 0;
}
j->s.error= JE_DEPTH;
return 1;
} | O0 | c | mark_object:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl $0x2, 0x34(%rax)
movq -0x10(%rbp), %rcx
movl 0xe4(%rcx), %eax
addl $0x1, %eax
movl %eax, 0xe4(%rcx)
cmpl $0x20, %eax
jge 0x2923b
movq -0x10(%rbp), %rax
movq -0x10(%rbp), %rcx
movslq 0xe4(%rcx), %rcx
movl $0x7, 0x64(%rax,%rcx,4)
m... | mark_object:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov rax, [rbp+var_10]
mov dword ptr [rax+34h], 2
mov rcx, [rbp+var_10]
mov eax, [rcx+0E4h]
add eax, 1
mov [rcx+0E4h], eax
cmp eax, 20h ; ' '
jge short loc_2923B
mov rax, [rbp+var_10]
mov rcx, [rbp+var_10]
movsxd ... | long long mark_object(_DWORD *a1)
{
int v1; // eax
a1[13] = 2;
v1 = a1[57] + 1;
a1[57] = v1;
if ( v1 >= 32 )
{
a1[6] = -7;
return 1;
}
else
{
a1[a1[57] + 25] = 7;
return 0;
}
}
| mark_object:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV RAX,qword ptr [RBP + -0x10]
MOV dword ptr [RAX + 0x34],0x2
MOV RCX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RCX + 0xe4]
ADD EAX,0x1
MOV dword ptr [RCX + 0xe4],EAX
CMP EAX,0x20
JGE 0x0012923b
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RBP + ... |
bool mark_object(long param_1)
{
int iVar1;
*(int4 *)(param_1 + 0x34) = 2;
iVar1 = *(int *)(param_1 + 0xe4) + 1;
*(int *)(param_1 + 0xe4) = iVar1;
if (0x1f < iVar1) {
*(int4 *)(param_1 + 0x18) = 0xfffffff9;
}
else {
*(int4 *)(param_1 + 100 + (long)*(int *)(param_1 + 0xe4) * 4) = 7;
}
retu... | |
25,047 | ma_uniquedef_write | eloqsql/storage/maria/ma_open.c | my_bool _ma_uniquedef_write(File file, MARIA_UNIQUEDEF *def)
{
uchar buff[MARIA_UNIQUEDEF_SIZE];
uchar *ptr=buff;
mi_int2store(ptr,def->keysegs); ptr+=2;
*ptr++= (uchar) def->key;
*ptr++ = (uchar) def->null_are_equal;
return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0;
} | O0 | c | ma_uniquedef_write:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movl %edi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
leaq -0xc(%rbp), %rcx
movq %rcx, -0x20(%rbp)
movq -0x18(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -0x24(%rbp)
movb -0x24(%rbp), %dl
movq -0x20(%rbp), %rax
movb %dl, 0x... | _ma_uniquedef_write:
push rbp
mov rbp, rsp
sub rsp, 30h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_10], edi
mov [rbp+var_18], rsi
lea rcx, [rbp+var_C]
mov [rbp+var_20], rcx
mov rax, [rbp+var_18]
movzx eax, word ptr [rax]
mov [rbp+var_24], eax
mov dl, byte ptr [rbp... | bool ma_uniquedef_write(unsigned int a1, unsigned __int16 *a2)
{
unsigned __int16 v2; // kr00_2
_BYTE v4[4]; // [rsp+24h] [rbp-Ch] BYREF
unsigned long long v5; // [rsp+28h] [rbp-8h] BYREF
v5 = __readfsqword(0x28u);
v2 = *a2;
v4[0] = HIBYTE(*a2);
v4[1] = v2;
v4[2] = *((_BYTE *)a2 + 2);
v4[3] = *((_BY... | _ma_uniquedef_write:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0x10],EDI
MOV qword ptr [RBP + -0x18],RSI
LEA RCX,[RBP + -0xc]
MOV qword ptr [RBP + -0x20],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,word ptr [RAX]
MOV dword ptr [RBP + -0x24],EAX
... |
int8 _ma_uniquedef_write(int4 param_1,int2 *param_2)
{
long lVar1;
long in_FS_OFFSET;
int1 local_2c;
int1 uStack_2b;
int1 local_14;
int1 local_13;
int1 local_12;
int1 local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_2c = (int1)*param_2;
local_13 = local_2c;
uStack... | |
25,048 | reset_simple_key_cache_counters | eloqsql/mysys/mf_keycache.c | static
int reset_simple_key_cache_counters(const char *name __attribute__((unused)),
SIMPLE_KEY_CACHE_CB *keycache)
{
DBUG_ENTER("reset_simple_key_cache_counters");
if (!keycache->key_cache_inited)
{
DBUG_PRINT("info", ("Key cache %s not initialized.", name));
DBUG_RETU... | O3 | c | reset_simple_key_cache_counters:
pushq %rbp
movq %rsp, %rbp
cmpb $0x0, (%rsi)
je 0x99b66
xorps %xmm0, %xmm0
movups %xmm0, 0x148(%rsi)
movups %xmm0, 0x138(%rsi)
movq $0x0, 0x158(%rsi)
xorl %eax, %eax
popq %rbp
retq
| reset_simple_key_cache_counters:
push rbp
mov rbp, rsp
cmp byte ptr [rsi], 0
jz short loc_99B66
xorps xmm0, xmm0
movups xmmword ptr [rsi+148h], xmm0
movups xmmword ptr [rsi+138h], xmm0
mov qword ptr [rsi+158h], 0
loc_99B66:
xor eax, eax
pop rbp
retn
| long long reset_simple_key_cache_counters(long long a1, long long a2)
{
if ( *(_BYTE *)a2 )
{
*(_OWORD *)(a2 + 328) = 0LL;
*(_OWORD *)(a2 + 312) = 0LL;
*(_QWORD *)(a2 + 344) = 0LL;
}
return 0LL;
}
| reset_simple_key_cache_counters:
PUSH RBP
MOV RBP,RSP
CMP byte ptr [RSI],0x0
JZ 0x00199b66
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RSI + 0x148],XMM0
MOVUPS xmmword ptr [RSI + 0x138],XMM0
MOV qword ptr [RSI + 0x158],0x0
LAB_00199b66:
XOR EAX,EAX
POP RBP
RET
|
int8 reset_simple_key_cache_counters(int8 param_1,char *param_2)
{
if (*param_2 != '\0') {
param_2[0x148] = '\0';
param_2[0x149] = '\0';
param_2[0x14a] = '\0';
param_2[0x14b] = '\0';
param_2[0x14c] = '\0';
param_2[0x14d] = '\0';
param_2[0x14e] = '\0';
param_2[0x14f] = '\0';
param... | |
25,049 | ma_set_fatal_error | eloqsql/storage/maria/ma_info.c | void _ma_set_fatal_error(MARIA_HA *info, int error)
{
MARIA_SHARE *share= info->s;
_ma_print_error(info, error,
(share->state.changed & STATE_CRASHED_PRINTED) == 0);
maria_mark_crashed_share(share);
share->state.changed|= STATE_CRASHED_PRINTED;
my_errno= error;
DBUG_ASSERT(!maria_assert_if... | O0 | c | ma_set_fatal_error:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movq -0x18(%rbp), %rax
movl 0x170(%rax), %eax
andl $0x800, %eax # imm = 0x800
cmpl $0x0, %eax
... | _ma_set_fatal_error:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov rax, [rbp+var_8]
mov rax, [rax]
mov [rbp+var_18], rax
mov rdi, [rbp+var_8]
mov esi, [rbp+var_C]
mov rax, [rbp+var_18]
mov eax, [rax+170h]
and eax, 800h
cmp eax, 0
... | int * ma_set_fatal_error(_DWORD *a1, int a2, long long a3, long long a4, long long a5, int a6)
{
int *result; // rax
long long v7; // [rsp+8h] [rbp-18h]
v7 = *(_QWORD *)a1;
ma_print_error(a1, a2, (*(_DWORD *)(*(_QWORD *)a1 + 368LL) & 0x800) == 0, a4, a5, a6);
*(_DWORD *)(v7 + 368) |= 2u;
*(_DWORD *)(v7 + 3... | _ma_set_fatal_error:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
MOV RDI,qword ptr [RBP + -0x8]
MOV ESI,dword ptr [RBP + -0xc]
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX... |
void _ma_set_fatal_error(long *param_1,int4 param_2)
{
long lVar1;
int4 *puVar2;
lVar1 = *param_1;
_ma_print_error(param_1,param_2,(*(uint *)(lVar1 + 0x170) & 0x800) == 0);
*(uint *)(lVar1 + 0x170) = *(uint *)(lVar1 + 0x170) | 2;
*(uint *)(lVar1 + 0x170) = *(uint *)(lVar1 + 0x170) | 0x800;
puVar2 = (... | |
25,050 | my_strnncollsp_8bit_bin | eloqsql/strings/ctype-bin.c | static int my_strnncollsp_8bit_bin(CHARSET_INFO * cs __attribute__((unused)),
const uchar *a, size_t a_length,
const uchar *b, size_t b_length)
{
const uchar *end;
size_t length;
end= a + (length= MY_MIN(a_length, b_length));
while (a < end... | O3 | c | my_strnncollsp_8bit_bin:
pushq %rbp
movq %rsp, %rbp
cmpq %r8, %rdx
movq %r8, %rdi
cmovbq %rdx, %rdi
leaq (%rsi,%rdi), %r9
cmpq %r9, %rsi
jae 0x37e6d
movzbl (%rsi), %eax
incq %rsi
movzbl (%rcx), %r10d
incq %rcx
cmpb %r10b, %al
je 0x37e51
subl %r10d, %eax
jmp 0x37e74
xorl %eax, %eax
cmpq %r8, %rdx
jne 0x37e76
popq %rbp
r... | my_strnncollsp_8bit_bin:
push rbp
mov rbp, rsp
cmp rdx, r8
mov rdi, r8
cmovb rdi, rdx
lea r9, [rsi+rdi]
loc_37E51:
cmp rsi, r9
jnb short loc_37E6D
movzx eax, byte ptr [rsi]
inc rsi
movzx r10d, byte ptr [rcx]
inc rcx
cmp al, r10b
jz short loc_37E51
sub eax, r10d
jmp ... | long long my_strnncollsp_8bit_bin(
long long a1,
unsigned __int8 *a2,
unsigned long long a3,
unsigned __int8 *a4,
unsigned long long a5)
{
unsigned long long v5; // rdi
unsigned __int8 *v6; // r9
int v7; // eax
int v8; // r10d
long long result; // rax
unsigned long l... | my_strnncollsp_8bit_bin:
PUSH RBP
MOV RBP,RSP
CMP RDX,R8
MOV RDI,R8
CMOVC RDI,RDX
LEA R9,[RSI + RDI*0x1]
LAB_00137e51:
CMP RSI,R9
JNC 0x00137e6d
MOVZX EAX,byte ptr [RSI]
INC RSI
MOVZX R10D,byte ptr [RCX]
INC RCX
CMP AL,R10B
JZ 0x00137e51
SUB EAX,R10D
JMP 0x00137e74
LAB_00137e6d:
XOR EAX,EAX
CMP RDX,R8
JNZ 0x00137e76
LA... |
int my_strnncollsp_8bit_bin
(int8 param_1,byte *param_2,ulong param_3,byte *param_4,ulong param_5)
{
byte *pbVar1;
byte bVar2;
byte bVar3;
long lVar4;
ulong uVar5;
uVar5 = param_5;
if (param_3 < param_5) {
uVar5 = param_3;
}
pbVar1 = param_2 + uVar5;
while (param_2 < pbVar1) {... | |
25,051 | to_digit | bluesky950520[P]quickjs/quickjs.c | static inline int to_digit(int c)
{
if (c >= '0' && c <= '9')
return c - '0';
else if (c >= 'A' && c <= 'Z')
return c - 'A' + 10;
else if (c >= 'a' && c <= 'z')
return c - 'a' + 10;
else
return 36;
} | O2 | c | to_digit:
leal -0x30(%rdi), %eax
cmpl $0xa, %eax
jb 0x3ae5a
leal -0x41(%rdi), %eax
cmpl $0x19, %eax
ja 0x3ae4b
addl $-0x37, %edi
movl %edi, %eax
retq
leal -0x61(%rdi), %eax
addl $-0x57, %edi
cmpl $0x1a, %eax
pushq $0x24
popq %rax
cmovbl %edi, %eax
retq
| to_digit:
lea eax, [rdi-30h]
cmp eax, 0Ah
jb short locret_3AE5A
lea eax, [rdi-41h]
cmp eax, 19h
ja short loc_3AE4B
add edi, 0FFFFFFC9h
mov eax, edi
retn
loc_3AE4B:
lea eax, [rdi-61h]
add edi, 0FFFFFFA9h
cmp eax, 1Ah
push 24h ; '$'
pop rax
cmovb eax, edi
locret_3AE5... | long long to_digit(int a1)
{
long long result; // rax
unsigned int v2; // eax
unsigned int v3; // edi
bool v4; // cf
result = (unsigned int)(a1 - 48);
if ( (unsigned int)result >= 0xA )
{
if ( (unsigned int)(a1 - 65) > 0x19 )
{
v2 = a1 - 97;
v3 = a1 - 87;
v4 = v2 < 0x1A;
... | to_digit:
LEA EAX,[RDI + -0x30]
CMP EAX,0xa
JC 0x0013ae5a
LEA EAX,[RDI + -0x41]
CMP EAX,0x19
JA 0x0013ae4b
ADD EDI,-0x37
MOV EAX,EDI
RET
LAB_0013ae4b:
LEA EAX,[RDI + -0x61]
ADD EDI,-0x57
CMP EAX,0x1a
PUSH 0x24
POP RAX
CMOVC EAX,EDI
LAB_0013ae5a:
RET
|
uint to_digit(int param_1)
{
uint uVar1;
uVar1 = param_1 - 0x30U;
if (9 < param_1 - 0x30U) {
if (param_1 - 0x41U < 0x1a) {
return param_1 - 0x37;
}
uVar1 = 0x24;
if (param_1 - 0x61U < 0x1a) {
uVar1 = param_1 - 0x57;
}
}
return uVar1;
}
| |
25,052 | my_symlink | eloqsql/mysys/my_symlink.c | int my_symlink(const char *content, const char *linkname, myf MyFlags)
{
#ifndef HAVE_READLINK
return 0;
#else
int result;
DBUG_ENTER("my_symlink");
DBUG_PRINT("enter",("content: %s linkname: %s", content, linkname));
result= 0;
if (symlink(content, linkname))
{
result= -1;
my_errno=errno;
i... | O0 | c | my_symlink:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
jmp 0x300d6
movl $0x0, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x24070
cmpl $0x0, %eax
je 0x3014a
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
callq 0x24040
movl (%rax),... | my_symlink:
push rbp
mov rbp, rsp
sub rsp, 40h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_18], rdx
jmp short $+2
loc_300D6:
mov [rbp+var_1C], 0
mov rdi, [rbp+var_8]
mov rsi, [rbp+var_10]
call _symlink
cmp eax, 0
jz short loc_3014A
mov [rbp+var_1C], 0FF... | long long my_symlink(long long a1, long long a2, long long a3)
{
unsigned int *v3; // rax
int v5; // [rsp+20h] [rbp-20h]
unsigned int v6; // [rsp+24h] [rbp-1Ch]
v6 = 0;
if ( (unsigned int)symlink(a1, a2) )
{
v6 = -1;
v5 = *(_DWORD *)__errno_location();
*(_DWORD *)my_thread_var() = v5;
if (... | my_symlink:
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
JMP 0x001300d6
LAB_001300d6:
MOV dword ptr [RBP + -0x1c],0x0
MOV RDI,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RBP + -0x10]
CALL 0x00124070
CMP EAX,0x0
JZ 0x0013014a
MOV dword ptr... |
int4 my_symlink(char *param_1,char *param_2,ulong param_3)
{
int iVar1;
int *piVar2;
int4 local_24;
local_24 = 0;
iVar1 = symlink(param_1,param_2);
if (iVar1 == 0) {
if (((param_3 & 0x8000) != 0) && (iVar1 = my_sync_dir_by_file(param_2,param_3), iVar1 != 0)) {
local_24 = 0xffffffff;
}
}... | |
25,053 | my_symlink | eloqsql/mysys/my_symlink.c | int my_symlink(const char *content, const char *linkname, myf MyFlags)
{
#ifndef HAVE_READLINK
return 0;
#else
int result;
DBUG_ENTER("my_symlink");
DBUG_PRINT("enter",("content: %s linkname: %s", content, linkname));
result= 0;
if (symlink(content, linkname))
{
result= -1;
my_errno=errno;
i... | O3 | c | my_symlink:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
callq 0x24070
testl %eax, %eax
je 0x2bdae
callq 0x24050
movq %rax, %r13
movl (%rax), %r14d
callq 0x2686a
movl %r14d, (%rax)
movl $0xffffffff, %r14d # imm = 0xFFFF... | my_symlink:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r15, rdx
mov rbx, rsi
mov r12, rdi
call _symlink
test eax, eax
jz short loc_2BDAE
call ___errno_location
mov r13, rax
mov r14d, [rax]
call _my_thread_var
mov [rax... | long long my_symlink(long long a1, long long a2, long long a3)
{
unsigned int *v4; // r13
unsigned int v5; // r14d
unsigned int v6; // r14d
if ( (unsigned int)symlink(a1) )
{
v4 = (unsigned int *)__errno_location(a1, a2);
v5 = *v4;
*(_DWORD *)my_thread_var() = v5;
v6 = -1;
if ( (a3 & 0x1... | my_symlink:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV RBX,RSI
MOV R12,RDI
CALL 0x00124070
TEST EAX,EAX
JZ 0x0012bdae
CALL 0x00124050
MOV R13,RAX
MOV R14D,dword ptr [RAX]
CALL 0x0012686a
MOV dword ptr [RAX],R14D
MOV R14D,0xffffffff
TEST R15B,0x10
JZ 0x0012bdca
MOV R8D,dwo... |
int my_symlink(char *param_1,char *param_2,ulong param_3)
{
int iVar1;
int *piVar2;
int *piVar3;
iVar1 = symlink(param_1,param_2);
if (iVar1 == 0) {
iVar1 = 0;
if ((short)param_3 < 0) {
iVar1 = my_sync_dir_by_file(param_2,param_3);
iVar1 = -(uint)(iVar1 != 0);
}
}
else {
p... | |
25,054 | bitmap_subtract | eloqsql/mysys/my_bitmap.c | void bitmap_subtract(MY_BITMAP *map, const MY_BITMAP *map2)
{
my_bitmap_map *to= map->bitmap, *from= map2->bitmap, *end;
DBUG_ASSERT(map->bitmap);
DBUG_ASSERT(map2->bitmap);
DBUG_ASSERT(map->n_bits==map2->n_bits);
end= map->last_word_ptr;
while (to <= end)
*to++ &= ~(*from++);
} | O3 | c | bitmap_subtract:
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
cmpq %rcx, %rax
ja 0xa007e
pushq %rbp
movq %rsp, %rbp
movq (%rsi), %rdx
movl (%rdx), %esi
notl %esi
andl %esi, (%rax)
addq $0x4, %rdx
addq $0x4, %rax
cmpq %rcx, %rax
jbe 0xa006a
popq %rbp
retq
| bitmap_subtract:
mov rax, [rdi]
mov rcx, [rdi+8]
cmp rax, rcx
ja short locret_A007E
push rbp
mov rbp, rsp
mov rdx, [rsi]
loc_A006A:
mov esi, [rdx]
not esi
and [rax], esi
add rdx, 4
add rax, 4
cmp rax, rcx
jbe short loc_A006A
pop rbp
locret_A007E:
retn
| _DWORD * bitmap_subtract(long long a1, _DWORD **a2)
{
_DWORD *result; // rax
unsigned long long v3; // rcx
_DWORD *v4; // rdx
result = *(_DWORD **)a1;
v3 = *(_QWORD *)(a1 + 8);
if ( *(_QWORD *)a1 <= v3 )
{
v4 = *a2;
do
*result++ &= ~*v4++;
while ( (unsigned long long)result <= v3 );
}... | bitmap_subtract:
MOV RAX,qword ptr [RDI]
MOV RCX,qword ptr [RDI + 0x8]
CMP RAX,RCX
JA 0x001a007e
PUSH RBP
MOV RBP,RSP
MOV RDX,qword ptr [RSI]
LAB_001a006a:
MOV ESI,dword ptr [RDX]
NOT ESI
AND dword ptr [RAX],ESI
ADD RDX,0x4
ADD RAX,0x4
CMP RAX,RCX
JBE 0x001a006a
POP RBP
LAB_001a007e:
RET
|
void bitmap_subtract(int8 *param_1,int8 *param_2)
{
uint *puVar1;
uint *puVar2;
uint *puVar3;
puVar2 = (uint *)*param_1;
puVar1 = (uint *)param_1[1];
if (puVar2 <= puVar1) {
puVar3 = (uint *)*param_2;
do {
*puVar2 = *puVar2 & ~*puVar3;
puVar3 = puVar3 + 1;
puVar2 = puVar2 + 1;... | |
25,055 | minja::ExpressionNode::~ExpressionNode() | monkey531[P]llama/common/minja.hpp | ExpressionNode(const Location & location, std::shared_ptr<Expression> && e) : TemplateNode(location), expr(std::move(e)) {} | O1 | cpp | minja::ExpressionNode::~ExpressionNode():
pushq %rbx
movq %rdi, %rbx
leaq 0x8ff29(%rip), %rax # 0x13c2a8
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0xac394
callq 0x7ae1c
leaq 0x8fc2d(%rip), %rax # 0x13bfc8
addq $0x10, %rax
movq %rax, (%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rd... | _ZN5minja14ExpressionNodeD2Ev:
push rbx
mov rbx, rdi
lea rax, _ZTVN5minja14ExpressionNodeE; `vtable for'minja::ExpressionNode
add rax, 10h
mov [rdi], rax
mov rdi, [rdi+28h]
test rdi, rdi
jz short loc_AC394
call _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv; std::... | void minja::ExpressionNode::~ExpressionNode(minja::ExpressionNode *this)
{
volatile signed __int32 *v2; // rdi
volatile signed __int32 *v3; // rdi
*(_QWORD *)this = &`vtable for'minja::ExpressionNode + 2;
v2 = (volatile signed __int32 *)*((_QWORD *)this + 5);
if ( v2 )
std::_Sp_counted_base<(__gnu_cxx::... | ~ExpressionNode:
PUSH RBX
MOV RBX,RDI
LEA RAX,[0x23c2a8]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RDI,qword ptr [RDI + 0x28]
TEST RDI,RDI
JZ 0x001ac394
CALL 0x0017ae1c
LAB_001ac394:
LEA RAX,[0x23bfc8]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
MOV RDI,qword ptr [RBX + 0x10]
TEST RDI,RDI
JZ 0x001ac3b1
POP RBX
JMP 0x0017ae1c
L... |
/* minja::ExpressionNode::~ExpressionNode() */
void __thiscall minja::ExpressionNode::~ExpressionNode(ExpressionNode *this)
{
*(int ***)this = &PTR_do_render_0023c2b8;
if (*(_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> **)(this + 0x28) !=
(_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *)0x0) {
std::_Sp_... | |
25,056 | minja::ExpressionNode::~ExpressionNode() | monkey531[P]llama/common/minja.hpp | ExpressionNode(const Location & location, std::shared_ptr<Expression> && e) : TemplateNode(location), expr(std::move(e)) {} | O2 | cpp | minja::ExpressionNode::~ExpressionNode():
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
callq 0x7eb6c
leaq 0x89ee8(%rip), %rax # 0x10b2b8
addq $0x10, %rax
movq %rax, (%r14)
andq $0x0, 0x28(%r14)
movups (%rbx), %xmm0
andq $0x0, 0x8(%rbx)
movups %xmm0, 0x20(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
p... | _ZN5minja14ExpressionNodeC2ERKNS_8LocationEOSt10shared_ptrINS_10ExpressionEE:
push r14
push rbx
push rax
mov rbx, rdx
mov r14, rdi
call _ZN5minja12TemplateNodeC2ERKNS_8LocationE; minja::TemplateNode::TemplateNode(minja::Location const&)
lea rax, _ZTVN5minja14ExpressionNodeE; `vtable for'minja::E... | long long * minja::ExpressionNode::ExpressionNode(long long a1, _QWORD *a2, __int128 *a3)
{
long long *result; // rax
__int128 v5; // xmm0
minja::TemplateNode::TemplateNode((_QWORD *)a1, a2);
result = &`vtable for'minja::ExpressionNode + 2;
*(_QWORD *)a1 = &`vtable for'minja::ExpressionNode + 2;
*(_QWORD *... | ExpressionNode:
PUSH R14
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R14,RDI
CALL 0x0017eb6c
LEA RAX,[0x20b2b8]
ADD RAX,0x10
MOV qword ptr [R14],RAX
AND qword ptr [R14 + 0x28],0x0
MOVUPS XMM0,xmmword ptr [RBX]
AND qword ptr [RBX + 0x8],0x0
MOVUPS xmmword ptr [R14 + 0x20],XMM0
AND qword ptr [RBX],0x0
ADD RSP,0x8
POP RBX
POP R14
R... |
/* minja::ExpressionNode::ExpressionNode(minja::Location const&,
std::shared_ptr<minja::Expression>&&) */
void __thiscall
minja::ExpressionNode::ExpressionNode(ExpressionNode *this,Location *param_1,shared_ptr *param_2)
{
int8 uVar1;
TemplateNode::TemplateNode((TemplateNode *)this,param_1);
*(int ***)thi... | |
25,057 | minja::ExpressionNode::~ExpressionNode() | monkey531[P]llama/common/minja.hpp | ExpressionNode(const Location & location, std::shared_ptr<Expression> && e) : TemplateNode(location), expr(std::move(e)) {} | O3 | cpp | minja::ExpressionNode::~ExpressionNode():
pushq %rbx
movq %rdi, %rbx
leaq 0x8e6e3(%rip), %rax # 0x13a2a8
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0xabbda
callq 0x7b578
leaq 0x8e3e7(%rip), %rax # 0x139fc8
addq $0x10, %rax
movq %rax, (%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rd... | _ZN5minja14ExpressionNodeD2Ev:
push rbx
mov rbx, rdi
lea rax, _ZTVN5minja14ExpressionNodeE; `vtable for'minja::ExpressionNode
add rax, 10h
mov [rdi], rax
mov rdi, [rdi+28h]
test rdi, rdi
jz short loc_ABBDA
call _ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv; std::... | void minja::ExpressionNode::~ExpressionNode(minja::ExpressionNode *this)
{
volatile signed __int32 *v2; // rdi
volatile signed __int32 *v3; // rdi
*(_QWORD *)this = &`vtable for'minja::ExpressionNode + 2;
v2 = (volatile signed __int32 *)*((_QWORD *)this + 5);
if ( v2 )
std::_Sp_counted_base<(__gnu_cxx::... | ~ExpressionNode:
PUSH RBX
MOV RBX,RDI
LEA RAX,[0x23a2a8]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
MOV RDI,qword ptr [RDI + 0x28]
TEST RDI,RDI
JZ 0x001abbda
CALL 0x0017b578
LAB_001abbda:
LEA RAX,[0x239fc8]
ADD RAX,0x10
MOV qword ptr [RBX],RAX
MOV RDI,qword ptr [RBX + 0x10]
TEST RDI,RDI
JZ 0x001abbf7
POP RBX
JMP 0x0017b578
L... |
/* minja::ExpressionNode::~ExpressionNode() */
void __thiscall minja::ExpressionNode::~ExpressionNode(ExpressionNode *this)
{
*(int ***)this = &PTR_do_render_0023a2b8;
if (*(_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> **)(this + 0x28) !=
(_Sp_counted_base<(__gnu_cxx::_Lock_policy)2> *)0x0) {
std::_Sp_... | |
25,058 | linenoiseEditHistoryNext(linenoiseState*, int) | monkey531[P]llama/examples/run/linenoise.cpp/linenoise.cpp | static void linenoiseEditHistoryNext(struct linenoiseState * l, int dir) {
if (history_len > 1) {
/* Update the current history entry before to
* overwrite it with the next one. */
free(history[history_len - 1 - l->history_index]);
history[history_len - 1 - l->history_index] = strdu... | O1 | cpp | linenoiseEditHistoryNext(linenoiseState*, int):
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl 0x9f35e(%rip), %r14d # 0xebcf0
cmpl $0x2, %r14d
jl 0x4ca4e
movl %esi, %ebp
movq %rdi, %rbx
movq 0x9f350(%rip), %r15 # 0xebcf8
movl 0x60(%rdi), %eax
notl %eax
addl %r14d, %eax
cltq
movq (%r15,%rax,8), %rdi
... | _ZL24linenoiseEditHistoryNextP14linenoiseStatei:
push rbp
push r15
push r14
push rbx
push rax
mov r14d, cs:_ZL11history_len; history_len
cmp r14d, 2
jl loc_4CA4E
mov ebp, esi
mov rbx, rdi
mov r15, cs:_ZL7history; history
mov eax, [rdi+60h]
not eax
add eax, r14d
cdqe
m... | void linenoiseEditHistoryNext(long long a1, int a2)
{
int v2; // r14d
long long v3; // r15
long long v4; // rax
int v5; // ecx
bool v6; // sf
int v7; // eax
long long v8; // rax
v2 = history_len;
if ( history_len >= 2 )
{
v3 = history;
free(*(_QWORD *)(history + 8LL * (history_len + ~*(_DW... | linenoiseEditHistoryNext:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV R14D,dword ptr [0x001ebcf0]
CMP R14D,0x2
JL 0x0014ca4e
MOV EBP,ESI
MOV RBX,RDI
MOV R15,qword ptr [0x001ebcf8]
MOV EAX,dword ptr [RDI + 0x60]
NOT EAX
ADD EAX,R14D
CDQE
MOV RDI,qword ptr [R15 + RAX*0x8]
CALL 0x00119900
MOV RDI,qword ptr [RBX + 0x1... |
/* linenoiseEditHistoryNext(linenoiseState*, int) */
void linenoiseEditHistoryNext(linenoiseState *param_1,int param_2)
{
int iVar1;
long lVar2;
uint uVar3;
char *pcVar4;
size_t sVar5;
lVar2 = history;
iVar1 = history_len;
if (1 < history_len) {
free(*(void **)(history + (long)(int)(~*(uint *)... | |
25,059 | directory_file_name | eloqsql/mysys/my_lib.c | static char *directory_file_name (char * dst, const char *src)
{
/* Process as Unix format: just remove test the final slash. */
char *end;
DBUG_ASSERT(strlen(src) < (FN_REFLEN + 1));
if (src[0] == 0)
src= (char*) "."; /* Use empty as current */
end= strnmov(dst, src, FN_REFLEN ... | O0 | c | directory_file_name:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
jmp 0x8ad12
movq -0x10(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x8ad29
leaq 0x579f3(%rip), %rax # 0xe2718
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl $0x201, %edx ... | directory_file_name:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
jmp short $+2
loc_8AD12:
mov rax, [rbp+var_10]
movsx eax, byte ptr [rax]
cmp eax, 0
jnz short loc_8AD29
lea rax, aInvalidOrMissi+21h; "."
mov [rbp+var_10], rax
loc_8AD29:
mov ... | _BYTE * directory_file_name(long long a1, char *a2)
{
_BYTE *v2; // rax
_BYTE *v4; // [rsp+8h] [rbp-18h]
char *v5; // [rsp+10h] [rbp-10h]
v5 = a2;
if ( !*a2 )
v5 = ".";
v4 = (_BYTE *)strnmov(a1, v5, 513LL);
if ( *(v4 - 1) != 47 )
{
v2 = v4++;
*v2 = 47;
*v4 = 0;
}
return v4;
}
| directory_file_name:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
JMP 0x0018ad12
LAB_0018ad12:
MOV RAX,qword ptr [RBP + -0x10]
MOVSX EAX,byte ptr [RAX]
CMP EAX,0x0
JNZ 0x0018ad29
LEA RAX,[0x1e2718]
MOV qword ptr [RBP + -0x10],RAX
LAB_0018ad29:
MOV RDI,qword ptr [RBP +... |
int1 * directory_file_name(int8 param_1,char *param_2)
{
int1 *puVar1;
int1 *local_20;
char *local_18;
local_18 = param_2;
if (*param_2 == '\0') {
local_18 = ".";
}
puVar1 = (int1 *)strnmov(param_1,local_18,0x201);
local_20 = puVar1;
if (puVar1[-1] != '/') {
local_20 = puVar1 + 1;
*pu... | |
25,060 | fill_uchar | eloqsql/strings/ctype.c | static int fill_uchar(uchar *a,uint size,const char *str, size_t len)
{
uint i= 0;
const char *s, *b, *e=str+len;
for (s=str ; s < e ; i++)
{
for ( ; (s < e) && strchr(" \t\r\n",s[0]); s++) ;
b=s;
for ( ; (s < e) && !strchr(" \t\r\n",s[0]); s++) ;
if (s == b || i > size)
break;
a[i... | O0 | c | fill_uchar:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x18(%rbp), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x40(%r... | fill_uchar:
push rbp
mov rbp, rsp
sub rsp, 50h
mov [rbp+var_8], rdi
mov [rbp+var_C], esi
mov [rbp+var_18], rdx
mov [rbp+var_20], rcx
mov [rbp+var_24], 0
mov rax, [rbp+var_18]
add rax, [rbp+var_20]
mov [rbp+var_40], rax
mov rax, [rbp+var_18]
mov [rbp+var_30], rax
loc_70... | long long fill_uchar(long long a1, unsigned int a2, char *a3, long long a4)
{
char v5; // [rsp+Eh] [rbp-42h]
bool v6; // [rsp+Fh] [rbp-41h]
unsigned long long v7; // [rsp+10h] [rbp-40h]
char *v8; // [rsp+18h] [rbp-38h]
char *v9; // [rsp+20h] [rbp-30h]
unsigned int v10; // [rsp+2Ch] [rbp-24h]
v10 = 0;
... | fill_uchar:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV dword ptr [RBP + -0x24],0x0
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x40],RAX
MOV RAX,qword ptr [R... |
int8 fill_uchar(long param_1,uint param_2,char *param_3,long param_4)
{
char *pcVar1;
int1 uVar2;
char *pcVar3;
char *pcVar4;
bool bVar5;
char *local_38;
uint local_2c;
local_2c = 0;
pcVar3 = param_3 + param_4;
local_38 = param_3;
while( true ) {
if (pcVar3 <= local_38) {
return 0;
... | |
25,061 | my_thread_destory_thr_mutex | eloqsql/mysys/my_thr_init.c | static void my_thread_destory_thr_mutex(struct st_my_thread_var *var)
{
mysql_mutex_destroy(&var->mutex);
mysql_cond_destroy(&var->suspend);
} | O3 | c | my_thread_destory_thr_mutex:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x40(%rdi), %r14
movq 0x80(%rdi), %rdi
testq %rdi, %rdi
je 0x5ed43
leaq 0x2d512e(%rip), %rax # 0x333e60
movq (%rax), %rax
callq *0x48(%rax)
movq $0x0, 0x80(%rbx)
movq %r14, %rdi
callq 0x28430
movq 0x38(%rbx), %rdi
test... | my_thread_destory_thr_mutex:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdi
lea r14, [rdi+40h]
mov rdi, [rdi+80h]
test rdi, rdi
jz short loc_5ED43
lea rax, PSI_server
mov rax, [rax]
call qword ptr [rax+48h]
mov qword ptr [rbx+80h], 0
loc_5ED43:
mov rdi, r14
call... | long long my_thread_destory_thr_mutex(long long a1)
{
if ( *(_QWORD *)(a1 + 128) )
{
PSI_server[9]();
*(_QWORD *)(a1 + 128) = 0LL;
}
pthread_mutex_destroy(a1 + 64);
if ( *(_QWORD *)(a1 + 56) )
{
PSI_server[13]();
*(_QWORD *)(a1 + 56) = 0LL;
}
return pthread_cond_destroy(a1 + 8);
}
| my_thread_destory_thr_mutex:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDI
LEA R14,[RDI + 0x40]
MOV RDI,qword ptr [RDI + 0x80]
TEST RDI,RDI
JZ 0x0015ed43
LEA RAX,[0x433e60]
MOV RAX,qword ptr [RAX]
CALL qword ptr [RAX + 0x48]
MOV qword ptr [RBX + 0x80],0x0
LAB_0015ed43:
MOV RDI,R14
CALL 0x00128430
MOV RDI,qword ptr... |
void my_thread_destory_thr_mutex(long param_1)
{
if (*(long *)(param_1 + 0x80) != 0) {
(**(code **)(PSI_server + 0x48))();
*(int8 *)(param_1 + 0x80) = 0;
}
pthread_mutex_destroy((pthread_mutex_t *)(param_1 + 0x40));
if (*(long *)(param_1 + 0x38) != 0) {
(**(code **)(PSI_server + 0x68))();
*(in... | |
25,062 | test_vector_create | tsotchke[P]eshkol/tests/unit/test_vector.c | static void test_vector_create(void) {
printf("Testing vector creation...\n");
// Create an arena
Arena* arena = arena_create(1024);
assert(arena != NULL);
// Create vectors
VectorF* vf = vector_f_create(arena, 3);
assert(vf != NULL);
assert(vf->dim == 3);
assert(vf->data[0... | O0 | c | test_vector_create:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x8e8a(%rip), %rdi # 0xa1b9
movb $0x0, %al
callq 0x1080
movl $0x400, %edi # imm = 0x400
callq 0x42a0
movq %rax, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x134d
jmp 0x136c
leaq 0x8e81(%rip), %rdi # 0xa1d5
leaq 0x8dd6(%rip), %rsi # ... | test_vector_create:
push rbp
mov rbp, rsp
sub rsp, 20h
lea rdi, aTestingVectorC; "Testing vector 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_134D
jmp short loc_136C
loc_134D:
lea rdi, aArenaN... | long long test_vector_create(long long a1, long long a2, long long a3)
{
long long v3; // rax
long long v4; // rax
long long v5; // rdx
long long v7; // [rsp+10h] [rbp-10h]
long long v8; // [rsp+18h] [rbp-8h]
printf("Testing vector creation...\n", a2, a3);
v8 = arena_create(1024LL);
if ( !v8 )
__a... | test_vector_create:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
LEA RDI,[0x10a1a7]
MOV AL,0x0
CALL 0x00101080
MOV EDI,0x400
CALL 0x001042a0
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0010134d
JMP 0x0010136c
LAB_0010134d:
LEA RDI,[0x10a1c3]
LEA RSI,[0x10a131]
MOV EDX,0x16
LEA RCX,[0x10a1d1]
CALL 0x00101090... |
void test_vector_create(void)
{
long lVar1;
float *pfVar2;
double *pdVar3;
int *piVar4;
printf("Testing vector creation...\n");
lVar1 = arena_create(0x400);
if (lVar1 == 0) {
/* WARNING: Subroutine does not return */
__assert_fail("arena != NULL","/workspace/llm4binary/github2... | |
25,063 | nglog::LogMessage::Flush() | ng-log[P]ng-log/src/logging.cc | void LogMessage::Flush() {
if (data_->has_been_flushed_ || data_->severity_ < FLAGS_minloglevel) {
return;
}
data_->num_chars_to_log_ = data_->stream_.pcount();
data_->num_chars_to_syslog_ =
data_->num_chars_to_log_ - data_->num_prefix_chars_;
// Do we need to add a \n to the end of this message?
... | O1 | cpp | nglog::LogMessage::Flush():
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x8(%rdi), %rax
cmpb $0x0, 0x76e0(%rax)
jne 0xcb80
movl 0x7698(%rax), %ecx
leaq 0x26076(%rip), %rdx # 0x32a80
cmpl (%rdx), %ecx
jl 0xcb80
movq %rdi, %rbx
movq 0x7568(%rax), %rcx
subq 0x7560(%rax), %rcx
movq %rcx, 0x76c0(%rax)
mo... | _ZN5nglog10LogMessage5FlushEv:
push rbp
push r15
push r14
push r12
push rbx
mov rax, [rdi+8]
cmp byte ptr [rax+76E0h], 0
jnz loc_CB80
mov ecx, [rax+7698h]
lea rdx, _ZN3fLI17FLAGS_minloglevelE; fLI::FLAGS_minloglevel
cmp ecx, [rdx]
jl loc_CB80
mov rbx, rdi
mov rcx, [ra... | long long nglog::LogMessage::Flush(nglog::LogMessage *this)
{
long long result; // rax
long long v3; // rcx
char v4; // r14
char v5; // bp
int v6; // eax
long long v7; // rcx
void ( *v8)(_QWORD); // rax
_QWORD *v9; // rdi
long long v10; // rax
_QWORD *v11; // r15
long long i; // r12
long long v... | Flush:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV RAX,qword ptr [RDI + 0x8]
CMP byte ptr [RAX + 0x76e0],0x0
JNZ 0x0010cb80
MOV ECX,dword ptr [RAX + 0x7698]
LEA RDX,[0x132a80]
CMP ECX,dword ptr [RDX]
JL 0x0010cb80
MOV RBX,RDI
MOV RCX,qword ptr [RAX + 0x7568]
SUB RCX,qword ptr [RAX + 0x7560]
MOV qword ptr [RAX + 0x... |
/* nglog::LogMessage::Flush() */
void __thiscall nglog::LogMessage::Flush(LogMessage *this)
{
char cVar1;
long lVar2;
int *piVar3;
int iVar4;
code *pcVar5;
int *piVar6;
long lVar7;
int1 uVar8;
bool bVar9;
lVar2 = *(long *)(this + 8);
if ((*(char *)(lVar2 + 0x76e0) == '\0') && (fLI::FLAGS_min... | |
25,064 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | monkey531[P]llama/common/json.hpp | bool scan_comment()
{
switch (get())
{
// single-line comments skip input until a newline or EOF is read
case '/':
{
while (true)
{
switch (get())
{
case '\n':
... | O1 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE12scan_commentEv:
push rbp
push rbx
push rax
mov rbx, r... | char nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_in... | scan_comment:
PUSH RBP
PUSH RBX
PUSH RAX
MOV RBX,RDI
CALL 0x00118e4e
CMP EAX,0x2f
JZ 0x001451a9
CMP EAX,0x2a
JNZ 0x001451c6
LAB_0014517d:
MOV RDI,RBX
CALL 0x00118e4e
LEA ECX,[RAX + 0x1]
CMP ECX,0x2
JC 0x001451cf
CMP EAX,0x2a
JNZ 0x0014517d
MOV RDI,RBX
CALL 0x00118e4e
CMP EAX,0x2f
JZ 0x001451c2
MOV RDI,RBX
CALL 0x00145a... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char... | |
25,065 | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | monkey531[P]llama/common/json.hpp | bool scan_comment()
{
switch (get())
{
// single-line comments skip input until a newline or EOF is read
case '/':
{
while (true)
{
switch (get())
{
case '\n':
... | O3 | cpp | nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vecto... | _ZN8nlohmann16json_abi_v3_11_36detail5lexerINS0_10basic_jsonINS0_11ordered_mapESt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEblmdSaNS0_14adl_serializerES5_IhSaIhEEvEENS1_22iterator_input_adapterIN9__gnu_cxx17__normal_iteratorIPKcSB_EEEEE12scan_commentEv:
push rbp
push rbx
push rax
mov rbx, r... | char nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,std::vector,std::string,bool,long,unsigned long,double,std::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::vector<unsigned char>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_in... | scan_comment:
PUSH RBP
PUSH RBX
PUSH RAX
MOV RBX,RDI
CALL 0x00118e36
CMP EAX,0x2f
JZ 0x001444ef
CMP EAX,0x2a
JNZ 0x0014450c
LAB_001444c3:
MOV RDI,RBX
CALL 0x00118e36
LEA ECX,[RAX + 0x1]
CMP ECX,0x2
JC 0x00144515
CMP EAX,0x2a
JNZ 0x001444c3
MOV RDI,RBX
CALL 0x00118e36
CMP EAX,0x2f
JZ 0x00144508
MOV RDI,RBX
CALL 0x00144d... |
/* nlohmann::json_abi_v3_11_3::detail::lexer<nlohmann::json_abi_v3_11_3::basic_json<nlohmann::json_abi_v3_11_3::ordered_map,
std::vector, std::__cxx11::string, bool, long, unsigned long, double, std::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned
char... | |
25,066 | compile_if_stmt_cont | fabiosvm[P]rak/src/compiler.c | static inline void compile_if_stmt_cont(RakCompiler *comp, uint16_t *off, RakError *err)
{
if (!match(comp, RAK_TOKEN_KIND_ELSE_KW))
{
emit_instr(comp, rak_pop_instr(), err);
if (!rak_is_ok(err)) return;
*off = (uint16_t) comp->chunk.instrs.len;
return;
}
next(comp, err);
if (match(comp, RAK_T... | O3 | c | compile_if_stmt_cont:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
cmpl $0x26, 0x2810(%rdi)
jne 0x642e
leaq 0x27f8(%r14), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x679a
cmpb $0x1, (%rbx)
jne 0x644f
movl 0x2810(%r14), %r13d
cmpl $0x8, %r1... | compile_if_stmt_cont:
push rbp
push r15
push r14
push r13
push r12
push rbx
push rax
mov rbx, rdx
mov r15, rsi
mov r14, rdi
cmp dword ptr [rdi+2810h], 26h ; '&'
jnz short loc_642E
lea r12, [r14+27F8h]
mov rdi, r12
mov rsi, rbx
call rak_lexer_next
cmp byte ptr ... | char compile_if_stmt_cont(long long a1, unsigned __int16 *a2, char *a3, int a4, int a5, int a6)
{
unsigned __int16 v7; // ax
int v8; // ecx
int v9; // r8d
int v10; // r9d
int v11; // r13d
int v12; // ebp
int v13; // r15d
int v14; // r12d
long long v15; // r14
int v16; // eax
int v17; // r9d
lon... | compile_if_stmt_cont:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV RBX,RDX
MOV R15,RSI
MOV R14,RDI
CMP dword ptr [RDI + 0x2810],0x26
JNZ 0x0010642e
LEA R12,[R14 + 0x27f8]
MOV RDI,R12
MOV RSI,RBX
CALL 0x0010679a
CMP byte ptr [RBX],0x1
JNZ 0x0010644f
MOV R13D,dword ptr [R14 + 0x2810]
CMP R13D,0x8
JZ... |
void compile_if_stmt_cont(long param_1,int2 *param_2,byte *param_3)
{
long lVar1;
int iVar2;
int4 uVar3;
int4 uVar4;
int4 uVar5;
int8 uVar6;
byte bVar7;
int8 in_RAX;
int8 uVar8;
int4 uVar9;
uVar9 = (int4)((ulong)in_RAX >> 0x20);
if (*(int *)(param_1 + 0x2810) == 0x26) {
lVar1 = param_1 ... | |
25,067 | minja::Value::operator>(minja::Value const&) const | monkey531[P]llama/common/minja.hpp | bool operator>(const Value & other) const {
if (is_null())
throw std::runtime_error("Undefined value or reference");
if (is_number() && other.is_number()) return get<double>() > other.get<double>();
if (is_string() && other.is_string()) return get<std::string>() > other.get<std::string>();
throw s... | O2 | cpp | minja::Value::operator>(minja::Value const&) const:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %r15
callq 0x64008
testb %al, %al
jne 0x714cd
movb 0x40(%r15), %al
leal -0x5(%rax), %ecx
cmpb $0x2, %cl
ja 0x71469
movb 0x40(%r14), %al
addb $-0x5, %al
cmpb $0x2, %al
ja 0x714fd
mo... | _ZNK5minja5ValuegtERKS0_:
push rbp
push r15
push r14
push rbx
sub rsp, 0A8h
mov r14, rsi
mov r15, rdi
call _ZNK5minja5Value7is_nullEv; minja::Value::is_null(void)
test al, al
jnz loc_714CD
mov al, [r15+40h]
lea ecx, [rax-5]
cmp cl, 2
ja short loc_71469
mov al, [r14... | long long minja::Value::operator>(minja::Value *a1, minja::Value *a2)
{
unsigned int v2; // ebx
char v3; // al
std::runtime_error *exception; // rbx
void *v6; // rbx
_BYTE v7[32]; // [rsp+8h] [rbp-C0h] BYREF
_QWORD v8[4]; // [rsp+28h] [rbp-A0h] BYREF
_QWORD v9[4]; // [rsp+48h] [rbp-80h] BYREF
_BYTE v10... | operator>:
PUSH RBP
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0xa8
MOV R14,RSI
MOV R15,RDI
CALL 0x00164008
TEST AL,AL
JNZ 0x001714cd
MOV AL,byte ptr [R15 + 0x40]
LEA ECX,[RAX + -0x5]
CMP CL,0x2
JA 0x00171469
MOV AL,byte ptr [R14 + 0x40]
ADD AL,0xfb
CMP AL,0x2
JA 0x001714fd
MOV RDI,R15
CALL 0x0016393a
MOVSD qword ptr [RSP],XMM... |
/* minja::Value::TEMPNAMEPLACEHOLDERVALUE(minja::Value const&) const */
ulong __thiscall minja::Value::operator>(Value *this,Value *param_1)
{
char cVar1;
bool bVar2;
int7 extraout_var;
runtime_error *prVar3;
int8 unaff_RBX;
ulong uVar4;
double dVar5;
double dVar6;
string local_c0 [32];
string lo... | |
25,068 | func_uni_big5_onechar | eloqsql/strings/ctype-big5.c | static int func_uni_big5_onechar(int code){
if ((code>=0x00A2)&&(code<=0x00F7))
return(tab_uni_big50[code-0x00A2]);
if ((code>=0x02C7)&&(code<=0x0451))
return(tab_uni_big51[code-0x02C7]);
if ((code>=0x2013)&&(code<=0x22BF))
return(tab_uni_big52[code-0x2013]);
if ((code>=0x2460)&&(code<=0x2642))
... | O0 | c | func_uni_big5_onechar:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
cmpl $0xa2, -0x8(%rbp)
jl 0x98507
cmpl $0xf7, -0x8(%rbp)
jg 0x98507
movl -0x8(%rbp), %eax
subl $0xa2, %eax
movslq %eax, %rcx
leaq 0x591a5(%rip), %rax # 0xf16a0
movzwl (%rax,%rcx,2), %eax
movl %eax, -0x4(%rbp)
jmp 0x986e5
cmpl $0x2c7, -0x8(%rbp)... | func_uni_big5_onechar:
push rbp
mov rbp, rsp
mov [rbp+var_8], edi
cmp [rbp+var_8], 0A2h
jl short loc_98507
cmp [rbp+var_8], 0F7h
jg short loc_98507
mov eax, [rbp+var_8]
sub eax, 0A2h
movsxd rcx, eax
lea rax, tab_uni_big50
movzx eax, word ptr [rax+rcx*2]
mov [rbp+var_4], e... | long long func_uni_big5_onechar(int a1)
{
if ( a1 < 162 || a1 > 247 )
{
if ( a1 < 711 || a1 > 1105 )
{
if ( a1 < 8211 || a1 > 8895 )
{
if ( a1 < 9312 || a1 > 9794 )
{
if ( a1 < 12288 || a1 > 12585 )
{
if ( a1 == 12963 )
{
... | func_uni_big5_onechar:
PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x8],EDI
CMP dword ptr [RBP + -0x8],0xa2
JL 0x00198507
CMP dword ptr [RBP + -0x8],0xf7
JG 0x00198507
MOV EAX,dword ptr [RBP + -0x8]
SUB EAX,0xa2
MOVSXD RCX,EAX
LEA RAX,[0x1f16a0]
MOVZX EAX,word ptr [RAX + RCX*0x2]
MOV dword ptr [RBP + -0x4],EAX
JMP 0x001... |
int2 func_uni_big5_onechar(int param_1)
{
int2 uVar1;
if ((param_1 < 0xa2) || (0xf7 < param_1)) {
if ((param_1 < 0x2c7) || (0x451 < param_1)) {
if ((param_1 < 0x2013) || (0x22bf < param_1)) {
if ((param_1 < 0x2460) || (0x2642 < param_1)) {
if ((param_1 < 0x3000) || (0x3129 < param_1... | |
25,069 | ma_ck_delete | eloqsql/storage/maria/ma_delete.c | my_bool _ma_ck_delete(MARIA_HA *info, MARIA_KEY *key)
{
MARIA_SHARE *share= info->s;
int res;
my_bool buff_alloced;
LSN lsn= LSN_IMPOSSIBLE;
my_off_t new_root= share->state.key_root[key->keyinfo->key_nr];
uchar *key_buff, *save_key_data;
MARIA_KEY org_key;
DBUG_ENTER("_ma_ck_delete");
LINT_INIT_STRUC... | O0 | c | ma_ck_delete:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %fs:0x28, %rax
movq %rax, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq $0x0, -0x38(%rbp)
movq -0x28(%rbp), %rax
movq 0x118(%rax), %rax
movq -0x20(%rbp), %rcx
movq 0x8(%rcx), %r... | _ma_ck_delete:
push rbp
mov rbp, rsp
sub rsp, 90h
mov rax, fs:28h
mov [rbp+var_8], rax
mov [rbp+var_18], rdi
mov [rbp+var_20], rsi
mov rax, [rbp+var_18]
mov rax, [rax]
mov [rbp+var_28], rax
mov [rbp+var_38], 0
mov rax, [rbp+var_28]
mov rax, [rax+118h]
mov rcx, [rbp... | bool ma_ck_delete(long long *a1, long long *a2)
{
char v2; // al
long long v4; // [rsp+0h] [rbp-90h] BYREF
unsigned long long v5; // [rsp+10h] [rbp-80h]
unsigned long long v6; // [rsp+18h] [rbp-78h] BYREF
_QWORD v7[4]; // [rsp+20h] [rbp-70h] BYREF
long long v8; // [rsp+40h] [rbp-50h]
char *v9; // [rsp+48... | _ma_ck_delete:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x90
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x28],RAX
MOV qword ptr [RBP + -0x38],0x0
MOV RAX,qword ptr [RBP + -0x... |
int8 _ma_ck_delete(long *param_1,int8 *param_2)
{
int iVar1;
void *__src;
int1 *puVar2;
int8 uVar3;
int8 *puVar4;
long *plVar5;
char cVar6;
int1 *puVar7;
int iVar8;
long in_FS_OFFSET;
int1 auStack_98 [15];
bool local_89;
ulong local_88;
ulong local_80;
int8 local_78;
int8 local_70;
i... | |
25,070 | LefDefParser::lefiPinAntennaModel::addAntennaMaxSideAreaCar(double, char const*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiMacro.cpp | void
lefiPinAntennaModel::addAntennaMaxSideAreaCar(double val,
const char *layer)
{
int len;
if (numAntennaMaxSideAreaCar_ == antennaMaxSideAreaCarAllocated_) {
int i;
int max;
int lim = numAntennaMaxSideAreaCar_;
... | O3 | cpp | LefDefParser::lefiPinAntennaModel::addAntennaMaxSideAreaCar(double, char const*):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x40(%rdi), %r13d
cmpl 0x44(%rdi), %r13d
jne 0x28710
movsd %xmm0, 0x8(%rsp)
leal (,%r13,2), %eax
testl %r13d, %r13d
movl $0x2, %e... | _ZN12LefDefParser19lefiPinAntennaModel24addAntennaMaxSideAreaCarEdPKc:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 10h
mov r14, rsi
mov rbx, rdi
mov r13d, [rdi+40h]
cmp r13d, [rdi+44h]
jnz loc_28710
movsd [rsp+38h+var_30], xmm0
lea eax, ds:0[r13*2]
test r13d, r1... | long long LefDefParser::lefiPinAntennaModel::addAntennaMaxSideAreaCar(
LefDefParser::lefiPinAntennaModel *this,
double a2,
char *a3)
{
long long v3; // r13
int v4; // ecx
LefDefParser *v5; // r12
long long v6; // r15
long long v7; // r12
long long i; // rax
long long result; // ra... | addAntennaMaxSideAreaCar:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV R14,RSI
MOV RBX,RDI
MOV R13D,dword ptr [RDI + 0x40]
CMP R13D,dword ptr [RDI + 0x44]
JNZ 0x00128710
MOVSD qword ptr [RSP + 0x8],XMM0
LEA EAX,[R13*0x2]
TEST R13D,R13D
MOV ECX,0x2
CMOVNZ ECX,EAX
MOV dword ptr [RBX + 0x44],ECX
MOVSXD R1... |
/* LefDefParser::lefiPinAntennaModel::addAntennaMaxSideAreaCar(double, char const*) */
void __thiscall
LefDefParser::lefiPinAntennaModel::addAntennaMaxSideAreaCar
(lefiPinAntennaModel *this,double param_1,char *param_2)
{
long lVar1;
long lVar2;
ulong uVar3;
size_t sVar4;
int8 uVar5;
int iVar6;... | |
25,071 | my_uca_previous_context_find | eloqsql/strings/ctype-uca.c | static const MY_CONTRACTION *
my_uca_previous_context_find(my_uca_scanner *scanner,
my_wc_t wc0, my_wc_t wc1)
{
const MY_CONTRACTIONS *list= &scanner->level->contractions;
MY_CONTRACTION *c, *last;
for (c= list->item, last= c + list->nitems; c < last; c++)
{
if (c->with_context ... | O0 | c | my_uca_previous_context_find:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
addq $0x18, %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq -0x28(%rbp), %... | my_uca_previous_context_find:
push rbp
mov rbp, rsp
mov [rbp+var_10], rdi
mov [rbp+var_18], rsi
mov [rbp+var_20], rdx
mov rax, [rbp+var_10]
mov rax, [rax+18h]
add rax, 18h
mov [rbp+var_28], rax
mov rax, [rbp+var_28]
mov rax, [rax+8]
mov [rbp+var_30], rax
mov rax, [rbp+... | unsigned long long my_uca_previous_context_find(_QWORD *a1, long long a2, long long a3)
{
unsigned long long v4; // [rsp+0h] [rbp-38h]
unsigned long long v5; // [rsp+8h] [rbp-30h]
v5 = *(_QWORD *)(a1[3] + 32LL);
v4 = 88LL * *(_QWORD *)(a1[3] + 24LL) + v5;
while ( v5 < v4 )
{
if ( *(_BYTE *)(v5 + 82) &... | my_uca_previous_context_find:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x10],RDI
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x20],RDX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x18]
ADD RAX,0x18
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x8]
MOV... |
long * my_uca_previous_context_find(long *param_1,long param_2,long param_3)
{
long *plVar1;
long *local_38;
local_38 = *(long **)(param_1[3] + 0x20);
plVar1 = local_38 + *(long *)(param_1[3] + 0x18) * 0xb;
while( true ) {
if (plVar1 <= local_38) {
return (long *)0x0;
}
if (((*(char *)(... | |
25,072 | ChangeButtonState(Context&, Rectangle, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | csit-sgu[P]mit-game-2025_1/user.cpp | void ChangeButtonState(
Context &ctx,
Rectangle btnCollider,
size_t btn_id,
std::string path1,
std::string path2
) {
if (IsMouseOnButton(btnCollider)) {
for (auto &obj : ctx.current_scene) {
if (obj.id == btn_id) {
obj.render = Render(
ctx,... | O1 | cpp | ChangeButtonState(Context&, Rectangle, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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 $0xa8, %rsp
movq %rcx, %r12
movq %... | _Z17ChangeButtonStateR7Context9RectanglemNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0A8h
mov r12, rcx
mov r13, rdx
mov rbx, rsi
movaps [rsp+0D8h+var_58], xmm1
movaps [rsp+0D8h+var_48], xmm0
mov r14, rdi
... | long long ChangeButtonState(long long a1, long long a2, long long a3, long long a4, __m128 a5, __m128 a6)
{
double MousePosition; // xmm0_8
long long result; // rax
long long v10; // r15
long long v11; // rbp
long long v12; // r15
bool v13; // zf
long long v14; // r15
long long v15; // [rsp+8h] [rbp-D0... | ChangeButtonState:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0xa8
MOV R12,RCX
MOV R13,RDX
MOV RBX,RSI
MOVAPS xmmword ptr [RSP + 0x80],XMM1
MOVAPS xmmword ptr [RSP + 0x90],XMM0
MOV R14,RDI
CALL 0x0017bd8f
MOVAPS XMM1,xmmword ptr [RSP + 0x90]
MOVAPS XMM2,xmmword ptr [RSP + 0x80]
CALL 0x00183648
MOV R1... |
/* ChangeButtonState(Context&, Rectangle, unsigned long, std::__cxx11::string, std::__cxx11::string)
*/
void ChangeButtonState(int4 param_1_00,Render *param_2,long param_1,long param_4,long *param_5
,long *param_6)
{
string *psVar1;
char cVar2;
string *psVar3;
string *psVar4;
int4... | |
25,073 | ChangeButtonState(Context&, Rectangle, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | csit-sgu[P]mit-game-2025_1/user.cpp | void ChangeButtonState(
Context &ctx,
Rectangle btnCollider,
size_t btn_id,
std::string path1,
std::string path2
) {
if (IsMouseOnButton(btnCollider)) {
for (auto &obj : ctx.current_scene) {
if (obj.id == btn_id) {
obj.render = Render(
ctx,... | O2 | cpp | ChangeButtonState(Context&, Rectangle, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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 $0x98, %rsp
movq %rcx, 0x8(%rsp)
m... | _Z17ChangeButtonStateR7Context9RectanglemNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 98h
mov [rsp+0C8h+var_C0], rcx
mov [rsp+0C8h+var_C8], rdx
mov rbx, rsi
mov r14, rdi
movaps [rsp+0C8h+var_B8], xmm1
call ... | long long ChangeButtonState(long long a1, long long a2, _QWORD *a3, _QWORD *a4, double a5, __m128 a6)
{
long long result; // rax
long long v7; // r15
long long v8; // r12
_BYTE v11[16]; // [rsp+20h] [rbp-A8h] BYREF
_QWORD v12[4]; // [rsp+58h] [rbp-70h] BYREF
_QWORD v13[10]; // [rsp+78h] [rbp-50h] BYREF
... | ChangeButtonState:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x98
MOV qword ptr [RSP + 0x8],RCX
MOV qword ptr [RSP],RDX
MOV RBX,RSI
MOV R14,RDI
MOVAPS xmmword ptr [RSP + 0x10],XMM1
CALL 0x0010c9fa
MOV R15,qword ptr [R14 + 0x98]
MOV R12,qword ptr [R14 + 0xa0]
TEST AL,AL
JZ 0x0010caba
LEA R13,[RSP + 0... |
/* ChangeButtonState(Context&, Rectangle, unsigned long, std::__cxx11::string, std::__cxx11::string)
*/
void ChangeButtonState(int8 param_1_00,Render *param_2,long param_1,long param_4,
string *param_5,string *param_6)
{
long lVar1;
char cVar2;
long lVar3;
Render local_a8 [16];
st... | |
25,074 | wsrep_is_wsrep_xid | eloqsql/sql/wsrep_xid.cc | int wsrep_is_wsrep_xid(const void* xid_ptr)
{
const XID* xid= static_cast<const XID*>(xid_ptr);
return (xid->formatID == 1 &&
xid->bqual_length == 0 &&
xid->gtrid_length >= static_cast<long>(WSREP_XID_GTRID_LEN_V_1_2) &&
!memcmp(xid->data, WSR... | O0 | cpp | wsrep_is_wsrep_xid:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rcx
xorl %eax, %eax
cmpq $0x1, (%rcx)
movb %al, -0x11(%rbp)
jne 0xfc3a37
movq -0x10(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x10(%rcx)
movb %al, -0x11(%rbp)
jne 0xfc3a37
m... | wsrep_is_wsrep_xid:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_8], rdi
mov rax, [rbp+var_8]
mov [rbp+var_10], rax
mov rcx, [rbp+var_10]
xor eax, eax
cmp qword ptr [rcx], 1
mov [rbp+var_11], al
jnz loc_FC3A37
mov rcx, [rbp+var_10]
xor eax, eax
cmp qword ptr [rc... | long long wsrep_is_wsrep_xid(long long a1)
{
bool v2; // [rsp+Dh] [rbp-13h]
char v3; // [rsp+Eh] [rbp-12h]
char v4; // [rsp+Fh] [rbp-11h]
v4 = 0;
if ( *(_QWORD *)a1 == 1LL )
{
v4 = 0;
if ( !*(_QWORD *)(a1 + 16) )
{
v4 = 0;
if ( *(long long *)(a1 + 8) >= 32 )
{
v4 = 0;... | cmp_sec_link:
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]
MOV RAX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RAX + 0x60]
MOV RCX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RCX]
MOV RCX,qword ptr [RCX + 0x20]
CMP RAX,qword ptr ... |
uint cmp_sec_link(long *param_1,long *param_2)
{
uint local_1c;
if (*(ulong *)(*(long *)(*param_1 + 0x20) + 0x60) < *(ulong *)(*(long *)(*param_2 + 0x20) + 0x60))
{
local_1c = 0xffffffff;
}
else {
local_1c = (uint)(*(ulong *)(*(long *)(*param_2 + 0x20) + 0x60) <
*(ulong *)(*(... | |
25,075 | mi_kpos | eloqsql/storage/myisam/mi_search.c | my_off_t _mi_kpos(uint nod_flag, uchar *after_key)
{
after_key-=nod_flag;
switch (nod_flag) {
#if SIZEOF_OFF_T > 4
case 7:
return mi_uint7korr(after_key)*MI_MIN_KEY_BLOCK_LENGTH;
case 6:
return mi_uint6korr(after_key)*MI_MIN_KEY_BLOCK_LENGTH;
case 5:
return mi_uint5korr(after_key)*MI_MIN_KEY_BLOCK... | O3 | c | mi_kpos:
pushq %rbp
movq %rsp, %rbp
leal -0x1(%rdi), %eax
cmpl $0x6, %eax
ja 0x845bf
movl %edi, %ecx
negq %rcx
leaq 0x5d596(%rip), %rdx # 0xe1ae4
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movzbl (%rsi,%rcx), %eax
shll $0xa, %eax
jmp 0x84613
movl (%rsi,%rcx), %eax
movzbl 0x4(%rsi,%rcx), %ecx
shlq $0x38, ... | _mi_kpos:
push rbp
mov rbp, rsp
lea eax, [rdi-1]; switch 7 cases
cmp eax, 6
ja short def_84555; jumptable 0000000000084555 default case
mov ecx, edi
neg rcx
lea rdx, jpt_84555
movsxd rax, ds:(jpt_84555 - 0E1AE4h)[rdx+rax*4]
add rax, rdx
jmp rax; switch jump
loc_84557:
movzx ea... | unsigned long long mi_kpos(unsigned int a1, long long a2)
{
unsigned long long result; // rax
unsigned long long v3; // rcx
unsigned long long v4; // rax
unsigned long long v5; // rcx
unsigned long long v6; // rax
switch ( a1 )
{
case 1u:
return *(unsigned __int8 *)(a2 - a1) << 10;
case 2u... | _mi_kpos:
PUSH RBP
MOV RBP,RSP
LEA EAX,[RDI + -0x1]
CMP EAX,0x6
JA 0x001845bf
MOV ECX,EDI
NEG RCX
LEA RDX,[0x1e1ae4]
MOVSXD RAX,dword ptr [RDX + RAX*0x4]
ADD RAX,RDX
switchD:
JMP RAX
caseD_1:
MOVZX EAX,byte ptr [RSI + RCX*0x1]
SHL EAX,0xa
JMP 0x00184613
caseD_5:
MOV EAX,dword ptr [RSI + RCX*0x1]
MOVZX ECX,byte ptr [RSI... |
ulong _mi_kpos(uint param_1,long param_2)
{
ulong uVar1;
long lVar2;
ulong uVar3;
if (6 < param_1 - 1) {
return 0xffffffffffffffff;
}
lVar2 = -(ulong)param_1;
switch(param_1) {
case 1:
return (ulong)*(byte *)(param_2 + lVar2) << 10;
case 2:
return (ulong)((uint)*(byte *)(param_2 + 1 +... | |
25,076 | arena_alloc_aligned | tsotchke[P]eshkol/src/core/memory/arena.c | void* arena_alloc_aligned(Arena* arena, size_t size, size_t alignment) {
assert(arena != NULL);
// Add debug output for zero-sized allocations
if (size == 0) {
fprintf(stderr, "ERROR: Attempted to allocate 0 bytes in arena_alloc_aligned\n");
// Print stack trace if possible
void... | O1 | c | arena_alloc_aligned:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
testq %rdi, %rdi
je 0x402d
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testq %rsi, %rsi
je 0x401d
leaq -0x1(%rbx), %rax
movq %rbx, %rcx
xorq %rax, %rcx
cmpq %rax, %rcx
jbe 0x404c
movq (%r14), %rsi
movq %r14, %rdi
movq %r15, %rdx
movq %rbx, ... | arena_alloc_aligned:
push r15
push r14
push r13
push r12
push rbx
test rdi, rdi
jz loc_402D
mov rbx, rdx
mov r15, rsi
mov r14, rdi
test rsi, rsi
jz loc_401D
loc_3F65:
lea rax, [rbx-1]
mov rcx, rbx
xor rcx, rax
cmp rcx, rax
jbe loc_404C
mov rsi, [r14]
mo... | long long arena_alloc_aligned(_QWORD *a1, long long a2, unsigned long long a3)
{
long long v4; // r15
long long result; // rax
_QWORD *v6; // r12
unsigned long long v7; // r13
_QWORD *v8; // rax
if ( !a1 )
__assert_fail(
"arena != NULL",
"/workspace/llm4binary/github/2025_star3/tsotchke[P]... | arena_alloc_aligned:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
TEST RDI,RDI
JZ 0x0010402d
MOV RBX,RDX
MOV R15,RSI
MOV R14,RDI
TEST RSI,RSI
JZ 0x0010401d
LAB_00103f65:
LEA RAX,[RBX + -0x1]
MOV RCX,RBX
XOR RCX,RAX
CMP RCX,RAX
JBE 0x0010404c
MOV RSI,qword ptr [R14]
MOV RDI,R14
MOV RDX,R15
MOV RCX,RBX
CALL 0x0010408a
TE... |
long arena_alloc_aligned(int8 *param_1,long param_2,ulong param_3)
{
int8 *puVar1;
long lVar2;
ulong uVar3;
int8 *puVar4;
ulong uVar5;
if (param_1 == (int8 *)0x0) {
/* WARNING: Subroutine does not return */
__assert_fail("arena != NULL",
"/workspace/llm4binary/... | |
25,077 | find_where_to_split_row | eloqsql/storage/maria/ma_bitmap.c | static uint find_where_to_split_row(MARIA_SHARE *share, MARIA_ROW *row,
uint extents, uint split_size)
{
uint *lengths, *lengths_end;
/*
Ensure we have the minimum required space on head page:
- Header + length of field lengths (row->min_length)
- Number of extents
... | O0 | c | find_where_to_split_row:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl %ecx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x68(%rax), %rax
movl -0x14(%rbp), %esi
movl $0x3, %ecx
movl $0x1, %edx
cmpl $0xff, %esi
cmovbl %edx, %ecx
movslq %ecx, %rcx
addq %rcx, %rax
addq $0x... | find_where_to_split_row:
push rbp
mov rbp, rsp
mov [rbp+var_8], rdi
mov [rbp+var_10], rsi
mov [rbp+var_14], edx
mov [rbp+var_18], ecx
mov rax, [rbp+var_10]
mov rax, [rax+68h]
mov esi, [rbp+var_14]
mov ecx, 3
mov edx, 1
cmp esi, 0FFh
cmovb ecx, edx
movsxd rcx, ecx
add ... | long long find_where_to_split_row(unsigned int *a1, long long a2, unsigned int a3, unsigned int a4)
{
int v4; // ecx
unsigned int v6; // [rsp+0h] [rbp-2Ch]
_DWORD *i; // [rsp+Ch] [rbp-20h]
v4 = 3;
if ( a3 < 0xFF )
v4 = 1;
v6 = v4 + *(_QWORD *)(a2 + 104) + 7;
*(_DWORD *)(*(_QWORD *)(a2 + 88) - 12LL) ... | find_where_to_split_row:
PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV dword ptr [RBP + -0x18],ECX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x68]
MOV ESI,dword ptr [RBP + -0x14]
MOV ECX,0x3
MOV EDX,0x1
CMP ESI,0xff
CMOVC ECX,EDX
M... |
int find_where_to_split_row(long param_1,long param_2,uint param_3,uint param_4)
{
int8 uVar1;
int *piVar2;
int iVar3;
int local_34;
int *local_28;
uVar1 = *(int8 *)(param_2 + 0x68);
iVar3 = 3;
if (param_3 < 0xff) {
iVar3 = 1;
}
*(uint *)(*(long *)(param_2 + 0x58) + -0xc) = param_3 * 7;
*... | |
25,078 | js_free_module_def | bluesky950520[P]quickjs/quickjs.c | static void js_free_module_def(JSContext *ctx, JSModuleDef *m)
{
int i;
JS_FreeAtom(ctx, m->module_name);
for(i = 0; i < m->req_module_entries_count; i++) {
JSReqModuleEntry *rme = &m->req_module_entries[i];
JS_FreeAtom(ctx, rme->module_name);
}
js_free(ctx, m->req_module_entries);... | O1 | c | js_free_module_def:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x4(%rsi), %esi
callq 0x1fbc4
cmpl $0x0, 0x20(%rbx)
jle 0x3aacf
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x18(%rbx), %rax
movl (%rax,%r15), %esi
movq %r14, %rdi
callq 0x1fbc4
incq %r12
movslq 0x20(%rbx), %rax... | js_free_module_def:
push r15
push r14
push r13
push r12
push rbx
mov rbx, rsi
mov r14, rdi
mov esi, [rsi+4]
call JS_FreeAtom
cmp dword ptr [rbx+20h], 0
jle short loc_3AACF
xor r15d, r15d
xor r12d, r12d
loc_3AAAF:
mov rax, [rbx+18h]
mov esi, [rax+r15]
mov rdi, r1... | long long js_free_module_def(long long a1, long long a2)
{
long long v2; // r15
long long v3; // r12
long long v4; // r15
long long v5; // r12
long long v6; // r13
long long v7; // r15
long long v8; // r12
long long v9; // rax
_QWORD *v10; // rcx
JS_FreeAtom(a1, *(_DWORD *)(a2 + 4));
if ( *(int ... | js_free_module_def:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
MOV ESI,dword ptr [RSI + 0x4]
CALL 0x0011fbc4
CMP dword ptr [RBX + 0x20],0x0
JLE 0x0013aacf
XOR R15D,R15D
XOR R12D,R12D
LAB_0013aaaf:
MOV RAX,qword ptr [RBX + 0x18]
MOV ESI,dword ptr [RAX + R15*0x1]
MOV RDI,R14
CALL 0x0011fbc4
INC ... |
void js_free_module_def(long param_1,long param_2)
{
long lVar1;
long *plVar2;
long lVar3;
long lVar4;
JS_FreeAtom(param_1,*(int4 *)(param_2 + 4));
if (0 < *(int *)(param_2 + 0x20)) {
lVar4 = 0;
lVar3 = 0;
do {
JS_FreeAtom(param_1,*(int4 *)(*(long *)(param_2 + 0x18) + lVar4));
l... | |
25,079 | js_free_module_def | bluesky950520[P]quickjs/quickjs.c | static void js_free_module_def(JSContext *ctx, JSModuleDef *m)
{
int i;
JS_FreeAtom(ctx, m->module_name);
for(i = 0; i < m->req_module_entries_count; i++) {
JSReqModuleEntry *rme = &m->req_module_entries[i];
JS_FreeAtom(ctx, rme->module_name);
}
js_free(ctx, m->req_module_entries);... | O3 | c | js_free_module_def:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x4(%rsi), %esi
callq 0x202f5
cmpl $0x0, 0x20(%rbx)
jle 0x3c0be
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x18(%rbx), %rax
movl (%rax,%r15), %esi
movq %r14, %rdi
callq 0x202f5
incq %r12
movslq 0x20(%rbx), %rax... | js_free_module_def:
push r15
push r14
push r13
push r12
push rbx
mov rbx, rsi
mov r14, rdi
mov esi, [rsi+4]
call JS_FreeAtom
cmp dword ptr [rbx+20h], 0
jle short loc_3C0BE
xor r15d, r15d
xor r12d, r12d
loc_3C09E:
mov rax, [rbx+18h]
mov esi, [rax+r15]
mov rdi, r1... | long long js_free_module_def(long long a1, long long a2)
{
long long v4; // r15
long long v5; // r12
long long v6; // rdx
long long v7; // rcx
long long v8; // r8
long long v9; // r9
long long v10; // r15
long long v11; // r12
long long v12; // r13
long long v13; // r15
long long v14; // r12
lo... | js_free_module_def:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
MOV RBX,RSI
MOV R14,RDI
MOV ESI,dword ptr [RSI + 0x4]
CALL 0x001202f5
CMP dword ptr [RBX + 0x20],0x0
JLE 0x0013c0be
XOR R15D,R15D
XOR R12D,R12D
LAB_0013c09e:
MOV RAX,qword ptr [RBX + 0x18]
MOV ESI,dword ptr [RAX + R15*0x1]
MOV RDI,R14
CALL 0x001202f5
INC ... |
void js_free_module_def(long param_1,long param_2)
{
int iVar1;
long lVar2;
long *plVar3;
int8 uVar4;
long lVar5;
long lVar6;
JS_FreeAtom(param_1,*(int4 *)(param_2 + 4));
if (0 < *(int *)(param_2 + 0x20)) {
lVar6 = 0;
lVar5 = 0;
do {
JS_FreeAtom(param_1,*(int4 *)(*(long *)(param_2... | |
25,080 | my_numchars_utf16 | eloqsql/strings/ctype-ucs2.c | static size_t
my_numchars_utf16(CHARSET_INFO *cs,
const char *b, const char *e)
{
size_t nchars= 0;
for ( ; ; nchars++)
{
size_t charlen= my_ismbchar(cs, b, e);
if (!charlen)
break;
b+= charlen;
}
return nchars;
} | O3 | c | my_numchars_utf16:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0xb8(%rdi), %rax
callq *0xc0(%rax)
xorl %r12d, %r12d
cmpl $0x2, %eax
jl 0xc2f1e
movl %eax, %eax
addq %rax, %r14
incq %r12
movq 0xb8(%r15), %rax
movq %r15, %rdi
movq %r14, %rsi
m... | my_numchars_utf16:
push rbp
mov rbp, rsp
push r15
push r14
push r12
push rbx
mov rbx, rdx
mov r14, rsi
mov r15, rdi
mov rax, [rdi+0B8h]
call qword ptr [rax+0C0h]
xor r12d, r12d
cmp eax, 2
jl short loc_C2F1E
loc_C2EFB:
mov eax, eax
add r14, rax
inc r12
mov ... | long long my_numchars_utf16(long long a1, long long a2, long long a3)
{
int v5; // eax
long long v6; // r12
v5 = (*(long long (**)(void))(*(_QWORD *)(a1 + 184) + 192LL))();
v6 = 0LL;
if ( v5 >= 2 )
{
do
{
a2 += (unsigned int)v5;
++v6;
v5 = (*(long long ( **)(long long, long long,... | my_numchars_utf16:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV RBX,RDX
MOV R14,RSI
MOV R15,RDI
MOV RAX,qword ptr [RDI + 0xb8]
CALL qword ptr [RAX + 0xc0]
XOR R12D,R12D
CMP EAX,0x2
JL 0x001c2f1e
LAB_001c2efb:
MOV EAX,EAX
ADD R14,RAX
INC R12
MOV RAX,qword ptr [R15 + 0xb8]
MOV RDI,R15
MOV RSI,R14
MOV RDX,... |
long my_numchars_utf16(long param_1,long param_2,int8 param_3)
{
uint uVar1;
long lVar2;
uVar1 = (**(code **)(*(long *)(param_1 + 0xb8) + 0xc0))();
lVar2 = 0;
while (1 < (int)uVar1) {
param_2 = param_2 + (ulong)uVar1;
lVar2 = lVar2 + 1;
uVar1 = (**(code **)(*(long *)(param_1 + 0xb8) + 0xc0))(... | |
25,081 | ft_boolean_find_relevance | eloqsql/storage/myisam/ft_boolean_search.c | float ft_boolean_find_relevance(FT_INFO *ftb, uchar *record, uint length)
{
FTB_EXPR *ftbe;
FT_SEG_ITERATOR ftsi, ftsi2;
my_off_t docid=ftb->info->lastpos;
MY_FTB_FIND_PARAM ftb_param;
MYSQL_FTPARSER_PARAM *param;
struct st_mysql_ftparser *parser= ftb->keynr == NO_SUCH_KEY ?
... | O3 | c | ft_boolean_find_relevance:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movq 0x170(%rdi), %r13
movl 0x340(%rbx), %esi
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmpq %rax, %rsi
je 0x2d50f
movq (%rdi), %rax
mo... | ft_boolean_find_relevance:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov r15, rsi
mov rbx, rdi
mov rdi, [rdi+8]
mov r13, [rdi+170h]
mov esi, [rbx+340h]
mov eax, 0FFFFFFFFh
cmp rsi, rax
jz short loc_2D50F
mov rax, [rdi]
... | double ft_boolean_find_relevance(long long a1, long long a2, unsigned int a3)
{
_QWORD *v5; // rdi
unsigned long long v6; // r13
long long v7; // rsi
unsigned int ( **v8)(_QWORD); // r12
double result; // xmm0_8
long long v10; // rax
long long v11; // r14
unsigned long long v12; // rax
_QWORD *i; // ... | ft_boolean_find_relevance:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV R15,RSI
MOV RBX,RDI
MOV RDI,qword ptr [RDI + 0x8]
MOV R13,qword ptr [RDI + 0x170]
MOV ESI,dword ptr [RBX + 0x340]
MOV EAX,0xffffffff
CMP RSI,RAX
JZ 0x0012d50f
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x... |
float ft_boolean_find_relevance(long param_1,int8 param_2,int4 param_3)
{
ulong uVar1;
long lVar2;
int iVar3;
int8 *puVar4;
ulong uVar5;
long *plVar6;
int1 *puVar7;
float fVar8;
int4 local_88;
int4 uStack_84;
int4 uStack_80;
int4 uStack_7c;
int4 local_78;
int4 uStack_74;
int4 uStack_70;
... | |
25,082 | mj_jac | aimrt_mujoco_sim/_deps/mujoco-src/src/engine/engine_support.c | void mj_jac(const mjModel* m, const mjData* d,
mjtNum* jacp, mjtNum* jacr, const mjtNum point[3], int body) {
int da, nv = m->nv;
mjtNum offset[3], tmp[3], *cdof = d->cdof;
// clear jacobians
if (jacp) {
mju_zero(jacp, 3*nv);
}
if (jacr) {
mju_zero(jacr, 3*nv);
}
// compute point-c... | O3 | c | mj_jac:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r9d, %ebp
movq %r8, 0x10(%rsp)
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movl 0x4(%rdi), %eax
movq %rax, (%rsp)
movq %rsi, %r13
movq 0x27880(%rsi), %rax
movq %rax, 0x8(%rsp)
testq %rdx, %rdx
je 0x97d90
movq (%rsp), %r... | mj_jac:
push rbp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 58h
mov ebp, r9d
mov [rsp+88h+var_78], r8
mov rbx, rcx
mov r14, rdx
mov r15, rdi
mov eax, [rdi+4]
mov [rsp+88h+var_88], rax
mov r13, rsi
mov rax, [rsi+27880h]
mov [rsp+88h+var_80], rax
te... | void mj_jac(
long long a1,
long long a2,
long long a3,
long long a4,
long long a5,
int a6,
double a7,
double a8,
double a9,
double a10,
double a11,
double a12,
double a13)
{
int v17; // esi
int v18; // r12d
in... | mj_jac:
PUSH RBP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x58
MOV EBP,R9D
MOV qword ptr [RSP + 0x10],R8
MOV RBX,RCX
MOV R14,RDX
MOV R15,RDI
MOV EAX,dword ptr [RDI + 0x4]
MOV qword ptr [RSP],RAX
MOV R13,RSI
MOV RAX,qword ptr [RSI + 0x27880]
MOV qword ptr [RSP + 0x8],RAX
TEST RDX,RDX
JZ 0x00197d90
MOV RAX,qw... |
void mj_jac(long param_1,long param_2,long param_3,long param_4,int8 param_5,int param_6)
{
int iVar1;
int iVar2;
long lVar3;
ulong uVar4;
long lVar5;
uint uVar6;
double local_68;
double local_60;
double local_58;
int1 local_48 [24];
ulong uVar7;
iVar1 = *(int *)(param_1 + 4);
lVar3 = *(l... | |
25,083 | Balloc | eloqsql/strings/dtoa.c | static Bigint *Balloc(int k, Stack_alloc *alloc)
{
Bigint *rv;
DBUG_ASSERT(k <= Kmax);
if (k <= Kmax && alloc->freelist[k])
{
rv= alloc->freelist[k];
alloc->freelist[k]= rv->p.next;
}
else
{
int x, len;
x= 1 << k;
len= MY_ALIGN(sizeof(Bigint) + x * sizeof(ULong), SIZEOF_CHARP);
... | O0 | c | Balloc:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
jmp 0xd4501
cmpl $0xf, -0x4(%rbp)
jg 0xd4541
movq -0x10(%rbp), %rax
movslq -0x4(%rbp), %rcx
cmpq $0x0, 0x18(%rax,%rcx,8)
je 0xd4541
movq -0x10(%rbp), %rax
movslq -0x4(%rbp), %rcx
movq 0x18(%rax,%rcx,8), %rax
movq %rax, -0x1... | Balloc:
push rbp
mov rbp, rsp
sub rsp, 20h
mov [rbp+var_4], edi
mov [rbp+var_10], rsi
jmp short $+2
loc_D4501:
cmp [rbp+var_4], 0Fh
jg short loc_D4541
mov rax, [rbp+var_10]
movsxd rcx, [rbp+var_4]
cmp qword ptr [rax+rcx*8+18h], 0
jz short loc_D4541
mov rax, [rbp+var_10]... | long long Balloc(int a1, long long a2)
{
signed int v3; // [rsp+0h] [rbp-20h]
long long v4; // [rsp+8h] [rbp-18h]
if ( a1 <= 15 && *(_QWORD *)(a2 + 8LL * a1 + 24) )
{
v4 = *(_QWORD *)(a2 + 8LL * a1 + 24);
*(_QWORD *)(a2 + 8LL * a1 + 24) = *(_QWORD *)v4;
}
else
{
v3 = (4 * (1 << a1) + 31) & 0... | Balloc:
PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
JMP 0x001d4501
LAB_001d4501:
CMP dword ptr [RBP + -0x4],0xf
JG 0x001d4541
MOV RAX,qword ptr [RBP + -0x10]
MOVSXD RCX,dword ptr [RBP + -0x4]
CMP qword ptr [RAX + RCX*0x8 + 0x18],0x0
JZ 0x001d4541
MOV RAX,qword ptr [R... |
int8 * Balloc(int param_1,long param_2)
{
int iVar1;
uint uVar2;
int8 *local_20;
if ((param_1 < 0x10) && (*(long *)(param_2 + 0x18 + (long)param_1 * 8) != 0)) {
local_20 = *(int8 **)(param_2 + 0x18 + (long)param_1 * 8);
*(int8 *)(param_2 + 0x18 + (long)param_1 * 8) = *local_20;
}
else {
iVa... | |
25,084 | JS_StringToBigInt | bluesky950520[P]quickjs/quickjs.c | static JSValue JS_StringToBigInt(JSContext *ctx, JSValue val)
{
const char *str;
size_t len;
int flags;
str = JS_ToCStringLen(ctx, &len, val);
JS_FreeValue(ctx, val);
if (!str)
return JS_EXCEPTION;
flags = ATOD_WANT_BIG_INT |
ATOD_TRIM_SPACES | ATOD_ACCEPT_EMPTY |
AT... | O1 | c | JS_StringToBigInt:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r15
leaq 0x8(%rsp), %rsi
xorl %ebx, %ebx
movq %r13, %rdx
movq %r12, %rcx
xorl %r8d, %r8d
callq 0x20bf7
movq %rax, %r14
movq 0x18(%r15), %rdi
movq %r13, %rsi
movq %r12, %rdx
callq 0x1d8c... | JS_StringToBigInt:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 10h
mov r12, rdx
mov r13, rsi
mov r15, rdi
lea rsi, [rsp+38h+var_30]
xor ebx, ebx
mov rdx, r13
mov rcx, r12
xor r8d, r8d
call JS_ToCStringLen2
mov r14, rax
mov rdi, [r15+18h]
mov rs... | long long JS_StringToBigInt(long long a1, _DWORD *a2, long long a3)
{
long long v4; // rbx
long long v5; // r14
long long v6; // rdi
int v7; // eax
long long v9[6]; // [rsp+8h] [rbp-30h] BYREF
v4 = 0LL;
v5 = JS_ToCStringLen2(a1, v9, (long long)a2, a3, 0);
JS_FreeValueRT(*(_QWORD *)(a1 + 24), a2, a3);
... | JS_StringToBigInt:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV R12,RDX
MOV R13,RSI
MOV R15,RDI
LEA RSI,[RSP + 0x8]
XOR EBX,EBX
MOV RDX,R13
MOV RCX,R12
XOR R8D,R8D
CALL 0x00120bf7
MOV R14,RAX
MOV RDI,qword ptr [R15 + 0x18]
MOV RSI,R13
MOV RDX,R12
CALL 0x0011d8c6
TEST R14,R14
JZ 0x0013e5f4
MOV RDX,qword... |
int1 [16] JS_StringToBigInt(long param_1,int8 param_2,int8 param_3)
{
int iVar1;
int8 uVar2;
long lVar3;
int1 auVar4 [16];
int8 local_30;
lVar3 = JS_ToCStringLen2(param_1,&local_30,param_2,param_3,0);
JS_FreeValueRT(*(int8 *)(param_1 + 0x18),param_2,param_3);
if (lVar3 == 0) {
auVar4 = ZEXT816... | |
25,085 | JS_StringToBigInt | bluesky950520[P]quickjs/quickjs.c | static JSValue JS_StringToBigInt(JSContext *ctx, JSValue val)
{
const char *str;
size_t len;
int flags;
str = JS_ToCStringLen(ctx, &len, val);
JS_FreeValue(ctx, val);
if (!str)
return JS_EXCEPTION;
flags = ATOD_WANT_BIG_INT |
ATOD_TRIM_SPACES | ATOD_ACCEPT_EMPTY |
AT... | O2 | c | JS_StringToBigInt:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rsp, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x36bee
movq %rax, %r14
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x1801e
testq %r14, %r14
je 0x36bd5
movq (%rsp), %rdx
pushq $0xa
p... | JS_StringToBigInt:
push r15
push r14
push r12
push rbx
push rax
mov r15, rdx
mov r12, rsi
mov rbx, rdi
mov rsi, rsp
mov rdx, r12
mov rcx, r15
call JS_ToCStringLen_0
mov r14, rax
mov rdi, rbx
mov rsi, r12
mov rdx, r15
call JS_FreeValue
test r14, r14
jz ... | long long JS_StringToBigInt(long long a1, long long a2, long long a3)
{
long long v3; // rax
long long v5; // r14
long long v6; // r12
_QWORD v8[5]; // [rsp+0h] [rbp-28h] BYREF
v8[0] = v3;
v5 = JS_ToCStringLen_0(a1, v8, a2, a3);
JS_FreeValue(a1, a2, a3);
if ( !v5 )
return 0LL;
v6 = js_atof(a1, v... | JS_StringToBigInt:
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
PUSH RAX
MOV R15,RDX
MOV R12,RSI
MOV RBX,RDI
MOV RSI,RSP
MOV RDX,R12
MOV RCX,R15
CALL 0x00136bee
MOV R14,RAX
MOV RDI,RBX
MOV RSI,R12
MOV RDX,R15
CALL 0x0011801e
TEST R14,R14
JZ 0x00136bd5
MOV RDX,qword ptr [RSP]
PUSH 0xa
POP R8
MOV RDI,RBX
MOV RSI,R14
XOR ECX,ECX
M... |
int1 [16] JS_StringToBigInt(int8 param_1,int8 param_2,int8 param_3)
{
int8 in_RAX;
long lVar1;
int1 auVar2 [16];
int8 local_28;
local_28 = in_RAX;
lVar1 = JS_ToCStringLen(param_1,&local_28,param_2,param_3);
JS_FreeValue(param_1,param_2,param_3);
if (lVar1 == 0) {
auVar2 = ZEXT816(6) << 0x40;
... | |
25,086 | ulight::highlight(ulight::Non_Owning_Buffer<ulight_token>&, std::basic_string_view<char8_t, std::char_traits<char8_t>>, ulight::Lang, std::pmr::memory_resource*, ulight::Highlight_Options const&) | ulight/include/ulight/impl/highlight.hpp | inline Status highlight(
Non_Owning_Buffer<Token>& out,
std::u8string_view source,
Lang language,
std::pmr::memory_resource* memory,
const Highlight_Options& options = {}
)
{
constexpr auto to_result = [](bool success) -> Status {
if (success) {
return Status::ok;
}
... | O0 | cpp | ulight::highlight(ulight::Non_Owning_Buffer<ulight_token>&, std::basic_string_view<char8_t, std::char_traits<char8_t>>, ulight::Lang, std::pmr::memory_resource*, ulight::Highlight_Options const&):
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movb %cl, %al
movq %rsi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x20(%r... | _ZN6ulight9highlightERNS_17Non_Owning_BufferI12ulight_tokenEESt17basic_string_viewIDuSt11char_traitsIDuEENS_4LangEPNSt3pmr15memory_resourceERKNS_17Highlight_OptionsE:
push rbp
mov rbp, rsp
sub rsp, 0B0h
mov al, cl
mov [rbp+var_18], rsi
mov [rbp+var_10], rdx
mov [rbp+var_20], rdi
mov [rbp+... | char ulight::highlight(long long a1, long long a2, long long a3, char a4, long long a5, long long a6)
{
char v6; // al
char v7; // al
char v8; // al
char v9; // al
char v10; // al
char v11; // al
char v13; // [rsp+77h] [rbp-39h] BYREF
long long v14; // [rsp+78h] [rbp-38h]
long long v15; // [rsp+80h] ... | highlight:
PUSH RBP
MOV RBP,RSP
SUB RSP,0xb0
MOV AL,CL
MOV qword ptr [RBP + -0x18],RSI
MOV qword ptr [RBP + -0x10],RDX
MOV qword ptr [RBP + -0x20],RDI
MOV byte ptr [RBP + -0x21],AL
MOV qword ptr [RBP + -0x30],R8
MOV qword ptr [RBP + -0x38],R9
MOV byte ptr [RBP + -0x39],0x0
MOV AL,byte ptr [RBP + -0x21]
DEC AL
MOVZX ECX... |
/* ulight::highlight(ulight::Non_Owning_Buffer<ulight_token>&, std::basic_string_view<char8_t,
std::char_traits<char8_t> >, ulight::Lang, std::pmr::memory_resource*, ulight::Highlight_Options
const&) */
int8 __thiscall
ulight::highlight(ulight *this,int8 param_1,int8 param_3,int1 param_4,
int8 ... | |
25,087 | parse_connection_string | eloqsql/libmariadb/libmariadb/mariadb_lib.c | static int parse_connection_string(MYSQL *mysql, const char *unused __attribute__((unused)),
const char *conn_str, ssize_t len)
{
char *conn_save,
*end, *pos,
*key= NULL, *val= NULL;
my_bool in_curly_brace= 0;
if (len == -1)
len= strlen(conn_str);
/* don't ... | O0 | c | parse_connection_string:
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 $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movb $0x0, -0x51(%rbp)
cmpq $-0x1, -0x28(%rbp)
jne 0x17ea0
movq -0x20(%rbp), %rdi
callq 0x131a0
movq %rax, -0x28(... | parse_connection_string:
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 [rbp+var_48], 0
mov [rbp+var_50], 0
mov [rbp+var_51], 0
cmp [rbp+var_28], 0FFFFFFFFFFFFFFFFh
jnz short loc_17EA0
mov ... | long long parse_connection_string(long long a1, long long a2, long long a3, long long a4)
{
char *v4; // rax
char *v5; // rax
char *v6; // rax
int v8; // [rsp+8h] [rbp-58h]
char v9; // [rsp+Fh] [rbp-51h]
char *v10; // [rsp+10h] [rbp-50h]
char *v11; // [rsp+18h] [rbp-48h]
char *v12; // [rsp+20h] [rbp-40... | parse_connection_string:
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 qword ptr [RBP + -0x48],0x0
MOV qword ptr [RBP + -0x50],0x0
MOV byte ptr [RBP + -0x51],0x0
CMP qword ptr [RBP + -0x28],-0x1
JNZ 0... |
int4
parse_connection_string(int8 param_1,int8 param_2,char *param_3,size_t param_4)
{
char cVar1;
bool bVar2;
int iVar3;
char *__dest;
ushort **ppuVar4;
char *pcVar5;
char *local_58;
char *local_50;
char *local_48;
char *local_40;
size_t local_30;
local_50 = (char *)0x0;
local_58 = (char... | |
25,088 | testing::internal::FormatCxxExceptionMessage[abi:cxx11](char const*, char const*) | giladroyz[P]FindPeaks/build_O3/_deps/googletest-src/googletest/src/gtest.cc | static std::string FormatCxxExceptionMessage(const char* description,
const char* location) {
Message message;
if (description != nullptr) {
message << "C++ exception with description \"" << description << "\"";
} else {
message << "Unknown C++ exception";
}
... | O3 | cpp | testing::internal::FormatCxxExceptionMessage[abi:cxx11](char const*, char const*):
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x1c968
movq (%rbx), %rbx
leaq 0x10(%rbx), %r15
testq %r13, %r13
je 0x308e... | _ZN7testing8internalL25FormatCxxExceptionMessageB5cxx11EPKcS2_:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 10h
mov r12, rdx
mov r13, rsi
mov r14, rdi
lea rbx, [rsp+38h+var_30]
mov rdi, rbx; this
call _ZN7testing7MessageC2Ev; testing::Message::Message(void)
mov rb... | long long testing::internal::FormatCxxExceptionMessage[abi:cxx11](long long a1, long long a2, const char *a3)
{
long long v4; // rbx
long long v5; // rax
long long v6; // rdx
char *v7; // rsi
long long v8; // rdx
long long result; // rax
long long v10[6]; // [rsp+8h] [rbp-30h] BYREF
testing::Message::... | FormatCxxExceptionMessage[abi:cxx11]:
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x10
MOV R12,RDX
MOV R13,RSI
MOV R14,RDI
LEA RBX,[RSP + 0x8]
MOV RDI,RBX
CALL 0x0011c968
MOV RBX,qword ptr [RBX]
LEA R15,[RBX + 0x10]
TEST R13,R13
JZ 0x001308ee
LAB_001308b6:
LEA RSI,[0x1447e5]
MOV EDX,0x20
MOV RDI,R15
CALL 0x001... |
/* testing::internal::FormatCxxExceptionMessage[abi:cxx11](char const*, char const*) */
void __thiscall
testing::internal::FormatCxxExceptionMessage_abi_cxx11_(internal *this,char *param_1,char *param_2)
{
ostream *poVar1;
size_t sVar2;
long lVar3;
char *pcVar4;
long *local_30;
Message::Message((Messa... | |
25,089 | aimrt::executor::ExecutorRef::SupportTimerSchedule() const | aimrt_mujoco_sim/_deps/aimrt-src/src/interface/aimrt_module_cpp_interface/../aimrt_module_cpp_interface/executor/executor.h | bool SupportTimerSchedule() const {
AIMRT_ASSERT(base_ptr_, "Reference is null.");
return base_ptr_->is_support_timer_schedule(base_ptr_->impl);
} | O3 | c | aimrt::executor::ExecutorRef::SupportTimerSchedule() const:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq (%rdi), %rax
testq %rax, %rax
je 0xc1ca7
movq 0x40(%rax), %rdi
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
jmpq *0x20(%rax)
movl $0x28, %edi
callq 0x80f20
movq %rax, %rbx
leaq 0x12edec(%rip), %rsi # ... | _ZNK5aimrt8executor11ExecutorRef20SupportTimerScheduleEv:
push r15
push r14
push rbx
sub rsp, 30h
mov rax, [rdi]
test rax, rax
jz short loc_C1CA7
mov rdi, [rax+40h]
add rsp, 30h
pop rbx
pop r14
pop r15
jmp qword ptr [rax+20h]
loc_C1CA7:
mov edi, 28h ; '('; thrown_siz... | long long aimrt::executor::ExecutorRef::SupportTimerSchedule(aimrt::executor::ExecutorRef *this)
{
char *exception; // rbx
void *v3; // [rsp+0h] [rbp-48h] BYREF
long long v4; // [rsp+8h] [rbp-40h]
__int128 v5; // [rsp+10h] [rbp-38h] BYREF
int v6[10]; // [rsp+20h] [rbp-28h] BYREF
if ( !*(_QWORD *)this )
... | SupportTimerSchedule:
PUSH R15
PUSH R14
PUSH RBX
SUB RSP,0x30
MOV RAX,qword ptr [RDI]
TEST RAX,RAX
JZ 0x001c1ca7
MOV RDI,qword ptr [RAX + 0x40]
ADD RSP,0x30
POP RBX
POP R14
POP R15
JMP qword ptr [RAX + 0x20]
LAB_001c1ca7:
MOV EDI,0x28
CALL 0x00180f20
MOV RBX,RAX
LAB_001c1cb4:
LEA RSI,[0x2f0aa7]
MOV RDI,RSP
LEA R8,[RSP ... |
/* aimrt::executor::ExecutorRef::SupportTimerSchedule() const */
void __thiscall aimrt::executor::ExecutorRef::SupportTimerSchedule(ExecutorRef *this)
{
long lVar1;
int8 *puVar2;
uint *local_48;
int8 local_40;
uint local_38;
int4 uStack_34;
int4 uStack_30;
int4 uStack_2c;
int1 local_28 [16];
l... | |
25,090 | LefDefParser::defwEndScanchain() | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/def/def/defwWriter.cpp | int
defwEndScanchain()
{
defwFunc = DEFW_SCANCHAIN_END; // Current function of writer
if (!defwFile)
return DEFW_UNINITIALIZED;
if (defwState != DEFW_SCANCHAIN_START && defwState != DEFW_SCAN_ORDERED &&
defwState != DEFW_SCAN_FLOATING && defwState != DEFW_SCANCHAIN)
return DEFW_BAD... | O0 | cpp | LefDefParser::defwEndScanchain():
pushq %rax
leaq 0xdd50(%rip), %rax # 0x2b168
movl $0x47, (%rax)
leaq 0xdd33(%rip), %rax # 0x2b158
cmpq $0x0, (%rax)
jne 0x1d438
movl $0x1, 0x4(%rsp)
jmp 0x1d509
leaq 0xdd25(%rip), %rax # 0x2b164
cmpl $0x43, (%rax)
je 0x1d475
leaq 0xdd19(%rip), %rax # 0x2b164
cmpl $0... | _ZN12LefDefParser16defwEndScanchainEv:
push rax
lea rax, _ZN12LefDefParser8defwFuncE; LefDefParser::defwFunc
mov dword ptr [rax], 47h ; 'G'
lea rax, _ZN12LefDefParser8defwFileE; LefDefParser::defwFile
cmp qword ptr [rax], 0
jnz short loc_1D438
mov [rsp+8+var_4], 1
jmp loc_1D509
loc_1D438:... | long long LefDefParser::defwEndScanchain(LefDefParser *this)
{
LefDefParser::defwFunc = 71;
if ( LefDefParser::defwFile )
{
if ( LefDefParser::defwState == 67
|| LefDefParser::defwState == 70
|| LefDefParser::defwState == 69
|| LefDefParser::defwState == 68 )
{
if ( LefDefParser::... | defwEndScanchain:
PUSH RAX
LEA RAX,[0x12b168]
MOV dword ptr [RAX],0x47
LEA RAX,[0x12b158]
CMP qword ptr [RAX],0x0
JNZ 0x0011d438
MOV dword ptr [RSP + 0x4],0x1
JMP 0x0011d509
LAB_0011d438:
LEA RAX,[0x12b164]
CMP dword ptr [RAX],0x43
JZ 0x0011d475
LEA RAX,[0x12b164]
CMP dword ptr [RAX],0x46
JZ 0x0011d475
LEA RAX,[0x12b16... |
/* LefDefParser::defwEndScanchain() */
int4 LefDefParser::defwEndScanchain(void)
{
int4 local_4;
defwFunc = 0x47;
if (defwFile == (FILE *)0x0) {
local_4 = 1;
}
else if ((((defwState == 0x43) || (defwState == 0x46)) || (defwState == 0x45)) ||
(defwState == 0x44)) {
if (defwState != 0x43... | |
25,091 | my_b_safe_write | eloqsql/mysys/mf_iocache.c | int my_b_safe_write(IO_CACHE *info, const uchar *Buffer, size_t Count)
{
/*
Sasha: We are not writing this with the ? operator to avoid hitting
a possible compiler bug. At least gcc 2.95 cannot deal with
several layers of ternary operators that evaluated comma(,) operator
expressions inside - I do ha... | O3 | c | my_b_safe_write:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
cmpl $0x3, 0xb0(%rdi)
jne 0x9625a
movq %r14, %rdi
movq %rbx, %rdx
popq %rbx
popq %r14
popq %rbp
jmp 0x96002
movq 0x40(%r14), %rdi
leaq (%rdi,%rbx), %rax
cmpq 0x48(%r14), %rax
jbe 0x96277
movq %r14, %rdi
movq %rbx, %rdx
pop... | my_b_safe_write:
push rbp
mov rbp, rsp
push r14
push rbx
mov rbx, rdx
mov r14, rdi
cmp dword ptr [rdi+0B0h], 3
jnz short loc_9625A
mov rdi, r14
mov rdx, rbx
pop rbx
pop r14
pop rbp
jmp my_b_append
loc_9625A:
mov rdi, [r14+40h]
lea rax, [rdi+rbx]
cmp rax, ... | long long my_b_safe_write(long long a1, const char *a2, unsigned long long a3)
{
long long v6; // rdi
if ( *(_DWORD *)(a1 + 176) == 3 )
return my_b_append(a1, (long long)a2, a3);
v6 = *(_QWORD *)(a1 + 64);
if ( v6 + a3 > *(_QWORD *)(a1 + 72) )
return my_b_write(a1, a2, a3);
if ( a3 )
{
memcpy(... | my_b_safe_write:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RBX,RDX
MOV R14,RDI
CMP dword ptr [RDI + 0xb0],0x3
JNZ 0x0019625a
MOV RDI,R14
MOV RDX,RBX
POP RBX
POP R14
POP RBP
JMP 0x00196002
LAB_0019625a:
MOV RDI,qword ptr [R14 + 0x40]
LEA RAX,[RDI + RBX*0x1]
CMP RAX,qword ptr [R14 + 0x48]
JBE 0x00196277
MOV RDI,R14
MOV ... |
int8 my_b_safe_write(long param_1,void *param_2,size_t param_3)
{
int8 uVar1;
if (*(int *)(param_1 + 0xb0) == 3) {
uVar1 = my_b_append(param_1,param_2,param_3);
return uVar1;
}
if (*(ulong *)(param_1 + 0x48) < (long)*(void **)(param_1 + 0x40) + param_3) {
uVar1 = _my_b_write(param_1,param_2,par... | |
25,092 | ma_field_extension_deep_dup | eloqsql/libmariadb/libmariadb/mariadb_lib.c | MA_FIELD_EXTENSION *ma_field_extension_deep_dup(MA_MEM_ROOT *memroot,
const MA_FIELD_EXTENSION *from)
{
MA_FIELD_EXTENSION *ext= new_ma_field_extension(memroot);
uint i;
if (!ext)
return NULL;
for (i= 0; i < MARIADB_FIELD_ATTR_LAST; i++)
{
if (from->meta... | O3 | c | ma_field_extension_deep_dup:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
movl $0x20, %esi
callq 0x20a6f
movq %rax, %rbx
testq %rax, %rax
je 0x1a752
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movq (%r15), %rsi
testq %rsi, %rsi
je 0x1a752
mo... | ma_field_extension_deep_dup:
push rbp
mov rbp, rsp
push r15
push r14
push rbx
push rax
mov r15, rsi
mov r14, rdi
mov esi, 20h ; ' '
call ma_alloc_root
mov rbx, rax
test rax, rax
jz short loc_1A752
xorps xmm0, xmm0
movups xmmword ptr [rbx+10h], xmm0
movups xmmword ptr [r... | long long * ma_field_extension_deep_dup(long long a1, long long *a2)
{
long long *v3; // rax
long long *v4; // rbx
long long v5; // rsi
long long v6; // r15
long long v7; // rax
v3 = (long long *)ma_alloc_root(a1, 32LL);
v4 = v3;
if ( v3 )
{
*((_OWORD *)v3 + 1) = 0LL;
*(_OWORD *)v3 = 0LL;
... | ma_field_extension_deep_dup:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH RBX
PUSH RAX
MOV R15,RSI
MOV R14,RDI
MOV ESI,0x20
CALL 0x00120a6f
MOV RBX,RAX
TEST RAX,RAX
JZ 0x0011a752
XORPS XMM0,XMM0
MOVUPS xmmword ptr [RBX + 0x10],XMM0
MOVUPS xmmword ptr [RBX],XMM0
MOV RSI,qword ptr [R15]
TEST RSI,RSI
JZ 0x0011a752
MOV R15,... |
long * ma_field_extension_deep_dup(int8 param_1,long *param_2)
{
long *plVar1;
long lVar2;
long lVar3;
plVar1 = (long *)ma_alloc_root(param_1,0x20);
if (plVar1 != (long *)0x0) {
plVar1[2] = 0;
plVar1[3] = 0;
*plVar1 = 0;
plVar1[1] = 0;
if (*param_2 != 0) {
lVar3 = param_2[1];
... | |
25,093 | coro::net::udp::peer::peer(std::shared_ptr<coro::io_scheduler>, coro::net::udp::peer::info const&) | AlayaLite/build_O3/_deps/libcoro-src/src/net/udp/peer.cpp | peer::peer(std::shared_ptr<io_scheduler> scheduler, const info& bind_info)
: m_io_scheduler(std::move(scheduler)),
m_socket(net::make_accept_socket(
net::socket::options{bind_info.address.domain(), net::socket::type_t::udp, net::socket::blocking_t::no},
bind_info.address,
bind_in... | O3 | cpp | coro::net::udp::peer::peer(std::shared_ptr<coro::io_scheduler>, coro::net::udp::peer::info const&):
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movups (%rsi), %xmm0
movq %rax, 0x8(%rsi)
movups %xmm0, (%rdi)
movq %rax, (%rsi)
addq $0x10, %rdi
movl (%rdx), %eax
leaq 0xc(%rs... | _ZN4coro3net3udp4peerC2ESt10shared_ptrINS_12io_schedulerEERKNS2_4infoE:
push r14; Alternative name is 'coro::net::udp::peer::peer(std::shared_ptr<coro::io_scheduler>, coro::net::udp::peer::info const&)'
push rbx
sub rsp, 18h
mov rbx, rdi
xor eax, eax
mov [rdi+8], rax
movups xmm0, xmmword ptr [rsi... | unsigned int * coro::net::udp::peer::peer(long long a1, __int128 *a2, long long a3)
{
__int128 v3; // xmm0
unsigned int *result; // rax
unsigned int v5; // [rsp+Ch] [rbp-1Ch] BYREF
long long v6; // [rsp+10h] [rbp-18h]
*(_QWORD *)(a1 + 8) = 0LL;
v3 = *a2;
*((_QWORD *)a2 + 1) = 0LL;
*(_OWORD *)a1 = v3;
... | peer:
PUSH R14
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
XOR EAX,EAX
MOV qword ptr [RDI + 0x8],RAX
MOVUPS XMM0,xmmword ptr [RSI]
MOV qword ptr [RSI + 0x8],RAX
MOVUPS xmmword ptr [RDI],XMM0
MOV qword ptr [RSI],RAX
ADD RDI,0x10
MOV EAX,dword ptr [RDX]
LEA RSI,[RSP + 0xc]
MOV dword ptr [RSI],EAX
MOV RAX,0x100000000
MOV qword ptr ... |
/* coro::net::udp::peer::peer(std::shared_ptr<coro::io_scheduler>, coro::net::udp::peer::info
const&) */
void __thiscall coro::net::udp::peer::peer(peer *this,int8 *param_2,ip_address *param_3)
{
int8 uVar1;
int4 local_1c;
int8 local_18;
*(int8 *)(this + 8) = 0;
uVar1 = param_2[1];
param_2[1] = 0;
... | |
25,094 | LefDefParser::lefiViaLayer::addPoly(int, LefDefParser::lefiGeometries*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiVia.cpp | void
lefiViaLayer::addPoly(int colorMask,
lefiGeometries *geom)
{
if (numPolys_ == polysAllocated_) {
int i;
lefiGeomPolygon **poly;
int *polyMask;
polysAllocated_ = (polysAllocated_ == 0) ?
2 : polysAllocate... | O0 | cpp | LefDefParser::lefiViaLayer::addPoly(int, LefDefParser::lefiGeometries*):
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movl %esi, 0x3c(%rsp)
movq %rdx, 0x30(%rsp)
movq 0x40(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movl 0x40(%rcx), %eax
cmpl 0x44(%rcx), %eax
jne 0x1426f
movq 0x10(%rsp), %rax
cmpl $0x0, 0x44(%rax)
jne 0x1418e
movl $0x... | _ZN12LefDefParser12lefiViaLayer7addPolyEiPNS_14lefiGeometriesE:
sub rsp, 48h
mov [rsp+48h+var_8], rdi
mov [rsp+48h+var_C], esi
mov [rsp+48h+var_18], rdx
mov rcx, [rsp+48h+var_8]
mov [rsp+48h+var_38], rcx
mov eax, [rcx+40h]
cmp eax, [rcx+44h]
jnz loc_1426F
mov rax, [rsp+48h+var_38... | LefDefParser::lefiViaLayer * LefDefParser::lefiViaLayer::addPoly(
LefDefParser::lefiViaLayer *this,
void *a2,
LefDefParser::lefiGeometries *a3)
{
long long Polygon; // rsi
LefDefParser::lefiViaLayer *result; // rax
int v5; // [rsp+Ch] [rbp-3Ch]
long long v6; // [rsp+18h] [rbp-30h]
long... | addPoly:
SUB RSP,0x48
MOV qword ptr [RSP + 0x40],RDI
MOV dword ptr [RSP + 0x3c],ESI
MOV qword ptr [RSP + 0x30],RDX
MOV RCX,qword ptr [RSP + 0x40]
MOV qword ptr [RSP + 0x10],RCX
MOV EAX,dword ptr [RCX + 0x40]
CMP EAX,dword ptr [RCX + 0x44]
JNZ 0x0011426f
MOV RAX,qword ptr [RSP + 0x10]
CMP dword ptr [RAX + 0x44],0x0
JNZ ... |
/* LefDefParser::lefiViaLayer::addPoly(int, LefDefParser::lefiGeometries*) */
void __thiscall
LefDefParser::lefiViaLayer::addPoly(lefiViaLayer *this,int param_1,lefiGeometries *param_2)
{
long lVar1;
long lVar2;
int8 uVar3;
int local_3c;
int local_1c;
if (*(int *)(this + 0x40) == *(int *)(this + 0x44)... | |
25,095 | LefDefParser::lefiViaLayer::addPoly(int, LefDefParser::lefiGeometries*) | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiVia.cpp | void
lefiViaLayer::addPoly(int colorMask,
lefiGeometries *geom)
{
if (numPolys_ == polysAllocated_) {
int i;
lefiGeomPolygon **poly;
int *polyMask;
polysAllocated_ = (polysAllocated_ == 0) ?
2 : polysAllocate... | O3 | cpp | LefDefParser::lefiViaLayer::addPoly(int, LefDefParser::lefiGeometries*):
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %rbx
movl 0x40(%rdi), %eax
cmpl 0x44(%rdi), %eax
jne 0xe1eb
leal (%rax,%rax), %ecx
testl %eax, %eax
movl $0x2, %eax
cmovnel %ecx, %eax
movl %eax, 0x4... | _ZN12LefDefParser12lefiViaLayer7addPolyEiPNS_14lefiGeometriesE:
push rbp
push r15
push r14
push r12
push rbx
mov r14, rdx
mov ebp, esi
mov rbx, rdi
mov eax, [rdi+40h]
cmp eax, [rdi+44h]
jnz short loc_E1EB
lea ecx, [rax+rax]
test eax, eax
mov eax, 2
cmovnz eax, ecx
mov ... | long long LefDefParser::lefiViaLayer::addPoly(
LefDefParser::lefiViaLayer *this,
void *a2,
LefDefParser::lefiGeometries *a3)
{
int v5; // eax
int v6; // ecx
bool v7; // zf
int v8; // eax
long long v9; // r15
long long v10; // r12
long long v11; // rax
LefDefParser *v12; // rdi
... | addPoly:
PUSH RBP
PUSH R15
PUSH R14
PUSH R12
PUSH RBX
MOV R14,RDX
MOV EBP,ESI
MOV RBX,RDI
MOV EAX,dword ptr [RDI + 0x40]
CMP EAX,dword ptr [RDI + 0x44]
JNZ 0x0010e1eb
LEA ECX,[RAX + RAX*0x1]
TEST EAX,EAX
MOV EAX,0x2
CMOVNZ EAX,ECX
MOV dword ptr [RBX + 0x44],EAX
MOVSXD RDI,EAX
SHL RDI,0x3
CALL 0x00130c15
MOV R15,RAX
MOV... |
/* LefDefParser::lefiViaLayer::addPoly(int, LefDefParser::lefiGeometries*) */
void __thiscall
LefDefParser::lefiViaLayer::addPoly(lefiViaLayer *this,int param_1,lefiGeometries *param_2)
{
int iVar1;
int iVar2;
long lVar3;
long lVar4;
long lVar5;
int8 uVar6;
int4 in_register_00000034;
ulong uVar7;
... | |
25,096 | cs_leave | eloqsql/strings/ctype.c | static int cs_leave(MY_XML_PARSER *st,const char *attr, size_t len)
{
struct my_cs_file_info *i= (struct my_cs_file_info *)st->user_data;
const struct my_cs_file_section_st *s= cs_file_sec(attr,len);
int state= s ? s->state : 0;
int rc;
switch(state){
case _CS_COLLATION:
if (i->tailoring_length... | O3 | c | cs_leave:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq 0x140(%rdi), %rbx
leaq 0x2a4bc0(%rip), %r13 # 0x331470
leaq 0x9b7a(%rip), %r12 # 0x96431
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x28180
testl %eax, %eax
jne ... | cs_leave:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
push rax
mov r14, rdx
mov r15, rsi
mov rbx, [rdi+140h]
lea r13, sec
lea r12, aIndexXml+6; "xml"
loc_8C8B7:
mov rdi, r15
mov rsi, r12
mov rdx, r14
call _strncmp
test eax, eax
jnz ... | long long cs_leave(long long a1, long long a2, long long a3)
{
_QWORD *v4; // rbx
char *v5; // r13
char *v6; // r12
long long result; // rax
long long ( *v8)(_QWORD *); // rax
v4 = *(_QWORD **)(a1 + 320);
v5 = (char *)&sec;
v6 = "xml";
while ( (unsigned int)strncmp(a2, v6, a3) || v6[a3] )
{
v6... | cs_leave:
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
PUSH RAX
MOV R14,RDX
MOV R15,RSI
MOV RBX,qword ptr [RDI + 0x140]
LEA R13,[0x431470]
LEA R12,[0x196431]
LAB_0018c8b7:
MOV RDI,R15
MOV RSI,R12
MOV RDX,R14
CALL 0x00128180
TEST EAX,EAX
JNZ 0x0018c8d0
CMP byte ptr [R12 + R14*0x1],0x0
JZ 0x0018c8ee
... |
int8 cs_leave(long param_1,char *param_2,size_t param_3)
{
long lVar1;
code *UNRECOVERED_JUMPTABLE;
int iVar2;
int8 uVar3;
char *pcVar4;
int *piVar5;
lVar1 = *(long *)(param_1 + 0x140);
piVar5 = &sec;
pcVar4 = "xml";
while ((iVar2 = strncmp(param_2,pcVar4,param_3), iVar2 != 0 || (pcVar4[param_3... | |
25,097 | init_one_value | eloqsql/mysys/my_getopt.c | static void init_one_value(const struct my_option *option, void *variable,
longlong value)
{
DBUG_ENTER("init_one_value");
switch ((option->var_type & GET_TYPE_MASK)) {
case GET_BOOL:
*((my_bool*) variable)= (my_bool) value;
break;
case GET_INT:
*((int*) variable)= (int) getopt_ll_limit_value(... | O3 | c | init_one_value:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq 0x30(%rdi), %rax
andl $0x3f, %eax
addq $-0x2, %rax
cmpq $0xe, %rax
ja 0x269d7
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %rsi
leaq 0x3dea4(%rip), %rcx # 0x647d0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r14, (%rbx)
jmp 0x269d7
m... | init_one_value:
push rbp
mov rbp, rsp
push r14
push rbx
mov rax, [rdi+30h]
and eax, 3Fh
add rax, 0FFFFFFFFFFFFFFFEh; switch 15 cases
cmp rax, 0Eh
ja def_26933; jumptable 0000000000026933 default case, case 11
mov r14, rdx
mov rbx, rsi
mov rsi, rdi
lea rcx, jpt_26933
mov... | long long init_one_value(long long a1, long long *a2, _BOOL8 a3)
{
long long result; // rax
long long v5; // rax
_BOOL8 v6; // rdx
result = (*(_QWORD *)(a1 + 48) & 0x3FLL) - 2;
switch ( *(_QWORD *)(a1 + 48) & 0x3FLL )
{
case 2LL:
*(_BYTE *)a2 = a3;
return result;
case 3LL:
result... | init_one_value:
PUSH RBP
MOV RBP,RSP
PUSH R14
PUSH RBX
MOV RAX,qword ptr [RDI + 0x30]
AND EAX,0x3f
ADD RAX,-0x2
CMP RAX,0xe
JA 0x001269d7
MOV R14,RDX
MOV RBX,RSI
MOV RSI,RDI
LEA RCX,[0x1647d0]
MOVSXD RAX,dword ptr [RCX + RAX*0x4]
ADD RAX,RCX
switchD:
JMP RAX
caseD_c:
MOV qword ptr [RBX],R14
JMP 0x001269d7
caseD_5:
MOV ... |
void init_one_value(long param_1,ulong *param_2,ulong param_3)
{
ulong uVar1;
int4 uVar2;
ulong uVar3;
ulong uVar4;
switch((uint)*(int8 *)(param_1 + 0x30) & 0x3f) {
case 2:
*(char *)param_2 = (char)param_3;
return;
case 3:
uVar2 = getopt_ll_limit_value((long)(int)param_3,param_1,0);
g... | |
25,098 | LefDefParser::lefiPin::antennaModel(int) const | Efficient-TDP/thirdparty/Limbo/limbo/thirdparty/lefdef/5.8/lef/lef/lefiMacro.cpp | lefiPinAntennaModel *
lefiPin::antennaModel(int index) const
{
int j = index;
lefiPinAntennaModel *amo;
if (index == 0) { // reset all the return flags to 0, beginning of the loop
int i;
for (i = 0; i < 4; i++)
antennaModel_[i]->setAntennaReturnFlag(0);
}
... | O3 | cpp | LefDefParser::lefiPin::antennaModel(int) const:
pushq %rbx
testl %esi, %esi
jne 0x2a2ac
movq 0x178(%rdi), %rax
xorl %ecx, %ecx
movq (%rax,%rcx,8), %rdx
movl $0x0, 0x8(%rdx)
incq %rcx
cmpq $0x4, %rcx
jne 0x2a298
movq 0x178(%rdi), %rax
movslq %esi, %rcx
cmpl $0x5, %esi
movl $0x4, %edx
cmovgel %esi, %edx
cmpq %rcx, %rdx
j... | _ZNK12LefDefParser7lefiPin12antennaModelEi:
push rbx
test esi, esi
jnz short loc_2A2AC
mov rax, [rdi+178h]
xor ecx, ecx
loc_2A298:
mov rdx, [rax+rcx*8]
mov dword ptr [rdx+8], 0
inc rcx
cmp rcx, 4
jnz short loc_2A298
loc_2A2AC:
mov rax, [rdi+178h]
movsxd rcx, esi
cmp esi, 5... | long long LefDefParser::lefiPin::antennaModel(LefDefParser::lefiPin *this, int a2)
{
long long v2; // rax
long long i; // rcx
long long v4; // rax
long long v5; // rcx
long long v6; // rdx
long long v7; // rsi
long long v8; // rbx
if ( !a2 )
{
v2 = *((_QWORD *)this + 47);
for ( i = 0LL; i !=... | antennaModel:
PUSH RBX
TEST ESI,ESI
JNZ 0x0012a2ac
MOV RAX,qword ptr [RDI + 0x178]
XOR ECX,ECX
LAB_0012a298:
MOV RDX,qword ptr [RAX + RCX*0x8]
MOV dword ptr [RDX + 0x8],0x0
INC RCX
CMP RCX,0x4
JNZ 0x0012a298
LAB_0012a2ac:
MOV RAX,qword ptr [RDI + 0x178]
MOVSXD RCX,ESI
CMP ESI,0x5
MOV EDX,0x4
CMOVGE EDX,ESI
LAB_0012a2c1... |
/* LefDefParser::lefiPin::antennaModel(int) const */
long __thiscall LefDefParser::lefiPin::antennaModel(lefiPin *this,int param_1)
{
long lVar1;
long *plVar2;
long lVar3;
ulong uVar4;
ulong uVar5;
ulong uVar6;
if (param_1 == 0) {
lVar1 = *(long *)(this + 0x178);
lVar3 = 0;
do {
*(... | |
25,099 | allocate_full_pages | eloqsql/storage/maria/ma_bitmap.c | static ulong allocate_full_pages(MARIA_FILE_BITMAP *bitmap,
ulong pages_needed,
MARIA_BITMAP_BLOCK *block, my_bool full_page)
{
uchar *data, *data_end, *page_end;
uchar *best_data= 0;
uint min_size;
uint best_area_size, UNINIT_VAR(best_prefix_are... | O3 | c | allocate_full_pages:
movl 0x28(%rdi), %eax
movl $0xaaaaaaab, %r8d # imm = 0xAAAAAAAB
imulq %r8, %rax
shrq $0x22, %rax
addl %eax, %eax
leal (%rax,%rax,2), %r9d
movl 0x128(%rdi), %eax
cmpl %eax, %r9d
jae 0x422ef
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq ... | allocate_full_pages:
mov eax, [rdi+28h]
mov r8d, 0AAAAAAABh
imul rax, r8
shr rax, 22h
add eax, eax
lea r9d, [rax+rax*2]
mov eax, [rdi+128h]
cmp r9d, eax
jnb loc_422EF
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rbx
sub rsp, 28h
mov [rbp... | long long allocate_full_pages(long long a1, unsigned long long a2, long long a3, char a4)
{
unsigned int v4; // r9d
long long v5; // rax
unsigned int *v6; // r8
unsigned long long v7; // rbx
unsigned long long v8; // rax
unsigned int *v9; // r12
bool v10; // zf
unsigned int v11; // ecx
unsigned int v... | allocate_full_pages:
MOV EAX,dword ptr [RDI + 0x28]
MOV R8D,0xaaaaaaab
IMUL RAX,R8
SHR RAX,0x22
ADD EAX,EAX
LEA R9D,[RAX + RAX*0x2]
MOV EAX,dword ptr [RDI + 0x128]
CMP R9D,EAX
JNC 0x001422ef
PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x38],RDX
MOV R8,qword ptr [... |
int4 allocate_full_pages(long param_1,ulong param_2,long *param_3,char param_4)
{
int *piVar1;
ulong uVar2;
long lVar3;
uint uVar4;
int *piVar5;
ulong uVar6;
byte *pbVar7;
byte *pbVar8;
int iVar9;
ulong uVar10;
long *plVar11;
int iVar12;
ulong uVar13;
uint uVar14;
int *piVar15;
int *pi... |
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.