Computing WCET using symbolic execution
2008, Electronic Workshops in Computing
https://doi.org/10.14236/EWIC/VECOS2008.12Abstract
We propose a novel formal method to compute an upper estimation of the WCET that contains the loss of precision and also can be easily parametrized by the hardware architecture. Assuming that there exists an executable timed model of the hardware, we first use symbolic execution [5] to precisely infer the execution time for a given instruction flow. We secondly identify execution states that can be merged with no loss of precision. Depending on the loss of precision we are ready to accept, we finally merge execution paths that have similar execution times.
References (12)
- Alberto Coen-Porisini, Giovanni Denaro, Carlo Ghezzi, and Mauro Pezzé. Using symbolic execution for verifying safety-critical systems. In ESEC/FSE-9: Proceedings of the 8th European software engineering conference held jointly with 9th ACM SIGSOFT international symposium on Foundations of software engineering, pages 142-151, New York, NY, USA, 2001. ACM.
- John A Darringer. The application of program verification techniques to hardware verification. Annual ACM IEEE Design Automation Conference, pages 376-381, 1988.
- Christian Ferdinand, Daniel Kastner, Marc Langenbach, Florian Martin, Michael Schmidt, Jorn Schneider, Henrik Theiling, Stephan Thesing, and Reinhard Wilhelm. Run-time guarantees for real-time systems -the USES approach. In GI Jahrestagung, pages 410- 419, 1999.
- Freescale Semiconductor, Inc. PowerPC 603 TM RISC Microprocessors Technical Summary, 1994.
- James C. King. Symbolic execution and program testing. Communications of the ACM (Association for Computing Machinery), 19(7), July 1976.
- MOTOROLA. MPC603e EC603e TM RISC Microprocessors User's Manual with Supplement for PowerPC 603 TM Microprocessor, 1997.
- Christian Ferdinand Reinhold Heckmann. Worst case execution time prediction by static program analysis. Parallel and Distributed Processing Symposium. Proceedings. 18th International Volume, pages 125-134, April 2004.
- Marc Schlickling and Markus Pister. A framework for static analysis of vhdl code. In Christine Rochange, editor, 7th Intl. Workshop on Worst-Case Execution Time (WCET) Analysis, Dagstuhl, Germany, 2007. Internationales Begegnungs-und Forschungszentrum f"ur Informatik (IBFI), Schloss Dagstuhl, Germany.
- J. Stankovic. Distributed real-time computing: The next generation. Special issue of Journal of the Society of Instrument and Control Engineers of Japan, 31(7):726-736, 1992.
- David B. Stewart. Measuring execution time and real-time performance. Embedded Systems Conference, San Francisco, CA., April 2001.
- Stephan Thesing. Safe and Precise WCET Determination by Abstract Interpretation of Pipeline Models. PhD thesis, Saarland University, November 2004.
- Yina Zhang. Evaluation of methods for dynamic time analysis for cc-systems ab. Technical Report ISSN 1404-3041 ISRN MDH-MRTC-182/2005-1-SE, Mälardalen University, August 2005.