We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 842d0e7 commit 54f64fcCopy full SHA for 54f64fc
volatility3/framework/symbols/linux/utilities/modules.py
@@ -474,10 +474,9 @@ def get_module_address_alignment(
474
Returns:
475
The struct module alignment
476
"""
477
- # FIXME: When dwarf2json/ISF supports type alignments. Read it directly from the type metadata
478
- # Additionally, while 'context' and 'vmlinux_module_name' are currently unused, they will be
479
- # essential for retrieving type metadata in the future.
480
- 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
481
482
@classmethod
483
def list_modules(
0 commit comments