Stack size analysis for interrupt-driven programs

Chatterjee K, Ma D, Majumdar R, Zhao T, Henzinger TA, Palsberg J. 2003. Stack size analysis for interrupt-driven programs. 10th International Static Analysis Symposium. FCRC: Federated Computing Research Conference, Lecture Notes in Computer Science, vol. 2694, 109–126.

Download
No fulltext has been uploaded. References only!

Conference Paper | Published | English
Author
Chatterjee, KrishnenduISTA ; Ma, Di; Majumdar, Ritankar; Zhao, Tian; Henzinger, Thomas AISTA ; Palsberg, Jens
Series Title
Lecture Notes in Computer Science
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 axe 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.
Publishing Year
Date Published
2003-05-13
Proceedings Title
10th International Static Analysis Symposium
Publisher
Springer nature
Volume
2694
Page
109 - 126
Conference
FCRC: Federated Computing Research Conference
Conference Location
San Diego, CA, United States
Conference Date
2003-06-11 – 2003-06-13
IST-REx-ID

Cite this

Chatterjee K, Ma D, Majumdar R, Zhao T, Henzinger TA, Palsberg J. Stack size analysis for interrupt-driven programs. In: 10th International Static Analysis Symposium. Vol 2694. Springer nature; 2003:109-126. doi:10.1007/3-540-44898-5_7
Chatterjee, K., Ma, D., Majumdar, R., Zhao, T., Henzinger, T. A., & Palsberg, J. (2003). Stack size analysis for interrupt-driven programs. In 10th International Static Analysis Symposium (Vol. 2694, pp. 109–126). San Diego, CA, United States: Springer nature. https://doi.org/10.1007/3-540-44898-5_7
Chatterjee, Krishnendu, Di Ma, Ritankar Majumdar, Tian Zhao, Thomas A Henzinger, and Jens Palsberg. “Stack Size Analysis for Interrupt-Driven Programs.” In 10th International Static Analysis Symposium, 2694:109–26. Springer nature, 2003. https://doi.org/10.1007/3-540-44898-5_7.
K. Chatterjee, D. Ma, R. Majumdar, T. Zhao, T. A. Henzinger, and J. Palsberg, “Stack size analysis for interrupt-driven programs,” in 10th International Static Analysis Symposium, San Diego, CA, United States, 2003, vol. 2694, pp. 109–126.
Chatterjee K, Ma D, Majumdar R, Zhao T, Henzinger TA, Palsberg J. 2003. Stack size analysis for interrupt-driven programs. 10th International Static Analysis Symposium. FCRC: Federated Computing Research Conference, Lecture Notes in Computer Science, vol. 2694, 109–126.
Chatterjee, Krishnendu, et al. “Stack Size Analysis for Interrupt-Driven Programs.” 10th International Static Analysis Symposium, vol. 2694, Springer nature, 2003, pp. 109–26, doi:10.1007/3-540-44898-5_7.

Export

Marked Publications

Metadata Export

Search this title in

Google Scholar
ISBN Search