leechcorepyc 2.16.1__tar.gz → 2.16.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {leechcorepyc-2.16.1/leechcorepyc.egg-info → leechcorepyc-2.16.2}/PKG-INFO +1 -1
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/Makefile +1 -1
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/device_fpga.c +9 -3
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechrpc_c.c +100 -71
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechrpc_h.h +3 -3
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/version.h +2 -2
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/version.h +3 -3
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2/leechcorepyc.egg-info}/PKG-INFO +1 -1
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/setup.py +1 -1
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/MANIFEST.in +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/Makefile +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/README +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/files/dummy +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/includes/leechcore.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/includes/leechcore_device.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/includes/libpdbcrust.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/includes/vmmdll.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/includes/vmmyara.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/device_file.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/device_pmem.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/device_tmd.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/device_usb3380.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/device_vmm.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/device_vmware.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechcore.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechcore.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechcore.rc +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechcore_device.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechcore_internal.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechrpc.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechrpc.idl +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechrpcclient.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/leechrpcshared.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/memmap.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/ob/ob.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/ob/ob_bytequeue.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/ob/ob_core.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/ob/ob_map.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/ob/ob_set.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/oscompatibility.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/oscompatibility.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/util.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore/util.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/Makefile +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/leechcore_device_rawtcp.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/oscompatibility.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/oscompatibility.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/plugin.rc +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/resource.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_ft601_driver_linux/Makefile +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_ft601_driver_linux/fpga_libusb.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_ft601_driver_linux/fpga_libusb.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_ft601_driver_linux/leechcore_ft601_driver_linux.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_ft601_driver_linux/leechcore_ft601_driver_linux.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcorepyc/__init__.py +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcorepyc.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcorepyc.egg-info/SOURCES.txt +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcorepyc.egg-info/dependency_links.txt +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcorepyc.egg-info/top_level.txt +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcorepyc_barrequest.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/oscompatibility.c +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/oscompatibility.h +0 -0
- {leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/setup.cfg +0 -0
|
@@ -6,7 +6,7 @@ CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthrea
|
|
|
6
6
|
# CFLAGS += -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=bounds-strict -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow
|
|
7
7
|
# CFLAGS += -fsanitize=pointer-compare -fsanitize=pointer-subtract -fanalyzer
|
|
8
8
|
# DEBUG FLAGS ABOVE
|
|
9
|
-
CFLAGS += -fPIE -fPIC -pie -fstack-protector -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,noexecstack
|
|
9
|
+
CFLAGS += -fPIE -fPIC -pie -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O1 -Wl,-z,noexecstack
|
|
10
10
|
CFLAGS += -Wall -Wno-multichar -Wno-unused-result -Wno-unused-variable -Wno-unused-value -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
|
|
11
11
|
LDFLAGS += -g -ldl -shared
|
|
12
12
|
DEPS = leechcore.h
|
|
@@ -2384,7 +2384,11 @@ VOID DeviceFPGA_Async2_Read_RxTlpSingle_MRdCpl(_In_ PLC_CONTEXT ctxLC, _In_ PDEV
|
|
|
2384
2384
|
}
|
|
2385
2385
|
// CplD:
|
|
2386
2386
|
c = (hdr->Length << 2);
|
|
2387
|
-
|
|
2387
|
+
if(pTag->oMEM) {
|
|
2388
|
+
o = pTag->oMEM + hdrC->LowerAddress;
|
|
2389
|
+
} else {
|
|
2390
|
+
o = hdrC->LowerAddress - (pTag->pMEM->qwA & 0x7f);
|
|
2391
|
+
}
|
|
2388
2392
|
if(o > 0xfffc) {
|
|
2389
2393
|
cbAdjust = 0x10000 - o;
|
|
2390
2394
|
c -= cbAdjust;
|
|
@@ -2466,7 +2470,9 @@ DWORD DeviceFPGA_Async2_Read_RxTlpSingle(_In_ PLC_CONTEXT ctxLC, _In_ PDEVICE_CO
|
|
|
2466
2470
|
if(ctxLC->fPrintf[LC_PRINTF_VVV]) {
|
|
2467
2471
|
TLP_Print(ctxLC, pbTlp, cdwTlp << 2, FALSE);
|
|
2468
2472
|
}
|
|
2469
|
-
|
|
2473
|
+
if(ctx->tlp_callback.pBqRx) {
|
|
2474
|
+
ObByteQueue_Push(ctx->tlp_callback.pBqRx, 0, (SIZE_T)cdwTlp << 2, pbTlp);
|
|
2475
|
+
}
|
|
2470
2476
|
DeviceFPGA_Async2_Read_RxTlpSingle_MRdCpl(ctxLC, ctx, pbTlp, cdwTlp << 2);
|
|
2471
2477
|
pdwData[iStartWord] = pdwData[iStartWord] | (0xffffffff >> (28 - (j << 2)));
|
|
2472
2478
|
return iStartWord;
|
|
@@ -2632,7 +2638,7 @@ PFPGA_NEWASYNC2_MEM_CONTEXT DeviceFPGA_Async2_Read_TxTlp(_In_ PLC_CONTEXT ctxLC,
|
|
|
2632
2638
|
// Ensure enough tags and byte credits are available:
|
|
2633
2639
|
if(fPrimary) {
|
|
2634
2640
|
if(ctx->async2.cbAvailCredits < 0x1000) { break; }
|
|
2635
|
-
if(ctx->fAlgorithmReadTiny) {
|
|
2641
|
+
if(ctx->fAlgorithmReadTiny || (pMEM->cb != 0x1000)) {
|
|
2636
2642
|
if(ctx->async2.cAvailTags < 32) { break; }
|
|
2637
2643
|
} else {
|
|
2638
2644
|
if(ctx->async2.cAvailTags == 0) { break; }
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
/* this ALWAYS GENERATED file contains the RPC client stubs */
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
/* File created by MIDL compiler version 8.01.
|
|
6
|
+
/* File created by MIDL compiler version 8.01.0628 */
|
|
7
7
|
/* at Tue Jan 19 04:14:07 2038
|
|
8
8
|
*/
|
|
9
9
|
/* Compiler settings for leechrpc.idl:
|
|
10
|
-
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=
|
|
10
|
+
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=ARM64 8.01.0628
|
|
11
11
|
protocol : all , ms_ext, c_ext, robust
|
|
12
12
|
error checks: allocation ref bounds_check enum stub_data
|
|
13
13
|
VC __declspec() decoration level:
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/* @@MIDL_FILE_HEADING( ) */
|
|
18
18
|
|
|
19
|
-
#if defined(
|
|
19
|
+
#if defined(_M_ARM64)
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
#if _MSC_VER >= 1200
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
#include "leechrpc_h.h"
|
|
33
33
|
|
|
34
34
|
#define TYPE_FORMAT_STRING_SIZE 43
|
|
35
|
-
#define PROC_FORMAT_STRING_SIZE
|
|
35
|
+
#define PROC_FORMAT_STRING_SIZE 67
|
|
36
36
|
#define EXPR_FORMAT_STRING_SIZE 1
|
|
37
37
|
#define TRANSMIT_AS_TABLE_SIZE 0
|
|
38
38
|
#define WIRE_MARSHAL_TABLE_SIZE 0
|
|
@@ -56,46 +56,46 @@ typedef struct _leechrpc_MIDL_EXPR_FORMAT_STRING
|
|
|
56
56
|
} leechrpc_MIDL_EXPR_FORMAT_STRING;
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
static const RPC_SYNTAX_IDENTIFIER
|
|
59
|
+
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax_2_0 =
|
|
60
60
|
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
|
|
61
61
|
|
|
62
|
-
static const RPC_SYNTAX_IDENTIFIER
|
|
62
|
+
static const RPC_SYNTAX_IDENTIFIER _NDR64_RpcTransferSyntax_1_0 =
|
|
63
63
|
{{0x71710533,0xbeba,0x4937,{0x83,0x19,0xb5,0xdb,0xef,0x9c,0xcc,0x36}},{1,0}};
|
|
64
64
|
|
|
65
65
|
#if defined(_CONTROL_FLOW_GUARD_XFG)
|
|
66
66
|
#define XFG_TRAMPOLINES(ObjectType)\
|
|
67
|
-
|
|
67
|
+
NDR_SHAREABLE unsigned long ObjectType ## _UserSize_XFG(unsigned long * pFlags, unsigned long Offset, void * pObject)\
|
|
68
68
|
{\
|
|
69
|
-
return ObjectType ## _UserSize(pFlags, Offset, pObject);\
|
|
69
|
+
return ObjectType ## _UserSize(pFlags, Offset, (ObjectType *)pObject);\
|
|
70
70
|
}\
|
|
71
|
-
|
|
71
|
+
NDR_SHAREABLE unsigned char * ObjectType ## _UserMarshal_XFG(unsigned long * pFlags, unsigned char * pBuffer, void * pObject)\
|
|
72
72
|
{\
|
|
73
|
-
return ObjectType ## _UserMarshal(pFlags, pBuffer, pObject);\
|
|
73
|
+
return ObjectType ## _UserMarshal(pFlags, pBuffer, (ObjectType *)pObject);\
|
|
74
74
|
}\
|
|
75
|
-
|
|
75
|
+
NDR_SHAREABLE unsigned char * ObjectType ## _UserUnmarshal_XFG(unsigned long * pFlags, unsigned char * pBuffer, void * pObject)\
|
|
76
76
|
{\
|
|
77
|
-
return ObjectType ## _UserUnmarshal(pFlags, pBuffer, pObject);\
|
|
77
|
+
return ObjectType ## _UserUnmarshal(pFlags, pBuffer, (ObjectType *)pObject);\
|
|
78
78
|
}\
|
|
79
|
-
|
|
79
|
+
NDR_SHAREABLE void ObjectType ## _UserFree_XFG(unsigned long * pFlags, void * pObject)\
|
|
80
80
|
{\
|
|
81
|
-
ObjectType ## _UserFree(pFlags, pObject);\
|
|
81
|
+
ObjectType ## _UserFree(pFlags, (ObjectType *)pObject);\
|
|
82
82
|
}
|
|
83
83
|
#define XFG_TRAMPOLINES64(ObjectType)\
|
|
84
|
-
|
|
84
|
+
NDR_SHAREABLE unsigned long ObjectType ## _UserSize64_XFG(unsigned long * pFlags, unsigned long Offset, void * pObject)\
|
|
85
85
|
{\
|
|
86
|
-
return ObjectType ## _UserSize64(pFlags, Offset, pObject);\
|
|
86
|
+
return ObjectType ## _UserSize64(pFlags, Offset, (ObjectType *)pObject);\
|
|
87
87
|
}\
|
|
88
|
-
|
|
88
|
+
NDR_SHAREABLE unsigned char * ObjectType ## _UserMarshal64_XFG(unsigned long * pFlags, unsigned char * pBuffer, void * pObject)\
|
|
89
89
|
{\
|
|
90
|
-
return ObjectType ## _UserMarshal64(pFlags, pBuffer, pObject);\
|
|
90
|
+
return ObjectType ## _UserMarshal64(pFlags, pBuffer, (ObjectType *)pObject);\
|
|
91
91
|
}\
|
|
92
|
-
|
|
92
|
+
NDR_SHAREABLE unsigned char * ObjectType ## _UserUnmarshal64_XFG(unsigned long * pFlags, unsigned char * pBuffer, void * pObject)\
|
|
93
93
|
{\
|
|
94
|
-
return ObjectType ## _UserUnmarshal64(pFlags, pBuffer, pObject);\
|
|
94
|
+
return ObjectType ## _UserUnmarshal64(pFlags, pBuffer, (ObjectType *)pObject);\
|
|
95
95
|
}\
|
|
96
|
-
|
|
96
|
+
NDR_SHAREABLE void ObjectType ## _UserFree64_XFG(unsigned long * pFlags, void * pObject)\
|
|
97
97
|
{\
|
|
98
|
-
ObjectType ## _UserFree64(pFlags, pObject);\
|
|
98
|
+
ObjectType ## _UserFree64(pFlags, (ObjectType *)pObject);\
|
|
99
99
|
}
|
|
100
100
|
#define XFG_BIND_TRAMPOLINES(HandleType, ObjectType)\
|
|
101
101
|
static void* ObjectType ## _bind_XFG(HandleType pObject)\
|
|
@@ -107,11 +107,13 @@ static void ObjectType ## _unbind_XFG(HandleType pObject, handle_t ServerHandle)
|
|
|
107
107
|
ObjectType ## _unbind((ObjectType) pObject, ServerHandle);\
|
|
108
108
|
}
|
|
109
109
|
#define XFG_TRAMPOLINE_FPTR(Function) Function ## _XFG
|
|
110
|
+
#define XFG_TRAMPOLINE_FPTR_DEPENDENT_SYMBOL(Symbol) Symbol ## _XFG
|
|
110
111
|
#else
|
|
111
112
|
#define XFG_TRAMPOLINES(ObjectType)
|
|
112
113
|
#define XFG_TRAMPOLINES64(ObjectType)
|
|
113
114
|
#define XFG_BIND_TRAMPOLINES(HandleType, ObjectType)
|
|
114
115
|
#define XFG_TRAMPOLINE_FPTR(Function) Function
|
|
116
|
+
#define XFG_TRAMPOLINE_FPTR_DEPENDENT_SYMBOL(Symbol) Symbol
|
|
115
117
|
#endif
|
|
116
118
|
|
|
117
119
|
|
|
@@ -147,8 +149,14 @@ static const RPC_CLIENT_INTERFACE LeechRpc___RpcClientInterface =
|
|
|
147
149
|
0x02000000
|
|
148
150
|
};
|
|
149
151
|
RPC_IF_HANDLE LeechRpc_v1_0_c_ifspec = (RPC_IF_HANDLE)& LeechRpc___RpcClientInterface;
|
|
152
|
+
#ifdef __cplusplus
|
|
153
|
+
namespace {
|
|
154
|
+
#endif
|
|
150
155
|
|
|
151
156
|
extern const MIDL_STUB_DESC LeechRpc_StubDesc;
|
|
157
|
+
#ifdef __cplusplus
|
|
158
|
+
}
|
|
159
|
+
#endif
|
|
152
160
|
|
|
153
161
|
static RPC_BINDING_HANDLE LeechRpc__MIDL_AutoBindHandle;
|
|
154
162
|
|
|
@@ -177,7 +185,7 @@ error_status_t LeechRpc_ReservedSubmitCommand(
|
|
|
177
185
|
}
|
|
178
186
|
|
|
179
187
|
|
|
180
|
-
#if !defined(
|
|
188
|
+
#if !defined(__RPC_ARM64__)
|
|
181
189
|
#error Invalid build platform for this stub.
|
|
182
190
|
#endif
|
|
183
191
|
|
|
@@ -192,52 +200,58 @@ static const leechrpc_MIDL_PROC_FORMAT_STRING leechrpc__MIDL_ProcFormatString =
|
|
|
192
200
|
0x48, /* Old Flags: */
|
|
193
201
|
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
|
|
194
202
|
/* 6 */ NdrFcShort( 0x0 ), /* 0 */
|
|
195
|
-
/* 8 */ NdrFcShort( 0x30 ), /*
|
|
203
|
+
/* 8 */ NdrFcShort( 0x30 ), /* ARM64 Stack size/offset = 48 */
|
|
196
204
|
/* 10 */ 0x32, /* FC_BIND_PRIMITIVE */
|
|
197
205
|
0x0, /* 0 */
|
|
198
|
-
/* 12 */ NdrFcShort( 0x0 ), /*
|
|
206
|
+
/* 12 */ NdrFcShort( 0x0 ), /* ARM64 Stack size/offset = 0 */
|
|
199
207
|
/* 14 */ NdrFcShort( 0x8 ), /* 8 */
|
|
200
208
|
/* 16 */ NdrFcShort( 0x24 ), /* 36 */
|
|
201
209
|
/* 18 */ 0x47, /* Oi2 Flags: srv must size, clt must size, has return, has ext, */
|
|
202
210
|
0x5, /* 5 */
|
|
203
|
-
/* 20 */
|
|
211
|
+
/* 20 */ 0x10, /* 16 */
|
|
204
212
|
0x7, /* Ext Flags: new corr desc, clt corr check, srv corr check, */
|
|
205
213
|
/* 22 */ NdrFcShort( 0x1 ), /* 1 */
|
|
206
214
|
/* 24 */ NdrFcShort( 0x1 ), /* 1 */
|
|
207
215
|
/* 26 */ NdrFcShort( 0x0 ), /* 0 */
|
|
208
|
-
/* 28 */ NdrFcShort(
|
|
216
|
+
/* 28 */ NdrFcShort( 0x5 ), /* 5 */
|
|
217
|
+
/* 30 */ 0x5, /* 5 */
|
|
218
|
+
0x80, /* 128 */
|
|
219
|
+
/* 32 */ 0x81, /* 129 */
|
|
220
|
+
0x82, /* 130 */
|
|
221
|
+
/* 34 */ 0x83, /* 131 */
|
|
222
|
+
0x84, /* 132 */
|
|
209
223
|
|
|
210
224
|
/* Parameter cbIn */
|
|
211
225
|
|
|
212
|
-
/*
|
|
213
|
-
/*
|
|
214
|
-
/*
|
|
226
|
+
/* 36 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
|
|
227
|
+
/* 38 */ NdrFcShort( 0x8 ), /* ARM64 Stack size/offset = 8 */
|
|
228
|
+
/* 40 */ 0x8, /* FC_LONG */
|
|
215
229
|
0x0, /* 0 */
|
|
216
230
|
|
|
217
231
|
/* Parameter pbIn */
|
|
218
232
|
|
|
219
|
-
/*
|
|
220
|
-
/*
|
|
221
|
-
/*
|
|
233
|
+
/* 42 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */
|
|
234
|
+
/* 44 */ NdrFcShort( 0x10 ), /* ARM64 Stack size/offset = 16 */
|
|
235
|
+
/* 46 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
|
|
222
236
|
|
|
223
237
|
/* Parameter pcbOut */
|
|
224
238
|
|
|
225
|
-
/*
|
|
226
|
-
/*
|
|
227
|
-
/*
|
|
239
|
+
/* 48 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
|
|
240
|
+
/* 50 */ NdrFcShort( 0x18 ), /* ARM64 Stack size/offset = 24 */
|
|
241
|
+
/* 52 */ 0x8, /* FC_LONG */
|
|
228
242
|
0x0, /* 0 */
|
|
229
243
|
|
|
230
244
|
/* Parameter ppbOut */
|
|
231
245
|
|
|
232
|
-
/*
|
|
233
|
-
/*
|
|
234
|
-
/*
|
|
246
|
+
/* 54 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */
|
|
247
|
+
/* 56 */ NdrFcShort( 0x20 ), /* ARM64 Stack size/offset = 32 */
|
|
248
|
+
/* 58 */ NdrFcShort( 0x16 ), /* Type Offset=22 */
|
|
235
249
|
|
|
236
250
|
/* Return value */
|
|
237
251
|
|
|
238
|
-
/*
|
|
239
|
-
/*
|
|
240
|
-
/*
|
|
252
|
+
/* 60 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
|
|
253
|
+
/* 62 */ NdrFcShort( 0x28 ), /* ARM64 Stack size/offset = 40 */
|
|
254
|
+
/* 64 */ 0x10, /* FC_ERROR_STATUS_T */
|
|
241
255
|
0x0, /* 0 */
|
|
242
256
|
|
|
243
257
|
0x0
|
|
@@ -258,7 +272,7 @@ static const leechrpc_MIDL_TYPE_FORMAT_STRING leechrpc__MIDL_TypeFormatString =
|
|
|
258
272
|
/* 8 */ NdrFcShort( 0x1 ), /* 1 */
|
|
259
273
|
/* 10 */ 0x28, /* Corr desc: parameter, FC_LONG */
|
|
260
274
|
0x0, /* */
|
|
261
|
-
/* 12 */ NdrFcShort( 0x8 ), /*
|
|
275
|
+
/* 12 */ NdrFcShort( 0x8 ), /* ARM64 Stack size/offset = 8 */
|
|
262
276
|
/* 14 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
|
|
263
277
|
/* 16 */ 0x1, /* FC_BYTE */
|
|
264
278
|
0x5b, /* FC_END */
|
|
@@ -278,7 +292,7 @@ static const leechrpc_MIDL_TYPE_FORMAT_STRING leechrpc__MIDL_TypeFormatString =
|
|
|
278
292
|
/* 32 */ NdrFcShort( 0x1 ), /* 1 */
|
|
279
293
|
/* 34 */ 0x28, /* Corr desc: parameter, FC_LONG */
|
|
280
294
|
0x54, /* FC_DEREFERENCE */
|
|
281
|
-
/* 36 */ NdrFcShort( 0x18 ), /*
|
|
295
|
+
/* 36 */ NdrFcShort( 0x18 ), /* ARM64 Stack size/offset = 24 */
|
|
282
296
|
/* 38 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
|
|
283
297
|
/* 40 */ 0x1, /* FC_BYTE */
|
|
284
298
|
0x5b, /* FC_END */
|
|
@@ -294,18 +308,18 @@ static const unsigned short LeechRpc_FormatStringOffsetTable[] =
|
|
|
294
308
|
|
|
295
309
|
|
|
296
310
|
|
|
297
|
-
#endif /* defined(
|
|
311
|
+
#endif /* defined(_M_ARM64) */
|
|
298
312
|
|
|
299
313
|
|
|
300
314
|
|
|
301
315
|
/* this ALWAYS GENERATED file contains the RPC client stubs */
|
|
302
316
|
|
|
303
317
|
|
|
304
|
-
/* File created by MIDL compiler version 8.01.
|
|
318
|
+
/* File created by MIDL compiler version 8.01.0628 */
|
|
305
319
|
/* at Tue Jan 19 04:14:07 2038
|
|
306
320
|
*/
|
|
307
321
|
/* Compiler settings for leechrpc.idl:
|
|
308
|
-
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=
|
|
322
|
+
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=ARM64 8.01.0628
|
|
309
323
|
protocol : all , ms_ext, c_ext, robust
|
|
310
324
|
error checks: allocation ref bounds_check enum stub_data
|
|
311
325
|
VC __declspec() decoration level:
|
|
@@ -314,18 +328,21 @@ static const unsigned short LeechRpc_FormatStringOffsetTable[] =
|
|
|
314
328
|
*/
|
|
315
329
|
/* @@MIDL_FILE_HEADING( ) */
|
|
316
330
|
|
|
317
|
-
#if defined(
|
|
331
|
+
#if defined(_M_ARM64)
|
|
318
332
|
|
|
319
333
|
|
|
320
334
|
|
|
321
335
|
|
|
322
|
-
#if !defined(
|
|
336
|
+
#if !defined(__RPC_ARM64__)
|
|
323
337
|
#error Invalid build platform for this stub.
|
|
324
338
|
#endif
|
|
325
339
|
|
|
326
340
|
|
|
327
341
|
#include "ndr64types.h"
|
|
328
342
|
#include "pshpack8.h"
|
|
343
|
+
#ifdef __cplusplus
|
|
344
|
+
namespace {
|
|
345
|
+
#endif
|
|
329
346
|
|
|
330
347
|
|
|
331
348
|
typedef
|
|
@@ -377,11 +394,6 @@ struct _NDR64_POINTER_FORMAT
|
|
|
377
394
|
__midl_frag8_t;
|
|
378
395
|
extern const __midl_frag8_t __midl_frag8;
|
|
379
396
|
|
|
380
|
-
typedef
|
|
381
|
-
NDR64_FORMAT_CHAR
|
|
382
|
-
__midl_frag7_t;
|
|
383
|
-
extern const __midl_frag7_t __midl_frag7;
|
|
384
|
-
|
|
385
397
|
typedef
|
|
386
398
|
struct
|
|
387
399
|
{
|
|
@@ -405,11 +417,6 @@ struct _NDR64_POINTER_FORMAT
|
|
|
405
417
|
__midl_frag4_t;
|
|
406
418
|
extern const __midl_frag4_t __midl_frag4;
|
|
407
419
|
|
|
408
|
-
typedef
|
|
409
|
-
NDR64_FORMAT_CHAR
|
|
410
|
-
__midl_frag3_t;
|
|
411
|
-
extern const __midl_frag3_t __midl_frag3;
|
|
412
|
-
|
|
413
420
|
typedef
|
|
414
421
|
struct
|
|
415
422
|
{
|
|
@@ -420,6 +427,12 @@ struct
|
|
|
420
427
|
struct _NDR64_PARAM_FORMAT frag5;
|
|
421
428
|
struct _NDR64_PARAM_FORMAT frag6;
|
|
422
429
|
struct _NDR64_PARAM_FORMAT frag7;
|
|
430
|
+
struct /* ARM Parameter Layout */
|
|
431
|
+
{
|
|
432
|
+
NDR64_UINT16 frag1;
|
|
433
|
+
NDR64_UINT8 frag2;
|
|
434
|
+
NDR64_UINT8 frag3[ 5 ];
|
|
435
|
+
} frag8;
|
|
423
436
|
}
|
|
424
437
|
__midl_frag2_t;
|
|
425
438
|
extern const __midl_frag2_t __midl_frag2;
|
|
@@ -514,9 +527,6 @@ static const __midl_frag8_t __midl_frag8 =
|
|
|
514
527
|
&__midl_frag9
|
|
515
528
|
};
|
|
516
529
|
|
|
517
|
-
static const __midl_frag7_t __midl_frag7 =
|
|
518
|
-
0x2 /* FC64_INT8 */;
|
|
519
|
-
|
|
520
530
|
static const __midl_frag6_t __midl_frag6 =
|
|
521
531
|
{
|
|
522
532
|
/* */
|
|
@@ -555,7 +565,7 @@ static const __midl_frag5_t __midl_frag5 =
|
|
|
555
565
|
{
|
|
556
566
|
/* struct _NDR64_ARRAY_ELEMENT_INFO */
|
|
557
567
|
(NDR64_UINT32) 1 /* 0x1 */,
|
|
558
|
-
&
|
|
568
|
+
&__midl_frag14
|
|
559
569
|
}
|
|
560
570
|
};
|
|
561
571
|
|
|
@@ -568,15 +578,12 @@ static const __midl_frag4_t __midl_frag4 =
|
|
|
568
578
|
&__midl_frag5
|
|
569
579
|
};
|
|
570
580
|
|
|
571
|
-
static const __midl_frag3_t __midl_frag3 =
|
|
572
|
-
0x5 /* FC64_INT32 */;
|
|
573
|
-
|
|
574
581
|
static const __midl_frag2_t __midl_frag2 =
|
|
575
582
|
{
|
|
576
583
|
/* LeechRpc_ReservedSubmitCommand */
|
|
577
584
|
{
|
|
578
585
|
/* LeechRpc_ReservedSubmitCommand */ /* procedure LeechRpc_ReservedSubmitCommand */
|
|
579
|
-
(NDR64_UINT32)
|
|
586
|
+
(NDR64_UINT32) 91095104 /* 0x56e0040 */, /* explicit handle */ /* IsIntrepreted, ServerMustSize, ClientMustSize, HasReturn, ServerCorrelation, ClientCorrelation, HasExtensions, HasArmParamLayout */
|
|
580
587
|
(NDR64_UINT32) 48 /* 0x30 */ , /* Stack size */
|
|
581
588
|
(NDR64_UINT32) 8 /* 0x8 */,
|
|
582
589
|
(NDR64_UINT32) 40 /* 0x28 */,
|
|
@@ -599,7 +606,7 @@ static const __midl_frag2_t __midl_frag2 =
|
|
|
599
606
|
},
|
|
600
607
|
{
|
|
601
608
|
/* cbIn */ /* parameter cbIn */
|
|
602
|
-
&
|
|
609
|
+
&__midl_frag9,
|
|
603
610
|
{
|
|
604
611
|
/* cbIn */
|
|
605
612
|
0,
|
|
@@ -716,11 +723,27 @@ static const __midl_frag2_t __midl_frag2 =
|
|
|
716
723
|
}, /* [out], IsReturn, Basetype, ByValue */
|
|
717
724
|
(NDR64_UINT16) 0 /* 0x0 */,
|
|
718
725
|
40 /* 0x28 */, /* Stack offset */
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
/* LeechRpc_ReservedSubmitCommand */ /* ARM register placement data */
|
|
729
|
+
(NDR64_UINT16) 5 /* 0x5 */ , /* Number of Entries */
|
|
730
|
+
(NDR64_UINT8) 5 /* 0x5 */ , /* Slots Used */
|
|
731
|
+
{
|
|
732
|
+
/* LeechRpc_ReservedSubmitCommand */ /* Placement data octets */
|
|
733
|
+
(NDR64_UINT8) 0x80,
|
|
734
|
+
(NDR64_UINT8) 0x81,
|
|
735
|
+
(NDR64_UINT8) 0x82,
|
|
736
|
+
(NDR64_UINT8) 0x83,
|
|
737
|
+
(NDR64_UINT8) 0x84
|
|
738
|
+
}
|
|
719
739
|
}
|
|
720
740
|
};
|
|
721
741
|
|
|
722
742
|
static const __midl_frag1_t __midl_frag1 =
|
|
723
743
|
(NDR64_UINT32) 0 /* 0x0 */;
|
|
744
|
+
#ifdef __cplusplus
|
|
745
|
+
}
|
|
746
|
+
#endif
|
|
724
747
|
|
|
725
748
|
|
|
726
749
|
#include "poppack.h"
|
|
@@ -732,6 +755,9 @@ static const FormatInfoRef LeechRpc_Ndr64ProcTable[] =
|
|
|
732
755
|
};
|
|
733
756
|
|
|
734
757
|
|
|
758
|
+
#ifdef __cplusplus
|
|
759
|
+
namespace {
|
|
760
|
+
#endif
|
|
735
761
|
static const MIDL_STUB_DESC LeechRpc_StubDesc =
|
|
736
762
|
{
|
|
737
763
|
(void *)& LeechRpc___RpcClientInterface,
|
|
@@ -746,7 +772,7 @@ static const MIDL_STUB_DESC LeechRpc_StubDesc =
|
|
|
746
772
|
1, /* -error bounds_check flag */
|
|
747
773
|
0x60001, /* Ndr library version */
|
|
748
774
|
0,
|
|
749
|
-
|
|
775
|
+
0x8010274, /* MIDL Version 8.1.628 */
|
|
750
776
|
0,
|
|
751
777
|
0,
|
|
752
778
|
0, /* notify & notify_flag routine table */
|
|
@@ -755,6 +781,9 @@ static const MIDL_STUB_DESC LeechRpc_StubDesc =
|
|
|
755
781
|
(void *)& LeechRpc_ProxyInfo, /* proxy/server info */
|
|
756
782
|
0
|
|
757
783
|
};
|
|
784
|
+
#ifdef __cplusplus
|
|
785
|
+
}
|
|
786
|
+
#endif
|
|
758
787
|
|
|
759
788
|
static const MIDL_SYNTAX_INFO LeechRpc_SyntaxInfo [ 2 ] =
|
|
760
789
|
{
|
|
@@ -785,7 +814,7 @@ static const MIDL_STUBLESS_PROXY_INFO LeechRpc_ProxyInfo =
|
|
|
785
814
|
&LeechRpc_StubDesc,
|
|
786
815
|
leechrpc__MIDL_ProcFormatString.Format,
|
|
787
816
|
LeechRpc_FormatStringOffsetTable,
|
|
788
|
-
(RPC_SYNTAX_IDENTIFIER*)&
|
|
817
|
+
(RPC_SYNTAX_IDENTIFIER*)&_RpcTransferSyntax_2_0,
|
|
789
818
|
2,
|
|
790
819
|
(MIDL_SYNTAX_INFO*)LeechRpc_SyntaxInfo
|
|
791
820
|
|
|
@@ -796,5 +825,5 @@ static const MIDL_STUBLESS_PROXY_INFO LeechRpc_ProxyInfo =
|
|
|
796
825
|
#endif
|
|
797
826
|
|
|
798
827
|
|
|
799
|
-
#endif /* defined(
|
|
828
|
+
#endif /* defined(_M_ARM64) */
|
|
800
829
|
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
/* File created by MIDL compiler version 8.01.
|
|
6
|
+
/* File created by MIDL compiler version 8.01.0628 */
|
|
7
7
|
/* at Tue Jan 19 04:14:07 2038
|
|
8
8
|
*/
|
|
9
9
|
/* Compiler settings for leechrpc.idl:
|
|
10
|
-
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=
|
|
10
|
+
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=ARM64 8.01.0628
|
|
11
11
|
protocol : all , ms_ext, c_ext, robust
|
|
12
12
|
error checks: allocation ref bounds_check enum stub_data
|
|
13
13
|
VC __declspec() decoration level:
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
#endif
|
|
40
40
|
|
|
41
41
|
#ifndef DECLSPEC_XFGVIRT
|
|
42
|
-
#if _CONTROL_FLOW_GUARD_XFG
|
|
42
|
+
#if defined(_CONTROL_FLOW_GUARD_XFG)
|
|
43
43
|
#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func))
|
|
44
44
|
#else
|
|
45
45
|
#define DECLSPEC_XFGVIRT(base, func)
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
#define VERSION_MAJOR 2
|
|
5
5
|
#define VERSION_MINOR 16
|
|
6
|
-
#define VERSION_REVISION
|
|
7
|
-
#define VERSION_BUILD
|
|
6
|
+
#define VERSION_REVISION 2
|
|
7
|
+
#define VERSION_BUILD 53
|
|
8
8
|
|
|
9
9
|
#define VER_FILE_DESCRIPTION_STR "LeechCore Memory Acquisition Library"
|
|
10
10
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
#endif
|
|
5
5
|
|
|
6
6
|
#define VERSION_MAJOR 2
|
|
7
|
-
#define VERSION_MINOR
|
|
8
|
-
#define VERSION_REVISION
|
|
9
|
-
#define VERSION_BUILD
|
|
7
|
+
#define VERSION_MINOR 16
|
|
8
|
+
#define VERSION_REVISION 1
|
|
9
|
+
#define VERSION_BUILD 52
|
|
10
10
|
|
|
11
11
|
#define VER_FILE_DESCRIPTION_STR "LeechCorePlugin : RAWTCP"
|
|
12
12
|
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
|
|
@@ -19,7 +19,7 @@ leechcorepyc = Extension(
|
|
|
19
19
|
|
|
20
20
|
setup(
|
|
21
21
|
name='leechcorepyc',
|
|
22
|
-
version='2.16.
|
|
22
|
+
version='2.16.2', # VERSION_END
|
|
23
23
|
description='LeechCore for Python',
|
|
24
24
|
long_description='LeechCore for Python : native extension for physical memory access',
|
|
25
25
|
url='https://github.com/ufrisk/LeechCore',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{leechcorepyc-2.16.1 → leechcorepyc-2.16.2}/leechcore_device_rawtcp/leechcore_device_rawtcp.c
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|