microsoft / llvm-mctoll

llvm-mctoll
Other
806 stars 123 forks source link

Demangle function symbol for signature when lifting C++ programs #168

Open 5c4lar opened 2 years ago

5c4lar commented 2 years ago

External function signature can be easily obtained by demangling the symbols, for example

image

would you consider supporting this?

5c4lar commented 2 years ago

I've seen issue https://github.com/microsoft/llvm-mctoll/issues/33 , so how should I handle _Znwm now?

bharadwajy commented 2 years ago

Thanks for your interest in llvm-mctoll.

I've seen issue #33 , so how should I handle _Znwm now?

Issue #33 resulted in implementation of libtool-based function prototype parsing in llvm-mctoll. However, support to raise C++ binaries is not yet implemented as stated in my reply.

Discovering function prototype signatures by demangling C++ function symbols would be part of the support to raise C++ binaries. Any help with adding support to raise C++ binaries (starting with simple ones) - before I get to it - is highly appreciated.