#include <stdint.h>
#include <stdio.h>
Go to the source code of this file.
◆ __attribute__()
| __attribute__ |
( |
(noreturn, section(".text.null_trap")) | | ) |
|
Definition at line 4 of file nulltrap.c.
5 {
6 void *stack;
7
8
9
10
11
12
45
47 printf (
"NULL method called from %p (stack %p)\n",
48 __builtin_return_address ( 0 ), stack );
50 while ( 1 ) {}
51}
__asm__ __volatile__("call *%9" :"=a"(result), "=c"(discard_ecx), "=d"(discard_edx) :"d"(0), "a"(code), "b"(0), "c"(in_phys), "D"(0), "S"(out_phys), "m"(hypercall))
__asm__(".section \".rodata\", \"a\", " PROGBITS "\n\t" "\nprivate_key_data:\n\t" ".size private_key_data, ( . - private_key_data )\n\t" ".equ private_key_len, ( . - private_key_data )\n\t" ".previous\n\t")
int printf(const char *fmt,...)
Write a formatted string to the console.
References __asm__(), __volatile__(), DBG_HD, printf(), and section.