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

Breakdown automatically-positioning method for null pointer abnormity

A technology of fault location and null pointer, which is applied in the field of software fault location, can solve problems such as inaccurate analysis results and rough real-time stack information, and achieve the effect of overcoming inaccurate analysis results and making up for the effects that cannot be applied alone

Inactive Publication Date: 2013-03-20
CHINA UNIV OF MINING & TECH
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the shortcomings of existing static analysis methods for null pointer exceptions, the present invention provides an automatic fault location method for null pointer exceptions, using static analysis and real-time stack information The combined method automatically locates the root cause of the null pointer exception, which not only overcomes the defect of inaccurate analysis results caused by the static analysis method alone, but also makes up for the deficiency that the real-time stack information is too rough to be applied alone, and does not need to be collected at a cost Dynamic Information

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
  • Breakdown automatically-positioning method for null pointer abnormity
  • Breakdown automatically-positioning method for null pointer abnormity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] exist figure 1 In this method, the automatic fault location method for null pointer exception is divided into three steps: (1) program slicing, (2) fault location, including performing null pointer analysis and alias analysis on the sliced ​​program, (3) visualization; in step (1), starting from the trigger point of the null pointer exception, do a backward static slice, use the real-time stack information and the program to build the system dependency graph, and calculate the accessibility of the system dependency graph to obtain the program slice; first use the real-time stack information analysis The execution of the method in the program, and then analyze the executed method according to the execution of the method, and ignore those methods that have not been executed, so as to reduce the size of the system dependency graph, reduce the time and space consumption of static slices, and improve the efficiency of slices. Accuracy; in step (2), use the open source sof...

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 a breakdown automatically-positioning method for a null pointer abnormity. The method includes the three steps: (1) slicing a procedure, (2) positioning a breakdown, null pointer analyzing and alias analyzing the procedure after slicing, (3) being visualized. The method of combining a static analysis and real-time information stacking is adopted, a source of the null pointer abnormity is led out through automatic positioning, the shortcomings that analyzing results are not accurate due to the single use of the static analysis method, and the real-time information stacking is too tough and cannot be independently applied are overcome, and meanwhile dynamic information can be collected with no price is paid.

Description

technical field [0001] The invention relates to a software fault location technology, in particular to an automatic fault location method for null pointer exceptions. Background technique [0002] With the expansion of software scale and the improvement of complexity, the requirements for software robustness, stability and reliability are getting higher and higher, and the automatic fault location technology of software is also more and more concerned by developers. Java exceptions can be divided into two categories: application exceptions (thrown explicitly in the application based on exception conditions) and runtime exceptions (thrown implicitly by Java's real-time environment). At present, there are many researches on application anomalies, such as analyzing application anomalies to provide valuable information for developers for tasks such as program testing and maintenance, but there are few studies on runtime anomalies. Because the occurrence of runtime exceptions...

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
Inventor 姜淑娟于巧张艳梅刘颖祺
Owner CHINA UNIV OF MINING & 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