mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-30 11:49:42 +02:00
Merge pull request #1765 from Abyss-W4tcher/minimum_alignment_adjustment
[Parity/modules] Adjust module alignment for scanners
This commit is contained in:
@@ -474,10 +474,7 @@ class Modules(interfaces.configuration.VersionableInterface):
|
||||
Returns:
|
||||
The struct module alignment
|
||||
"""
|
||||
# FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata
|
||||
# Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be
|
||||
# essential for retrieving type metadata in the future.
|
||||
return 64
|
||||
return context.modules[vmlinux_module_name].get_type("pointer").size
|
||||
|
||||
@classmethod
|
||||
def list_modules(
|
||||
|
||||
Reference in New Issue
Block a user