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

Eclipser doesn't seem to work with LLVM sanitizers #5

Open
agroce opened this issue Apr 24, 2019 · 2 comments
Open

Eclipser doesn't seem to work with LLVM sanitizers #5

agroce opened this issue Apr 24, 2019 · 2 comments

Comments

@agroce
Copy link

agroce commented Apr 24, 2019

Compiling with -fsanitize=foo seems to cause the fork server to not be able to start, with any of address, undefined, or integer. Be nice to be able to fuzz with sanitizers.

@jchoi2022
Copy link
Collaborator

Actually, this is a known issue, and it seems to be a problem between QEMU and ASAN, not of Eclipser. When you download and build the pure version of QEMU (without any modification made for Eclipser), it fails to run any simple program compiled with '-fsanitize=address' option. When I observed with 'strace', it allocates memory repeatedly and terminates after consuming all memory. I confirmed this issue exists in several QEMU versions - '2.3.0', '2.12.1', and '3.1.0'.

Considering that Eclipser is a binary-based fuzzer, which is originally intended to fuzz program without source code, we thought this was not a high priority issue.

Still, we will try to take a look at QEMU and ASAN when we have time. Or any help would be welcomed, too.

@agroce
Copy link
Author

agroce commented Apr 25, 2019

Thanks!

It's working with DeepState now, and finding new things. Understood this is a QEMU issue, and it's not a big deal for DeepState, really.

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