Compare commits

..

No commits in common. 'snake_case' and 'master' have entirely different histories.

@ -162,5 +162,5 @@ NTSTATUS ScDriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath
ExFreePool(DriverTempBuffer);
DriverObject->DriverSize = sizeof RawDriver;
DriverObject->DriverInit = SignedDriverEntry;
return drv_entry(DriverObject, RegistryPath);
return DriverEntry(DriverObject, RegistryPath);
}

@ -105,8 +105,7 @@ typedef struct _IMAGE_SECTION_HEADER
/* 0x0024 */ unsigned long Characteristics;
} IMAGE_SECTION_HEADER, * PIMAGE_SECTION_HEADER; /* size: 0x0028 */
// lowercase driver entry branch...
extern "C" NTSTATUS drv_entry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath);
extern "C" NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath);
// WARNING: make sure to make driver.sys .text section RWX (E0000020)...
namespace Utils

Loading…
Cancel
Save