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

Decompilation fails with "Unfinished decompilation was KILLED !!!" #34

Closed
op0x59 opened this issue Oct 5, 2018 · 8 comments
Closed
Labels

Comments

@op0x59
Copy link

op0x59 commented Oct 5, 2018

[RetDec info]   :	Running the decompilation command ...
[RetDec info]   :	Working on input file "C:\Users\morph\Desktop\Sandbox\MalwareTest.exe".
[RetDec info]   :	Found retdec-decompiler.py at C:\Users\morph\Desktop\Database\Reverse-Engineering\Decompilers\retdec\bin\retdec-decompiler.py -> plugin is properly configured.
[RetDec info]   :	Running retargetable decompiler plugin:
[RetDec info]   :	Unfinished decompilation was KILLED !!!
[RetDec info]   :	Saving IDA database ...
Flushing buffers, please wait...ok
[RetDec info]   :	IDA database saved into :  C:\Users\morph\Desktop\Sandbox\MalwareTest.dec-backup.idb
[RetDec info]   :	Generating retargetable decompilation DB ...
[RetDec info]   :	Decompile input ...
[RetDec info]   :	Local decompilation ...
[RetDec info]   :	Decompilation command: "C:\Users\morph\Desktop\Database\Reverse-Engineering\Decompilers\retdec\bin\retdec-decompiler.py"
"C:\Users\morph\Desktop\Sandbox\MalwareTest.exe"
--config="C:\Users\morph\Desktop\Sandbox\MalwareTest.idb.json"
--color-for-ida
-o
"C:\Users\morph\Desktop\Sandbox\MalwareTest.exe.c"
--select-decode-only
--select-ranges="0xa50e70-0xa51092"
[RetDec info]   :	Running the decompilation command ...

Pictures of Settings:
Settings Picture

@s3rvac
Copy link
Member

s3rvac commented Oct 5, 2018

Hi. A couple of questions:

  • What IDA version do you use?
  • What version of the RetDec IDA plugin do you use?
  • What version of RetDec do you use?
  • Does it fail for all files that you try to decompile or only for the reported one? If only for the reported one, could you please attach it so we can try to reproduce the issue?

@op0x59
Copy link
Author

op0x59 commented Oct 5, 2018

Hi. A couple of questions:

  • What IDA version do you use?
  • What version of the RetDec IDA plugin do you use?
  • What version of RetDec do you use?
  • Does it fail for all files that you try to decompile or only for the reported one? If only for the reported one, could you please attach it so we can try to reproduce the issue.
  • IDA Version: 7.0
  • v0.7
  • v3.2
  • Different error for another test, Test 2
    No longer produces the "Unfinished decompilation was KILLED !!!" log

Edit: I have fixed my problem, I was missing a file from the original retdec files.

@s3rvac
Copy link
Member

s3rvac commented Oct 5, 2018

Could you please attach the input binaries that you are trying to decompile? You can zip them and upload them here via Attach files in the comment box.

@s3rvac
Copy link
Member

s3rvac commented Oct 5, 2018

Edit: I have fixed my problem, I was missing a file from the original retdec files.

Has this fixed both of the problems that you have reported or just the one?

@s3rvac s3rvac changed the title Decompilation is Not Working Decompilation fails with "Unfinished decompilation was KILLED !!!" Oct 5, 2018
@s3rvac
Copy link
Member

s3rvac commented Oct 5, 2018

Just a guess concerning the originally reported issue: Did you run multiple decompilations at the same time?

@op0x59
Copy link
Author

op0x59 commented Oct 5, 2018

Just a guess concerning the originally reported issue: Did you run multiple decompilations at the same time?

This has fixed both problems, and yes I did run multiple decompilations at the same time.

@s3rvac s3rvac added the P-run label Oct 5, 2018
@s3rvac
Copy link
Member

s3rvac commented Oct 5, 2018

Unfortunately, the plugin currently does not support multiple simultaneous decompilations. Once you run a second decompilation, the first one gets automatically killed.

I am marking this as closed since the issue was resolved for you.

@PeterMatula
Copy link
Collaborator

I created an issue to support multiple decompilations - #35. This is however not a priority right now, since it would be quite difficult to implement and we have some serious problems even with a single decompilation.

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

No branches or pull requests

3 participants