12345678910111213141516171819 |
- /*
- See ../ring0.c
- This executable is expected to segfault.
- */
- #include <stdio.h>
- #include <stdlib.h>
- #include "../ring0.h"
- int main(void) {
- #if defined(__x86_64__) || defined(__i386__)
- Ring0Regs ring0_regs;
- ring0_get_control_regs(&ring0_regs);
- #endif
- return EXIT_SUCCESS;
- }
|