Out-of-bounds array access(OOB) is one of the fault models commonly employed in the object- oriented programming language. At present, the technology of code insertion and optimization is widely used in the world to d...Out-of-bounds array access(OOB) is one of the fault models commonly employed in the object- oriented programming language. At present, the technology of code insertion and optimization is widely used in the world to detect and fix this kind of fault. Although this method can examine some of the faults in OOB programs, it cannot test programs thoroughly, neither to find the faults correctly. The way of code insertion makes the test procedures so inefficient that the test becomes costly and time-consuming. This pa- per, uses a kind of special static test technology to realize the fault detection in OOB programs. We first es- tablish the fault models in OOB program, and then develop an automatic test tool to detect the faults. Some experiments have exercised and the results show that the method proposed in the paper is efficient and feasible in practical applications.展开更多
文摘Out-of-bounds array access(OOB) is one of the fault models commonly employed in the object- oriented programming language. At present, the technology of code insertion and optimization is widely used in the world to detect and fix this kind of fault. Although this method can examine some of the faults in OOB programs, it cannot test programs thoroughly, neither to find the faults correctly. The way of code insertion makes the test procedures so inefficient that the test becomes costly and time-consuming. This pa- per, uses a kind of special static test technology to realize the fault detection in OOB programs. We first es- tablish the fault models in OOB program, and then develop an automatic test tool to detect the faults. Some experiments have exercised and the results show that the method proposed in the paper is efficient and feasible in practical applications.