Semantic tree based asynchronous dynamic push-down network reachability analysis method

A dynamic and network technology, applied in the fields of reliability research and software security, can solve the problems of not considering the intercommunication between threads, undeterminable reachability problems, and low efficiency of reverse reachability analysis, etc.

Active Publication Date: 2015-01-07
GUILIN UNIV OF ELECTRONIC TECH
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, the execution semantics of the dynamic pushdown network is interleaved semantics, but the efficiency of reverse reachability analysis under the interleaved semantics is not high. In order to efficiently perform reverse reachability analysis, Lammich et al. proposed the tree semantics of the dynamic pushdown network in 2009. The execution of the program is modeled as a tree form, which is more in line with the actual operation of the program, and the reachability analysis method of the dynamic push-down network under the tree semantics is given, but the communication between threads is not considered (P. Lammich, M. Müller-Olm, and A. Wenner. Predecessor sets of dynamic pushdown networks with tree-regular constraints. In Proc. of ICCAV2009, LNCS 5643, Grenoble: ArtistDesign, 2009, 525-539)
Bouajjani proposed an asynchronous dynamic pushdown network model based on the dynamic pushdown network model, which can model the asynchronous communication of threads based on shared memory, but its reachability problem is undecidable (A.Bouajjani, J.Esparza, S. Schwoon, and J. Strejcek. Reachability analysis of multithreaded software with asynchronous communication. In Proc. of FSTTCS 2005, LNCS3821, Hyderabad: Springer, 2005, 348-359)

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
  • Semantic tree based asynchronous dynamic push-down network reachability analysis method
  • Semantic tree based asynchronous dynamic push-down network reachability analysis method
  • Semantic tree based asynchronous dynamic push-down network reachability analysis method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] An asynchronous dynamic push-down network reachability analysis method based on tree semantics is characterized in that it is a method for verifying software reliability and security of concurrent programs, which is realized in a computer according to the following steps.

[0019] Step (1), construct the intermediate model according to the following steps in order to simulate the execution mode of the tree semantics:

[0020] Step (1.1) Construct an abstract model of concurrent programs—an asynchronous dynamic push-down network M

[0021] The asynchronous dynamic push-down network M=(G, P, Γ, △ l ,△ g ), G is the global state set, P is the local state set, Γ represents the stack symbol, Γ* is the power set of Γ, representing the set of stack symbols. The pattern (G, PΓ*) represents the state of the intermediate model at a certain moment. △ l is a set of local migration rules, including: Indicates that a certain state p with the stack symbol γ has been migrated l ...

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 discloses a semantic tree based asynchronous dynamic push-down network reachability analysis method and belongs to the technical field of software safety and reliability. The semantic-tree based asynchronous dynamic push-down network reachability analysis method is characterized in that leading a semantic tree to a dynamic push-down network; establishing a semantic tree of a simulated middle model and enabling the reachability of the model to be decidable through a context limit method to calculate a reachable pattern set inside limited context execution for k times; calculating whether an intersection of the reachable pattern set and a target pattern set is empty or not to judge whether the reachable pattern set is reachable or not, accordingly judging whether design errors or bugs exist in an abstract model of a program and guaranteeing the model being correct and reliable.

Description

technical field [0001] The invention belongs to the field of software security and reliability research, relates to a verification method of concurrent programs, and specifically relates to a technique for solving the accessibility of an abstract model of concurrent programs. Aiming at an asynchronous dynamic push-down network model, an intermediate model is constructed to simulate a tree Semantic execution mode, an automatic method to solve the reverse reachability problem of the model using context bounding technology. Background technique [0002] With the development of multi-core processors, the research on concurrent programs has become a hot spot in program design. However, the uncertainty of concurrent program execution makes it difficult for traditional testing methods to find hidden errors in programs. As an automatic verification technology, model checking has become one of the important means to ensure the security and reliability of concurrent programs. Reacha...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 钱俊彦曾宇清赵岭忠郭云川李凤英
Owner GUILIN UNIV OF ELECTRONIC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products