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

__*san_default_options aren't picked up #1540

Closed
addisoncrump opened this issue Sep 21, 2023 · 2 comments
Closed

__*san_default_options aren't picked up #1540

addisoncrump opened this issue Sep 21, 2023 · 2 comments
Labels
libafl_libfuzzer Bugs or features relating to libafl_libfuzzer

Comments

@addisoncrump
Copy link
Collaborator

For some reason, the __*san_default_options are not being used from libafl_targets. Probably an extension of some of the whole-archive problems we've been having. We need to add this for correct error handling behaviour, or the fuzzing program may terminate unexpectedly.

@addisoncrump addisoncrump added the libafl_libfuzzer Bugs or features relating to libafl_libfuzzer label Sep 21, 2023
@addisoncrump
Copy link
Collaborator Author

If you need a workaround for this:

export ASAN_OPTIONS='abort_on_error=1:detect_leaks=0:malloc_context_size=0:symbolize=0:allocator_may_return_null=1:detect_odr_violation=0:handle_segv=0:handle_sigbus=0:handle_abort=0:handle_sigfpe=0:handle_sigill=0'

@domenukk
Copy link
Member

Is this still a thing?

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

No branches or pull requests

2 participants