Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDB Leaf and Type Records #342

Merged
merged 47 commits into from
Aug 12, 2022
Merged

PDB Leaf and Type Records #342

merged 47 commits into from
Aug 12, 2022

Conversation

Washi1337
Copy link
Owner

@Washi1337 Washi1337 commented Aug 10, 2022

Includes high level models and read support for many common leaf records in a PDB image.

32-bit type index leaves.

  • LF_MODIFIER = 0x1001,
  • LF_POINTER = 0x1002,
  • LF_PROCEDURE = 0x1008,
  • LF_MFUNCTION = 0x1009,

Leaf indices referenced by type records.

  • LF_ARGLIST = 0x1201,
  • LF_FIELDLIST = 0x1203,
  • LF_BITFIELD = 0x1205,
  • LF_METHODLIST = 0x1206,
  • LF_BCLASS = 0x1400,
  • LF_VBCLASS = 0x1401,
  • LF_IVBCLASS = 0x1402,
  • LF_VFUNCTAB = 0x1409,

Named type records.

  • LF_ENUMERATE = 0x1502,
  • LF_ARRAY = 0x1503,
  • LF_CLASS = 0x1504,
  • LF_STRUCTURE = 0x1505,
  • LF_UNION = 0x1506,
  • LF_ENUM = 0x1507,
  • LF_MEMBER = 0x150d,
  • LF_STMEMBER = 0x150e,
  • LF_METHOD = 0x150f,
  • LF_NESTTYPE = 0x1510,
  • LF_ONEMETHOD = 0x1511,
  • LF_NESTTYPEEX = 0x1512,
  • LF_INTERFACE = 0x1519,
  • LF_VFTABLE = 0x151d,

Numeric types.

  • LF_NUMERIC = 0x8000,
  • LF_CHAR = 0x8000,
  • LF_SHORT = 0x8001,
  • LF_USHORT = 0x8002,
  • LF_LONG = 0x8003,
  • LF_ULONG = 0x8004,
  • LF_REAL32 = 0x8005,
  • LF_REAL64 = 0x8006,
  • LF_QUADWORD = 0x8009,
  • LF_UQUADWORD = 0x800a,

@Washi1337 Washi1337 added enhancement pdb Issues related to AsmResolver.Symbols.Pdb labels Aug 10, 2022
@Washi1337 Washi1337 added this to the 5.0.0 milestone Aug 10, 2022
@Washi1337 Washi1337 marked this pull request as ready for review August 11, 2022 12:56
@Washi1337 Washi1337 mentioned this pull request Aug 11, 2022
29 tasks
@Washi1337 Washi1337 merged commit 1c1768d into development Aug 12, 2022
@Washi1337 Washi1337 deleted the feature/pdb-image branch August 12, 2022 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement pdb Issues related to AsmResolver.Symbols.Pdb
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant