|
ReactOS 0.4.17-dev-1164-g974a446
|
#include <ntoskrnl.h>#include <debug.h>
Go to the source code of this file.
Classes | |
| struct | _KSE_PROVIDER |
| struct | _KSE_ENGINE |
Macros | |
| #define | NDEBUG |
| #define | KSE_MAX_SHIMS_PER_DRIVER 10 |
Typedefs | |
| typedef struct _KSE_PROVIDER | KSE_PROVIDER |
| typedef struct _KSE_PROVIDER * | PKSE_PROVIDER |
| typedef enum _KSE_DISABLE_FLAGS | KSE_DISABLE_FLAGS |
| typedef enum _KSE_ENGINE_STATE | KSE_ENGINE_STATE |
| typedef enum _KSE_ENGINE_FLAGS | KSE_ENGINE_FLAGS |
| typedef struct _KSE_ENGINE | KSE_ENGINE |
| typedef struct _KSE_ENGINE * | PKSE_ENGINE |
Enumerations | |
| enum | _KSE_DISABLE_FLAGS { KSE_DISABLE_NONE = 0 , KSE_DISABLE_DRIVER_SHIMS = (1 << 0) , KSE_DISABLE_DEVICE_SHIMS = (1 << 1) } |
| enum | _KSE_ENGINE_STATE { KSE_STATE_UNINITIALIZED = 0 , KSE_STATE_INITIALIZING = 1 , KSE_STATE_INITIALIZED = 2 } |
| enum | _KSE_ENGINE_FLAGS { KSE_FLAGS_NONE = 0 , KSE_FLAGS_GROUPPOLICY_OK = (1 << 1) , KSE_FLAGS_DRV_SHIMS_ACTIVE = (1 << 11) , KSE_FLAGS_DEV_SHIMS_ACTIVE = (1 << 12) } |
Variables | |
| static KSE_ENGINE | KseEngine |
| typedef enum _KSE_DISABLE_FLAGS KSE_DISABLE_FLAGS |
| typedef struct _KSE_ENGINE KSE_ENGINE |
| typedef enum _KSE_ENGINE_FLAGS KSE_ENGINE_FLAGS |
| typedef enum _KSE_ENGINE_STATE KSE_ENGINE_STATE |
| typedef struct _KSE_PROVIDER KSE_PROVIDER |
| typedef struct _KSE_ENGINE * PKSE_ENGINE |
| typedef struct _KSE_PROVIDER * PKSE_PROVIDER |
| Enumerator | |
|---|---|
| KSE_DISABLE_NONE | |
| KSE_DISABLE_DRIVER_SHIMS | |
| KSE_DISABLE_DEVICE_SHIMS | |
Definition at line 26 of file kse.c.
| Enumerator | |
|---|---|
| KSE_FLAGS_NONE | |
| KSE_FLAGS_GROUPPOLICY_OK | |
| KSE_FLAGS_DRV_SHIMS_ACTIVE | |
| KSE_FLAGS_DEV_SHIMS_ACTIVE | |
| Enumerator | |
|---|---|
| KSE_STATE_UNINITIALIZED | |
| KSE_STATE_INITIALIZING | |
| KSE_STATE_INITIALIZED | |
Definition at line 34 of file kse.c.
| C_ASSERT | ( | KSE_FLAGS_DEV_SHIMS_ACTIVE | = =0x1000 | ) |
| C_ASSERT | ( | KSE_FLAGS_DRV_SHIMS_ACTIVE | = =0x800 | ) |
| C_ASSERT | ( | KSE_FLAGS_GROUPPOLICY_OK | = =2 | ) |
|
static |
Definition at line 361 of file kse.c.
| NTSTATUS NTAPI KseDriverLoadImage | ( | _In_ PLDR_DATA_TABLE_ENTRY | LdrEntry | ) |
Definition at line 773 of file kse.c.
Referenced by IopInitializeBuiltinDriver(), and MmLoadSystemImage().
|
static |
Definition at line 403 of file kse.c.
Referenced by IoInitSystem().
| VOID NTAPI KsepAddShimByName | ( | _In_ PCUNICODE_STRING | Name, |
| _Inout_ PKSE_SHIM * | Shims, | ||
| _Inout_ PULONG | NumberOfShims | ||
| ) |
Definition at line 107 of file kse.c.
Referenced by KseDbGetShimsForDriver(), and KsepMultiSzToShims().
|
static |
Definition at line 753 of file kse.c.
Referenced by KseDriverLoadImage().
|
static |
Definition at line 577 of file kse.c.
Referenced by KsepHookImports().
| PKSE_SHIM NTAPI KsepFindShim | ( | _In_ PCUNICODE_STRING | Name | ) |
Definition at line 82 of file kse.c.
Referenced by KsepAddShimByName().
|
static |
Definition at line 239 of file kse.c.
Referenced by KseShimDriverIoCallbacks().
|
static |
Definition at line 223 of file kse.c.
Referenced by KseDriverLoadImage(), and KsepGetShimCallbacksForDriver().
|
static |
Definition at line 165 of file kse.c.
Referenced by KsepGetShimsForDriver().
|
static |
Definition at line 667 of file kse.c.
Referenced by KsepApplyShimToDriver().
Definition at line 562 of file kse.c.
Referenced by KsepHookImports().
|
static |
Definition at line 138 of file kse.c.
Referenced by KsepGetShimsFromRegistry().
Definition at line 70 of file kse.c.
Referenced by KseShimDriverIoCallbacks().
|
static |
Definition at line 622 of file kse.c.
Referenced by KsepHookImports().
Definition at line 464 of file kse.c.
Referenced by KseDriverScopeInitialize(), and KseIgnoreFreePoolTagInitialize().
| NTSTATUS NTAPI KseRegisterShimEx | ( | _In_ PKSE_SHIM | Shim, |
| _In_ PVOID | Ignored, | ||
| _In_ ULONG | Flags, | ||
| _In_opt_ PVOID | DriverObject | ||
| ) |
Definition at line 474 of file kse.c.
Referenced by KseRegisterShim().
|
static |
Definition at line 391 of file kse.c.
Referenced by KseInitialize().
| NTSTATUS NTAPI KseShimDriverIoCallbacks | ( | _In_ PDRIVER_OBJECT | DriverObject | ) |
Definition at line 301 of file kse.c.
Referenced by IoCreateDriver().
|
static |
Definition at line 66 of file kse.c.
Referenced by KseDriverLoadImage(), KseInitialize(), KsepFindShim(), KseRegisterShimEx(), and KseShimDriverIoCallbacks().