XSA-298
More...
#include <xtf.h>
Go to the source code of this file.
XSA-298
Definition in file main.c.
◆ GATE_SEL
◆ gate_target()
unsigned int gate_target |
( |
void |
| ) |
|
◆ asm()
asm |
( |
"gate_target:;" "mov % |
cs, |
|
|
%eax;" |
|
|
) |
| |
◆ user1()
static void user1 |
( |
void |
| ) |
|
|
static |
◆ user2()
static unsigned long user2 |
( |
void |
| ) |
|
|
static |
◆ remap_linear()
static int remap_linear |
( |
const void * |
linear, |
|
|
uint64_t |
flags |
|
) |
| |
|
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 92 of file main.c.
◆ test_title
const char test_title[] = "XSA-298 PoC" |
The title of the test.
Definition at line 40 of file main.c.