]>
Commit | Line | Data |
---|---|---|
ffc89b17 L |
1 | #objdump: -dwrj.text |
2 | #target: i?86-*-* | |
3 | ||
4 | .*: +file format elf32-i386.* | |
5 | ||
6 | Disassembly of section .text: | |
7 | ||
8 | #... | |
9 | [0-9a-f]+ <check>: | |
10 | +[a-f0-9]+: 83 ec 0c sub \$0xc,%esp | |
11 | +[a-f0-9]+: 67 e8 ([0-9a-f]{2} ){4}[ ]+addr16 call [0-9a-f]+ <get_func> | |
3a4b0e0f L |
12 | +[a-f0-9]+: c7 c2 ([0-9a-f]{2} ){4}[ ]+mov +\$0x[a-f0-9]+,%edx |
13 | +[a-f0-9]+: 39 d0 cmp %edx,%eax | |
14 | +[a-f0-9]+: 75 34 jne [0-9a-f]+ <check\+0x[0-9a-f]+> | |
15 | +[a-f0-9]+: 39 15 ([0-9a-f]{2} ){4}[ ]+cmp +%edx,0x[0-9a-f]+ | |
ffc89b17 L |
16 | +[a-f0-9]+: 75 2c jne [0-9a-f]+ <check\+0x[0-9a-f]+> |
17 | +[a-f0-9]+: 67 e8 ([0-9a-f]{2} ){4}[ ]+addr16 call [0-9a-f]+ <func> | |
18 | +[a-f0-9]+: 3d 78 56 34 12 cmp \$0x12345678,%eax | |
19 | +[a-f0-9]+: 75 1f jne +[0-9a-f]+ <check\+0x[0-9a-f]+> | |
20 | +[a-f0-9]+: 67 e8 ([0-9a-f]{2} ){4}[ ]+addr16 call [0-9a-f]+ <call_func> | |
21 | +[a-f0-9]+: 3d 78 56 34 12 cmp \$0x12345678,%eax | |
22 | +[a-f0-9]+: 75 12 jne +[0-9a-f]+ <check\+0x[0-9a-f]+> | |
23 | +[a-f0-9]+: 83 ec 0c sub \$0xc,%esp | |
24 | +[a-f0-9]+: 68 ([0-9a-f]{2} ){4}[ ]+push +\$0x[0-9a-f]+ | |
25 | +[a-f0-9]+: ff 15 ([0-9a-f]{2} ){4}[ ]+call +\*0x[0-9a-f]+ | |
26 | +[a-f0-9]+: 83 c4 1c add \$0x1c,%esp | |
b8be9aea | 27 | +[a-f0-9]+: c3 ret |
ffc89b17 L |
28 | +[a-f0-9]+: ff 15 ([0-9a-f]{2} ){4}[ ]+call +\*0x[0-9a-f]+ |
29 | #... | |
30 | [0-9a-f]+ <get_func>: | |
31 | +[a-f0-9]+: c7 c0 ([0-9a-f]{2} ){4}[ ]+mov +\$0x[a-f0-9]+,%eax | |
b8be9aea | 32 | +[a-f0-9]+: c3 ret |
ffc89b17 L |
33 | #... |
34 | [0-9a-f]+ <call_func>: | |
35 | +[a-f0-9]+: e9 ([0-9a-f]{2} ){4}[ ]+jmp +[0-9a-f]+ <func> | |
36 | +[a-f0-9]+: 90 nop | |
37 | #pass |