Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Control flow error detection optimizing method based on reconstructed control flow graph

A technology of control flow graph and optimization method, applied in the direction of software testing/debugging, etc., can solve the problem of low error detection efficiency, and achieve the effect of improving error detection rate, reducing total number, and optimizing performance

Inactive Publication Date: 2012-01-18
NAT UNIV OF DEFENSE TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0031] The technical problem to be solved by the present invention is to overcome the problems of low error detection efficiency in existing methods, and provide a new control flow error detection optimization method based on reconstructed control flow graph, which can flexibly configure the division of basic blocks, so that The existing control flow error detection algorithm can be directly applied based on the reconstructed control flow graph, and the efficiency of the error detection algorithm can be effectively improved

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
  • Control flow error detection optimizing method based on reconstructed control flow graph
  • Control flow error detection optimizing method based on reconstructed control flow graph
  • Control flow error detection optimizing method based on reconstructed control flow graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] figure 1 It is a general flowchart of the present invention, mainly comprising the following six steps:

[0065] 1. Divide the source program into basic blocks and build a basic block table.

[0066] 2. Based on the basic block table, construct the program control flow graph.

[0067] 3. Based on the control flow graph, divide the logic block and build the logic block table.

[0068] 4. Duplicate the basic blocks so that the logical blocks are independent of each other.

[0069] 5. Divide the logical blocks evenly according to the configuration requirements, and build the basic logical block table.

[0070] 6. Based on the basic logic block table, reconstruct the program control flow graph.

[0071] Based on the reconstructed control flow graph, the existing control flow error detection algorithm can be realized.

[0072] figure 2 The third step of the present invention is based on the control flow graph, divides the logic block, and builds the...

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 control flow error detection optimizing method based on a reconstructed control flow graph, which aims at providing a novel control flow error detection optimizing method based on a reconstructed control flow graph and solving the problems of low error detection efficiency and the like. The technical scheme thereof is characterized by dividing a source program into basicblocks, constructing a basic block table, and constructing a program control flow graph based on the basic block table; then dividing into logical blocks on the basis of the control flow graph, constructing a logical block table, and copying the basic blocks so as to enable the logical blocks to be mutually independent; evenly cutting the logical blocks according to the configuration requirements, and constructing a basic logical block table; and finally reconstructing the program control flow graph based on the basic logical block table. On the basis of the reconstructed control flow graph, the existing control flow error detection algorithm can be realized; and by adopting the method of the invention, the dividing of the basic blocks can be flexibly configured, so that the existing control flow error detection algorithm can be directly applied on the basis of the reconstructed control flow graph, and the efficiency of the error detection algorithm is effectively improved.

Description

technical field [0001] The invention relates to an optimization method for detecting control flow errors, in particular to an optimization method for detecting program control flow errors caused by single event effects in a space radiation environment. Background technique [0002] Space exploration activities require large investments and high risks, and have extremely high requirements for reliability. The main factor affecting the safety of space probes in space is the radiation of cosmic rays, because the stream of high-energy charged particles in these cosmic rays can cause hardware failure of electronic devices. The impact of space radiation environment on electronic devices is mainly manifested as single event effect. [0003] The chips used in ordinary computers are generally commercial microprocessors COTS (Commercial Off-the-Shelf). Irradiation device. The anti-irradiation device mainly realizes fault tolerance through hardware redundancy, and has high reliabili...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 谭庆平李建立宁洪徐建军周会平谭兰芳徐锡山
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products