ReactOS  0.4.14-dev-114-gc8cbd56
bp.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) 1998-2001 Klaus P. Gerlicher
4 
5 Module Name:
6 
7  bp.h
8 
9 Abstract:
10 
11  HEADER for bp.c
12 
13 Environment:
14 
15  LINUX 2.2.X
16  Kernel mode only
17 
18 Author:
19 
20  Klaus P. Gerlicher
21 
22 Revision History:
23 
24  15-Nov-2000: general cleanup of source files
25 
26 Copyright notice:
27 
28  This file may be distributed under the terms of the GNU Public License.
29 
30 --*/
31 typedef struct _SW_BP
32 {
40  char szModName[128];
41  char szFunctionName[128];
43 }SW_BP,*PSW_BP;
44 
45 BOOLEAN InstallSWBreakpoint(ULONG ulAddress,BOOLEAN bPermanent,void (*SWBreakpointCallback)(void));
50 BOOLEAN NeedToReInstallSWBreakpoints(ULONG ulAddress,BOOLEAN bUseAddress);
52 BOOLEAN RemoveAllSWBreakpoints(BOOLEAN bEvenPermanents);
54 void ListSWBreakpoints(void);
55 PSW_BP FindSwBp(ULONG ulAddress);
56 BOOLEAN IsSwBpAtAddress(ULONG ulAddress);
59 
60 void InstallInt3Hook(void);
61 void DeInstallInt3Hook(void);
62 
UCHAR ucOriginalOpcode
Definition: bp.h:35
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
BOOLEAN bPermanent
Definition: bp.h:38
char szModName[128]
Definition: bp.h:40
BOOLEAN RemoveSWBreakpoint(ULONG ulAddress)
Definition: bp.c:392
struct _SW_BP * PSW_BP
BOOLEAN bVirtual
Definition: bp.h:39
BOOLEAN InstallSWBreakpoint(ULONG ulAddress, BOOLEAN bPermanent, void(*SWBreakpointCallback)(void))
Definition: bp.c:236
BOOLEAN bInstalled
Definition: bp.h:37
char * LPSTR
Definition: xmlstorage.h:182
Definition: bp.h:31
void DeInstallInt3Hook(void)
Definition: bp.c:736
BOOLEAN IsSwBpAtAddress(ULONG ulAddress)
Definition: bp.c:133
static LPOVERLAPPED_COMPLETION_ROUTINE Function
Definition: sync.c:684
void(* Callback)(void)
Definition: bp.h:42
unsigned char BOOLEAN
BOOLEAN InstallVirtualSWBreakpoint(LPSTR ModName, LPSTR Function)
Definition: bp.c:300
PSW_BP FindSwBp(ULONG ulAddress)
Definition: bp.c:52
ULONG ulNextInstr
Definition: bp.h:34
PSW_BP IsPermanentSWBreakpoint(ULONG ulAddress)
Definition: bp.c:520
unsigned char UCHAR
Definition: xmlstorage.h:181
BOOLEAN ReInstallSWBreakpoint(ULONG ulAddress)
Definition: bp.c:197
BOOLEAN IsSwBpAtAddressInstalled(ULONG ulAddress)
Definition: bp.c:113
void ListSWBreakpoints(void)
Definition: bp.c:549
BOOLEAN RemoveAllSWBreakpoints(BOOLEAN bEvenPermanents)
Definition: bp.c:463
char szFunctionName[128]
Definition: bp.h:41
void TryToInstallVirtualSWBreakpoints(void)
Definition: bp.c:331
unsigned int ULONG
Definition: retypes.h:1
void RevirtualizeBreakpointsForModule(PDEBUG_MODULE pMod)
Definition: bp.c:592
void InstallInt3Hook(void)
Definition: bp.c:709
BOOLEAN NeedToReInstallSWBreakpoints(ULONG ulAddress, BOOLEAN bUseAddress)
Definition: bp.c:150
ULONG ulAddress
Definition: bp.h:33
BOOLEAN bUsed
Definition: bp.h:36
BOOLEAN DeInstallSWBreakpoint(ULONG ulAddress)
Definition: bp.c:428
struct _SW_BP SW_BP