Add in the automagic and allow mid-deptree resolution (without trying to re-fulfill already populated requirements).

This commit is contained in:
Mike Auty
2016-02-21 00:42:04 +00:00
parent 9d7e777c28
commit c6a3c2d6b1
4 changed files with 137 additions and 15 deletions
+3 -4
View File
@@ -55,10 +55,9 @@ class CommandLine(object):
windows = True
if windows:
# Traverse the dependency tree and tag the config with the appropriate page_map_offset values where not already applied
wdf = windows_automagic.WindowsDtbFinder(volatility.framework.class_subclasses(windows_automagic.DtbTest))
dldr.configurable_visitor(deptree, context = ctx, path = config_path,
visitor = windows_automagic.PageMapOffsetHelper())
print(repr(deptree))
deptree.traverse(windows_automagic.PageMapOffsetHelper(context = ctx),
config_path = config_path,
short_circuit = False)
# Walk down the tree attempting to fulfil each requirement (recursive) and backtrack when necessary
# Translate the parsed args to a context configuration