Commit Graph
17 Commits
Author SHA1 Message Date
Mike Auty 35be4c5a84 Add in more information to the paged exceptions. 2018-01-28 16:25:16 +00:00
Mike Auty 942de5f166 Finish adding type-annotations thoughout the code. 2017-12-13 20:48:52 +00:00
Mike Auty 35d47b0fb0 Improve checks for invalid values
We determine address_masks using log/ln2, which cannot accept 0.
Therefore we don't support address spaces with a maximum_address of 0.
This can affect registry hives, so we've added a check in registry hives
to prevent creating layers with invalid maximum_addresses.
2017-11-11 15:15:14 +00:00
Mike Auty fea912baaa Change the InvalidDataException to include the object that threw the validation error. 2017-09-22 09:56:22 +01:00
Mike Auty 393d657d6f Add exception for data validation. 2017-09-21 21:23:20 +01:00
Mike Auty bc4c386d6d Fix a multiprocessing issue (and tidy away the kwargs).
By not passing the arguments from exceptions down to the
base class Exception, it causes an issue when they are
pickled to be passed between processes.  For more information,
see http://bugs.python.org/issue1692335.
2017-06-03 12:41:18 +01:00
Mike Auty 3a2cc24e2a Add in plugin function capability (and make plugin validation centralized on plugin construction). 2017-01-04 22:58:54 +00:00
Mike Auty c6c5283974 Add a little text (and remove the timestamp) from the exceptions and an unnecessary exception. 2016-12-29 01:28:25 +00:00
Mike Auty 096e2f4610 Make the paged exceptions more useful at knowing how big an area is unavailable. 2016-11-18 11:40:48 +00: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 5290baf73d Make InvalidAddress exceptions more useful. 2016-07-02 13:31:36 +01:00
Mike Auty 9d5027ddd6 Add in TreeGrid/Renderer framework from volatility3. Consider pulling interfaces for TreeGrid and TreeNode out into interfaces. 2015-01-07 13:59:14 +00:00
Mike Auty 39c0b38f09 Add additional docstrings and refactor/rearrange the entire codebase. 2014-06-11 01:35:50 +01:00
Mike Auty 89e7e6e7ff Tidy up several areas using PyCharm corrections. 2014-03-30 00:46:31 +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 e351958413 Move context, tidy up object model and add memory to test_rig. 2013-05-05 22:06:38 +01:00
Mike Auty 1cba6f5171 Add in framework versioning and initial attempts as symbolstacks. 2013-02-10 15:25:52 +00:00