Chromium Code Reviews
DescriptionFix two register leaks in the trusted->untrusted context switch
x86-32: Stop leaking the address of the NaClThreadContext in %ecx.
ARM: Stop leaking the value of r12 from trusted code.
Add a comprehensive test to check that registers are reset when a
syscall returns.
Add some comments about resetting flags. On x86-64, reorder an
instruction which resets flags so that the flags don't depend on the
return address, to ease testing.
Move UnsetNonCalleeSavedRegisters() out of suspend_test_guest.c into
tests/common.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2919
TEST=run_syscall_return_regs_test
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=9343
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix comment #Messages
Total messages: 3 (0 generated)
|