Mike Auty
62eff8242d
Include an initial version of the dependency resolver.
2016-01-11 00:03:54 +00:00
Mike Auty
89fa79503c
Fix typo in intel space, and ensure inheritted classes accept the same arguments.
2016-01-11 00:02:53 +00:00
Mike Auty
3e9ae60d15
Remove the no-longer needed layer requirements.
2016-01-11 00:01:26 +00:00
Mike Auty
df4a4d5e8d
Remove abstract method from classmethods (since it won't error if the abstract method isn't implemented until instantiation.
2016-01-10 16:30:37 +00:00
Mike Auty
3bf336df41
Rework the dependency section and contemplate how to thread it all together a little more.
2016-01-10 16:29:47 +00:00
Mike Auty
82a145200f
Add in the next tasks for the dep resolver.
2016-01-10 12:36:28 +00:00
Mike Auty
f49f047e55
Clear up the dependency resolver.
2016-01-05 23:26:20 +00:00
Mike Auty
b2be217a13
Add in an initial draft of the dependency resolver
...
Some gotchas:
* Classes can't update attributes that they inherit, because the
inheritance happens after class construction
* The dep resolver can go in circle if the constraints in a layer are
too permissive
2016-01-04 01:17:51 +00:00
Mike Auty
bef0689982
Add in constraints for dependency solving.
2016-01-04 01:17:23 +00:00
Mike Auty
ee42751055
Fix up test_rig.
2015-12-30 23:21:41 +00:00
Mike Auty
ff1e326a9c
Rip out layer factories, and replace them with a single dependency resolver.
2015-12-30 21:58:41 +00:00
Mike Auty
bcbfee9016
Refactor the validity function names to make it easier for autocomplete to find.
2015-12-29 22:24:32 +00:00
Mike Auty
595e2faeb4
Start including configuration into the data layers.
2015-12-29 22:22:31 +00:00
Mike Auty
cf66d0b447
Start building a dependency resolver for translation layers.
2015-12-29 22:13:10 +00:00
Mike Auty
f7cc2ef00e
Add a third layer to the requirement system
...
Now:
1. ConfigSchemaNode Class (pre-plugin instantiation)
2. ConfigSchemaNode Instance (plugin instantiated)
3. ConfigurationItem Instance (tree linking schema nodes to configuration value locations)
2015-12-27 01:12:38 +00:00
Mike Auty
cf2b7b7c01
Update more ideas, getting closer to a suitable setup.
2015-12-07 09:23:20 +00:00
Mike Auty
2028c26557
Uncomment Conjunction/Disjunction Requirements and add initial windows translation layers, etc
2015-12-03 00:17:55 +00:00
Mike Auty
6a5f3ca7a3
Relocate the configuration classes.
2015-12-03 00:11:42 +00:00
Mike Auty
a4b44cf921
Move the configuration data to its own module.
2015-12-02 09:42:05 +00:00
Mike Auty
ede77815b1
Commit additional notes.
2015-12-02 02:18:41 +00:00
Mike Auty
0e75503645
A few more little fix-ups and initial thoughts on what I'm trying to achieve. It's still a little confused around the TranslationLayerRequirements.
2015-12-01 00:00:14 +00:00
Mike Auty
58582715db
Rework configuration classes to move towards a schema system.
2015-11-30 21:21:15 +00:00
Mike Auty
d258c56991
Rerun pylint with pycharm-5 and fix pep8 issues as well.
2015-11-21 13:12:00 +00:00
Mike Auty
2f980fb613
Fix up typo in symbols interface for native_structures (now natives).
2015-10-11 18:28:16 +01:00
Mike Auty
9e801c428b
Rename ContextModifier.__call__ to ContextModifier.modify_context.
2015-10-11 18:19:45 +01:00
Mike Auty
8ddf5c5b45
Remove the plugin __call__ method for properly named run method.
...
Calls methods are handy, but ugly if you create and then call the object
immediately ( for example, thing()() ).
2015-10-11 18:12:19 +01:00
Mike Auty
97ff228e76
Replace layer name requirements with more descriptive translationlayerrequirements.
2015-10-11 18:02:27 +01:00
Mike Auty
3c5cb64915
Correct issues with imports and pylint a little.
2015-10-05 01:47:31 +01:00
Mike Auty
c3a52118e5
Minor tidying.
2015-09-28 09:27:54 +01:00
Mike Auty
65fcd5fbe5
Minor pylinting.
2015-09-28 01:34:52 +01:00
Mike Auty
e817b48083
Save the translationlayer requirement, so we can populate it based on the modifier requirements.
2015-09-28 01:34:42 +01:00
Mike Auty
0ff820667f
Refactor config to configuration so we can have variables called config.
2015-09-28 01:31:22 +01:00
Mike Auty
897d8bd574
Initial imlementation of a mapping from volatility config trees to Argparse arguments.
2015-09-28 00:57:06 +01:00
Mike Auty
813750c81e
Add validation and basic lint on the CLI.
2015-09-24 15:06:04 +01:00
Mike Auty
d6d7750c26
Give optional a default value.
2015-09-24 14:10:57 +01:00
Mike Auty
5d182066fb
Add validate and optional to the interface for config items.
2015-04-13 14:29:17 -05:00
Mike Auty
ddef7e76b3
Add a todo to validate factory requirements as well as just plugin requirements.
2015-04-13 14:18:33 -05:00
Mike Auty
f4d07c01b7
Getting the feeling changes are getting out of hand. More config and layering code.
2015-04-10 18:14:28 -05:00
Mike Auty
4157c1c493
Refine the config system, realize that ContextFactories are in fact LayerFactories?
2015-04-10 17:38:56 -05:00
Mike Auty
827d85c1e0
Convert namespace_divider to a global and add a join function.
...
Also alter ContextFactories so that they take a list of classes rather
than objects.
2015-04-10 16:42:24 -05:00
Mike Auty
143335402d
Use a default value to allow instantiation of contexts, rather than allowing None and checking all the time.
2015-04-09 16:30:01 -05:00
Mike Auty
180db2e23d
Minor neatening of iter.
2015-04-09 16:25:21 -05:00
Mike Auty
5493617727
Fix up minor typo in the recent SymbolSpace changes.
2015-04-09 16:24:04 -05:00
Mike Auty
35506bb7d3
Allow SymbolSpaces to be uninitialized, and move context from framework to framework.contexts.
2015-04-09 16:22:25 -05:00
Mike Auty
a85bcb9e58
Rework config system yet again, and start filling in some of the requirements.
2015-04-09 15:56:57 -05:00
Mike Auty
3d00956951
Refactor some names and consider reworking the config system *again*.
2015-04-08 18:13:06 -05:00
Mike Auty
e013455f40
Fix up input validation and start the CLI code.
2015-04-07 17:27:57 -05:00
Mike Auty
38d20199b3
Bulk out the config/inputs code.
2015-04-07 13:36:13 -05:00
Mike Auty
bf324d0c71
Force plugins to use the contexts they were given. Also allow the framework to determine requirements without instantiating the plugin.
2015-04-07 13:35:39 -05:00
Mike Auty
ec1529dcb9
Add in requirement checking to plugins.
2015-04-06 18:53:33 -05:00