Generator function that iterates through a memory map, returning only those memory blocks that belong to memory mapped files. @type memory_map: list( L{win32.MemoryBasicInformation} ) @param memory_map: List of memory region information objects. Returned by L{Process.get_m
(memory_map)
| 525 | |
| 526 | |
| 527 | def MappedAddressIterator(memory_map): |
| 528 | """ |
| 529 | Generator function that iterates through a memory map, returning only those |
| 530 | memory blocks that belong to memory mapped files. |
| 531 | |
| 532 | @type memory_map: list( L{win32.MemoryBasicInformation} ) |
| 533 | @param memory_map: List of memory region information objects. |
| 534 | Returned by L{Process.get_memory_map}. |
| 535 | |
| 536 | @rtype: generator of L{win32.MemoryBasicInformation} |
| 537 | @return: Generator object to iterate memory blocks. |
| 538 | """ |
| 539 | return CustomAddressIterator(memory_map, win32.MemoryBasicInformation.is_mapped) |
| 540 | |
| 541 | |
| 542 | def ReadableAddressIterator(memory_map): |
nothing calls this directly
no test coverage detected