Commit Graph
53 Commits
Author SHA1 Message Date
Mike Auty f23c4b51e4 Add in ModuleCollections for identifying symbols. 2018-05-07 00:05:01 +01:00
Mike Auty 623180ddbd Make many typing fixes, based on mypy-0.590. 2018-04-22 20:45:59 +01:00
Mike Auty 937fc5a289 Ensure that passing a type to be constructed doesn't wipe out pre-configured information. 2018-03-21 18:48:57 +00:00
Mike Auty ac12098317 Add type-annotations for reamining layer files. 2017-12-13 20:48:52 +00:00
Mike Auty f40fae197d Convert to python3.5 syntax (no local type-annotations). 2017-12-13 20:48:52 +00:00
Mike Auty 50b60c0df6 Add in more interfaces (and fix additional errors now that type information is available). 2017-12-13 20:48:52 +00:00
Mike Auty 2cc456e847 Finish off the automagic directory type annotations. 2017-12-13 20:48:52 +00:00
Mike Auty 0599ec8f36 Slightly improve potential error condition. 2017-09-03 23:17:07 +01:00
Mike Auty d32fc223e2 Fix up additional imports inconsistent with the coding style.
Note: also remove interfaces_configuration where ever possible
(this is not possible in the interfaces directory itself
because it would cause an import loop).
2017-08-09 22:32:44 +01:00
Mike Auty 5e15d522bd Remove automatic IDE-inserted attributions.
They weren't consistent and they show just remind me how slowly
I've been getting vol 3 written!  5:S

There's git commits to track all of that stuff if we need it.
2017-05-14 11:40:49 +01:00
Mike Auty f520176b2b Move the wrapper out to stop it seeming like a method. 2017-04-26 15:01:49 +01:00
Mike Auty 0c689de244 Fix up numerous silly mistakes. 2017-04-26 14:57:40 +01:00
Mike Auty 1d39c68799 All templates are equal (not just ObjectTemplates). 2017-04-26 14:51:56 +01:00
Mike Auty 6c4bd65b8a Change my mind on accepting a full symbol rather than just the type. 2017-04-26 10:04:40 +01:00
Mike Auty f97a5b4700 All the object constructor to accept a Symbol as well as a name. 2017-04-26 09:59:47 +01:00
Mike Auty 60ded760b6 Add in a first draft of a Module and context.module call. 2017-04-21 21:50:26 +01:00
Mike Auty dcc558717c Shift around the object_factory and add the symbol rebaser.
The object_factory is now a separate function, but to ease the
transition the object_factory method in Context has been left.
I'll most likely deprecate it before the full release, but I'm open the
idea of leaving it if someone can convince me it's a better decision.
2017-03-24 01:50:16 +00:00
Mike Auty 1abebe67db Further documentation improvements. 2016-12-29 03:14:40 +00:00
Mike Auty 16a8fcc6c7 Add in some context documentation. 2016-12-29 00:52:59 +00:00
Mike Auty 3578768e2d Correct odd/unnecessary typo. 2016-12-25 22:38:02 +00:00
Mike Auty 011b6dc3f4 Add in the object_factory capability and use it by example in pslist. 2016-12-25 19:02:48 +00:00
Mike Auty 8e334ca086 Remove fallthrough/default natives from symbol_spaces. 2016-12-25 18:37:54 +00:00
Mike Auty 3aa187e293 Fix minor lint with docstring. 2016-12-22 16:00:58 +00:00
Mike Auty 09ee0e6258 Fix fairly deep flaw where resolved templates could be modified by casting or creating an object. 2016-12-18 19:21:27 +00:00
Mike Auty a1b9be74c7 Refactor several configuration/requirement structures to avoid import loops. 2016-08-22 02:15:54 +01:00
Mike Auty e54505701f Refactor Memory into an interface. 2016-08-21 21:26:21 +01:00
Mike Auty e02feed16e Python 3 has a sane super() implementation (no arguments), so convert to using that. 2016-08-14 00:55:02 +01:00
Mike Auty 2d23c93def Completely refactor constants and structures to symbols and types. 2016-05-22 11:51:06 +01:00
Mike Auty 7db739279f Refactor configuration interfaces. 2016-01-16 13:24:25 +00:00
Mike Auty 4d4c5e63b9 Set a default for the HierarchicalDicts separator to use a constant. 2016-01-13 00:57:00 +00:00
Mike Auty 415a0948a0 Rename the SCHEMA_NAME_DIVIDER, and ensure all paths are flat strings. 2016-01-12 23:44:55 +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 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 9e801c428b Rename ContextModifier.__call__ to ContextModifier.modify_context. 2015-10-11 18:19:45 +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 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 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 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 4b80866c9b Remove the comment about doing the physical automagic in the layer itself. Automagic should be a function that composes the components itself. 2015-01-26 01:46:57 +00:00