I'm a newbie in IDApro.
I'd like to save the assembly code or IDA view-A(not a graph view) text through IDApro.
I know the how to save using GUI, but there are so many files i have to change.
So I wanna use python script embedded in IDApro called IDApython.
I had tried to use gen_file function, but its not work properly.
for example, I use gen_file like this:
gen_file(OFILE_ASM, file_name, 0, idc.BADADDR, GENFLG_ASMTYPE)
Please let me know what kinds of way i can choose
Thanks