2010 · 26 citations · 13 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureEmbedded SystemsOperating SystemsEmbedded Operating SystemsInterrupt HandlingRace Condition VulnerabilitiesData Race AnalysisDynamic Race DetectionEmbedded System TestingRace Condition DetectionRace ConditionsRace Conditions In Memory AccessRandom TestingStatic Race Detection
Embedded software frequently uses interrupts for timer or I/O processing. If a memory area is used by both an interrupt handler and other routines at the same time, the embedded system has the potential to fail because of unexpected data in the memory. To detect the race conditions of memory, this paper proposes a method of interrupt testing on a CPU emulator. The method consists of two features: one is interrupt generation at the instruction points that possibly causes race conditions; the other is replacing input value from external device to control interrupt handlers. An interrupt is generated just after the program reads or writes data on memory for the purpose of covering all possibility of sharing memory between the interrupt handler and other routines. Sequence of input value from the external device is prepared by hand before program execution. We have applied our method to testing for a race condition of uClinux. The experience of detecting race conditions has shown the mechanism causes interrupts at necessary and sufficient timing compared with random interrupt testing. Also, it is easy to substitute values in memory to detect race conditions.
13
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
An investigation of the Therac-25 accidents
Nancy G. Leveson, Clark Savage Turner · Computer · 1993 · 1.2K citations · Full text
Fault injection techniques and tools
Mei-Chen Hsueh, Timothy Tsai, Ravishankar K. Iyer · Computer · 1997 · 869 citations · Full text
Cormac Flanagan, Stephen N. Freund · 2009 · 671 citations
Dawson Engler, Ken Ashcraft · ACM SIGOPS Operating Systems Review · 2003 · 664 citations