question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support MSVC name unmangling

See original GitHub issue

It would be nice to support MSVC name unmangling. It’s easy to do: just call the undname tool. It works well with wine.

$ wine undname '?h@@YAXJ@Z' 2> /dev/null
Microsoft (R) C++ Name Undecorator
Copyright (C) Microsoft Corporation. All rights reserved.

Undecoration of :- "?h@@YAXJ@Z"
is :- "void __cdecl h(long)"

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
AndrewPardoecommented, Sep 28, 2017

That is what I used, as a matter of fact! But it helps to know what you’re looking for a priori.

0reactions
partoufcommented, Jul 27, 2018

there are some exceptions because of the Wine environment, otherwise undname is used, so yes, this can be closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual C++ name mangling
Visual C++ name mangling is a mangling (decoration) scheme used in Microsoft's Visual C++ series of compilers. It provides a way of encoding ......
Read more >
MSVC function name mangling [duplicate]
MSVC mangled names include the return type. See Visual C++ name mangling for gory details.
Read more >
Decorated names
This name decoration, also known as name mangling, helps the linker ... Assembly language code must use the MSVC decorated names and calling ......
Read more >
MSVC name (de)mangling bug - Visual Studio Feedback
It seems as if the C++ compiler sometimes generates names that tools like undname.exe, DIA, etc. cannot demangle correctly, which leads to wrong...
Read more >
Name mangling - Wikipedia
In compiler construction, name mangling (also called name decoration) is a technique used to solve various problems caused by the need to resolve...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found