Design and Implementation of Interrupt Bugs Analysis Tool in Safety-critical Software

Author
ZuoYanJie
Advisor
WuBo , YangFang
School
Xi'an University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
23
Citations
0

Request the full text

Abstract

Aerospace system software belongs to the Safety-critical software which usuallyuses the embedded real-time operating system as the platform, there are highrequirements to the software of real-time, reliability and efficiency, at the same time,and it’s not allowed to have any security and hidden danger there. How to get the highefficient and reliable software testing method to detection and eliminate various defectswhich existing in the safety-critical software as soon as possible is the focus in the fieldof software testing.Interrupt program for the synchronization, real-time processing, and handlingemergencies to provide more efficient and convenient solution, so the interrupt programis indispensable in the embedded system development process.The background of this paper is the interrupt program test which is used inimportant system. The paper deeply studied the TI’s C6X series chip interruptsprogramming methods、 COFF format file parse and real-time interrupt routine test. Itadopts a way of static analysis to design and complete the safety-critical softwareinterrupts defects analysis tool especially proposes the interrupt real-time test modulemethod. This tool can detect the interrupt system resource conflicts and interruptfunctions to respond to real-time and other debugs by analyzing the combination ofsource code and the target file. The experimental results proved that the tool improvedthe efficiency of safe-critical software interrupt debugs test vastly.

Table of contents

Summary 3-4 Abstract 4-7 first chapter 7-11 1.1 subject background 7 <br / > 1.2 Status of safety-critical software testing technology 7-9 1.3 The main work 9-10 1.4 thesis structure 10-11 Chapter two related concepts and technologies 11-23 2.1 safety Critical software 11-12 2.2 TI 's DSP chip introduced 12-13 <br / > 2.3 TI Company C6X series chip interrupt programming 13-19 2.3.1 interrupt basics 14 2.3.2 interrupt Register 14-15 <br / > under 2.3.3 CCS environment interrupt programming 15-19 2.4 COFF file describes 19-23 Chapter interruption defect analysis tool needs analysis and overall design 23-35 3.1 interrupt defect classification 23-25 ?? 3.2 interrupt defect analysis tool needs analysis 25-27 3.2.1 interrupted defect analysis tools overall demand 25-26 3.2.2 existing interrupt routine testing process 26 3.2.3 interrupt routine test process improvement 26-27 <br / > advantage 3.2.4 static analysis techniques 27 3.3 interrupt the overall design defect analysis tools 27-35 3.3.1 interrupt system resource conflict detection module design 28-32 3.3.2 design nbsp real-time interrupt detection module ; achieve 32-35 Chapter IV interrupt real-time detection module 35-59 4.1 function of the internal nodes of the flowchart generated 35-39 4.2 COFF file parsing 39-47 4.2.1 COFF file structure analysis and the C language description 39 - 46 4.2.2 COFF file parsing process analytic 46-47 4.3 code execution time 47-54 4.3.1 generates a table with line numbers COFF object files 47-48 4.3.2 COFF line numbers table to resolve 48-51 4.3.3 CPU cycles to calculate 51-54 <br / > 4.4 the maximum execution time of the interrupt function calculation 54-59 4.4.1 build relationships function call node directed graph 54-56 4.4.2 there is a path to a weighted graph algorithm 56-59 Chapter defect analysis tools interrupt function test 59-65 5.1 test environment introduces 59 5.2 testing procedures and methods 59-62 5.2.1 interrupted defect tool testing process 59-60 5.2.2 interrupted defect analysis tools test methods 60-62 5.3 analysis of test results 62-65 5.3.1 resource conflict detection module test results 62 5.3.2 interrupt real-time monitoring module test results 62-65 Chapter VI Conclusion 65-67 6.1 summarizes 65 6.2 Prospects 65-67 Thanks 67 - 69 References 69-71

Related dissertations

  1. Porting and Test of Real-time Embedded Linux Kernel RTAI
  2. Research and Implementation of ARM -based embedded Linux terminal