-
Jinoh Kang authored
The penultimate element of `ranges_x86` array has an incorrect value: it should be *at least* 0x2f0, which is the minimum size of an extended context. Fix this by setting it to 0x440, which is the minimum size of an extended context *with* CONTEXT_I386_XSTATE. This is consistent with `ranges_amd64`, the penultimate element of which has the minimum size of an extended context *with* CONTEXT_AMD64_XSTATE. Note that the incorrect value does not always lead to a test failure, since check_changes_in_range_() effectively ignores range `start`s that are not in order. Reproducing the failure requires a system with a sufficiently large XSAVE area; specifically, the following condition is necessary for check_changes_in_range_() to pick up the wrong value: 0x2cc < 0x294 + src_ex->XState.Length - sizeof(XSTATE).
3995ff24
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile.in | ||
atom.c | ||
change.c | ||
directory.c | ||
env.c | ||
error.c | ||
exception.c | ||
file.c | ||
generated.c | ||
info.c | ||
large_int.c | ||
ntdll_test.h | ||
om.c | ||
path.c | ||
pipe.c | ||
port.c | ||
reg.c | ||
rtl.c | ||
rtlbitmap.c | ||
rtlstr.c | ||
string.c | ||
sync.c | ||
thread.c | ||
threadpool.c | ||
time.c | ||
virtual.c | ||
wow64.c |