发明名称 TWO PASS TEST CASE GENERATION USING SELF-MODIFYING INSTRUCTION REPLACEMENT
摘要 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.
申请公布号 US2011197049(A1) 申请公布日期 2011.08.11
申请号 US20100700970 申请日期 2010.02.05
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ADIR ALLON;HEROLD BRAD LEE;LUDDEN JOHN MARTIN;MARTIN-DE-NICOLAS PEDRO;MEISSNER CHARLES LEVERETT;SHUREK GIL ELIEZER
分类号 G06F9/38 主分类号 G06F9/38
代理机构 代理人
主权项
地址