Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate a file that can be recompiled? #529

Closed
zaoqi opened this issue Mar 24, 2019 · 1 comment
Closed

How to generate a file that can be recompiled? #529

zaoqi opened this issue Mar 24, 2019 · 1 comment

Comments

@zaoqi
Copy link

zaoqi commented Mar 24, 2019

How to generate a file that can be recompiled?

@s3rvac
Copy link
Member

s3rvac commented Mar 25, 2019

Hi. As written in #45, producing recompilable C source code is not our main goal, so there is no special parameter that would magically make the output C code recompilable. Nevertheless, in some cases, the C source code that RetDec produces is recompilable, which we sometimes utilize in our tests (e.g. this one, which checks that a program doing FPU computations is correctly decompiled, then recompiled, and produces correct output when run).

For more details, please see the discussion in #45.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants