XSA-7
More...
#include <xtf.h>
Go to the source code of this file.
|
void | stub (void) |
|
| asm (".align 4096;" ".skip 4096 - (.L_page_end - stub), 0xcc;" "stub: " " syscall;" ".L_page_end:") |
|
bool | ex_gp (struct cpu_regs *regs, const struct extable_entry *ex) |
|
void | test_main (void) |
| To be implemented by each test, as its entry point. More...
|
|
XSA-7
Definition in file main.c.
◆ stub()
◆ asm()
asm |
( |
".align 4096;" ".skip 4096 - |
.L_page_end - stub, |
|
|
0xcc;" "stub:" " syscall;" ".L_page_end:" |
|
|
) |
| |
◆ ex_gp()
◆ 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 104 of file main.c.
◆ test_title
const char test_title[] = "XSA-7 PoC" |
The title of the test.
Definition at line 71 of file main.c.