From 7ed8b99e9845b2f982da4ef186bed137ba77af8f Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 19 Dec 2024 15:50:17 +1100 Subject: [PATCH] linux: vmcoreinfo layer: Use the version class accessor instead of the internal class member --- volatility3/framework/automagic/linux.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/linux.py b/volatility3/framework/automagic/linux.py index 76c7f7ab3..58195744b 100644 --- a/volatility3/framework/automagic/linux.py +++ b/volatility3/framework/automagic/linux.py @@ -226,12 +226,12 @@ def _check_versions() -> bool: # Check VMCOREINFO API version vmcoreinfo_version_required = (1, 0, 0) if not requirements.VersionRequirement.matches_required( - vmcoreinfo_version_required, linux.VMCoreInfo._version + vmcoreinfo_version_required, linux.VMCoreInfo.version ): vollog.info( "VMCOREINFO version not suitable: required %s found %s", vmcoreinfo_version_required, - linux.VMCoreInfo._version, + linux.VMCoreInfo.version, ) return False