发明名称 Error injection into the leaf functions of call graphs
摘要 A computer identifies a target for an injection of an error. The computer monitors the call graph, of a program being tested, for instances of the target. The computer identifies an instance of the target in the call graph. The computer determines if the instance of the target satisfies two or more parameters required for error injection. If the computer determines that the instance of the target does satisfy two or more parameters required for error injection, then the computer injects a first instance of an error into a leaf function of the call graph. The execution of the first instance of the injected error results in a first code path, of the program being tested, to be followed.
申请公布号 US9195555(B2) 申请公布日期 2015.11.24
申请号 US201313901624 申请日期 2013.05.24
申请人 International Business Machines Corporation 发明人 Kalayci Metin
分类号 G06F9/44;G06F11/00;G06F11/22;G06F11/36;G06F11/263 主分类号 G06F9/44
代理机构 代理人 Gooshaw Isaac J.
主权项 1. A computer program product for injecting errors into a leaf function of a call graph, the computer program product comprising: one or more computer-readable hardware storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising: program instructions to identify a target for an injection of an error;program instructions to monitor a call graph of a program being tested for instances of the target;program instructions to identify an instance of the target in the call graph;program instructions to determine if the instance of the target satisfies two or more parameters required for error injection; andprogram instructions to respond to the determination that the instance of the target does satisfy the two or more parameters required for error injection, by injecting a first instance of an error into a leaf function of the call graph and executing the first instance of the injected error that results in returning to a first code path of the program being tested.
地址 Armonk NY US