We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c6b804 + fe76d4f commit c05972fCopy full SHA for c05972f
qiling/os/memory.py
@@ -419,8 +419,7 @@ def unmap_all(self):
419
"""
420
421
for begin, end, _ in self.ql.uc.mem_regions():
422
- if begin and end:
423
- self.unmap(begin, end - begin + 1)
+ self.unmap(begin, end - begin + 1)
424
425
def is_available(self, addr: int, size: int) -> bool:
426
"""Query whether the memory range starting at `addr` and is of length of `size` bytes
0 commit comments