DeepRace: Finding Data Race Bugs via Deep Learning
Ali Tehrani, Mohammed Khaleel, Reza Akbari, Ali Jannesari

TL;DR
DeepRace employs a deep learning model to detect data race bugs in source code at the file and line level, achieving high accuracy and effective localization.
Contribution
This paper introduces DeepRace, a novel CNN-based approach that automatically detects and localizes data race bugs in source code without manual feature engineering.
Findings
Achieved 81-86% accuracy in classifying buggy files.
Successfully localized buggy lines with 66% intersection-over-union.
Performed well on large datasets with minimal false positives.
Abstract
With the proliferation of multi-core hardware, parallel programs have become ubiquitous. These programs have their own type of bugs known as concurrency bugs and among them, data race bugs have been mostly in the focus of researchers over the past decades. In fact, detecting data races is a very challenging and important task. There have been several research paths in this area with many sophisticated tools designed and utilized that focus on detecting data race at the file level. In this paper, we propose DeepRace, a novel approach toward detecting data races in the source code. We build a deep neural network model to find data races instead of creating a data race detector manually. Our model uses a one-layer convolutional neural network (CNN) with different window size to find data races method. Then we adopt the class activation map function with global average pooling to extract…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software System Performance and Reliability · Software Testing and Debugging Techniques
