2015-09-03 06:30:32 +08:00
|
|
|
#ld: -m elf_i386
|
|
|
|
#as: --32
|
|
|
|
#objdump: -dw
|
|
|
|
#target: x86_64-*-* i?86-*-*
|
|
|
|
|
|
|
|
.*: +file format .*
|
|
|
|
|
2015-09-03 19:03:13 +08:00
|
|
|
#...
|
2015-09-03 06:30:32 +08:00
|
|
|
0+8048090 <__start>:
|
2015-09-03 19:03:13 +08:00
|
|
|
[ ]*[a-f0-9]+: ff 93 0c 00 00 00 call \*0xc\(%ebx\)
|
|
|
|
[ ]*[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
|
|
|
|
[ ]*[a-f0-9]+: 03 83 0c 00 00 00 add 0xc\(%ebx\),%eax
|
2015-09-03 06:30:32 +08:00
|
|
|
[ ]*[a-f0-9]+: 8b 83 0c 00 00 00 mov 0xc\(%ebx\),%eax
|
2015-09-03 19:03:13 +08:00
|
|
|
[ ]*[a-f0-9]+: 85 83 0c 00 00 00 test %eax,0xc\(%ebx\)
|
2015-09-03 06:30:32 +08:00
|
|
|
[ ]*[a-f0-9]+: 8d ([0-9a-f]{2} ){5}[ ]+lea[ ]+.*
|
|
|
|
#pass
|