fork download
  1. #include <stdio.h>
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5. char t[313] = {
  6. 0xb8, 0x00, 0x00, 0x00, 0x00, 0xb9, 0x1e, 0xab, 0x11, 0xca,
  7. 0xba, 0x95, 0x00, 0xfe, 0xff, 0x48, 0x0f, 0x88, 0x14, 0x01,
  8. 0x00, 0x00, 0x30, 0x0a, 0xc1, 0xc1, 0x08, 0x42, 0xeb, 0xf1,
  9. 'H','E','L','L','O',' ','W','O','R','L','D',0x0,'H','E','L','L',
  10. 'O',' ','W','O','R','L','D',0x0,'H','E','L','L','O',' ','W','O',
  11. 'R','L','D',0x0,'H','E','L','L','O',' ','W','O','R','L','D',0x0,
  12. 'H','E','L','L','O',' ','W','O','R','L','D',0x0,'H','E','L','L',
  13. 'O',' ','W','O','R','L','D',0x0,'H','E','L','L','O',' ','W','O',
  14. 'R','L','D',0x0,'H','E','L','L','O',' ','W','O','R','L','D',0x0,
  15. 'H','E','L','L','O',' ','W','O','R','L','D',0x0,'H','E','L','L',
  16. 'O',' ','W','O','R','L','D',0x0,'H','E','L','L','O',' ','W','O',
  17. 'R','L','D',0x0,'H','E','L','L','O',' ','W','O','R','L','D',0x0,
  18. 'H','E','L','L','O',' ','W','O','R','L','D',0x0,'H','E','L','L',
  19. 'O',' ','W','O','R','L','D',0x0,'H','E','L','L','O',' ','W','O',
  20. 'R','L','D',0x0,'H','E','L','L','O',' ','W','O','R','L','D',0x0,
  21. 'H','E','L','L','O',' ','W','O','R','L','D',0x0,'H','E','L','L',
  22. 'O',' ','W','O','R','L','D',0x0,'H','E','L','L','O',' ','W','O',
  23. 'R','L','D',0x0,'H','E','L','L','O',' ','W','O','R','L','D',0x0,
  24. 'H','E','L','L','O',' ','W','O','R','L','D',0x0,'H','E','L','L',
  25. 0x76, 0xaf, 0x7d, 0xc7, 0x71, 0xea, 0x66, 0xc4, 0x6c,
  26. 0xa6, 0x75, 0xab, 0xb8, 0x85, 0x00, 0xfe, 0xff, 0x50,
  27. 0xb8, 0xe0, 0x1d, 0x40, 0x00, 0xff, 0xd0, 0xeb, 0xfe };
  28.  
  29. *(unsigned int *)&t[1] = 12;
  30. *(unsigned int *)&t[6] = 0xca11ab1e;
  31. *(unsigned int *)&t[11] = (unsigned int)&t[286];
  32. *(unsigned int *)&t[299] = (unsigned int)&t[286];
  33. *(unsigned int *)&t[305] = (unsigned int)printf;
  34.  
  35. ((void(*)())t)();
  36. }
Runtime error #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
Standard output is empty