Where is the documentation for the Mangling schema in Microsoft Visual Studio C ++?

I'm interested in finding official or reverse engineering documentation that details the naming scheme used by the Visual Studio C ++ compiler to translate C ++ names into characters in the generated code.

I know this can change between versions, and I'm most interested in the details for Visual Studio 2003, 2005 and 2008.

Of particular interest is the handling of C ++ operators, such as new, new placements, and new []

+7
c ++ visual-studio documentation name-mangling
Jan 29 '09 at 10:16
source share
1 answer

Thanks for the links, but I have to meticulously - this is in a good mood - about the "serious" and the "community." When I wrote these pages, I should have made a very serious effort, but the pages remain marked as thumbnails of how the research can go on. Unfortunately, next to the public, there is no serious effort to study other people's software for this or any other topic.

In everyday practice, programmers rarely need to know the decoration algorithm. To find out how a particular C ++ name is framed, they can use the compiler. To cancel a specific design, they can pass it to the CRT __unDName library function. This is admittedly undocumented, but it has been a long, long time. Using it these days is easy because Visual Studio comes with the UNDNAME.EXE tool .

+1
Sep 22 2018-10-22T00:
source share



All Articles