Prepare core plugins for moving into the framework namespace.

This commit is contained in:
Mike Auty
2018-12-09 13:32:32 +00:00
parent cf95f6e73e
commit f57bfa5738
8 changed files with 46 additions and 1 deletions
+8
View File
@@ -1 +1,9 @@
"""All Linux-related plugins"""
import os
from volatility.framework import constants
# This is necessary to ensure the core plugins are available, whilst still be overridable
plugin_path_components = __name__.split('.')[2:]
__path__ = [os.path.join(x, *plugin_path_components) for x in constants.PLUGINS_PATH]