mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Ensure the non-multithreaded scanner works the same way as the multithreaded one.
This commit is contained in:
@@ -175,10 +175,10 @@ class DataLayerInterface(configuration.ConfigurableInterface, validity.ValidityR
|
||||
for result in result.get():
|
||||
yield from result
|
||||
else:
|
||||
for block in range(min_address, max_address, scanner.chunk_size):
|
||||
for value in scan_iterator():
|
||||
if progress_callback:
|
||||
progress_callback(scan_metric(progress.value))
|
||||
yield from scan_chunk(block)
|
||||
yield from scan_chunk(value)
|
||||
|
||||
def _scan_iterator(self, scanner, min_address, max_address):
|
||||
return range(min_address, max_address, scanner.chunk_size)
|
||||
|
||||
Reference in New Issue
Block a user