mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-23 06:42:21 +02:00
Catch errors if the stacker didn't manage to stack correctly.
This commit is contained in:
@@ -32,8 +32,11 @@ class LinuxSymbolFinder(interfaces.automagic.AutomagicInterface):
|
||||
tl_path == path):
|
||||
# TODO: Find the physical layer properly, not just for Intel
|
||||
physical_path = interfaces.configuration.path_join(tl_sub_path, "memory_layer")
|
||||
self._banner_scan(context, path, requirement, context.config[physical_path],
|
||||
progress_callback)
|
||||
# Ensure the stackers succeeded
|
||||
if context.config.get(physical_path, None):
|
||||
self._banner_scan(context, path, requirement, context.config[physical_path],
|
||||
progress_callback)
|
||||
break
|
||||
|
||||
def _banner_scan(self, context, config_path, requirement, layer_name, progress_callback = None):
|
||||
"""Accepts a context, config_path and SymbolRequirement, with a constructed layer_name
|
||||
|
||||
Reference in New Issue
Block a user