Segmentation fault in reassembled binary
- Dominant language
- Python
- Stars
- 750
- Forks
- 87
- PR merge metrics
- No merged PRs in 30d
Description
Another possible bug.
**Issue:**
```
$ ./08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12_bin_ref
$ echo $?
0
$ ./08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12_bin_mod
Segmentation fault (core dumped)
```
**Build:**
```
$ clang -O2 -fPIC -fPIE -pie 08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12.c 08e6e84cab2284e35e4808f1891290b0519f1e3f.ll -o 08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12_bin_ref
$ retrowrite 08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12_bin_ref 08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12_bin_ref.s
$ clang 08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12_bin_ref.s -o 08e6e84cab2284e35e4808f1891290b0519f1e3f_GlobalDCE1061_12_bin_mod
```
[reproducible.tar.gz](https://github.com/HexHive/retrowrite/files/6399008/reproducible.tar.gz)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by unpacking reproducible.tar.gz and rebuilding the reference binary with the clang commands shown in the issue. Run retrowrite on that binary, build the rewritten assembly, and compare the two executions; done means identifying and correcting the cause of the modified binary's segmentation fault.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- reverse-engineering, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100