ALF - A Language for WCET Flow Analysis
Abstract
Static Worst-Case Execution Time (WCET) analysis derives upper bounds for the execution times of programs. Such bounds are crucial when designing and verifying real-time systems. A key component in static WCET analysis is the flow analysis, which derives bounds on the number of times different code entities can be executed. Examples of flow information derived by a flow analysis are loop bounds and infeasible paths. Flow analysis can be performed on source code, intermediate code, or binary code: for the latter, there is a proliferation of instruction sets. Thus, flow analysis must deal with many code formats. However, the basic flow analysis techniques are more or less the same regardless of the code format. Thus, an interesting option is to define a common code format for flow analysis, which also allows for easy translation from the other formats. Flow analyses for this common format will then be portable, in principle supporting all types of code formats which can be translated ...
References (20)
- ABSINT. aiT tool homepage, 2008. www.absint.com/ait.
- FERDINAND, C., HECKMANN, R., AND FRANZEN, B. Static memory and timing analysis of embedded systems code. In 3rd European Symposium on Verification and Validation of Software Systems (VVSS'07), Eindhoven, The Netherlands (Mar. 2007), no. TUE Computer Science Reports 07-04, pp. 153-163.
- GUSTAFSSON, J., ERMEDAHL, A., AND LISPER, B. ALF (ARTIST2 Language for Flow Analysis specification. Tech. rep., Mälardalen University, Västerås, Sweden, Jan. 2009.
- GUSTAFSSON, J., LISPER, B., SANDBERG, C., AND BERMUDO, N. A tool for automatic flow analysis of C-programs for WCET calculation. In Proc. 8 th IEEE International Workshop on Object-oriented Real-time De- pendable Systems (WORDS 2003) (Jan. 2003).
- GUSTAFSSON, J., LISPER, B., SCHORDAN, M., FERDINAND, C., GLIWA, P., JERSAK, M., AND BERNAT, G. ALL-TIMES -a European project on integrating timing technology. In Proc. 3 rd International Symposium on Leveraging Applications of Formal Methods (ISOLA'08) (Porto Sani, Greece, Oct. 2008), vol. 17 of CCIS, Springer, pp. 445-459.
- HOLSTI, N. Analysing switch-case tables by partial evaluation. In Proc. 7 th International Workshop on Worst-Case Execution Time Analysis (WCET'2007) (2007).
- HOLSTI, N., AND SAARINEN, S. Status of the Bound-T WCET tool. In Proc. 2 nd International Workshop on Worst-Case Execution Time Analysis (WCET'2002) (2002).
- IAR Systems homepage. URL: http://www.iar.com.
- K ÄSTNER, D. TDL: A hardware description language for retargetable postpass optimizations and analyses. In Proc. 2 nd International Conference on Generative Programming and Component Engineering (GPCE'03), Lecture Notes in Computer Science (LNCS) 2830. Springer-Verlag, 2003.
- KIRNER, R. Extending Optimising Compilation to Support Worst-Case Execution Time Analysis. PhD thesis, Technische Universität Wien, Treitlstr. 3/3/182-1, 1040 Vienna, Austria, May 2003.
- LEVINE, J. Linkers and Loaders. Morgan Kaufmann, 2000. ISBN 1-55860-496-0.
- LISPER, B. Fully automatic, parametric worst-case execution time analysis. In Proc. 3 rd International Workshop on Worst-Case Execution Time Analysis (WCET'2003) (Porto, July 2003), J. Gustafsson, Ed., pp. 77-80.
- M ÄLARDALEN UNIVERSITY. WCET project homepage, 2008. www.mrtc.mdh.se/projects/wcet.
- MELMAC. MELMAC homepage, 2009. http://www.complang.tuwien.ac.at/gergo/melmac.
- MONTAG, P., GOERZIG, S., AND LEVI, P. Challenges of timing verification tools in the automotive domain. In Proc. 2 nd International Symposium on Leveraging Applications of Formal Methods (ISOLA'06) (Paphos, Cyprus, Nov. 2006), T. Margaria, A. Philippou, and B. Steffen, Eds.
- PRANTL, A., SCHORDAN, M., AND KNOOP, J. TuBound -A Conceptually New Tool for Worst-Case Execution Time Analysis. In Proc. 8 th International Workshop on Worst-Case Execution Time Analysis (WCET'2008) (Prague, Czech Republic, July 2008), R. Kirner, Ed., pp. 141-148.
- SATIRE. SATIrE homepage, 2009. http://www.complang.tuwien.ac.at/markus/satire.
- SEHLBERG, D., ERMEDAHL, A., GUSTAFSSON, J., LISPER, B., AND WIEGRATZ, S. Static WCET analysis of real-time task-oriented code in vehicle control systems. In Proc. 2 nd International Symposium on Leveraging Applications of Formal Methods (ISOLA'06) (Paphos, Cyprus, Nov. 2006), T. Margaria, A. Philippou, and B. Steffen, Eds.
- THEILING, H. Control Flow Graphs For Real-Time Systems Analysis. PhD thesis, University of Saarland, 2002.
- WRIGHT, A. K., AND CARTWRIGHT, R. A practical soft type system for scheme. ACM Trans. Program. Lang. Syst. 19, 1 (Jan. 1997), 87-152.