National Natural Science Foundation of China (No.61772177, No.61806075);Natural Science Foundation of Heilongjiang Province (No.F2018029);Doctoral Research Fund of Heilongjiang Institute of Technology (No.2018BJ03, No.2017BJ13)
LI Ya, HUANG Shao-bin, LI Yan-mei, et al. Technique of Software Fault Localization Based on Weakest Pre-condition[J]. Acta Electronica Sinica, 2019, 47(1): 25-32.
DOI:
LI Ya, HUANG Shao-bin, LI Yan-mei, et al. Technique of Software Fault Localization Based on Weakest Pre-condition[J]. Acta Electronica Sinica, 2019, 47(1): 25-32. DOI: 10.3969/j.issn.0372-2112.2019.01.004.
Technique of Software Fault Localization Based on Weakest Pre-condition
Fault localization is one of the most time-consuming activities in software debugging
and automatic fault localization technique can effectively improve the efficiency and reduce the cost.In this paper
a fault localization technique based on weakest pre-condition is proposed.Firstly
we compute the weakest pre-condition
and construct the fault analysis graph.Secondly
label the nodes according to the failing test case.Finally
label the graph top-down again while the output is limited to true
and the input cannot be changed.The conflicting nodes were found as the possible errors.The experimental results suggest that the proposed method in this paper has better performance compared to other methods.So that the debugger can only check fewer statements to find out the location of the error.