view share/maze.c @ 6646:20e4a86687b3

<oerjan> learn `revert is a bit buggy. The canary.orig error message is annoying but seemingly harmless. However, reverting a newly created file tends not to work - use `rm instead.
author HackBot
date Tue, 09 Feb 2016 00:13:28 +0000
parents 00e45af8b8d2
children
line wrap: on
line source

main() { asm("xor %edi, %edi\n" "inc %edi\n" "mov %rsp, %rsi\n" "go: movl $0xb195e2, (%rsi)\n" "rdtsc\n" "and $1, %al\n" "add %al, 2(%rsi)\n" "mov %edi, %eax\n" "xor %edx, %edx\n" "mov $3, %dl\n" "syscall\n" "jmp go"); }