Hello World by breadbox

\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00C\x05\x02\x00\x03\x00\x1a\x00C\x05\x1a\x00C\x05\x04\x00\x00\x00\xb9.\x00C\x05\xb2\x0b\xcd\x80\x0f \x00\x01\x00Hello World

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

Disassemble:


00000000 <.data>:
   0:	7f 45                	jg     0x47
   2:	4c                   	dec    %esp
   3:	46                   	inc    %esi
   4:	01 00                	add    %eax,(%eax)
	...
   e:	43                   	inc    %ebx
   f:	05 02 00 03 00       	add    $0x30002,%eax
  14:	1a 00                	sbb    (%eax),%al
  16:	43                   	inc    %ebx
  17:	05 1a 00 43 05       	add    $0x543001a,%eax
  1c:	04 00                	add    $0x0,%al
  1e:	00 00                	add    %al,(%eax)
  20:	b9 2e 00 43 05       	mov    $0x543002e,%ecx
  25:	b2 0b                	mov    $0xb,%dl
  27:	cd 80                	int    $0x80
  29:	0f 20 00             	mov    %cr0,%eax
  2c:	01 00                	add    %eax,(%eax)
  2e:	48                   	dec    %eax
  2f:	65 6c                	gs insb (%dx),%es:(%edi)
  31:	6c                   	insb   (%dx),%es:(%edi)
  32:	6f                   	outsl  %ds:(%esi),(%dx)
  33:	20 57 6f             	and    %dl,0x6f(%edi)
  36:	72 6c                	jb     0xa4
  38:	64                   	fs
To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page