User-Mode Instruction Prevention
More...
#include <xtf.h>
Go to the source code of this file.
|
const char | test_title [] = "User-Mode Instruction Prevention Tests" |
| The title of the test. More...
|
|
static const struct stub | stubs [] |
|
◆ stub_sgdt()
static unsigned long stub_sgdt |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_sidt()
static unsigned long stub_sidt |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_sldt()
static unsigned long stub_sldt |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_str()
static unsigned long stub_str |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_smsw()
static unsigned long stub_smsw |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_user_sgdt()
static unsigned long stub_user_sgdt |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_user_sidt()
static unsigned long stub_user_sidt |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_user_sldt()
static unsigned long stub_user_sldt |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_user_str()
static unsigned long stub_user_str |
( |
unsigned long |
force | ) |
|
|
static |
◆ stub_user_smsw()
static unsigned long stub_user_smsw |
( |
unsigned long |
force | ) |
|
|
static |
◆ test_insns()
static void test_insns |
( |
bool |
umip_active, |
|
|
bool |
force |
|
) |
| |
|
static |
◆ test_umip()
static void test_umip |
( |
bool |
umip_active | ) |
|
|
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.
Definition at line 257 of file main.c.
◆ test_title
const char test_title[] = "User-Mode Instruction Prevention Tests" |
The title of the test.
Definition at line 17 of file main.c.
◆ stubs
const struct stub stubs[] |
|
static |
Initial value:= {
}
static unsigned long stub_str(unsigned long force)
static unsigned long stub_sgdt(unsigned long force)
static unsigned long stub_user_sgdt(unsigned long force)
static unsigned long stub_sldt(unsigned long force)
static unsigned long stub_sidt(unsigned long force)
static unsigned long stub_smsw(unsigned long force)
static unsigned long stub_user_str(unsigned long force)
static unsigned long stub_user_sldt(unsigned long force)
static unsigned long stub_user_smsw(unsigned long force)
static unsigned long stub_user_sidt(unsigned long force)