Skip to content

Commit

Permalink
more removals!
Browse files Browse the repository at this point in the history
  • Loading branch information
NSG650 committed Sep 26, 2021
1 parent a7616ed commit b247aaa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions BugCheckHack/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "overwrite.h"

DRIVER_INITIALIZE DriverEntry;
PBSOD_INFORMATION BsodInformation = { 0 };

NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) {
UNREFERENCED_PARAMETER(RegistryPath);
Expand All @@ -28,7 +27,9 @@ NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath)
UINT64 HalPCIConfigReadHandlers_0x18;
UINT64 EtwpLastBranchEntry_Address;
UINT64 EtwpLastBranchEntry2_Address;
Disassemble_HalpPCIConfigReadHandlers((PVOID)BgpFwDisplayBugCheckScreen_Address, &HalPCIConfigReadHandlers_0x18, &EtwpLastBranchEntry_Address, &EtwpLastBranchEntry2_Address);
if (!Disassemble_HalpPCIConfigReadHandlers((PVOID)BgpFwDisplayBugCheckScreen_Address, &HalPCIConfigReadHandlers_0x18, &EtwpLastBranchEntry_Address, &EtwpLastBranchEntry2_Address)) {
return STATUS_DRIVER_INTERNAL_ERROR;
}
Print("KeBugCheck2 located at %llx\n", KeBugCheck2_Address);
Print("KiDisplayBlueScreen located at %llx\n", KiDisplayBlueScreen_Address);
Print("BgpFwDisplayBugCheckScreen located at %llx\n", BgpFwDisplayBugCheckScreen_Address);
Expand Down

0 comments on commit b247aaa

Please sign in to comment.