Commit Graph
1343 Commits
Author SHA1 Message Date
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
Mike Auty af92cd4d6c Add in padding support and TypeProperties. 2019-07-30 22:14:19 +01:00
Mike Auty c90e57470f Further work on the returning types. 2019-07-30 22:14:19 +01:00
Mike Auty 1b396388b4 Additional type parsing, still a work in progress. 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 0e42a638e7 Start adding support for LF_MODIFIER. 2019-07-30 22:14:19 +01:00
Mike Auty cb22d5d036 Additional fixes for mspdb. 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