Created
April 9, 2019 16:02
-
-
Save alexander-hanel/c87fbcda6dcca5cc133af7e4572edf42 to your computer and use it in GitHub Desktop.
rename function based off of comment in operand
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def rrename(): | |
func = idaapi.get_func(here()).startEA | |
idc.set_name(func, idc.get_cmt(idc.get_operand_value(here(),1), True) + "_", SN_CHECK) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment