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

Segmentation fault in reassembled binary #23

Open
Liblor opened this issue Apr 29, 2021 · 0 comments
Open

Segmentation fault in reassembled binary #23

Liblor opened this issue Apr 29, 2021 · 0 comments

Comments

@Liblor
Copy link

Liblor commented Apr 29, 2021

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

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

No branches or pull requests

1 participant