发明名称 Deterministic pseudo-random fault event recordation and injection tool
摘要 A method is presented for recording and injecting a fault event during execution of a computer program. The method may include detecting a method call event during execution of the program, incrementing a counter to produce a counter value, and determining, based on a program execution state, a fault event to be generated. The fault event may be associated with a fault event type. The fault event type and the counter value may be stored, and the fault event may be generated. A second method call event may be detected during execution of the program and a second counter may be incremented, producing a second counter value. A previously-generated fault event associated with a counter value matching the second counter value may be identified, and the previously-generated fault event may be generated.
申请公布号 US8756569(B2) 申请公布日期 2014.06.17
申请号 US200812203294 申请日期 2008.09.03
申请人 International Business Machines Corporation 发明人 Arcese Mauro
分类号 G06F9/44;G06F11/36 主分类号 G06F9/44
代理机构 Nelson and Nelson 代理人 Nelson and Nelson ;Nelson Daniel P.;Nelson Alexis V.
主权项 1. A method for recording and injecting a fault event during execution of a computer program, the method comprising: performing the following a record mode: detecting a first method call event during a first execution of a program;calling a fault injector in response to detecting the first method call event;incrementing a first counter value in response to calling the fault injector;determining, based on a program execution state, a fault event to be generated and injected into the program in response to detecting the first method call event, wherein the fault event is associated with a fault event type;storing the fault event type and first counter value associated with the fault event;generating and injecting the fault event; performing the following during a replay mode: detecting a second method call event during a second execution of the program;incrementing a second counter value; andgenerating and injecting the previously generated and injected fault event in response to determining that the second counter value matches the first counter value.
地址 Armonk NY US