MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / read_pointer

Method read_pointer

pydevd_attach_to_process/winappdbg/process.py:1758–1772  ·  view source on GitHub ↗

Reads a pointer value from the memory of the process. @see: L{peek_pointer} @type lpBaseAddress: int @param lpBaseAddress: Memory address to begin reading. @rtype: int @return: Pointer value read from the process memory. @raise WindowsEr

(self, lpBaseAddress)

Source from the content-addressed store, hash-verified

1756 self.__write_c_type(lpBaseAddress, "@d", unpackedValue)
1757
1758 def read_pointer(self, lpBaseAddress):
1759 """
1760 Reads a pointer value from the memory of the process.
1761
1762 @see: L{peek_pointer}
1763
1764 @type lpBaseAddress: int
1765 @param lpBaseAddress: Memory address to begin reading.
1766
1767 @rtype: int
1768 @return: Pointer value read from the process memory.
1769
1770 @raise WindowsError: On error an exception is raised.
1771 """
1772 return self.__read_c_type(lpBaseAddress, "@P", ctypes.c_void_p)
1773
1774 def write_pointer(self, lpBaseAddress, unpackedValue):
1775 """

Callers 4

_get_return_addressMethod · 0.80
_get_return_addressMethod · 0.80
get_seh_chain_pointerMethod · 0.80
get_seh_chainMethod · 0.80

Calls 1

__read_c_typeMethod · 0.95

Tested by

no test coverage detected