Add vollog for PagedInvalidAddressException

This commit is contained in:
Donghyun Kim
2022-03-25 17:02:41 +09:00
parent 2cfc24f7d3
commit b07859db7f
@@ -126,10 +126,12 @@ class MBRScan(interfaces.plugins.PluginInterface):
))
else:
vollog.log(constants.LOGLEVEL_VV, f"Not a valid MBR: Data all zeroed out : {format_hints.Hex(offset)}")
continue
except exceptions.PagedInvalidAddressException:
pass
except exceptions.PagedInvalidAddressException as excp:
vollog.debug(f"Invalid address identified in guessed MBR: {hex(excp.invalid_address)}")
continue
def run(self)-> renderers.TreeGrid:
if not self.config.get("full", True):
return renderers.TreeGrid([