发明授权
- 专利标题: Two pass test case generation using self-modifying instruction replacement
- 专利标题(中): 双通测试用例生成使用自修改指令替换
-
申请号: US12700970申请日: 2010-02-05
-
公开(公告)号: US08516229B2公开(公告)日: 2013-08-20
- 发明人: Allon Adir , Brad Lee Herold , John Martin Ludden , Pedro Martin-de-Nicolas , Charles Leverett Meissner , Gil Eliezer Shurek
- 申请人: Allon Adir , Brad Lee Herold , John Martin Ludden , Pedro Martin-de-Nicolas , Charles Leverett Meissner , Gil Eliezer Shurek
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Mitch Harris, Atty at Law, LLC
- 代理商 Andrew M. Harris; Matthew W. Baca
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A test code generation technique that replaces instructions having a machine state dependent result with special redirection instructions provides generation of test code in which state dependent execution choices are made without a state model. Redirection instructions cause execution of a handler than examines the machine state and replaces the redirection instruction with a replacement instruction having a desired result resolved in accordance with the current machine state. The instructions that are replaced may be conditional branch instructions and the result a desired execution path. The examination of the machine state permits determination of a branch condition for the replacement instruction so that the next pass of the test code executes along the desired path. Alternatively, the handler can execute a jump to the branch instruction, causing immediate execution of the desired branch path. The re-direction instructions may be illegal instructions, which cause execution of an interrupt handler that performs the replacement.
公开/授权文献
信息查询