Xen Test Framework
|
#include <xtf.h>
Go to the source code of this file.
Functions | |
void | entry_GP (void) |
static unsigned long | sysenter_nt (void) |
static void | fixup_sysenter_state (struct cpu_regs *regs) |
void | do_sysenter (struct cpu_regs *regs) |
May be implemented by a guest to handle SYSENTER invocations. More... | |
bool | do_unhandled_exception (struct cpu_regs *regs) |
May be implemented by a guest to provide custom exception handling. More... | |
void | test_main (void) |
To be implemented by each test, as its entry point. More... | |
Variables | |
const char | test_title [] = "XSA-339 PoC" |
The title of the test. More... | |
void entry_GP | ( | void | ) |
|
static |
|
static |
void do_sysenter | ( | struct cpu_regs * | regs | ) |
bool do_unhandled_exception | ( | struct cpu_regs * | regs | ) |
void test_main | ( | void | ) |
To be implemented by each test, as its entry point.
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 112 of file main.c.