]>
Commit | Line | Data |
---|---|---|
1 | #include <stdlib.h> | |
2 | ||
3 | int | |
4 | main(int artc, char *argv[]) | |
5 | { | |
6 | #if defined(__x86_64__) | |
7 | asm volatile ("andq $0xfffffffffffffff0, %rsp\n"); | |
8 | #elif defined(__i386__) | |
9 | asm volatile ("andl $0xfffffff0, %esp\n"); | |
10 | #elif defined(__arm__) || defined(__arm64__) | |
11 | asm volatile (""); | |
12 | #else | |
13 | #error Unsupported architecture | |
14 | #endif | |
15 | _Exit(42); | |
16 | } |