| Home | Trees | Indices | Help |
|
|---|
|
|
Class to manipulate debug registers. Used by HardwareBreakpoint.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
| int |
|
||
|
|||
| a new object with type S, a subtype of T |
|
||
|
|||
registerMask = 4294967295
|
|||
| Trigger flags used by HardwareBreakpoint | |||
|---|---|---|---|
| int |
BREAK_ON_EXECUTION = 0Break on execution. |
||
| int |
BREAK_ON_WRITE = 1Break on write. |
||
| int |
BREAK_ON_ACCESS = 3Break on read or write. |
||
| int |
BREAK_ON_IO_ACCESS = 2Break on I/O port access. |
||
| Size flags used by HardwareBreakpoint | |||
| int |
WATCH_BYTE = 0Watch a byte. |
||
| int |
WATCH_WORD = 1Watch a word. |
||
| int |
WATCH_DWORD = 3Watch a double word. |
||
| int |
WATCH_QWORD = 2Watch one quad word. |
||
| Bitwise masks for Dr7 | |||
| 4-tuple of integers |
enableMask = Enable bit on Dr7 for each slot.
|
||
| 4-tuple of integers |
disableMask = Mask of the enable bit on Dr7 for each slot.
|
||
| 4-tuple of 2-tuples of integers |
triggerMask = Trigger bits on Dr7 for each trigger flag value.
|
||
| 4-tuple of 2-tuples of integers |
watchMask = Watch bits on Dr7 for each watch flag value.
|
||
| 4-tuple of integers |
clearMask = Mask of all important bits on Dr7 for each slot.
|
||
| integer |
generalDetectMask = 8192General detect mode bit. |
||
| Bitwise masks for Dr6 | |||
| 4-tuple of integers |
hitMask = Hit bit on Dr6 for each slot.
|
||
| integer |
hitMaskAll = 15Bitmask for all hit bits in Dr6.
|
||
| integer |
clearHitMask = 4294967280Bitmask to clear all the hit bits in Dr6.
|
||
| integer |
debugAccessMask = 8192The debugee tried to access a debug register. |
||
| integer |
singleStepMask = 16384A single step exception was raised. |
||
| integer |
taskSwitchMask = 32768A task switch has occurred. |
||
| integer |
clearDr6Mask = 4294909936Bitmask to clear all meaningful bits in Dr6.
|
||
| Debug control MSR definitions | |||
DebugCtlMSR = 473
|
|||
LastBranchRecord = 1
|
|||
BranchTrapFlag = 2
|
|||
PinControl =
|
|||
LastBranchToIP = 476
|
|||
LastBranchFromIP = 475
|
|||
LastExceptionToIP = 478
|
|||
LastExceptionFromIP = 477
|
|||
|
|||
|
Inherited from |
|||
|
|||
Clears a hardware breakpoint.
See Also: find_slot, set_bp |
Sets a hardware breakpoint.
See Also: clear_bp, find_slot |
Finds an empty slot to set a hardware breakpoint.
See Also: clear_bp, set_bp |
|
|||
BREAK_ON_IO_ACCESSBreak on I/O port access. Not supported by any hardware.
|
enableMaskEnable bit onDr7 for each slot. Works as a bitwise-OR mask.
|
disableMaskMask of the enable bit onDr7 for each slot. Works as a
bitwise-AND mask.
|
triggerMaskTrigger bits onDr7 for each trigger flag value. Each
2-tuple has the bitwise-OR mask and the bitwise-AND mask.
|
watchMaskWatch bits onDr7 for each watch flag value. Each 2-tuple
has the bitwise-OR mask and the bitwise-AND mask.
|
clearMaskMask of all important bits onDr7 for each slot. Works as a
bitwise-AND mask.
|
generalDetectMaskGeneral detect mode bit. It enables the processor to notify the debugger when the debugee is trying to access one of the debug registers.
|
hitMaskHit bit onDr6 for each slot. Works as a bitwise-AND mask.
|
hitMaskAllBitmask for all hit bits inDr6. Useful to know if at least
one hardware breakpoint was hit, or to clear the hit bits only.
|
debugAccessMaskThe debugee tried to access a debug register. Needs bit generalDetectMask enabled inDr7.
|
singleStepMaskA single step exception was raised. Needs the trap flag enabled.
|
taskSwitchMaskA task switch has occurred. Needs the TSS T-bit set to 1.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 20 17:54:56 2013 | http://epydoc.sourceforge.net |