quote:Original post by SabreMan
I''m telling you it doesn''t get *the name*, it gets *a name*, which might be different from the name as it appears in the source.
As you may recall: I specifically mentioned MSVC. There, it gets
the name.
Also, even though the standard may allow it, how many compilers will actually show you something that is different from the name used in the source code? It would be pretty much useless to the programmer to have something like "abcjda" when the actual class is "CPenguin". Decoration might be used, of course (and in MSVC, it is: the stored symbol is the decorated name, accessed through type_info::raw_name, type_info::name is slower because it undecorates), but even that is human-readable.
The C++ standard is, BTW, completely irrelevant when it comes to decompiling. The only standard that matters is the layout of the executable.