"Export naming convention" - how does it work?

What rules apply to a name that goes into the PE (Portable Executable) export section? Roughly speaking, I see names starting with an underscore '_', '?' question mark or "@" sign. What does that mean, but what about the rest of the title?

See also - How can I reverse the naming convention into something more usable?

0


source to share


3 answers


I think you are referring to "dll name mangling"

name mangling

He used to make sure the export names are unique.



You can specify a .def file which will make it easier to use

Simply put, a .def file is just a text file containing the following structure

LIBRARY "MyDll"

EXPORTS
    exportFunction1

      

+3


source


One more thing: Jcl contains another very useful function for decoding these characters. You can find it in JclPeImage; It is called PeUnmangleName - which is an extension of UndecorateSymbolNameA / W WinAPI.



+1


source


I should have looked a little longer before asking this as I just found the answer to this question:

It's called "mangling" and here's a link to explain it a bit: http://en.wikipedia.org/wiki/Name_mangling

My apologies for disturbing you; Hooray!

0


source







All Articles