
TL;DR
A new approach for testing race conditions in multi-threaded applications was developed, utilizing memory access tracing and stack-based delay injection to reliably reproduce bugs. This method enhances the ability to confirm bug candidates and create effective regression tests.
✦ Why It Matters
Implement memory access tracing and delay injection techniques to improve your race condition testing today.
Key Takeaways
How It Works
MAccConc employs memory access tracing to identify interactions between threads, focusing on overlapping memory accesses that could lead to race conditions. It uses KCOV to collect coverage data and ASAN to track memory accesses, allowing for detailed analysis of thread interleavings.
The tools can enforce specific execution orderings through delay injection, enabling users to test various scenarios systematically.
Related