Implement managed procedures and local var slots#146
Open
michal-kapala wants to merge 6 commits intogetsentry:masterfrom
Open
Implement managed procedures and local var slots#146michal-kapala wants to merge 6 commits intogetsentry:masterfrom
michal-kapala wants to merge 6 commits intogetsentry:masterfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
I added support for the managed symbols missing from .NET PDBs:
S_TOKENREFS_OEM(basic)S_LMANPROCS_GMANPROCS_MANSLOTS_MANSLOT_STI also added support for:
S_ENVBLOCKS_SECTIONS_COFFGROUPNow 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_symbolsexample to include the managed symbols.