mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-23 01:54:51 +02:00
linux: vmcoreinfo plugin: simplify hex conversion
This commit is contained in:
@@ -39,7 +39,7 @@ class VMCoreInfo(plugins.PluginInterface):
|
||||
):
|
||||
for key, value in vmcoreinfo.items():
|
||||
if key.startswith("SYMBOL(") or key == "KERNELOFFSET":
|
||||
value = f"0x{value:x}"
|
||||
value = hex(value)
|
||||
else:
|
||||
value = str(value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user