mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 18:27:39 +02:00
Fix up offset for PAE.
This commit is contained in:
@@ -177,7 +177,7 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface):
|
||||
if physical_layer_name:
|
||||
if context.memory[virtual_layer_name].bits_per_register == 32:
|
||||
# The kernel starts exactly halfway through the address space, so shift the maximum_address down by 1
|
||||
kvo = kernel['mz_offset'] + ((context.memory[virtual_layer_name].maximum_address + 1) >> 1)
|
||||
kvo = kernel['mz_offset'] + (1 << (context.memory[virtual_layer_name].bits_per_register - 1))
|
||||
elif context.memory[virtual_layer_name].bits_per_register == 64:
|
||||
# The kernel starts in a chunk towards the end of the space
|
||||
kvo = kernel['mz_offset'] + (
|
||||
|
||||
Reference in New Issue
Block a user