3 ms·
gcc -m32 -static -nostdlib -x c - <<< 'int main(void) { int s = 12; char *m = "hello, world"; int n = 1, d = s - 8; asm("int $0x80"); d = (n = 0) + 1; asm("int
by toksaitov 15y ago
gcc -m32 -static -nostdlib -x c - <<< 'int main(void) { int s = 12; char *m = "hello, world"; int n = 1, d = s - 8; asm("int $0x80"); d = (n = 0) + 1; asm("int $0x80"); }' && ./a.out # Hello from a libc-free world on Darwin 11.2.0, GCC 4.2.1, x86