Details
Details
- Reviewers
eugenis - Commits
- rL189502: [dfsan] Add custom function for pthread_create.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
- Check the label of the callback argument
lib/dfsan/dfsan_custom.cc | ||
---|---|---|
285 | I think that propagating labels through pthread_create and pthread_join can be done in a separate change. But for now I am fixing the more fundamental bug that the pthread_create callback argument can receive an invalid nonzero label due to an ABI mismatch. | |
lib/dfsan/lit_tests/custom.c | ||
138 | I now test that the argument is unlabelled. |
I'm slightly confused. This would be the label for the thread return value, right? Don't you need to keep it somewhere for pthread_join()?