内核结构体简介
参考《windows驱动开发技术详解》、MSDN与网上诸多文章
感谢前辈们的无私贡献
DRIVER_OBJECT
DRIVER_OBJECT 全字段解析
+0x0 SHORT Type;
+0x2 SHORT Size;
+0x4 struct _DEVICE_OBJECT* DeviceObject;
+0x8 ULONG Flags;
+0xc VOID* DriverStart;
+0x10 ULONG DriverSize;
+0x14 VOID* DriverSection;
+0x18 struct _DRIVER_EXTENSION* DriverExtension;
+0x1c struct _UNICODE_STRING DriverName;
+0x24 struct _UNICODE_STRING* HardwareDatabase;
+0x28 struct _FAST_IO_DISPATCH* FastIoDispatch;
+0x2c LONG (*DriverInit)(struct _DRIVER_OBJECT* arg1, struct _UNICODE_STRING* arg2);
+0x30 VOID (*DriverStartIo)(struct _DEVICE_OBJECT* arg1, struct _IRP* arg2);
+0x34 VOID (*DriverUnload)(struct _DRIVER_OBJECT* arg1);
+0x38 LONG (*MajorFunction[28])