[ create a new paste ] login | about

Link: http://codepad.org/LN7ZIsBO    [ raw code | output | fork ]

C, pasted on Jul 7:
1
2
3
4
5
6
7
8
9
10
11
12
13
main(i) {
  char *st[] = { "ccc", "fff", "ddd", "ggg", "aaa", "bbb", "eee" };

  qsort(st,sizeof(st)/sizeof(st[0]),sizeof(char*),"\x55\x89\xe5\x56"
      "\x8b\x75\x08\x53\x8b\x5d\x0c\xeb\x0f\x84\xc0\x75\x04\x31\xd2\xeb\x1b\x8d"
      "\x41\x01\x89\x06\xff\x03\x8b\x0e\x8b\x03\x8a\x11\x8a\x00\x38\xc2\x74\xe5"
      "\x0f\xbe\xd2\x0f\xbe\xd2\x0f\xbe\xc0\x29\xc2\x5b\x89\xd0\x5e\x5d\xc3");

  for(i=0;i<sizeof(st)/sizeof(st[0]);i++)
    puts(st[i]);

  return 0;
}


Output:
1
2
3
4
5
6
7
aaa
bbb
ccc
ddd
eee
fff
ggg


Create a new paste based on this one


Comments: