mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 09:47:38 +02:00
report segments in the crash layer with LOGLEVEL_VVVV
This commit is contained in:
@@ -150,6 +150,15 @@ class WindowsCrashDump32Layer(segmented.SegmentedLayer):
|
||||
|
||||
if len(segments) == 0:
|
||||
raise WindowsCrashDumpFormatException(self.name, "No Crash segments defined in {}".format(self._base_layer))
|
||||
else:
|
||||
# report the segments for debugging. this is valuable for dev/troubleshooting but
|
||||
# not important enough for a dedicated plugin.
|
||||
for idx, (start_position, mapped_offset, length, _) in enumerate(segments):
|
||||
vollog.log(constants.LOGLEVEL_VVVV,
|
||||
"Segment {}: Position {:#x} Offset {:#x} Length {:#x}".format(idx,
|
||||
start_position,
|
||||
mapped_offset,
|
||||
length))
|
||||
|
||||
self._segments = segments
|
||||
|
||||
|
||||
Reference in New Issue
Block a user