Generator function that iterates through a memory map, returning only those memory blocks that contain data. @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)
| 495 | |
| 496 | |
| 497 | def DataAddressIterator(memory_map): |
| 498 | """ |
| 499 | Generator function that iterates through a memory map, returning only those |
| 500 | memory blocks that contain data. |
| 501 | |
| 502 | @type memory_map: list( L{win32.MemoryBasicInformation} ) |
| 503 | @param memory_map: List of memory region information objects. |
| 504 | Returned by L{Process.get_memory_map}. |
| 505 | |
| 506 | @rtype: generator of L{win32.MemoryBasicInformation} |
| 507 | @return: Generator object to iterate memory blocks. |
| 508 | """ |
| 509 | return CustomAddressIterator(memory_map, win32.MemoryBasicInformation.has_content) |
| 510 | |
| 511 | |
| 512 | def ImageAddressIterator(memory_map): |
nothing calls this directly
no test coverage detected