International Journal of Distributed Sensor Networks · 2013 · 10 citations · 27 references
ComputingComputer EngineeringComputer ScienceEmbedded SystemsOperating SystemsSystems ProgrammingConcurrency AnalysisConcurrency VerificationConcurrent ProgrammingConcurrent System VerificationInterrupt HandlingRace Condition VulnerabilitiesData Race AnalysisDynamic Race DetectionEmpirical EvaluationRace Condition DetectionRace Conditions In Memory AccessStatic Race Detection
Data races are common in interrupt-driven programs and have already led to well-known real-world problems. Unfortunately, existing dynamic tools for reporting data races in interrupt-driven programs are not only unsound, but they also fail to verify the existence of data races in such programs. This paper presents an efficient and scalable on-the-fly technique that precisely detects, without false positives, apparent data races in interrupt-driven programs. The technique combines a tailored lightweight labeling scheme to maintain logical concurrency between the main program and every instance of its interrupt handlers with a precise detection protocol that analyzes conflicting shared memory accesses by storing at most two accesses for each shared variable. We implemented a prototype of this technique, called iRace, on top of the Avrora simulation framework. An empirical evaluation of iRace revealed the presence of data races in some existing TinyOS components and applications with a worst-case slowdown of only about 6 times on average and an increased average memory consumption of only about 20% in comparison with the original program execution. The evaluation also proved that the labeling scheme alone generates an average runtime overhead of only about 0.4x while consuming only about 12% more memory than the original program execution.
27
System architecture directions for networked sensors
Jason Hill, Robert Szewczyk, Alec Woo et al. · ACM SIGPLAN Notices · 2000 · 3.1K citations · Full text
Constructing Induction Rules for Deductive Synthesis Proofs
Alan Bundy, Lucas Dixon, Jeremy Gow et al. · Electronic Notes in Theoretical Computer Science · 2006 · 2.8K citations · Full text
System architecture directions for networked sensors
Jason Hill, Robert Szewczyk, Alec Woo et al. · 2000 · 1.7K citations
David Gay, Philip Levis, Robert von Behren et al. · ACM SIGPLAN Notices · 2014 · 1.7K citations