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

Enable more ASAN checks #46

Open
erenon opened this issue Mar 15, 2020 · 0 comments
Open

Enable more ASAN checks #46

erenon opened this issue Mar 15, 2020 · 0 comments

Comments

@erenon
Copy link
Contributor

erenon commented Mar 15, 2020

CFLAGS += -fsanitize-address-use-after-scope
ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1

https://github.com/google/sanitizers/wiki/AddressSanitizer#faq

Check is any of those already enabled by default.
Make sure the checks do not make the CI job too slow.

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