diff options
| author | tumagonx | 2017-08-08 10:54:53 +0700 |
|---|---|---|
| committer | tumagonx | 2017-08-08 10:54:53 +0700 |
| commit | 2acec63b2ed75bf4b71ad257db573c4b8f9639e7 (patch) | |
| tree | a8bea139ddd26116d44ea182b0b8436f2162e6e3 /debug.h | |
initial commit
Diffstat (limited to 'debug.h')
| -rw-r--r-- | debug.h | 47 |
1 files changed, 47 insertions, 0 deletions
| @@ -0,0 +1,47 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (c) 2004 Security Architects Corporation. All rights reserved. | ||
| 3 | * | ||
| 4 | * Module Name: | ||
| 5 | * | ||
| 6 | * debug.h | ||
| 7 | * | ||
| 8 | * Abstract: | ||
| 9 | * | ||
| 10 | * This module implements various debug hooking routines. | ||
| 11 | * | ||
| 12 | * Author: | ||
| 13 | * | ||
| 14 | * Eugene Tsyrklevich 23-Apr-2004 | ||
| 15 | * | ||
| 16 | * Revision History: | ||
| 17 | * | ||
| 18 | * None. | ||
| 19 | */ | ||
| 20 | |||
| 21 | |||
| 22 | #ifndef __DEBUG_H__ | ||
| 23 | #define __DEBUG_H__ | ||
| 24 | |||
| 25 | |||
| 26 | |||
| 27 | /* | ||
| 28 | * ZwDebugActiveProcess. | ||
| 29 | */ | ||
| 30 | |||
| 31 | typedef NTSTATUS (*fpZwDebugActiveProcess) ( | ||
| 32 | UINT32 Unknown1, | ||
| 33 | UINT32 Unknown2 | ||
| 34 | ); | ||
| 35 | |||
| 36 | NTSTATUS | ||
| 37 | NTAPI | ||
| 38 | HookedNtDebugActiveProcess( | ||
| 39 | UINT32 Unknown1, | ||
| 40 | UINT32 Unknown2 | ||
| 41 | ); | ||
| 42 | |||
| 43 | |||
| 44 | BOOLEAN InitDebugHooks(); | ||
| 45 | |||
| 46 | |||
| 47 | #endif /* __DEBUG_H__ */ | ||
