Low-cost on-line fault detection using control flow assertions
Authors:
- B.T. MurrayBMB.T. Murray
- 1 March 2004
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 137-143
Abstract
A control flow fault occurs when a processor fetches and executes an incorrect next instruction. Executable assertions, i.e., special instructions that check some invariant properties of a program, provide a powerful and low-cost method for on-line detection of hardware-induced control flow faults. We propose a technique called ACFC (Assertions for Control Flow Checking) that assigns an execution parity to a basic block, and uses the parity bit to detect faults. Using a graph model of a program, we classify control flow faults into skip, re-execute and multi-path faults. We derive some necessary conditions for these faults to manifest themselves as execution parity errors. To force a control flow fault to excite a parity error, the target program is instrumented with additional instructions. Special assertions are inserted to detect such parity errors. We have a developed a preprocessor that takes a C program as input and inserts ACFC assertions automatically. We have implemented a software-based fault injection tool SFIG which takes advantage of the GNU debugger. Fault injection experiments show that ACFC incurs less performance overhead (around 47%) and memory overhead (around 30%) than previous techniques, with no significant loss in fault coverage.Keywords
This publication has 11 references indexed in Scilit:
- Evaluation of error detection schemes using fault injection by heavy-ion radiation2003
- A study of the effects of transient fault injection into a 32-bit RISC with built-in watchdog2003
- Two software techniques for on-line error detection2003
- Experimental evaluation of the fail-silent behaviour in programs with consistency checks2002
- ED/sup 4/I: error detection by diverse data and duplicated instructionsIEEE Transactions on Computers, 2002
- Control-flow checking by software signaturesIEEE Transactions on Reliability, 2002
- Xception: a technique for the experimental evaluation of dependability in modern computersIEEE Transactions on Software Engineering, 1998
- FERRARI: a flexible software-based fault and error injection systemIEEE Transactions on Computers, 1995
- Architectural principles for safety-critical real-time applicationsProceedings of the IEEE, 1994
- Concurrent error detection using watchdog processors-a surveyIEEE Transactions on Computers, 1988