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

Method mquery

pydevd_attach_to_process/winappdbg/process.py:2468–2484  ·  view source on GitHub ↗

Query memory information from the address space of the process. Returns a L{win32.MemoryBasicInformation} object. @see: U{http://msdn.microsoft.com/en-us/library/aa366907(VS.85).aspx} @type lpAddress: int @param lpAddress: Address of memory to query.

(self, lpAddress)

Source from the content-addressed store, hash-verified

2466 return win32.VirtualProtectEx(hProcess, lpAddress, dwSize, flNewProtect)
2467
2468 def mquery(self, lpAddress):
2469 """
2470 Query memory information from the address space of the process.
2471 Returns a L{win32.MemoryBasicInformation} object.
2472
2473 @see: U{http://msdn.microsoft.com/en-us/library/aa366907(VS.85).aspx}
2474
2475 @type lpAddress: int
2476 @param lpAddress: Address of memory to query.
2477
2478 @rtype: L{win32.MemoryBasicInformation}
2479 @return: Memory region information.
2480
2481 @raise WindowsError: On error an exception is raised.
2482 """
2483 hProcess = self.get_handle(win32.PROCESS_QUERY_INFORMATION)
2484 return win32.VirtualQueryEx(hProcess, lpAddress)
2485
2486 def free(self, lpAddress):
2487 """

Callers 15

get_environment_blockMethod · 0.95
pokeMethod · 0.95
is_pointerMethod · 0.95
is_address_validMethod · 0.95
is_address_freeMethod · 0.95
is_address_reservedMethod · 0.95
is_address_commitedMethod · 0.95
is_address_guardMethod · 0.95
is_address_readableMethod · 0.95
is_address_writeableMethod · 0.95
is_address_executableMethod · 0.95

Calls 1

get_handleMethod · 0.95

Tested by

no test coverage detected