摘要 |
An information processing device comprises a control unit, a hash unit, and a comparison unit. The control unit is arranged to run a program and to store at least flow control information of the program in a call stack. The hash unit is arranged to generate a first hash value by applying a hash function to selected data in response to a first context change of the program, the selected data comprising at least one or more selected items of the call stack, the first context change comprising a termination or interruption of a first process or thread of the program. The control unit is further arranged to start or resume a second process or thread of the program only when the hash unit has generated the first hash value. The hash unit is further arranged to generate a second hash value by re-applying the hash function to the selected data in response to a second context change, the second context change comprising a termination or interruption of the second process or thread. The comparison unit is arranged to determine whether the first hash value and the second hash value are identical. |