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

Add instructions for sanitizer integration #3086

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

sfc-gh-ebrossard
Copy link
Contributor

See #3083 for context. This PR adds specific instructions for how to trigger test failures when sanitizers including UBSan, ASan, and TSan report errors.

@sfc-gh-ebrossard
Copy link
Contributor Author

I should mention that none of these hooks is particularly well-documented. I found the ASAN one via https://github.com/llvm-mirror/compiler-rt/blob/master/include/sanitizer/asan_interface.h#L263, but the others don't appear in the related headers, so I had to check e.g. nm -C --defined-only libubsan.a | grep __ubsan_on.

@asoffer asoffer self-assigned this Oct 28, 2020
@sfc-gh-ebrossard
Copy link
Contributor Author

@asoffer Any feedback? It looks like I can't actually assign reviewers to the PR. Thanks!

@asoffer
Copy link
Contributor

asoffer commented Nov 2, 2020

Looks good to me. Pulling this in internally now.

suertreus added a commit that referenced this pull request Nov 3, 2020
@suertreus suertreus merged commit ee2c62a into google:master Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants