2003 · 30 citations · 6 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureOperating SystemsProgramming LanguagesControl-flow AnalysisCpu SchedulingData-flow AnalysisInstruction Set ArchitectureInterrupt HandlingMemory HierarchyInterrupt AnalysisInterrupt-driven I/oReturn Address StacksStack ManagementStack Usage
Abstract. We study the problem of determining stack boundedness and the exact maximum stack size for three classes of interrupt-driven programs. Interrupt-driven programs are used in many real-time applications that require responsive interrupt handling. In order to ensure responsiveness, programmers often enable interrupt processing in the body of lower-priority interrupt handlers. In such programs a programming error can allow interrupt handlers to be interrupted in cyclic fashion to lead to an unbounded stack, causing the system to crash. For a restricted class of interrupt-driven programs, we show that there is a polynomial-time procedure to check stack boundedness, while determining the exact maximum stack size is PSPACE-complete. For a larger class of programs, the two problems are both PSPACE-complete, and for the largest class of programs we consider, the two problems are PSPACE-hard and can be solved in exponential time. 1
6
Precise interprocedural dataflow analysis via graph reachability
Thomas Reps, Susan Horwitz, Mooly Sagiv · 1995 · 1.2K citations
Proving the correctness of reactive systems using sized types
John Hughes, Lars Pareto, Amr Sabry · 1996 · 314 citations · Full text
Graph-theoretic methods in database theory
Mihalis Yannakakis · 1990 · 234 citations · Full text