Package winappdbg :: Module breakpoint :: Class BufferWatch
[hide private]
[frames] | no frames]

Class BufferWatch

source code


Returned by Debug.watch_buffer.

This object uniquely references a buffer being watched, even if there are multiple watches set on the exact memory region.

Instance Methods [hide private]
 
__init__(self, pid, start, end, action=None, oneshot=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
bool
match(self, address)
Determine if the given memory address lies within the watched buffer.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
int pid
Process ID.
int start
Memory address of the start of the buffer.
int end
Memory address of the end of the buffer.
callable action
Action callback.
bool oneshot
True for one shot breakpoints, False otherwise.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, pid, start, end, action=None, oneshot=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

match(self, address)

source code 

Determine if the given memory address lies within the watched buffer.

Returns: bool
True if the given memory address lies within the watched buffer, False otherwise.

Instance Variable Details [hide private]

pid

Process ID.
Get Method:
unreachable.pid(self)

start

Memory address of the start of the buffer.
Get Method:
unreachable.start(self)

end

Memory address of the end of the buffer.
Get Method:
unreachable.end(self)

action

Action callback.
Get Method:
unreachable.action(self)

oneshot

True for one shot breakpoints, False otherwise.
Get Method:
unreachable.oneshot(self)