Abstract:Aiming at the problem of many false positives in fault report during static detection of software source code, a fault detection method based on software operation characteristics is proposed. Firstly, extend the dynamic test instrumentation library from designing the probe functions corresponding to eight common fault modes. Then, search the fault monitoring position in the program and insert the fault monitoring probe. Finally, in the process of software execution, the operation characteristics in the instrumentation message are analyzed to identify the fault. Experimental results show that the method can effectively detect program faults and all detected faults are real. This method makes up for the high false positive rate of static analysis.