Actions
Task #4589
openthreading: debug validate mutexes with PTHREAD_MUTEX_ERRORCHECK
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Effort:
Difficulty:
Label:
Description
The idea is that if we compile with --debug-validation, we:
- pass a pthread_mutexattr_t
with PTHREAD_MUTEX_ERRORCHECK
to all SCMutexInit
calls
- add a check for each init/lock/unlock that aborts if the return code is not 0
Would have found #4478
Updated by Victor Julien 12 months ago
@Philippe Antoine would this be helpful in fuzzing?
Updated by Philippe Antoine 12 months ago
would this be helpful in fuzzing?
Only if fuzzing use multiple threads, which is not the case right now...
Actions