From 37b792b09c440591abcdfa19d8b49dc32f5b5695 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Tue, 21 Jan 2025 18:57:42 +0100 Subject: [PATCH] ruff fix --- volatility3/framework/plugins/linux/tracing/ftrace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/tracing/ftrace.py b/volatility3/framework/plugins/linux/tracing/ftrace.py index ba52a93ce..01268aa8a 100644 --- a/volatility3/framework/plugins/linux/tracing/ftrace.py +++ b/volatility3/framework/plugins/linux/tracing/ftrace.py @@ -53,7 +53,7 @@ class Check_ftrace(interfaces.plugins.PluginInterface): additional_description = """Investigate the ftrace infrastructure to uncover kernel attached callbacks, which can be leveraged to hook kernel functions and modify their behaviour.""" _hidden_modules_run = False - """Flag to determine if the hidden_modules plugin was run, + """Flag to determine if the hidden_modules plugin was run, in the context of this plugin.""" @staticmethod @@ -147,7 +147,7 @@ class Check_ftrace(interfaces.plugins.PluginInterface): # Run hidden_modules plugin if a callback origin couldn't be determined (only done once, results are re-used afterwards) if module is None and not cls._hidden_modules_run: vollog.info( - f"A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", + "A callback module origin could not be determined. hidden_modules plugin will be run to detect additional modules.", ) known_modules_addresses = set( context.layers[kernel.layer_name].canonicalize(module.vol.offset)