Xen Test Framework
Functions | Variables
main.c File Reference

XSA-194 More...

#include <xtf.h>
+ Include dependency graph for main.c:

Go to the source code of this file.

Functions

 ELFNOTE (Xen, XEN_ELFNOTE_BSD_SYMTAB, ".asciz \"yes\"")
 
int memcmpzero (const void *buf, size_t sz)
 
void test_main (void)
 To be implemented by each test, as its entry point. More...
 

Variables

const char test_title [] = "XSA-194 PoC"
 The title of the test. More...
 

Detailed Description

XSA-194

Definition in file main.c.

Function Documentation

◆ ELFNOTE()

ELFNOTE ( Xen  ,
XEN_ELFNOTE_BSD_SYMTAB  ,
".asciz \"yes\""   
)

◆ memcmpzero()

int memcmpzero ( const void *  buf,
size_t  sz 
)

Definition at line 35 of file main.c.

+ Here is the caller graph for this function:

◆ test_main()

void test_main ( void  )

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 47 of file main.c.

+ Here is the call graph for this function:

Variable Documentation

◆ test_title

const char test_title[] = "XSA-194 PoC"

The title of the test.

Definition at line 31 of file main.c.