avast / avast/retdec

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

Open
#512 3 comments 0 reactions 0 assignees View on GitHub
bug C-llvmir2hll P-run
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

## Note:

I have already set "stack size" to unlimited.

## Example:
```
./retdec-decompiler.py --no-memory-limit libtd.so
```

## Log:

[dec.log](https://github.com/avast-tl/retdec/files/2929099/dec.log)

## Input:

[libtd.zip](https://github.com/avast-tl/retdec/files/2929100/libtd.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the crash with ./retdec-decompiler.py --no-memory-limit libtd.so using the supplied libtd.zip input, then inspect dec.log and the phase that removes unreachable CFG code. Done means the provided input no longer crashes during that phase and decompilation completes or reports a clearer failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.