C++ name mangling by hand

前端 未结 4 1503
一整个雨季
一整个雨季 2020-12-31 10:38

I am writing a script for the IDA Pro disassembler in Python using the idapython plugin. Using this, I am able to fill in the gaps where IDA\'s auto-analysis falls short.

4条回答
  •  Happy的楠姐
    2020-12-31 11:24

    I finally got around to dig a little.

    Unfortunately I could not find tool, I did find resources though.

    If all you want is mangle names in the gcc3 fashion, then know that gcc3 use the Itanium C++ ABI, which has a standardized name mangling scheme. I found two documents:

    • The Itanium C++ ABI page
    • A Calling Convention PDF document, which describe the schemes of various compilers

    For reference, both come from the Wikipedia page on Name Mangling.

提交回复
热议问题