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

Terminating plugin's thread in IDA does not terminate spawned decompilation process #20

Closed
PeterMatula opened this issue Jun 7, 2018 · 3 comments

Comments

@PeterMatula
Copy link
Collaborator

It is not enough to kill (qthread_kill()) decompilation thread using IDA SDK API. The decompilation process (retdec-decompiler.sh execution) which was created is not terminated.

I tried to use SDK's API for processes, but no luck so far. The matter is more compilated, because retdec-decompiler.sh itself launches other processes.

@Maroc-OS
Copy link
Contributor

Maroc-OS commented Jul 7, 2018

The code that handle this is not working good, it hangs sometimes don’t know why maybe when force closing ida pro. The code try to kill the running process blindly, and should use some kind of ways to detect if it’s really working not only look for variable if true or false.

@PeterMatula
Copy link
Collaborator Author

This will probably be easier to solve once bash scripts are rewritten to Python.

@PeterMatula
Copy link
Collaborator Author

Fixed in 3534c6a, 726e701, and d2a2998.

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