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

retdec-llvmir2hll crashes in phase "removing code that is not reachable in a CFG" #512

Open
huoyingyangjie opened this issue Mar 5, 2019 · 3 comments

Comments

@huoyingyangjie
Copy link

huoyingyangjie commented Mar 5, 2019

Note:

I have already set "stack size" to unlimited.

Example:

./retdec-decompiler.py  --no-memory-limit libtd.so

Log:

dec.log

Input:

libtd.zip

@s3rvac s3rvac changed the title Failed when removing code that is not reachable in a CFG retdec-llvmir2hll crashes in phase "removing code that is not reachable in a CFG" Mar 6, 2019
@s3rvac
Copy link
Member

s3rvac commented Mar 6, 2019

Thank you for the report. I was able to reproduce the bug. The Debug build fails with the following assertion:

src/llvmir2hll/ir/goto_stmt.cpp:113: update: Precondition failed: `arg` (expected a non-null pointer).

We will have to investigate what has caused this error.

@PeterMatula
Copy link
Collaborator

The assertion reported by @s3rvac was probably fixed in 6f60474, but I still cannot decompile this file (probably because of #13) - so leaving this open for now.

@TheElementalOfDestruction

I'm having what is probably a similar issue (#659), where mine exited at the same line, although mine was caused by a stack overflow.

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

4 participants