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

Function ReadableAddressIterator

pydevd_attach_to_process/winappdbg/util.py:542–554  ·  view source on GitHub ↗

Generator function that iterates through a memory map, returning only those memory blocks that are readable. @type memory_map: list( L{win32.MemoryBasicInformation} ) @param memory_map: List of memory region information objects. Returned by L{Process.get_memory_map}.

(memory_map)

Source from the content-addressed store, hash-verified

540
541
542def ReadableAddressIterator(memory_map):
543 """
544 Generator function that iterates through a memory map, returning only those
545 memory blocks that are readable.
546
547 @type memory_map: list( L{win32.MemoryBasicInformation} )
548 @param memory_map: List of memory region information objects.
549 Returned by L{Process.get_memory_map}.
550
551 @rtype: generator of L{win32.MemoryBasicInformation}
552 @return: Generator object to iterate memory blocks.
553 """
554 return CustomAddressIterator(memory_map, win32.MemoryBasicInformation.is_readable)
555
556
557def WriteableAddressIterator(memory_map):

Callers

nothing calls this directly

Calls 1

CustomAddressIteratorFunction · 0.85

Tested by

no test coverage detected