Yield the memory information for the whole address space of the process :yield: :class:`~windows.generated_def.winstructs.MEMORY_BASIC_INFORMATION`
(self)
| 216 | return res |
| 217 | |
| 218 | def memory_state(self): |
| 219 | """Yield the memory information for the whole address space of the process |
| 220 | |
| 221 | :yield: :class:`~windows.generated_def.winstructs.MEMORY_BASIC_INFORMATION` |
| 222 | """ |
| 223 | addr = 0 |
| 224 | res = [] |
| 225 | while True: |
| 226 | try: |
| 227 | x = self.query_memory(addr) |
| 228 | yield x |
| 229 | except winproxy.WinproxyError: |
| 230 | return |
| 231 | addr += x.RegionSize |
| 232 | |
| 233 | def query_working_set(self): |
| 234 | if self.bitness == 64 or windows.current_process.bitness == 64: |
nothing calls this directly
no test coverage detected