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