Commit Graph
410 Commits
Author SHA1 Message Date
Mike Auty 7efe19224e Make several small typing information fixes. 2019-09-17 18:01:11 +01:00
Mike Auty 76a1bb972c Restore the mac queue_event class override.
For some reason, this went missing in commit
a3caf39097, which looks to have been an
error.
2019-09-16 12:04:50 +01:00
Michael Lighandikelos e71b72b3a7 add the windows callbacks plugin 2019-09-08 16:08:48 +01:00
Mike Auty e922cef316 Improve docstrings for all plugins, and reformat all docstrings. 2019-09-07 22:59:54 +01:00
Mike Auty 0cb5ca995c Correctly fix the intermediate file format versions. 2019-08-31 14:24:22 +01:00
Mike Auty c47ead41b1 Move to the SemVer versioning scheme. 2019-08-31 13:03:51 +01:00
Mike Auty a3caf39097 Use a mapping to determine kind to class. 2019-08-31 12:57:53 +01:00
Andrew Caseandikelos 07ece011a3 Add mac_tasks 2019-08-27 23:28:51 +01:00
Mike Auty 9cde94bceb Change the license blurb on all files. 2019-08-27 23:11:00 +01:00
Mike Auty 42b2fb120a Swap TranslationLayerInterface decendents over to LinearMappedLayers 2019-08-27 21:09:13 +01:00
Mike Auty 95f38aaf5d Fix up whitespace errors. 2019-08-18 01:22:10 +01:00
Mike Auty c66f7ff3fd Add a little extra documentation and fix a typo. 2019-08-18 01:20:56 +01:00
Mike Auty 6000d6c322 Update documentation around the Intermediary Symbol Format. 2019-08-17 23:22:04 +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 18283ab410 Move to an object_from_symbol model
Note: creation of enumerations can be done using Context.object, which
should allow reference of enumeration members by normal type objects.

If it turns out enumerations are never referenced from types, we can
easily remove the try/except in the Module.object method.
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
Dave Lassalleandikelos 0e22eea58d improved exception handling in registry and printkey 2019-08-13 20:37:46 +01:00
Mike Auty 196da74fdb Fix up a manual typo (and remove trailing spaces). 2019-08-11 17:16:57 +01:00
Mike Auty a412d3ef2f Guard against list size returns. 2019-08-08 20:30:33 +01:00
Mike Auty 1120854350 Ensure we descend LF_MODIFIERs when finding forward referenced array sizes. 2019-08-08 17:15:25 +01:00
Mike Auty f0a13c902e Make changes based on the view (mostly name clarification). 2019-07-30 22:14:19 +01:00
Mike Auty f9e22d02de Further typing discrepancy fixes. 2019-07-30 22:14:19 +01:00
Mike Auty 282ddc2f07 Fix up more little math typos and try to clarify what counter is where. 2019-07-30 22:14:19 +01:00
Mike Auty f3d7de4558 Fix up consumption of padding. 2019-07-30 22:14:19 +01:00
Mike Auty 0302f4b96a Change calculations to not alter original values for clarity. 2019-07-30 22:14:19 +01:00
Mike Auty bd2e948d9e Fix up size for Unions but also ensure total sizes aren't used in calculations. 2019-07-30 22:14:19 +01:00
Mike Auty 6bcb23ea87 Consumed length of enums and FieldLists was slightly off. 2019-07-30 22:14:19 +01:00
Mike Auty 7a0b71f7ae Fix an issue we hit 1 in 1000 times.
Turns out, that because the name consumption is fairly lax (often lots
of excess space after the name, etc) we were reading 2 too many bytes
(because we weren't taken the length of the leaf off the available
length).  This would error when it so happened that a structure was at
the end of the type list and we'd read past the end of the tpi stream.
2019-07-30 22:14:19 +01:00
Mike Auty 848fe7391a Add in further pointer fixes. 2019-07-30 22:14:19 +01:00
Mike Auty 927bcd3318 Only use different pointers when necessary. 2019-07-30 22:14:19 +01:00
Mike Auty 72b78fb94d Initially attempt at sorting out pointer issues. 2019-07-30 22:14:19 +01:00
Mike Auty f8ce286894 Add downloading progress when retrieving PDBs. 2019-07-30 22:14:19 +01:00
Mike Auty a788856fd3 Ensure the CLI version of mspdb provides progress. 2019-07-30 22:14:19 +01:00
Mike Auty eab74af5df Fix up union naming and omap symbol mapping. 2019-07-30 22:14:19 +01:00
Mike Auty 42f10b9c40 Support old unnamed types. 2019-07-30 22:14:19 +01:00
Mike Auty e998082d84 Add in HRESULT primative. 2019-07-30 22:14:19 +01:00
Mike Auty aee05f61f6 Add in linkage name code. 2019-07-30 22:14:19 +01:00
Mike Auty 90ed31ce16 Don't forget get arrays and enums. 2019-07-30 22:14:19 +01:00
Mike Auty 108a4f9b41 Ensure we get the right max_length when getting names for structures/unions. 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 6fc295410f Support progress callbacks and improve pdb downloading. 2019-07-30 22:14:19 +01:00
Mike Auty 3bb113b0a7 Improve documentation and integration. 2019-07-30 22:14:19 +01:00
Mike Auty d4f7a6a313 Add in metadata parsing. 2019-07-30 22:14:19 +01:00
Mike Auty df34195799 Reordering the pdb code slightly. 2019-07-30 22:14:19 +01:00
Mike Auty 4cd2ef33e1 Add metadata and name stripping. 2019-07-30 22:14:19 +01:00
Mike Auty 6e2513f276 Fix up over-extended name length. 2019-07-30 22:14:19 +01:00
Mike Auty ca7e09de04 Make sure we get the full name, and get our omap bisection right. 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 18bbcd8336 Refactor overly-long named method. 2019-07-30 22:14:19 +01:00