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

Mark pthread create/free functions as __noleakcheck #15108

Merged
merged 1 commit into from Sep 23, 2021
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Sep 23, 2021

We were trying to do this in library_pthread.c but this
file (and the whole of libc) is not compiled specifically for
lsan like it is for msan so in lsan builds that codepath was
not being compiled it.

Instead use JS-side mitigation which is to use __noleakcheck.

We were trying to do this in `library_pthread.c` but this
file (and the whole of libc) is not compiled specifically for
lsan like it is for msan so in lsan builds that codepath was
not being compiled it.

Instead use JS-side mitigation which is to use `__noleakcheck`.
@sbc100 sbc100 enabled auto-merge (squash) September 23, 2021 18:42
@sbc100 sbc100 merged commit 8b7c8f6 into main Sep 23, 2021
@sbc100 sbc100 deleted the pthread_create_lsan branch September 23, 2021 18:50
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

Successfully merging this pull request may close these issues.

None yet

3 participants