Unlock instant, AI-driven research and patent intelligence for your innovation.

Execution method and system for parallel dynamic symbol based on Actor model

A technology of dynamic symbolic execution and symbolic execution, which is applied to instruments, electronic digital data processing, computing, etc., can solve the problems of consuming a lot of redundant time, wasting system resources and time, wasting waiting time, etc., and achieve the purpose of strengthening the test of large-scale programs ability, achieve mutual communication, and reduce the time-consuming effect of the program

Active Publication Date: 2017-05-10
GUILIN UNIV OF ELECTRONIC TECH
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, Cloud9 needs to maintain the entire symbolic execution tree during the execution process, and the path search consumes a lot of extra time. In addition, Cloud9 is aimed at classic symbolic execution tools rather than dynamic symbolic execution. It is different from this paper in the task generation and distribution mechanism. of
[0006] (2) The second is to consider the implementation of parallelization in constraint solving: the Concurrent Bounded Model Checking (CBMC) method proposed by Quoc-Sang Phan et al. is implemented by multiple threads. When the main thread performs path exploration, it collects The path constraint does not solve the constraint, but waits until the path exploration is completed, then analyzes its structure and converts it into a series of disjoint constraint subsets and solves it concurrently with multiple threads. This method can improve the solution efficiency, but the disadvantage is that it does not It is not truly parallel, and the constraint solving analysis starts after all path explorations are completed, which wastes the waiting time in the middle and reduces the overall efficiency
[0007] One of the main problems in the above method (1) is the maintenance tree problem. When multi-node execution tasks, this method needs to maintain a whole symbolic execution tree, which consumes a lot of extra time when exploring. In addition, This method is based on classic symbolic execution tools, not dynamic symbolic execution tools, such task generation and allocation need to waste a lot of system resources and time
In method (2), parallel technology is used to solve the problem, and the constraints of each path are assigned to multiple nodes for solution. However, this method is only aimed at the application scenario of model detection, and only parallelizes the constraint solving process.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Execution method and system for parallel dynamic symbol based on Actor model
  • Execution method and system for parallel dynamic symbol based on Actor model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0049] figure 1 The method flowchart of the Actor model-based parallel dynamic symbolic execution method provided by the embodiment of the present invention;

[0050] Such as figure 1 As shown, a parallel dynamic symbolic execution method based on the Actor model includes the following steps:

[0051] Step A: Set the execution mode of the dynamic symbolic execution tool to meet the requirements of parallel framework execution;

[0052] Step B: configuring communication nodes in the parallel framework of the Actor model for managing the communication of each working node in the parallel framework, and merging the configured parallel framework into the modified dynamic symbolic execution tool;

[0053] Step C: mult...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an execution method and system for a parallel dynamic symbol based on an Actor model. The method comprises the steps of combining a parallel framework of the configured Actor model into an amended dynamic symbol execution tool; taking out a task from a preconstructed path stack to be solved by multiple work nodes of the Actor model through communication nodes, and obtaining a task path constraint value of the task through a task survey meter; using a constraint solver to solve the task path constraint value and obtain a solution value Valuation; substituting the solution value Valuation into a path in the path stack to be solved by adopting a recursive method to generate a path to be explored, and storing the path to be explored in a preconstructed path stack to be explored. According to the execution method for the parallel dynamic symbol, parallelization on two levels is achieved, parallel analysis of program paths can be conducted on multiple nodes, constraint solution and path exploring can be simultaneously conducted, program time consumption is reduced, and the capacity of testing a large-scale program can be strengthened.

Description

technical field [0001] The invention mainly relates to the technical field of software testing, in particular to a parallel dynamic symbolic execution method and system based on Actor model. Background technique [0002] The symbolic execution technology proposed in 1976 is a static software analysis method, which uses symbolic values ​​instead of specific values ​​as the input of the program, and is mainly used for software path exploration, test case generation and software defect detection. Dynamic symbolic execution is a method proposed during the development of symbolic execution. It combines the advantages of concrete execution and symbolic execution. In some cases, path constraints may not be able to solve for specific values ​​during path exploration by symbolic execution and cannot continue. Path exploration, at this time, the use of dynamic symbolic execution can solve this problem through its specific execution. [0003] The efficiency of the traditional symbolic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 常亮张晓文古天龙贾向阳徐周波张舜尧
Owner GUILIN UNIV OF ELECTRONIC TECH