Method for determining whether a machine code instruction of a machine code program is executed in the machine code program
AssigneeIntel Mobile Communications GmbH
InventorsThalaiappan Rathina Balan, Chandran Balamurugan
Life of this patent
Estimating the term…
Abstract
A method for determining whether a machine code instruction of a machine code program is executed in the machine code program may include: replacing at least a part of a first machine code instruction of a plurality of first machine code instructions with a second machine code instruction, the second machine code instruction configured to generate a code exception; executing the machine code program including the second machine code instruction; and determining whether the second machine code instruction is executed based on the code exception.
Claims22
A method for determining whether a machine code instruction of a machine code program is executed in the machine code program, the method comprising:
- replacing at least a part of a first machine code instruction of a plurality of first machine code instructions with a second machine code instruction, the second machine code instruction configured to generate a code exception;
- executing the machine code program comprising the second machine code instruction;
- and
- determining whether the second machine code instruction is executed based on the code exception;
- wherein at least a part of the first machine code instruction controls whether the second machine code instruction is executed.
A method for testing whether a first machine code instruction of a machine code program is executed in a machine code program when processing the machine code program, the method comprising:
- replacing at least a part of the first machine code instruction of a plurality of first machine code instructions with a second machine code instruction, the second machine code instruction configured to generate a code exception;
- executing the amended machine code program comprising the second machine code instruction;
- and
- determining whether the first machine code instruction is executed based on the code exception;
- wherein at least a part of the first machine code instruction controls whether the second machine code instruction is executed.
A device for determining whether a machine code instruction of a machine code program is executed in the machine code program, the device comprising:
- a replacing circuit comprising a first processor configured to replace at least a part of a first machine code instruction of a plurality of first machine code instructions with a second machine code instruction, the second machine code instruction configured to generate a code exception;
- an executing circuit comprising a second processor configured to execute the machine code program comprising the second machine code instruction;
- and
- a determining circuit comprising a third processor configured to determine whether the second machine code instruction is executed based on the code exception;
- wherein at least a part of the first machine code instruction controls whether the second machine code instruction is executed.
Dependencies are inferred from the claim text.