mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-10-01 05:54:58 +02:00
Automagic: Improve debugging output for linux/mac
This commit is contained in:
@@ -84,6 +84,7 @@ class LinuxIntelStacker(interfaces.automagic.StackerLayerInterface):
|
||||
if layer and dtb:
|
||||
vollog.debug("DTB was found at: 0x{:0x}".format(dtb))
|
||||
return layer
|
||||
vollog.debug("No suitable linux banner could be matched")
|
||||
return None
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -44,6 +44,7 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface):
|
||||
for banner_offset, banner in layer.scan(context = context, scanner = mss,
|
||||
progress_callback = progress_callback):
|
||||
dtb = None
|
||||
vollog.debug("Identified banner: {}".format(repr(banner)))
|
||||
|
||||
symbol_files = mac_banners.get(banner, None)
|
||||
if symbol_files:
|
||||
@@ -102,9 +103,9 @@ class MacIntelStacker(interfaces.automagic.StackerLayerInterface):
|
||||
metadata = {'kaslr_value': kaslr_shift})
|
||||
|
||||
if new_layer and dtb:
|
||||
vollog.debug("Identified banner: {}".format(repr(banner)))
|
||||
vollog.debug("DTB was found at: 0x{:0x}".format(dtb))
|
||||
return new_layer
|
||||
vollog.debug("No suitable mac banner could be matched")
|
||||
return None
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user