Method and apparatus to test an instruction sequence
AssigneeIntel Corporation
InventorRichard L. Maliszewski
Life of this patent
Estimating the term…
Abstract
A data processing device associates a test module with a sequence of instructions, the test module producing a test result by performing a test on a sequence of instructions. In the sequence of instructions, a first instruction comprising a target address is replaced with a second instruction having an instruction address in the sequence, the second instruction to transfer control to the test module. The target address is stored within an encrypted table, and the test module locates the target address in the table and transfers control to the target address when the test result indicates the sequence of instructions may proceed.
Claims16
A method comprising:
- generating a test module to produce a test result by performing a test on the sequence of instructions;
- in the sequence of instructions, replacing a first instruction comprising a target address with a second instruction having an instruction address in the sequence, the second instruction to transfer control to the test module;
- and
- storing the target address in an encrypted table, the test module to locate the target address in the table and to transfer control to the target address if the test result indicates the sequence of instructions is to proceed.
A device comprising:
- a processor;
- a machine-readable storage medium coupled to the processor by way of a bus, the storage medium storing a sequence of instructions which, when executed by the processor, cause the data processing device to
- generating a test module to produce a test result by performing a test on the sequence of instructions;
- in the sequence of instructions, replace a first instruction comprising a target address with a second instruction having an instruction address in the sequence, the second instruction to transfer control to the test module;
- and
- store the target address in an encrypted table, the test module to locate the target address in the table and to transfer control to the target address if the test result indicates the sequence of instructions is to proceed.
An article comprising:
- a machine-readable medium having stored thereon a sequence of instructions which, when executed by a data processing device, cause the data processing device to:
- generating a test module to produce a test result by performing a test on the sequence of instructions;
- in the sequence of instructions, replace a first instruction comprising a target address with a second instruction having an instruction address in the sequence, the second instruction to transfer control to the test module;
- and
- store the target address in an encrypted table, the test module to locate the target address in the table and to transfer control to the target address if the test result indicates the sequence of instructions is to proceed.
An article comprising:
- a machine-readable medium having stored thereon:
- a sequence of instructions which, when executed by a data processing device, cause the data processing device to:
- transfer control to a test module when a second instruction having an instruction address in the sequence is executed by the data processing device, the second instruction replacing a first instruction comprising a target address;
- a test module, the test module comprising
- a table comprising a target address of the replaced first instruction;
- and
- test instructions to produce a test result by performing a test on the sequence of instructions, the test module to locate the target address in the table and to transfer control to the target address if the test result indicates the sequence of instructions is to proceed.
Dependencies are inferred from the claim text.