Commit Graph
49 Commits
Author SHA1 Message Date
Mike Auty 16bed2aa94 Allow specifying a table_name for get_symbols_by_location. 2016-05-22 16:02:30 +01:00
Mike Auty e0b7f0b5f0 Add in helper functions for symbolspaces/symboltables to locate specific symbols. 2016-05-22 15:57:48 +01:00
Mike Auty fea6e0820a Convert to using a BANG variable for the symbol name delimiter.
Whilst it's easy to do now (because we don't yet use it many places)
convert the ! delimiter into a variable.
2016-05-22 15:26:31 +01:00
Mike Auty 2d23c93def Completely refactor constants and structures to symbols and types. 2016-05-22 11:51:06 +01:00
Mike Auty 0ef389dec9 Tidy up Bytes and String to require all the appropriate parameters. 2016-02-14 02:49:28 +00:00
Mike Auty 9c1dbf88e2 Change Bytes to not require a struct_format, since we generate it from the length parameter. 2016-02-14 01:43:09 +00:00
Mike Auty a8828d7185 Add Strings and Bytes to the native structure code. 2016-02-13 17:18:23 +00:00
Mike Auty 34b8671ce3 Refactor basic to extensions for windows additions. 2016-02-13 17:17:10 +00:00
Mike Auty 211bbbe5f6 Ensure that symbol space providers correctly provision the space.
Also corrects failed importing using import_module from importlib.
2016-01-16 22:01:03 +00:00
Mike Auty 78cd3c84c0 Add in a NativeSymbolTable validator. 2016-01-16 21:38:00 +00:00
Mike Auty 84815d204e Refactor and clarify exactly what the dependency resolver's doing.
Also includes requirements and a provider to support adding the
symbol spaces required for XP SP2.
2016-01-16 21:05:37 +00:00
Mike Auty 00660f2a2b Refactor requirements to their own file. 2016-01-16 21:04:41 +00:00
Mike Auty a8d6fd5647 Refactor windows code to windows basic to avoid import loops. 2016-01-16 20:09:18 +00:00
Mike Auty 16ffc3e237 Refactor the location of xp_sp2_x86_vtypes. 2016-01-16 13:21:06 +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 65fcd5fbe5 Minor pylinting. 2015-09-28 01:34:52 +01: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 3a28d7ae41 Refactor the context work, to use composable objects rather than inheritable classes. 2015-01-19 23:57:49 +00:00
Mike Auty bd4121448a Add in minor optimization. 2015-01-19 00:51:17 +00:00
Mike Auty f04122f640 Add in initial implementation of ContextFactories as classes. This is probably not the right way to do things, so I'll be trying out making them as objects with a function chain for applying modifications in a little while. 2015-01-16 11:29:12 +00:00
Mike Auty 87967853f7 Convert volinfo namespace to vol namespace. 2015-01-05 15:04:40 +00:00
Mike Auty 7c53ae31bb Fix up all the necessary components in the _LIST_ENTRY code. 2015-01-05 00:00:16 +00:00
Mike Auty 125510b21f Fix quite a critical structure naming issue. 2015-01-04 23:59:05 +00:00
Mike Auty f64b232f5a Add in the iter function now that we finally have the member_name stored. 2015-01-04 23:10:48 +00:00
Mike Auty 73bd451759 Minor pylinting across the whole project. 2015-01-04 21:14:17 +00:00
Mike Auty 446536d789 Remove the concept of template_info and revert to structure_name alone. 2015-01-04 04:27:52 +00:00
Mike Auty 15b2f6f717 Initial introduction of ObjectInformation class. 2015-01-04 03:41:37 +00:00
Mike Auty 09ee972e7e Add in initial version of _LIST_ENTRY. 2015-01-02 00:12:28 +00:00
Mike Auty 5655548d3f Allow owning_process to be called without parameters. 2014-12-31 03:46:34 +00:00
Mike Auty bdb0c1488a Update test_rig code to play around with code fragments. 2014-12-31 03:20:32 +00:00
Mike Auty bc3ea39e97 Refactor the structure code to accomodate constant finding. 2014-12-31 03:12:28 +00:00
Mike Auty 04720d5ab9 Fix two important typo errors in Arrays. 2014-12-30 04:08:59 +00:00
Mike Auty a97bd19988 Reformat and optimize code, including trailing whitespace and end of file newline. 2014-06-10 15:40:50 +01:00
Mike Auty 3709143c40 Clean-up a few files according to PyCharm's warning system. 2014-03-28 08:47:00 +00:00
Mike Auty 5b23325447 Change symbol_names to structure_names. 2014-03-22 13:46:22 +00:00
Mike Auty 26f8d0f7cc Add in write support, and change symbols to be both structures and constants. 2013-12-28 05:30:54 +00:00
Mike Auty 26caf31974 Revisit the decision to try out super, and decide to stick with specific inheritance to avoid **kwargs everywhere. 2013-05-08 19:17:21 +01:00
Mike Auty 72d971bf3f More speed-ups by not constantly rebuilding the native_dictionary list. 2013-05-07 23:38:03 +01:00
Mike Auty e0433ab4e9 Vastly improved the speed by caching resolutions. 2013-05-07 23:31:27 +01:00
Mike Auty 9c2e486356 Refactor code locations, tidy up object initializers and add in File Layer. 2013-05-06 17:45:15 +01:00
Mike Auty 86c57972b7 Fix up pointer issues (including typo). 2013-05-05 23:11:26 +01:00
Mike Auty e351958413 Move context, tidy up object model and add memory to test_rig. 2013-05-05 22:06:38 +01:00
Mike Auty dc65c356fc Restructure the packages, change importing style to from ... import. 2013-05-04 15:44:59 +01:00
Mike Auty e654391e86 Fix up the top-level symbol resolution mechanism. 2013-04-21 23:03:36 +01:00
Mike Auty 9b91bfa88c Rework templates so that they're created referentially, and that attributes are generated by the underlying class and arguments. 2013-04-21 18:22:38 +01:00
Mike Auty b0345ce9ab Flesh out symbol system, reworking several parts. Still requires on-demand resolving of symbols. 2013-04-14 20:17:15 +01:00