From 2a354c474c5f5b2db77fedf4a196a9218b7eb1ff Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Wed, 30 Jun 2021 22:08:38 -0700 Subject: [PATCH] created snake case branch... --- ZwSwapCert/ZwSwapCert.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ZwSwapCert/ZwSwapCert.hpp b/ZwSwapCert/ZwSwapCert.hpp index 20f6a4b..56a855e 100644 --- a/ZwSwapCert/ZwSwapCert.hpp +++ b/ZwSwapCert/ZwSwapCert.hpp @@ -105,7 +105,8 @@ typedef struct _IMAGE_SECTION_HEADER /* 0x0024 */ unsigned long Characteristics; } IMAGE_SECTION_HEADER, * PIMAGE_SECTION_HEADER; /* size: 0x0028 */ -extern "C" NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath); +// lowercase driver entry branch... +extern "C" NTSTATUS drv_entry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath); // WARNING: make sure to make driver.sys .text section RWX (E0000020)... namespace Utils