Commit Graph
277 Commits
Author SHA1 Message Date
Mike Auty a248bdc804 Fix up old code and docstring indent issue. 2019-09-17 18:15:05 +01:00
Mike Auty ffc7682d61 Ensure that layers are automatically imported when needed. 2019-09-08 14:13:28 +01:00
Mike Auty e922cef316 Improve docstrings for all plugins, and reformat all docstrings. 2019-09-07 22:59:54 +01:00
Mike Auty fa58722848 Slight documentation fixes. 2019-09-04 23:53:18 +01:00
Mike Auty a3caf39097 Use a mapping to determine kind to class. 2019-08-31 12:57:53 +01:00
Mike Auty 9cde94bceb Change the license blurb on all files. 2019-08-27 23:11:00 +01:00
Mike Auty a5f0c7f1b9 Don't forget the linear layer. 2019-08-27 21:09:13 +01:00
Mike Auty 42b2fb120a Swap TranslationLayerInterface decendents over to LinearMappedLayers 2019-08-27 21:09:13 +01:00
Mike Auty 79cb7a28f6 Add in support for non-linear mapping. 2019-08-27 21:09:13 +01:00
Mike Auty 11fc8654e3 Initial attempt at plugin versioning.
So this allows people to alter the APIs for their plugins and allows
plugins to verify the API is compatible with the one they expect.

It adds a version property to Plugin classes, and has a SemVer checking
method which can be called from other plugins to verify a plugin against
a particular version.
2019-08-27 21:08:29 +01:00
Mike Auty 3d87b06c36 Add in documentation to all the constants. 2019-08-18 18:55:57 +01:00
Mike Auty be27aab8ae Refactor symbol to object_type (so it doesn't shadow builtin type). 2019-08-14 20:50:42 +01:00
Mike Auty 5362e2094e Initial attempt at cleaning up the API
Context.object accepts a template or a string name (and now a type
flag).  Module.object only accepts a string (because a template already
has most of the stuff built in and might as well be passed to the
Context.object constructor).

The gotcha here is the absolute flag, which must now be set
appropriately in all cases *except* where the module is constructed
with an offset of 0 (whereby it will have no impact).
2019-08-14 20:50:42 +01:00
superponibleandikelos 95ac651f7e make get_maxaddr private and rename maxaddr variables for clarity 2019-08-13 20:37:46 +01:00
superponibleandikelos 317c1cdb7b store cmhive name instead of _cmhive 2019-08-13 20:37:46 +01:00
Dave Lassalleandikelos 60193b2a3f remove HBIN bounds check 2019-08-13 20:37:46 +01:00
Dave Lassalleandikelos 0e22eea58d improved exception handling in registry and printkey 2019-08-13 20:37:46 +01:00
Mike Auty f0a13c902e Make changes based on the view (mostly name clarification). 2019-07-30 22:14:19 +01:00
Mike Auty 4a7151a23f Ensure the 'stream not present' indicator is adhered to. 2019-07-30 22:14:19 +01:00
Mike Auty e729877d38 Better error handling in the MSF layer. 2019-07-30 22:14:19 +01:00
Mike Auty f9316626dd Improve typing issues with pdb code. 2019-07-30 22:14:19 +01:00
Mike Auty b501b5484b Don't forget to add the license headers. 2019-07-30 22:14:19 +01:00
Mike Auty a72314a2b2 Add in omap mapping and symbol support. 2019-07-30 22:14:19 +01:00
Mike Auty c97b05426a Add in LF_POINTER and rename the pdb.json file. 2019-07-30 22:14:19 +01:00
Mike Auty ecfbe46c7a Further work on the MSF/PDB code. 2019-07-30 22:14:19 +01:00
Mike Auty ff5b71672c Ensure the streams are the correct size. 2019-07-30 22:14:19 +01:00
Mike Auty 0690cf4459 Fix up to use layers rather than memory. 2019-07-30 22:14:19 +01:00
Mike Auty 0e1702af63 A few further changes to extracting streams. 2019-07-30 22:14:19 +01:00
Mike Auty 80c693a91a Add in MSF and Stream layer support. 2019-07-30 22:14:19 +01:00
Mike Auty 3da5f63393 Initial attempts at an MSF layer. 2019-07-30 22:14:19 +01:00
Mike Auty 230d32f569 Add in initial code for PDB reading. 2019-07-30 22:14:19 +01:00
Mike Auty 272224a1b0 Refactor all references to Context.memory to Context.layers. 2019-07-07 17:42:51 +01:00
Mike Auty cf5cf5cacd Add in caching just at the page read point of intel spaces. 2019-05-11 20:58:06 +01:00
Mike Auty 86a60985ec Revert "Add in poor man's lru_caching to see if it's the caching or lru_cache itself."
This reverts commit 48826a9051.
2019-05-11 20:52:45 +01:00
Mike Auty 48826a9051 Add in poor man's lru_caching to see if it's the caching or lru_cache itself. 2019-05-11 20:33:18 +01:00
Mike Auty 2d939a7ddb Fix syntax error. 2019-05-11 20:32:21 +01:00
Mike Auty 9378c445db lru_cache just seems to break file reading. 2019-05-09 01:56:17 +01:00
Mike Auty 488b9be2ba Attempt to apply lru_cache but without using staticmethod. 2019-05-09 01:43:00 +01:00
Mike Auty a87d3c0dad Make sure the separation of read isn't the issue. 2019-05-09 01:05:34 +01:00
Mike Auty df4c81a7c0 Trade off memory for disk reads (take 2). 2019-05-09 00:49:36 +01:00
Mike Auty d0ff961ed1 Revert "Trade off memory for disk reads."
This reverts commit 20c609b180.
2019-05-09 00:06:07 +01:00
Mike Auty 20c609b180 Trade off memory for disk reads. 2019-05-08 23:47:02 +01:00
Mike Auty 4bf0a97703 Revert "Refactor the ordering of things in CrashDump initializer."
Allowed a configuration to be accessed before full initialization, so no
need for CrashDump changes.

This reverts commit ac57255b23.
2019-04-27 22:06:58 +01:00
Mike Auty ac57255b23 Refactor the ordering of things in CrashDump initializer. 2019-04-27 21:38:01 +01:00
Mike Auty cc3a9ea4d8 Fix locking type issue. 2019-04-05 14:50:22 +01:00
Mike Auty ebadd4fbd6 Remove redundant load of segments by the lime layer. 2019-03-03 13:09:49 +00:00
Mike Auty 7c9696def9 Minor fixes for typing and imports. 2019-03-02 22:45:39 +00:00
Mike Auty d4045c9c13 Significant fix for reading from the start of SegmentedLayers (including Lime) when ignoring errors. 2019-03-02 22:44:51 +00:00
Mike Auty 33a9db6b9f Make parallelism options more well defined. 2019-03-02 18:52:02 +00:00
Mike Auty 9fadee1a17 Add locking for threaded operation. 2019-03-02 18:07:48 +00:00