Interface to a DLL library loaded in the context of another
process.
|
|
__init__(self,
lpBaseOfDll,
hFile=None,
fileName=None,
SizeOfImage=None,
EntryPoint=None,
process=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
__get_size_and_entry_point(self)
Get the size and entry point of the module using the Win32 API. |
|
|
|
str
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
int or None
|
get_base(self)
Returns:
Base address of the module. |
|
|
|
int or None
|
get_size(self)
Returns:
Base size of the module. |
|
|
|
int or None
|
|
|
str or None
|
|
|
str
|
get_name(self)
Returns:
Module name, as used in labels. |
|
|
|
Process or None
|
|
|
int or None
|
get_pid(self)
Returns:
Parent process global ID. |
|
|
|
bool
|
match_name(self,
name)
Returns:
True if the given name could refer to this module. |
|
|
|
str
|
get_label(self,
function=None,
offset=None)
Retrieves the label for the given function of this module or the
module base address if no function name is given. |
|
|
|
str
|
|
|
bool or None
|
is_address_here(self,
address)
Tries to determine if the given address belongs to this module. |
|
|
|
int
|
resolve(self,
function)
Resolves a function exported by this module. |
|
|
|
int
|
resolve_label(self,
label)
Resolves a label for this module only. |
|
|
|
|
open_handle(self)
Opens a new handle to the module. |
|
|
|
|
close_handle(self)
Closes the handle to the module. |
|
|
|
FileHandle
|
get_handle(self)
Returns:
Handle to the module file. |
|
|
|
|
|
|
list of tuple( str, int, int )
|
|
|
iterator of tuple( str, int, int )
|
|
|
|
|
|
int or None
|
|
|
|
|