Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Import a Joker helper file into IDA
import idaapi
import idautils
import idc
content = ""
with open("/path/to/joker/file", "r") as f:
content = f.readlines()
for line in content:
faddr,fname = line.replace("\n", "").split(":")
eaaddr = int(faddr, 16)
idc.MakeCode(eaaddr)
idc.MakeFunction(eaaddr)
idc.MakeNameEx(int(faddr, 16), fname, idc.SN_NOWARN)
print(fname + " @ " + faddr)
print("done")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.