mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-22 14:32:21 +02:00
Refactor the DataLayerDepResolver into just a generic DepResolver.
This commit is contained in:
@@ -38,7 +38,7 @@ class CommandLine(object):
|
||||
|
||||
# Determine the selected plugin
|
||||
# Resolve the dependencies on that plugin
|
||||
dldr = depresolver.DataLayerDependencyResolver()
|
||||
dldr = depresolver.DependencyResolver()
|
||||
dependencies = dldr.build_tree(plugin)
|
||||
|
||||
# UI fills in the config:
|
||||
|
||||
@@ -4,7 +4,7 @@ from volatility.framework.interfaces import layers, configuration
|
||||
from volatility.framework.interfaces.configuration import RequirementTreeLeaf, RequirementTreeNode
|
||||
|
||||
|
||||
class DataLayerDependencyResolver(validity.ValidityRoutines):
|
||||
class DependencyResolver(validity.ValidityRoutines):
|
||||
def __init__(self):
|
||||
# Maintain a cache of translation layers
|
||||
self.layer_cache = []
|
||||
|
||||
Reference in New Issue
Block a user