Research and Application of Fast Program Flow Analysis Method
- Author
- CaoHouHua
- Advisor
- WuGuoWei
- School
- Dalian University of Technology
- Major
- Software Engineering
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 61
- Citations
- 1
Abstract
The most important parameter judging the system is the Worst-Case Execution Time (WCET). The purpose of WCET estimation is getting the right limit of the certain task, which should consider the software and hardware configuration comprehensively. For the dynamic measure method of WCET can not pledge the safety of the estimation, most researchers apply themselves to analysis WCET by static method. With the development of the scale and complication of program, it makes fast WCET estimation become much hard.In program flow analysis of WCET, this paper gives definition and its presentation based on the feature of the C programming language with algorithms for constructing control flow graph from abstract syntax tree, static single assignment form can be made from control flow graph, and then can get data dependency, control dependency and program dependency graph. System dependency graph can be extended from program dependency graph, and then the reachable graphic algorithm is used to compute the program slicing. We introduce a simple program slicing algorithm based-on data dependency, which is suitable for slicing all conditions. After program slicing, it uses abstract interpretation to automatically get the constraints of program flow, thereby avoiding the need for manual annotations.We introduce a method of fast and automatic program flow analysis based on static single assignment, program slicing, abstract interpretation in the program flow analysis of WCET. To compare with former methods, the one we mentioned will get the constraints of program flow fact faster and effectively, which is applicable to the WCET flow analysis of the program with complicated software configuration. Based on graph theory, compiler optimization and program slicing, this paper, which is a trial for doing research on WCET program flow analysis, have discussed an integral strategy for implementing a tool in WCET program flow analysis.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-12
the 1.1 research background and significance 8
1.2 research status and the problems 8-10
1.3 This paper studies the content and structure 10-12
2 real-time software WCET analysis 12-19
2.1 real-time systems and embedded systems 12-13
2.2 WCET analysis of the basic concepts 13
2.3 for WCET method 13-16
2.3.1 Dynamic metrics 14
2.3.2 static analysis 14-16
2.3.3 Mixture Analysis 16
2.4 program flow fact 16-19
2.4.1 manually labeled and automatically analyze 16-17
2.4.2 program flow facts 17-19
3 flow analysis based on static single assignment procedures 19-32
3.1 the basic concepts of static single assignment 19
3.2 static single assignment form transformation process 19-28
3.2.1 construct control flow graph 20-24
3.2.2 constructor must pass through the node tree 24-25
3.2.3 calculation must pass through the node boundary 25-26
3.2.4 insert (?) function and variable rename 26-28
The
a 3.3 static single assignment form to restore 28-29
3.4 Pointer Analysis 29-32
4 flow analysis program based on program slicing 32-51
4.1 program slicing definition 32-33
4.2 program slicing classification 33-35
4.2.1 before to slice to slice and after 33-34
4.2.2 process within the slice and process slice 34
4.2.3 static slicing and dynamic slicing 34-35
4.3 process within the slice 35-40
4.3.1 Data dependence Figure 35-37
4.3.2 Control dependence Figure 37-38
4.3.3 program dependence graph 38
4.3.4 Figure reachability algorithm 38-39
4.3.5 example analysis 39-40
4.4 interprocedural slicing 40-43
4.5 simple slicing algorithm 43-46
4.5.1 symbol definition 43-44
4.5.2 algorithm 44-45
4.5.3 algorithm is applied 45-46
4.6 program slicing WCET analysis applications 46-49
4.7 static single assignment in the flow of the application not sensitive program slicing 49-50
4.8 This chapter Summary 50-51
5-flow analysis tool prototype and experimental 51-59
5.1 the WCET-SPIA's functional requirements and structure 51-52
5.2 Experimental 52-59
5.2.1 program execution time metrics 52-53
5.2.2 program slicing experiments 53-56
5.2.3 program flow analysis speed 56-57
5.2.4 WCET estimation accuracy 57-59
concluded 59-60
the
References 60-64
during the master's degree Post academic situation 64-65
Acknowledgements 65-66
Related dissertations
- Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
- The Development of Configuration Software for Monitoring and Controlling Based on C#
- Design and Implementation of Static Gesture Recognition System Based on FPGA
- Research on the WCET Analysis of Real-time Systems in Multi-core Platform
- Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
- Modal Analysis Fast Calculation Method Research and Application on Heavy Truck
- Design and Implemenation of Real-time Monitoring System Based on Virtual Instrument
- Implementation of Real-Time Test System for Inertial Measurement Units Based on LabVIEW
- Formal Modeling and Analysis of Cyber Physical System
- Real Time Face Feature Detection System Based on CPU+GPU Cluster
- Design and Realization of a Dynamic Memory Manager for Embedded Real-time Systems
- Research of Task Scheduling Algorithm for Soft Real-time System Based on Feedback Mechanism
- Real-time Analysis and Verrification of Real-Time Cyber Physical Systems
- Sparse SSA Algorithm of Partial Redundancy Elimination
- Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
- Aspect-Oriented Testing Approach for The Real-time Characteristic of Real-Time Cyber-Physical System
- Pointer Analysis Based Lock Set Analysis Tool
- Continuous Online Program Slicing
- Research on Software Debugging Techniques Based on the Combination of Machine Learning and Program Analysis
- Research on Theory and Application of Program Slicing