Open Cairn23 opened 5 years ago
I'm not sure exactly what you mean with "the code" above. Are you referring to the generated C code? If so, it is generated in a file. If you decompile foo.exe
, Reko will generate foo.c
, foo.h
, and foo.globals.c
. I been wanting to improve that for a long time. Look at issues #73 and #74, perhaps they are of interest to you?
The saving of the foo.c etc should only be done as a user requests it, other wise if a user updates a function name will it get updated in the generated code, therefore the generation of the file should be controlled with a user request to save.
Add a function to save the code as a source code file