During IDA parsing, I try to prefix the function name with zzz_ so that the functions I named will appear together when sorted in the Name view.
So I wrote a simple IDAPython script that assigns a name to a function with the zzz_ prefix no matter where the cursor is in the function.
from idaapi import *
from idautils import *
newFuncName = AskStr("CmdFunction", "Type function base name")
if not newFuncName is None:
func = get_func(here())
newName = "zzz_" + newFuncName
Message("Renaming %s to %s\n" % (Name(func.startEA), newName))
MakeNameEx(func.startEA, newName, SN_PUBLIC)
Recommended Posts