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

SIGSEGV for every seed? #8

Open
landaire opened this issue Dec 21, 2015 · 4 comments
Open

SIGSEGV for every seed? #8

landaire opened this issue Dec 21, 2015 · 4 comments

Comments

@landaire
Copy link

Running zzuf on my target produces zzuf[s=0,r=0.004]: signal 11 (SIGSEGV) for every seed value provided. Running the application with the modified file though normally and in lldb I can see no evidence of a segfault. Is there a way to debug this false positive? Running the application with valgrind -q the only suspicious behavior I can see is Conditional jump or move depends on uninitialised value(s) and Use of uninitialised value of size 8.

This occurs on OS X 10.11.2 if it matters.

@samhocevar
Copy link
Owner

This is likely caused by zzuf not understanding what the application does in terms of read/write operations, and fuzzing data that shouldn’t be fuzzed, or not fuzzing data that should be fuzzed. You can use the -d flag (also twice: -dd) to see what it thinks the application does and how it acts upon it.

Note that the OS X port hasn’t been maintained for years, as I don’t have access to Mac hardware and mostly rely on user contributions.

@theopolis
Copy link

I saw this for some C++ binaries, tracked it down to malloc and free but couldn't reduce the error any further. :/

For a quick and dirty fix: theopolis@9edc7f9

@landaire
Copy link
Author

landaire commented Sep 9, 2016

I'll give it a try later, thanks @theopolis

@JulianVolodia
Copy link

Note that the OS X port hasn’t been maintained for years, as I don’t have access to Mac hardware and mostly rely on user contributions.

@samhocevar it could be done now without HW, using TravisCI (for free).

@landaire, it is old. Did you tried that fix?

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

4 participants