Jinoh Kang (@iamahuman) commented about dlls/ntdll/tests/exception.c:
- static const BYTE call_func[] =
- {
/* ret at 8*9(rsp) */
/* need to preserve these */
0x53, /* push %rbx; 8*8(rsp) */
0x55, /* push %rbp; 8*7(rsp) */
0x56, /* push %rsi; 8*6(rsp) */
0x57, /* push %rdi; 8*5(rsp) */
0x41, 0x54, /* push %r12; 8*4(rsp) */
0x41, 0x55, /* push %r13; 8*3(rsp) */
0x41, 0x56, /* push %r14; 8*2(rsp) */
0x41, 0x57, /* push %r15; 8*1(rsp) */
0x48, 0x83, 0xec, 0x08, /* sub $0x8, %rsp; reserve space for rsp */
0x48, 0x89, 0x24, 0x24, /* %rsp, (%rsp); for stack validation */
```suggestion:-0+0 0x48, 0x89, 0x24, 0x24, /* mov %rsp, (%rsp); for stack validation */ ```