Static Race Detection for RTOS Applications

10/06/2020
by   Rishi Tulsyan, et al.
0

We present a static analysis technique for detecting data races in Real-Time Operating System (RTOS) applications. These applications are often employed in safety-critical tasks and the presence of races may lead to erroneous behaviour with serious consequences. Analyzing these applications is challenging due to the variety of non-standard synchronization mechanisms they use. We propose a technique based on the notion of an "occurs-in-between" relation between statements. This notion enables us to capture the interplay of various synchronization mechanisms. We use a pre-analysis and a small set of not-occurs-in-between patterns to detect whether two statements may race with each other. Our experimental evaluation shows that the technique is efficient and effective in identifying races with high precision.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/28/2019

Ready, set, Go! Data-race detection and the Go language

Data races are often discussed in the context of lock acquisition and re...
research
10/26/2022

Hybrid Inlining: A Compositional and Context Sensitive Static Analysis Framework

Context sensitivity is essential for achieving the precision in inter-pr...
research
07/23/2018

Data Race Detection on Compressed Traces

We consider the problem of detecting data races in program traces that h...
research
11/24/2021

Predictive Data Race Detection for GPUs

The high degree of parallelism and relatively complicated synchronizatio...
research
10/30/2020

Optimal Prediction of Synchronization-Preserving Races

Concurrent programs are notoriously hard to write correctly, as scheduli...
research
05/29/2023

Automatic Detection, Validation and Repair of Race Conditions in Interrupt-Driven Embedded Software

Interrupt-driven programs are widely deployed in safety-critical embedde...
research
02/05/2018

The Effect Race in Fine-Grained Concurrency

Most existed work require knowledge about the effect of program instruct...

Please sign up or login with your details

Forgot password? Click here to reset