# HG changeset patch # User HackBot # Date 1367769638 0 # Node ID ef59a4fc14b86f327c1d1d25f8849acbc2e689c9 # Parent 07384bffe5289df321fd1495eb8469d6ee6cd6a8 echo \'int main(void) {asm("xor %eax, %eax;""mov %eax, %edx;""inc %eax;""mov %eax, %edi;""call x;"".ascii \\"Hello, world!\\\\n\\";""x: pop %esi;""mov $14, %dl;""syscall;""mov $60, %al;""xor %edi, %edi;""syscall;");}\' >hi.c && gcc hi.c -o hi && ./hi diff -r 07384bffe528 -r ef59a4fc14b8 hi.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hi.c Sun May 05 16:00:38 2013 +0000 @@ -0,0 +1,1 @@ +int main(void) {asm("xor %eax, %eax;""mov %eax, %edx;""inc %eax;""mov %eax, %edi;""call x;"".ascii \"Hello, world!\\n\";""x: pop %esi;""mov $14, %dl;""syscall;""mov $60, %al;""xor %edi, %edi;""syscall;");}