3 Copyright (c) 1998-2001 Klaus P. Gerlicher
24 15-Nov-2000: general cleanup of source files
28 This file may be distributed under the terms of the GNU Public License.
35 UCHAR ucOriginalOpcode;
41 char szFunctionName[128];
42 void (*Callback)(void);
45 BOOLEAN InstallSWBreakpoint(ULONG ulAddress,BOOLEAN bPermanent,void (*SWBreakpointCallback)(void));
46 BOOLEAN InstallVirtualSWBreakpoint(LPSTR ModName,LPSTR Function);
47 void TryToInstallVirtualSWBreakpoints(void);
48 BOOLEAN DeInstallSWBreakpoint(ULONG ulAddress);
49 BOOLEAN RemoveSWBreakpoint(ULONG ulAddress);
50 BOOLEAN NeedToReInstallSWBreakpoints(ULONG ulAddress,BOOLEAN bUseAddress);
51 BOOLEAN ReInstallSWBreakpoint(ULONG ulAddress);
52 BOOLEAN RemoveAllSWBreakpoints(BOOLEAN bEvenPermanents);
53 PSW_BP IsPermanentSWBreakpoint(ULONG ulAddress);
54 void ListSWBreakpoints(void);
55 PSW_BP FindSwBp(ULONG ulAddress);
56 BOOLEAN IsSwBpAtAddress(ULONG ulAddress);
57 BOOLEAN IsSwBpAtAddressInstalled(ULONG ulAddress);
58 void RevirtualizeBreakpointsForModule(PDEBUG_MODULE pMod);
60 void InstallInt3Hook(void);
61 void DeInstallInt3Hook(void);