mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Prepare core plugins for moving into the framework namespace.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user