Commit Graph
1354 Commits
Author SHA1 Message Date
Mike Auty 4cde0da8a9 Support passing through functions from specific to generic template. 2019-08-10 00:25:21 +01:00
Mike Auty b2da35c05a Revert "Apply relative offsets to type_name as well as symbol_names for modules."
This reverts commit d67fcc9a6a.
2019-08-10 00:23:18 +01:00
Mike Auty d67fcc9a6a Apply relative offsets to type_name as well as symbol_names for modules. 2019-08-09 20:08:05 +01:00
Mike Auty 8ddfe8ce16 Update plugins using the old PESymbolTable method 2019-08-09 00:49:05 +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 fbeab3608c Make we raise if the _POOL_HEADER type doesn't exist. 2019-08-08 01:09:56 +01:00
Mike Auty 253ce69fc9 Refactor poolscanner layer to move more into the parallel scanner. 2019-08-07 18:37:56 +01:00
Mike Auty 9ed1a5a5b6 The header is not dependent on the constraint, so only construct it once. 2019-08-07 16:33:13 +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 4a7151a23f Ensure the 'stream not present' indicator is adhered to. 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 e729877d38 Better error handling in the MSF layer. 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 398c583432 Ensure failed downloads are reported. 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
Mike Auty 235cd0840d Fix up enumeration values. 2019-07-30 22:14:19 +01:00
Mike Auty f87eeb6ab6 Support enumerations. 2019-07-30 22:14:19 +01:00
Mike Auty 5f12ffda08 Support extended values for certain types. 2019-07-30 22:14:19 +01:00
Mike Auty 36c84635f9 Fix up size of indirect primatives. 2019-07-30 22:14:19 +01:00
Mike Auty e17427b9a0 Rename types as used in other generators. 2019-07-30 22:14:19 +01:00
Mike Auty e4a35ed3fd Add in support for arrays and sizing. 2019-07-30 22:14:19 +01:00
Mike Auty f9d2b07021 Add in union and bitfield support. 2019-07-30 22:14:19 +01:00
Mike Auty 7d30e9949b Add support for more base_types, enum and arrays. 2019-07-30 22:14:19 +01:00