Created
January 29, 2017 10:13
-
-
Save kmdnet/e28043ec2cd3b46acb234557ad5428f8 to your computer and use it in GitHub Desktop.
This file contains 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
from idaapi import * | |
from idautils import * | |
from idc import * | |
func = ["sub_12A1E00"] | |
for x in func: | |
addr = LocByName(x) | |
pseudo_code = decompile(addr) | |
with open(x+".c","w") as f: | |
f.write(str(pseudo_code)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment