Generator function that iterates through a memory map, returning only those memory blocks that belong to executable images. @type memory_map: list( L{win32.MemoryBasicInformation} ) @param memory_map: List of memory region information objects. Returned by L{Process.get_mem
(memory_map)
| 510 | |
| 511 | |
| 512 | def ImageAddressIterator(memory_map): |
| 513 | """ |
| 514 | Generator function that iterates through a memory map, returning only those |
| 515 | memory blocks that belong to executable images. |
| 516 | |
| 517 | @type memory_map: list( L{win32.MemoryBasicInformation} ) |
| 518 | @param memory_map: List of memory region information objects. |
| 519 | Returned by L{Process.get_memory_map}. |
| 520 | |
| 521 | @rtype: generator of L{win32.MemoryBasicInformation} |
| 522 | @return: Generator object to iterate memory blocks. |
| 523 | """ |
| 524 | return CustomAddressIterator(memory_map, win32.MemoryBasicInformation.is_image) |
| 525 | |
| 526 | |
| 527 | def MappedAddressIterator(memory_map): |
nothing calls this directly
no test coverage detected