Design and Implementation of a Concolic-Testing Tool
- Author
- JiangSiYuan
- Advisor
- PuGeGuang
- School
- East China Normal University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 165
- Citations
- 0
Abstract
Software failures bring more and more economic damage nowadays while software becomes widely used in almost every industry. For avoiding software failures at most, software testing is a critical and comparatively easy way to achieve this goal. In high-confidential area, software is failure-intolerant. Therefore, white-box testing, which is based on software code, is more widely used in high-confidential area. As human re-sources are more and more expensive these years while white-box testing criteria are more and more complex and hard to achieve, automatic or semi-automatic white-box testing toolkits are needed badly. In order to automatically processing white-box testing, testing toolkits need to automatically generate test-inputs based on codes under test.Symbolic execution was proposed to deal with this situation. It sees input vari-ables as symbols and collects branch expressions when it simulates the execution. These branch expressions can be used as inputs’constraints which help to generate inputs for white-box testing. However, it is hard for symbolic execution to test real-world programs because the constraints that it extracted from real-world programs are mostly too compli-cated to solve in a reasonable time.In order to relieve this problem, dynamic symbolic execution was proposed. Dynam-ic symbolic execution uses real values of variables to simplify the constraints. To make dynamic symbolic execution more effective for white-box testing, this paper presents three ways to increase the efficiency of dynamic symbolic execution:adding coverage algorithm into dynamic symbolic execution; optimizing constraint-processing algorithm for pointers and offsets; expanding data-generation algorithm for dynamic test inputs set. This paper describes and discusses the design and implementation of a testing toolkit, CAUT, which is based on dynamic symbolic execution. This paper also describes the three algorithms in detail, and tests the toolkit and shows the efficiency of the three algo-rithms.
Table of contents
Summary 6-7
Abstract 7-10
Chapter 1 Introduction 10-13
1.1 Contribution 12
1.2 the paper is 12-13
Chapter 2 Background 13-24
2.1 basic Concepts overview 13-15
2.2 dynamic symbolic execution 15-16
2.3 dynamic symbolic execution implementation framework 16-19
2.4 dynamic symbolic execution of limitations 19-24
chapter 3 work 24-31
3.1 Overview of existing tools nbsp 24-25
3.2 coverage efficiency ; 25-28
3.3 variable offset 28
3.4 dynamic test input 28-31
improve the implementation of Chapter IV of the dynamic symbol 31-37
4.1 override the standard driver independent nbsp 31-33
4.2 offset constraints ; dynamic management 33-34
4.3 input variable sets 34-37
Chapter CAUT frame design 37-42
5.1 module division and functional responsibilities 38-39
test execution process 5.2 39-40
5.3 constraint solving process 40-42
Chapter VI implementation, test and evaluation 42-47
6.1 CAUT Introduction and workflow 42-43
6.2 CAUT achievement 43-44
6.3 test and evaluation 44-47
Chapter VII summarizes 47-48
References 48-53 <br / > Thanks published papers nbsp 53-54
during the master's degree ; 54
Related dissertations
- The Design and Research of White-box Testing System
- Demand-driven Automated Test Generation for Software Security Defects
- Mobile Phone Automatation Test System Based on SC660X Platform
- The Design and Realization of General Testing Process in Software Industry
- The Application and Research of Automation Test with Dojo Based on Selenium
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Design and Implementation of Distributed Automation Testing System for Android Application
- Research on Mobile Games Software Automated Testing Based Machine Learning
- Design and Realization of Test Equipment for a Data Record Device
- Design and implementation of monitoring tool Linux system and its automation test based on
- Research and Implementation of Vulnerability Detection System Based on Symbolic Execution
- Research on Key Technologies of Malicious Code Binary Program Behavior Analysis
- Subway Interlocking System Development Verification and Validation
- Analysis and Design of Automated-Testing Framework for E-Commerce System
- Research and Implementation of an Automatic Embedded Test Platform
- Research on Testing Technology of Binary Program Based on Coverage of Critical Path
- Research and Implementation for Method of Component Regression Testing
- Design and Implementation of Automated Financial Data Validation Tool for Financial Information Service Industry
- The Design and Implementation of Autotest
- The Design and Implementation of Automated Testing System of Itis on Mac OS