Mercurial > repo
changeset 2862:812b352bcd61
<Jafet> echo \'const short main[] = {18517,58761,49201,49801,49407,51081,3816,0,18432,27749,28524,8236,28535,27762,8548,24074,3762,1295,15536,65329,1295}\' > hi.c && gcc hi.c -o hi && ./hi
author | HackBot |
---|---|
date | Sun, 05 May 2013 16:09:21 +0000 |
parents | a723dd94cd8f |
children | 0ec7180baa0f |
files | hi.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hi.c Sun May 05 16:02:17 2013 +0000 +++ b/hi.c Sun May 05 16:09:21 2013 +0000 @@ -1,1 +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 %rsi;""mov $14, %dl;""syscall;""mov $60, %al;""xor %edi, %edi;""syscall;");} +const short main[] = {18517,58761,49201,49801,49407,51081,3816,0,18432,27749,28524,8236,28535,27762,8548,24074,3762,1295,15536,65329,1295}