Adding a ASM to C code generator #60
Unanswered
goofyseeker311
asked this question in
Q&A
Replies: 2 comments
|
whats the issue not being able to save the code, some copyright fear issue? |
0 replies
|
It's very architecture specific. In my understanding you need to convert an instruction set to an intermediate (simplified) representation like RDIL: https://github.com/REDasmOrg/REDasm-Library/blob/6e98b5509e9859f81ee3371460064a07fc85282b/rdapi/rdil.h From there you can recognize branches, calls, assignments, etc and write the corresponding code in a specific language. In some very rare cases (or very simple programs) it's working code, otherwise is just a fancy pseudocode. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
so, when you have the full (say x86) assembler code, it would not be very hard to convert that to the simples working (compiling) standard form of c-code (say cross-platform basic code), anyone having interest to add that part?
All reactions