Skip to content

PDB files in projects are not loaded automatically #7133

@CouleeApps

Description

@CouleeApps

Version and Platform (required):

  • Binary Ninja Version: 5.1.7982-dev
  • Edition: Ultimate
  • OS: macOS
  • OS Version: 15
  • CPU Architecture: arm64

Bug Description:
When loading a DLL with a PDB from a project, the PDB is not automatically discovered and loaded.

Steps To Reproduce:

  1. Create project (mine is on a Collaboration server, not sure if that matters)
  2. Add DLL and corresponding PDB to project
  3. Open DLL
  4. Look in types view
  5. See no PDB loaded

Expected Behavior:
I expected my PDB to be loaded if it is also in the project.

Screenshots/Video Recording:
Here's the log text and error i got

[PDB] Read local file: /Users/glennsmith/Documents/binaries/pdbs/GameLogic.pdb/58104EA12A004E61A466AE6923318EBB1/GameLogic.pdb
[PDB] Read local file: /Users/glennsmith/Documents/binaries/pdbs/GameLogic.pdb/58104EA12A004E61A466AE6923318EBB1/file.ptr
[PDB] GET: http://localhost:8010/GameLogic.pdb/58104EA12A004E61A466AE6923318EBB1/GameLogic.pdb
[PDB] GET: http://localhost:8010/GameLogic.pdb/58104EA12A004E61A466AE6923318EBB1/file.ptr
[PDB] GET: https://msdl.microsoft.com/download/symbols/GameLogic.pdb/58104EA12A004E61A466AE6923318EBB1/GameLogic.pdb
[PDB] GET: https://msdl.microsoft.com/download/symbols/GameLogic.pdb/58104EA12A004E61A466AE6923318EBB1/file.ptr

Additional Information:
I bet the PDB search code doesn't handle Projects. Check pdb-ng/src/lib.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: DebugInfoIssue requires changes to the DebugInfo APIComponent: ProjectsIssue needs changes to how we handle projectsDebugInfo: PDBRelated to parsing PDB filesEffort: LowIssue should take < 1 weekImpact: LowIssue is a papercut or has a good, supported workaround

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions