Skip to content

Implement managed procedures and local var slots#146

Open
michal-kapala wants to merge 6 commits intogetsentry:masterfrom
michal-kapala:master
Open

Implement managed procedures and local var slots#146
michal-kapala wants to merge 6 commits intogetsentry:masterfrom
michal-kapala:master

Conversation

@michal-kapala
Copy link

@michal-kapala michal-kapala commented Feb 17, 2023

Overview

I added support for the managed symbols missing from .NET PDBs:

  • S_TOKENREF
  • S_OEM (basic)
  • S_LMANPROC
  • S_GMANPROC
  • S_MANSLOT
  • S_MANSLOT_ST

I also added support for:

  • S_ENVBLOCK
  • S_SECTION
  • S_COFFGROUP

Now it's possible to view the names of properties, constructors, methods and local variables of C#-originating PDBs (could be helpful for Visual Basic, I haven't checked). I extended pdb_symbols example to include the managed symbols.

example

Added symbols: - S_TOKENREF - S_LMANPROC - S_GMANPROC
Added base for S_OEM parsing, needs improvements in future.
Added support for: - S_MANSLOT - S_MANSLOT_ST
+ support for env block symbol
+ support for PE section symbol
+ support for COFF group symbol
kjk added a commit to kjk/exp that referenced this pull request Jan 24, 2026
Port getsentry/pdb#146 to TypeScript. Adds support for: - S_TOKENREF (TokenReference) - reference to a managed procedure - S_LMANPROC/S_GMANPROC (ManagedProcedure) - .NET managed procedures - S_MANSLOT/S_MANSLOT_ST (ManagedSlot) - managed local variable slots - S_OEM (OEM) - OEM symbol information S_ENVBLOCK, S_SECTION, and S_COFFGROUP were already implemented. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant