2018•Unpublished venueRequires access

An Approach for Localization of Pointer Faults in Complex Data Structures

Fei Huang, Jie Luo

Open publisher page 0 citations

Abstract

The traditional fault localization algorithms mainly focuses on the dynamic or static analysis of the program to locate the faults in the program. In C language, data structure and pointer are widely used, resulting in the complexity of program fault localization. In this paper, a structured debugging method based on sub-graph matching is proposed, which can dynamically describe the graph relationship between the structure points in the program, and dynamically generate the graph pattern based on pointer related code to find the minimum faulty program segment. A sub-graph matching method that has been proposed can already locate the fault of the program which data structure is static, in fact, the data structure in the program can generally be modified via pointers, so it is not applicable to the general situation. By modeling both program state and pointer operations, it can locate related semantic faults accurately. The result indicates that our method can significantly narrow down the segments of source code which would be checked and accelerate the software debugging process.

About this research paper

What this paper is about

The traditional fault localization algorithms mainly focuses on the dynamic or static analysis of the program to locate the faults in the program. In C language, data structure and pointer are widely used, resulting in the complexity of program fault localization. In this paper, a structured debugging method based on sub-graph matching is proposed, which can dynamically describe the graph relationship between the structure points in the program, and dynamically generate the graph pattern based on pointer related code to find the minimum faulty program segment. A sub-graph matching method that has been proposed can already locate the fault of the program which data structure is static, in fact, the data structure in the program can generally be modified via pointers, so it is not applicable to the general situation. By modeling both program state and pointer operations, it can locate related semantic faults accurately. The result indicates that our method can significantly narrow down the segments of source code which would be checked and accelerate the software debugging process.

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

The traditional fault localization algorithms mainly focuses on the dynamic or static analysis of the program to locate the faults in the program. In C language, data structure and pointer are widely used, resulting in the complexity of program fault localization. In this paper, a structured debugging method based on sub-graph matching is proposed, which can dynamically describe the graph relationship between the structure points in the program, and dynamically generate the graph pattern based on pointer related code to find the minimum faulty program segment. A sub-graph matching method that has been proposed can already locate the fault of the program which data structure is static, in fact, the data structure in the program can generally be modified via pointers, so it is not applicable to the general situation. By modeling both program state and pointer operations, it can locate related semantic faults accurately. The result indicates that our method can significantly narrow down the segments of source code which would be checked and accelerate the software debugging process.

Key concepts: Pointer (user interface), Computer science, Debugging, Pointer analysis, Programming language, Data structure, Graph, Program analysis

Related papers

Back to paper searchBrowse research topicsOriginal source
An Approach for Localization of Pointer Faults in Complex Data Structures — Research Paper | ScholarLens