mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-10-01 05:54:58 +02:00
adds dynamic length of pool header alignments
This commit is contained in:
@@ -361,7 +361,12 @@ class PoolScanner(plugins.PluginInterface):
|
||||
if not is_windows_10:
|
||||
scan_layer = context.layers[scan_layer].config['memory_layer']
|
||||
|
||||
for constraint, header in cls.pool_scan(context, scan_layer, symbol_table, constraints, alignment = 8):
|
||||
if symbols.symbol_table_is_64bit(context, symbol_table):
|
||||
alignment = 0x10
|
||||
else:
|
||||
alignment = 8
|
||||
|
||||
for constraint, header in cls.pool_scan(context, scan_layer, symbol_table, constraints, alignment = alignment):
|
||||
|
||||
mem_object = header.get_object(type_name = constraint.type_name,
|
||||
use_top_down = is_windows_8_or_later,
|
||||
|
||||
Reference in New Issue
Block a user