[CRIU] [PATCH] arm: reset the CPSR.T bit when executing the infected code
Pavel Emelyanov
xemul at parallels.com
Tue May 7 14:41:18 EDT 2013
On 05/07/2013 09:28 AM, Alexander Kartashov wrote:
> The infected code must be executed in the ARM mode but the dumpee
> may run in the Thumb mode while being dumped so the bit CPSR.T
> may be set when the control is transfered to the infected blobs
> so this code is executed in the Thumb mode too.
>
> We have to clear the bit CPSR.T before transfering control
> to the infected code to prevent the behavior described above.
>
> Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
> Reported-by: Chanho Park <chanho61.park at samsusng.com>
Applied, thanks.
More information about the CRIU
mailing list