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

Request the full text

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

  1. The Design and Research of White-box Testing System
    WeiYanWei ·Central China Normal University ·2013 ·Master's thesis
  2. Demand-driven Automated Test Generation for Software Security Defects
  3. Mobile Phone Automatation Test System Based on SC660X Platform
  4. The Design and Realization of General Testing Process in Software Industry
    ZuoTing ·PLA Information Engineering University ·2008 ·Master's thesis
  5. The Application and Research of Automation Test with Dojo Based on Selenium
    ZhangLin ·Hunan University ·2013 ·Master's thesis
  6. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  7. The Design and Implementation of Distributed Automation Testing System for Android Application
  8. Research on Mobile Games Software Automated Testing Based Machine Learning
    ChengWenHua ·Zhejiang University ·2014 ·Master's thesis
  9. Design and Realization of Test Equipment for a Data Record Device
    YuLiNa ·University of North ·2012 ·Master's thesis
  10. Design and implementation of monitoring tool Linux system and its automation test based on
  11. Research and Implementation of Vulnerability Detection System Based on Symbolic Execution
    JiangShuGuang ·Hunan University ·2012 ·Master's thesis
  12. Research on Key Technologies of Malicious Code Binary Program Behavior Analysis
  13. Subway Interlocking System Development Verification and Validation
  14. Analysis and Design of Automated-Testing Framework for E-Commerce System
  15. Research and Implementation of an Automatic Embedded Test Platform
  16. Research on Testing Technology of Binary Program Based on Coverage of Critical Path
  17. Research and Implementation for Method of Component Regression Testing
  18. Design and Implementation of Automated Financial Data Validation Tool for Financial Information Service Industry
    MaKe ·Beijing Jiaotong University ·2012 ·Master's thesis
  19. The Design and Implementation of Autotest
    ZuoMengLong ·Nanjing University ·2012 ·Master's thesis
  20. The Design and Implementation of Automated Testing System of Itis on Mac OS
    ZhuangPei ·Nanjing University ·2012 ·Master's thesis