Xen Test Framework
|
CONSOLEIO_write stack overflow More...
#include <xtf.h>
Go to the source code of this file.
Functions | |
asm (".section \".data.page_aligned\", \"aw\";" ".align 4096;" "l1t:" ".rept 512;" ".long zero_page + "STR(PF_SYM(AD, P))", 0;" ".endr;" ".size l1t, . - l1t;" ".type l1t, @object;" "l2t:" ".rept 512;" ".long l1t + "STR(PF_SYM(AD, P))", 0;" ".endr;" ".size l2t, . - l2t;" ".type l2t, @object;" ".previous;") | |
void | test_main (void) |
To be implemented by each test, as its entry point. More... | |
Variables | |
const char | test_title [] = "CONSOLEIO_write stack overflow PoC" |
The title of the test. More... | |
uint8_t | zero_page [PAGE_SIZE] |
intpte_t | l2t [512] |
CONSOLEIO_write stack overflow
Definition in file main.c.
asm | ( | ".section \".data.page_aligned\" | , |
\"aw\";" ".align 4096;" "l1t:" ".rept 512;" ".long zero_page + "STR(PF_SYM(AD, P))" | , | ||
0;" ".endr;" ".size | l1t, | ||
. - l1t;" ".type | l1t, | ||
@object;" "l2t:" ".rept 512;" ".long l1t+"STR(PF_SYM(AD, P))" | , | ||
0;" ".endr;" ".size | l2t, | ||
. - l2t;" ".type | l2t, | ||
@object;" ".previous;" | |||
) |
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 47 of file main.c.
const char test_title[] = "CONSOLEIO_write stack overflow PoC" |
|
extern |