From 77081d3f6832d187eeff5fc0c2d7b64c2655a4b8 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Tue, 2 May 2023 05:51:24 +0900 Subject: [PATCH 1/3] Add: code comment for plugins --- volatility3/framework/plugins/windows/crashinfo.py | 2 ++ volatility3/framework/plugins/windows/ldrmodules.py | 2 ++ volatility3/plugins/windows/statistics.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/volatility3/framework/plugins/windows/crashinfo.py b/volatility3/framework/plugins/windows/crashinfo.py index a9f32f63d..4ecd85087 100644 --- a/volatility3/framework/plugins/windows/crashinfo.py +++ b/volatility3/framework/plugins/windows/crashinfo.py @@ -14,6 +14,8 @@ vollog = logging.getLogger(__name__) class Crashinfo(interfaces.plugins.PluginInterface): + """Lists the information from a Windows crash dump.""" + _required_framework_version = (2, 0, 0) @classmethod diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index 9642810a5..3c2b8a42d 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -7,6 +7,8 @@ from volatility3.plugins.windows import pslist, vadinfo class LdrModules(interfaces.plugins.PluginInterface): + """Lists the loaded modules in a particular windows memory image.""" + _required_framework_version = (2, 0, 0) _version = (1, 0, 0) diff --git a/volatility3/plugins/windows/statistics.py b/volatility3/plugins/windows/statistics.py index e921b3565..4cc05440c 100644 --- a/volatility3/plugins/windows/statistics.py +++ b/volatility3/plugins/windows/statistics.py @@ -13,6 +13,8 @@ vollog = logging.getLogger(__name__) class Statistics(plugins.PluginInterface): + """Lists statistics about the memory space.""""" + _required_framework_version = (2, 0, 0) @classmethod From 79cd3fe2feddf4f1041f2941eb34149c5083ab58 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Tue, 2 May 2023 05:57:56 +0900 Subject: [PATCH 2/3] Lint: black issue for windows.statistics --- volatility3/plugins/windows/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/plugins/windows/statistics.py b/volatility3/plugins/windows/statistics.py index 4cc05440c..9915312e3 100644 --- a/volatility3/plugins/windows/statistics.py +++ b/volatility3/plugins/windows/statistics.py @@ -13,7 +13,7 @@ vollog = logging.getLogger(__name__) class Statistics(plugins.PluginInterface): - """Lists statistics about the memory space.""""" + """Lists statistics about the memory space.""" _required_framework_version = (2, 0, 0) From c06836e45dfe56dfc5c5dc9977cdc638aed4785e Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Tue, 2 May 2023 05:58:57 +0900 Subject: [PATCH 3/3] Lint: black issue for windows.ldrmodules --- volatility3/framework/plugins/windows/ldrmodules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/plugins/windows/ldrmodules.py b/volatility3/framework/plugins/windows/ldrmodules.py index 3c2b8a42d..4c8456fa9 100644 --- a/volatility3/framework/plugins/windows/ldrmodules.py +++ b/volatility3/framework/plugins/windows/ldrmodules.py @@ -8,7 +8,7 @@ from volatility3.plugins.windows import pslist, vadinfo class LdrModules(interfaces.plugins.PluginInterface): """Lists the loaded modules in a particular windows memory image.""" - + _required_framework_version = (2, 0, 0) _version = (1, 0, 0)