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

Do not remove the input file when --cleanup is used together with --mode raw (#309) #310

Merged
merged 1 commit into from
May 28, 2018

Conversation

s3rvac
Copy link
Member

@s3rvac s3rvac commented May 25, 2018

When --cleanup is used together with --mode raw, the input file gets removed (see #309). This PR fixes that by removing the OUT_RAW_EXECUTABLE variable from retdec-decompiler.sh, which is only set to $IN at the beginning of a decompilation and serves no real purpose. It was probably a relict from the past when we supported "raw" decompilations from C source code.

Fixes #309.

… with --mode raw (#309).

This is done by removing the OUT_RAW_EXECUTABLE variable from
retdec-decompiler.sh, which is only set to $IN at the beginning of a
decompilation and serves no real purpose. It was probably a relict from the
past when we supported "raw" decompilations from C source code.
@PeterMatula PeterMatula merged commit 5563a3b into master May 28, 2018
@PeterMatula PeterMatula deleted the bug-cleanup-in-raw-mode-removes-input-file branch May 28, 2018 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--cleanup removes the input file when used together with --mode raw
2 participants