From 44e8ac645fe08de903df830b15eca32d006d8f50 Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Tue, 17 Dec 2024 22:59:04 +0100 Subject: [PATCH] chore: make ruff happy the import is not needed, was previously used for type annotations --- .../framework/plugins/windows/indirect_system_calls.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/volatility3/framework/plugins/windows/indirect_system_calls.py b/volatility3/framework/plugins/windows/indirect_system_calls.py index f09851b30..dac0f9c4a 100644 --- a/volatility3/framework/plugins/windows/indirect_system_calls.py +++ b/volatility3/framework/plugins/windows/indirect_system_calls.py @@ -13,12 +13,6 @@ from volatility3.plugins.windows import pslist, direct_system_calls vollog = logging.getLogger(__name__) -try: - import capstone -except ImportError: - # The generator of DirectSystemCalls will bail with a warning if capstone is not installed - pass - class IndirectSystemCalls(direct_system_calls.DirectSystemCalls): _required_framework_version = (2, 4, 0)