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 for readelf_all #6

Open
xposimon opened this issue Sep 27, 2020 · 1 comment
Open

Segmentation fault for readelf_all #6

xposimon opened this issue Sep 27, 2020 · 1 comment

Comments

@xposimon
Copy link

I have run the following commands to test the functionality. It seems the error handling codes are modified. A segmentation fault will be produced if I feed the readelf_all with a file that does not exist.

$ gdb ./readelf_all
pwndbg> run -a ./nofile
Starting program: /home/xposimon/Desktop/works/fuzzification/antifuzz-tutorial/test/output/readelf/readelf_all -a ./nofile
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
__GI__IO_fread (buf=0x91e010, size=101, count=1, fp=0x0) at iofread.c:37
37	iofread.c: No such file or directory.
@jinhojun
Copy link
Contributor

Please contact me to [email protected].

Let's find out what is wrong.

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

2 participants