Repository navigation
Conversation
…s, and symbols info bugsplat_debugid::read returns one DebugInfo per object in a file or bundle, with the id pdb-guid, macho-uuid, elfy and symbol-upload produce for it. The kind comes from the file's contents. PDB and portable PDB readers are ported from pdb-guid; PE, ELF and Mach-O go through the object crate with the packages' id rules applied on top. `bugsplat symbols info <file>...` prints each object as text or JSON. Closes #5 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Merged
Member
Author
|
Closing in favor of #21, which contains this branch together with the other phase 1 streams and the fixes made when they were combined. This pull request's diff is still here for reviewing this stream on its own; the branch is not deleted. |
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.
Adds
bugsplat_debugid::read, which returns the debug id, module name, kind and architecture of every object in a PE, PDB, portable PDB, ELF, Mach-O (thin or fat) or Breakpad.symfile, or in a.dSYM,.app,.framework,.bundleor.xcarchivebundle, deciding the kind from the file's contents, andbugsplat symbols info <file>..., which prints them as text or--json. The PDB and portable PDB readers are ported frompdb-guid; PE, ELF and Mach-O are parsed with theobjectcrate and given the idspdb-guid,symbol-uploadandmacho-uuidproduce (a PE's id is its timestamp and image size, asPeGuidhas it, not its CodeView record). Every id assertion in the four packages' spec files is ported: those with small fixtures run incargo testagainst 12 MB of committed fixtures, and the rest (the Unreal PDB, the xcarchive, the fat dylib and others) run whenBUGSPLAT_REFERENCE_DIRpoints at the packages' checkouts, which passed locally, as did a comparison of the CLI's output with the installed npm packages on every file in their spec folders. Closes #5🤖 Generated with Claude Code