mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
change index to unsigned vals
This commit is contained in:
parent
8e68e4e4cc
commit
0a5e2cc020
2 changed files with 6 additions and 3 deletions
|
@ -256,7 +256,7 @@ ImageLoadInsertNonSystemImageIntoProcessHashmap(_In_ PIMAGE_INFO ImageInfo,
|
||||||
_In_opt_ PUNICODE_STRING
|
_In_opt_ PUNICODE_STRING
|
||||||
FullImageName)
|
FullImageName)
|
||||||
{
|
{
|
||||||
UINT32 index = 0;
|
INT32 index = 0;
|
||||||
NTSTATUS status = STATUS_UNSUCCESSFUL;
|
NTSTATUS status = STATUS_UNSUCCESSFUL;
|
||||||
PEPROCESS process = NULL;
|
PEPROCESS process = NULL;
|
||||||
PRTL_HASHMAP map = GetProcessHashmap();
|
PRTL_HASHMAP map = GetProcessHashmap();
|
||||||
|
@ -440,7 +440,7 @@ VOID
|
||||||
FindOurUserModeModuleEntry(_In_ PROCESS_MODULE_CALLBACK Callback,
|
FindOurUserModeModuleEntry(_In_ PROCESS_MODULE_CALLBACK Callback,
|
||||||
_In_opt_ PVOID Context)
|
_In_opt_ PVOID Context)
|
||||||
{
|
{
|
||||||
UINT32 index = 0;
|
INT32 index = 0;
|
||||||
PRTL_HASHMAP map = GetProcessHashmap();
|
PRTL_HASHMAP map = GetProcessHashmap();
|
||||||
PPROCESS_LIST_ENTRY entry = NULL;
|
PPROCESS_LIST_ENTRY entry = NULL;
|
||||||
PACTIVE_SESSION session = GetActiveSession();
|
PACTIVE_SESSION session = GetActiveSession();
|
||||||
|
@ -637,7 +637,7 @@ ProcessCreateNotifyRoutine(_In_ HANDLE ParentId,
|
||||||
_In_ HANDLE ProcessId,
|
_In_ HANDLE ProcessId,
|
||||||
_In_ BOOLEAN Create)
|
_In_ BOOLEAN Create)
|
||||||
{
|
{
|
||||||
UINT32 index = 0;
|
INT32 index = 0;
|
||||||
PKPROCESS parent = NULL;
|
PKPROCESS parent = NULL;
|
||||||
PKPROCESS process = NULL;
|
PKPROCESS process = NULL;
|
||||||
PDRIVER_LIST_HEAD driver_list = GetDriverList();
|
PDRIVER_LIST_HEAD driver_list = GetDriverList();
|
||||||
|
|
|
@ -132,6 +132,9 @@ UINT64 g_DeviceExtensionKey;
|
||||||
*/
|
*/
|
||||||
PDRIVER_CONFIG g_DriverConfig = NULL;
|
PDRIVER_CONFIG g_DriverConfig = NULL;
|
||||||
|
|
||||||
|
/* Its not ideal that this isnt inlined, but it causes errors with the
|
||||||
|
* decryption process and subsequently causes deadlocks / invalid pointer errors
|
||||||
|
* etc. Will need to look into it.*/
|
||||||
DECLSPEC_NOINLINE
|
DECLSPEC_NOINLINE
|
||||||
PDRIVER_CONFIG
|
PDRIVER_CONFIG
|
||||||
GetDecryptedDriverConfig()
|
GetDecryptedDriverConfig()
|
||||||
|
|
Loading…
Reference in a new issue