Bases: object
Get the number of loaded and unloaded modules
| Returns: | Number of loaded, unloaded modules – int, int | 
|---|
Get the base of module number i
Get the name of module number i
Return a list of (currModuleName, currImageName, currLoadedImageName)
Reload a module or all modules if module_to_reload is not specified
End the Debugging session and detach the COM interface
Set the processor we want to be executed on
| Parameters: | proc_nb (int) – the number of the processor | 
|---|
Iter execution on every processor
| Yield: | current processor number | 
|---|
Get the typeid of a type
| Parameters: | |
|---|---|
| Return type: | int | 
Get the module and typeid of a symbol
| Parameters: | symtype (str) – the name of the type | 
|---|---|
| Return type: | int, int – module ID, type ID | 
Get the offset of a field in a type
| Return type: | int | 
|---|
Get the name of a type
| Return type: | str | 
|---|
Get the size of a type
| Return type: | int | 
|---|
Get the name of a field in a type
| Parameters: | fieldindex (int) – Index of the field to retrieve | 
|---|---|
| Return type: | int | 
Get the type and the offset of a field in a type
| Parameters: | fieldname (str) – The name of the field we want | 
|---|---|
| Return type: | int, int – type ID, field offset | 
Get the address of a symbol
| Parameters: | name (str) – Name of the symbol | 
|---|---|
| Return type: | int | 
Get the symbol and displacement of an address
| Parameters: | addr (int) – The address to lookup | 
|---|---|
| Return type: | str, int – symbol name, displacement | 
| Parameters: | symbol_pattern (str) – The symbol pattern (nt!Create*, *!CreateFile, ..) | 
|---|---|
| Yield: | str, int – symbol name, symbol address | 
Read the memory at a given virtual address
| Parameters: | |
|---|---|
| Returns: | str | 
Write data to a given virtual address
| Parameters: | 
 | 
|---|---|
| Returns: | the size written – int | 
Write physical memory from virtual address Exactly the same as write_physical(virtual_to_physical(addr), data)
“Read the memory at a given virtual address into a ctypes Structure
| Parameters: | 
 | 
|---|---|
| Returns: | the size read – int | 
Read a byte from virtual memory
Read a byte from physical memory
Read a word from virtual memory
Read a word from physical memory
Read a dword from virtual memory
Read a dword from physical memory
Read a qword from virtual memory
Read a qword from physical memory
Read a byte to virtual memory
write a byte to physical memory
write a word to virtual memory
write a word to physical memory
write a dword to virtual memory
write a dword to physical memory
write a qword to virtual memory
write a qword to physical memory
Read a pointer from virtual memory
Read a pointer from physical memory
Write a pointer to virtual memory
Write a pointer to physical memory
Write a Model Specific Register
Read a Model Specific Register
Get the physical address of a virtual one
Read the physical memory at a given address
| Parameters: | |
|---|---|
| Returns: | 
Write data to a given physical address
| Parameters: | 
 | 
|---|---|
| Returns: | the size written – int | 
(see ReadProcessorSystemData() https://msdn.microsoft.com/en-us/library/windows/hardware/ff554326%28v=vs.85%29.aspx.)
| Parameters: | 
 | 
|---|---|
| Returns: | the value read – int | 
| Parameters: | 
 | 
|---|---|
| Returns: | the number of bytes written – int | 
| Parameters: | 
 | 
|---|---|
| Returns: | 
| Parameters: | 
 | 
|---|---|
| Returns: | the value read – int | 
| Parameters: | 
 | 
|---|---|
| Returns: | the number of bytes written – int |