Search code examples
renameresetida

IDA reset function name


I'd like to set the name of my renamed functions back to their actual ones. I've been able to generate the name sub_123456, but setting it with MakeName(addr, name) aswell as with MakeNameEx(addr, name, flags) always fail due to the reserved prefix.

Has somebody been able to achieve this already or do I have to use a custom prefix?

Thank you


Solution

  • If you pass an empty name, IDA will restore the automatically generated name. This usually works with functions and data.