From 1ab8ddcb7faee4b4a28976e86397f8d9df1a862a Mon Sep 17 00:00:00 2001 From: ikelos Date: Wed, 9 Apr 2025 20:35:19 +0100 Subject: [PATCH] Merge pull request #1765 from Abyss-W4tcher/minimum_alignment_adjustment [Parity/modules] Adjust module alignment for scanners --- volatility3/framework/symbols/linux/utilities/modules.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/volatility3/framework/symbols/linux/utilities/modules.py b/volatility3/framework/symbols/linux/utilities/modules.py index 62ebeef03..1c675a283 100644 --- a/volatility3/framework/symbols/linux/utilities/modules.py +++ b/volatility3/framework/symbols/linux/utilities/modules.py @@ -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(