主权项 |
1. An information processing apparatus comprising:
a processor configured to operate in a first state and a second state, the processor switching the first state and the second state, the second state having a security level lower than that of the first state; and a memory including a first region and a second region, the processor in the first state accessing the first region, the processor in the second state accessing the second region, a first program code being written in the second region, the first program code being executed when a call of a function provided by an operation system is invoked, a second program code being written in the first region, the second program code being for modifying the first program code, wherein the processor executes the second program code to replace a first instruction in the first program code with a second instruction, the second instruction being for switching the second state and the first state. |