XSA-204
More...
#include <xtf.h>
Go to the source code of this file.
XSA-204
Definition in file main.c.
◆ entry_SYSCALL_64()
void entry_SYSCALL_64 |
( |
void |
| ) |
|
◆ asm()
asm |
( |
".align 8;" "entry_SYSCALL_64:" "1: and $~" STR(X86_EFLAGS_TF) " |
, |
|
|
%r11;" "sysretq;" |
|
|
) |
| |
◆ user_force_syscall()
static unsigned long user_force_syscall |
( |
void |
| ) |
|
|
static |
◆ test_main()
To be implemented by each test, as its entry point.
- Todo:
- Implement better command line infrastructure, but this will do for now.
At the time of writing, Xen doesn't correctly handle invlpg
while running in shadow mode on AMD Gen1 hardware lacking decode assistance. For this test, we simply care that Xen doesn't crash.
Definition at line 50 of file main.c.
◆ test_title
const char test_title[] = "XSA-204 PoC" |
The title of the test.
Definition at line 24 of file main.c.
◆ test_needs_fep
Boolean indicating whether the test is entirely predicated on the available of the Force Emulation Prefix.
Definition at line 25 of file main.c.