mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 20:27:38 +02:00
Ensure the progress value for translation layer scanning is correct.
This commit is contained in:
@@ -237,7 +237,7 @@ class TranslationLayerInterface(DataLayerInterface, metaclass = ABCMeta):
|
||||
chunk = self._context.memory.read(layer, mapped_offset, length)
|
||||
if progress_callback:
|
||||
progress += length
|
||||
progress_callback(progress / total_size)
|
||||
progress_callback((progress * 100) / total_size)
|
||||
for x in scanner(chunk, offset):
|
||||
yield x
|
||||
|
||||
|
||||
Reference in New Issue
Block a user