Created
April 26, 2021 18:03
-
-
Save alexander-hanel/3ea13a48278787195664084085c1b2b3 to your computer and use it in GitHub Desktop.
redefine functions for go lang. Kind of sucks but it works.
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
func_tab = idc.get_name_ea_simple("functab") | |
for ea in idautils.DataRefsTo(func_tab): | |
offset = idc.get_qword(ea) | |
ida_bytes.del_items(offset) | |
ida_auto.auto_wait() | |
idc.create_insn(offset) | |
ida_auto.auto_wait() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment