mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-28 20:44:52 +02:00
comparison harness: module alignment
This commit is contained in:
@@ -474,10 +474,9 @@ 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
|
||||
# Not L1 cache aligned, but compiler should naturally
|
||||
# align to the referenced type as a minimum.
|
||||
return context.modules[vmlinux_module_name].get_type("pointer").size
|
||||
|
||||
@classmethod
|
||||
def list_modules(
|
||||
|
||||
Reference in New Issue
Block a user