Skip to content

Binary Ninja cannot demangle some symbols if built with MSVC's d2FH4  #4283

Description

@amyspark

Version and Platform (required):

  • Binary Ninja Version: 3.4.4270-dev Personal, 40241822
  • OS: windows
  • OS Version: 10
  • CPU Architecture: x86_64

Bug Description:

Binary Ninja cannot symbolicate DLL exports if it was built with MSVC. In my case, I've verified this with Qt6. I believe this is because Qt6 started using /d2FH4 since https://code.qt.io/cgit/qt/qtbase.git/commit/?id=5074344c9c1fb9a510f333d470d83e8da94072f9 .

Steps To Reproduce:

Build Qt 6.5.0 following the instructions, copy <install folder>/plugins/platforms/qwindows.dll and its PDB to <install folder>/bin/, then load qwindows.dll inside Binary Ninja.

Expected Behavior:

Binary Ninja should be able to symbolicate all the QString calls.

Screenshots:

imagen

Additional Information:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Effort: TrivialIssues require < 1 day of workFile Format: PEImpact: LowIssue is a papercut or has a good, supported workaround

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions