mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-30 13:34:53 +02:00
Add in the next tasks for the dep resolver.
This commit is contained in:
@@ -39,7 +39,17 @@ class CommandLine(object):
|
||||
# Determine the selected plugin
|
||||
# Resolve the dependencies on that plugin
|
||||
dldr = depresolver.DataLayerDependencyResolver()
|
||||
print("DEPS RESOLVED", dldr.resolve_dependencies(plugin))
|
||||
dependencies = dldr.resolve_dependencies(plugin)
|
||||
|
||||
# TODO: write functions that determine all possible options/requirements for this plugin
|
||||
# (flatten the tree, treating disjunctions as conjunctions)
|
||||
|
||||
|
||||
# TODO: Write functions that walk the tree and produce instances of each of the requirements
|
||||
# (to allow a registry-like tree of config values that can be populated by the user)
|
||||
|
||||
# TODO: Walk down the tree attempting to fulfil each requirement (recursive) and backtrack when necessary
|
||||
|
||||
|
||||
# Translate the parsed args to a context configuration
|
||||
|
||||
|
||||
@@ -63,6 +63,10 @@ class DataLayerDependencyResolver(validity.ValidityRoutines):
|
||||
fulfillment[requirement.name] = requirement
|
||||
return fulfillment
|
||||
|
||||
def all_possible_requirements(self, deptree):
|
||||
|
||||
|
||||
|
||||
|
||||
class Possibility(dict):
|
||||
"""Class to differentiate between different available options for completion of a requirement"""
|
||||
|
||||
Reference in New Issue
Block a user