mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
rename
This commit is contained in:
parent
bffc16115d
commit
18109448bc
1 changed files with 13 additions and 16 deletions
|
@ -79,7 +79,7 @@ DrvLoadInitialiseDriverConfig(_In_ PDRIVER_OBJECT DriverObject,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct _DRIVER_CONFIG {
|
typedef struct _DRIVER_CONFIG {
|
||||||
volatile LONG nmi_status;
|
volatile UINT32 nmi_status;
|
||||||
UNICODE_STRING unicode_driver_name;
|
UNICODE_STRING unicode_driver_name;
|
||||||
ANSI_STRING ansi_driver_name;
|
ANSI_STRING ansi_driver_name;
|
||||||
PUNICODE_STRING device_name;
|
PUNICODE_STRING device_name;
|
||||||
|
@ -94,19 +94,15 @@ typedef struct _DRIVER_CONFIG {
|
||||||
KGUARDED_MUTEX lock;
|
KGUARDED_MUTEX lock;
|
||||||
SYS_MODULE_VAL_CONTEXT sys_val_context;
|
SYS_MODULE_VAL_CONTEXT sys_val_context;
|
||||||
IRP_QUEUE_HEAD irp_queue;
|
IRP_QUEUE_HEAD irp_queue;
|
||||||
|
TIMER_OBJECT integrity_check_timer;
|
||||||
/* terrible name..lol what is tis timer for ?? */
|
ACTIVE_SESSION session_information;
|
||||||
TIMER_OBJECT timer;
|
RB_TREE thread_tree;
|
||||||
|
DRIVER_LIST_HEAD driver_list;
|
||||||
ACTIVE_SESSION session_information;
|
RTL_HASHMAP process_hashmap;
|
||||||
RB_TREE thread_tree;
|
SHARED_MAPPING mapping;
|
||||||
DRIVER_LIST_HEAD driver_list;
|
BOOLEAN has_driver_loaded;
|
||||||
RTL_HASHMAP process_hashmap;
|
BCRYPT_ALG_HANDLE aes_hash;
|
||||||
SHARED_MAPPING mapping;
|
BCRYPT_ALG_HANDLE sha256_hash;
|
||||||
BOOLEAN has_driver_loaded;
|
|
||||||
|
|
||||||
BCRYPT_ALG_HANDLE aes_hash;
|
|
||||||
BCRYPT_ALG_HANDLE sha256_hash;
|
|
||||||
} DRIVER_CONFIG, *PDRIVER_CONFIG;
|
} DRIVER_CONFIG, *PDRIVER_CONFIG;
|
||||||
|
|
||||||
UNICODE_STRING g_DeviceName = RTL_CONSTANT_STRING(L"\\Device\\DonnaAC");
|
UNICODE_STRING g_DeviceName = RTL_CONSTANT_STRING(L"\\Device\\DonnaAC");
|
||||||
|
@ -419,7 +415,8 @@ VOID
|
||||||
DrvUnloadFreeTimerObject()
|
DrvUnloadFreeTimerObject()
|
||||||
{
|
{
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
CleanupDriverTimerObjects(&GetDecryptedDriverConfig()->timer);
|
CleanupDriverTimerObjects(
|
||||||
|
&GetDecryptedDriverConfig()->integrity_check_timer);
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
|
@ -881,7 +878,7 @@ DrvLoadInitialiseDriverConfig(_In_ PDRIVER_OBJECT DriverObject,
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = InitialiseTimerObject(&cfg->timer);
|
status = InitialiseTimerObject(&cfg->integrity_check_timer);
|
||||||
|
|
||||||
if (!NT_SUCCESS(status)) {
|
if (!NT_SUCCESS(status)) {
|
||||||
DEBUG_ERROR("InitialiseTimerObject failed with status %x", status);
|
DEBUG_ERROR("InitialiseTimerObject failed with status %x", status);
|
||||||
|
|
Loading…
Reference in a new issue