Microsoft Name Demangler does not handle memberfn thisptr or return-via-pointer

Open
#3,216 9 comments 0 reactions 1 assignee View on GitHub

@plafosse is already working on this.

Since Apr 30, 2026.

Assessment

This issue has not been assessed yet.

Description

Component: Demangler Effort: Medium Impact: Medium

Binary Ninja Version: 3.1.3524-dev Personal, f927c3fa
Platform: Windows 10 Version 2009

Hi,

When analysing the file "C:\windows\system32\wevtsvc.dll" without a PDB, we get an accurate count of the parameters for the "GetLogObj" function, see the three args:
image

However once we load the public PDB for this, we lose two arguments and instead see R8 being used instead of arg3 (function prototype gets corrupted):
image

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.