File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ KeInsertQueueApc(
141
141
142
142
FORCEINLINE PVOID ObpDecodeObject (PVOID Object )
143
143
{
144
- #ifdef _M_X64
144
+ #if (defined _M_X64 ) || (defined _M_ARM64 )
145
145
if (KphDynNtVersion >= PHNT_WIN8 )
146
146
{
147
147
if (KphDynObDecodeShift != ULONG_MAX )
@@ -160,7 +160,7 @@ FORCEINLINE PVOID ObpDecodeObject(PVOID Object)
160
160
161
161
FORCEINLINE ULONG ObpGetHandleAttributes (PHANDLE_TABLE_ENTRY HandleTableEntry )
162
162
{
163
- #ifdef _M_X64
163
+ #if (defined _M_X64 ) || (defined _M_ARM64 )
164
164
if (KphDynNtVersion >= PHNT_WIN8 )
165
165
{
166
166
if (KphDynObAttributesShift != ULONG_MAX )
@@ -227,7 +227,7 @@ typedef struct _OBJECT_HEADER
227
227
QUAD Body ;
228
228
} OBJECT_HEADER , * POBJECT_HEADER ;
229
229
230
- #ifdef _M_X64
230
+ #if (defined _M_X64 ) || (defined _M_ARM64 )
231
231
C_ASSERT (FIELD_OFFSET (OBJECT_HEADER , Body ) == 0x030 );
232
232
C_ASSERT (sizeof (OBJECT_HEADER ) == 0x038 );
233
233
#else
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ VOID KphUnlockHandleTableEntry(
125
125
126
126
// Set the unlocked bit.
127
127
128
- #ifdef _M_X64
128
+ #if (defined _M_X64 ) || (defined _M_ARM64 )
129
129
InterlockedExchangeAdd64 (& HandleTableEntry -> Value , 1 );
130
130
#else
131
131
InterlockedExchangeAdd (& HandleTableEntry -> Value , 1 );
Original file line number Diff line number Diff line change 36
36
37
37
#include <mainwndp.h>
38
38
#include <notificop.h>
39
+ #include <malloc.h>
39
40
40
41
BOOLEAN PhNfMiniInfoEnabled = FALSE;
41
42
BOOLEAN PhNfMiniInfoPinned = FALSE;
Original file line number Diff line number Diff line change 25
25
#include <symprv.h>
26
26
#include <pdb.h>
27
27
#include <uxtheme.h>
28
+ #include <malloc.h>
28
29
29
30
typedef BOOL (WINAPI * _SymInitializeW )(
30
31
_In_ HANDLE hProcess ,
You can’t perform that action at this time.
0 commit comments