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)
| 540 | |
| 541 | |
| 542 | def 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 | |
| 557 | def WriteableAddressIterator(memory_map): |
nothing calls this directly
no test coverage detected