]>
Commit | Line | Data |
---|---|---|
ee2fdd6f L |
1 | #source: ibt-plt-3.s |
2 | #as: --32 | |
f2e37a5c | 3 | #ld: -shared -m elf_i386 -z ibtplt --hash-style=sysv -z noseparate-code $NO_DT_RELR_LDFLAGS |
ee2fdd6f L |
4 | #objdump: -dw |
5 | ||
6 | .*: +file format .* | |
7 | ||
8 | ||
9 | Disassembly of section .plt: | |
10 | ||
fd161d86 | 11 | 0+140 <.plt>: |
36938cab | 12 | +[a-f0-9]+: ff b3 04 00 00 00 push 0x4\(%ebx\) |
ee2fdd6f L |
13 | +[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\) |
14 | +[a-f0-9]+: 0f 1f 40 00 nopl 0x0\(%eax\) | |
202be274 | 15 | +[a-f0-9]+: f3 0f 1e fb endbr32 |
ee2fdd6f | 16 | +[a-f0-9]+: 68 00 00 00 00 push \$0x0 |
d1bcae83 | 17 | +[a-f0-9]+: e9 e2 ff ff ff jmp 140 <bar1@plt-0x30> |
ee2fdd6f | 18 | +[a-f0-9]+: 66 90 xchg %ax,%ax |
202be274 | 19 | +[a-f0-9]+: f3 0f 1e fb endbr32 |
ee2fdd6f | 20 | +[a-f0-9]+: 68 08 00 00 00 push \$0x8 |
d1bcae83 | 21 | +[a-f0-9]+: e9 d2 ff ff ff jmp 140 <bar1@plt-0x30> |
ee2fdd6f L |
22 | +[a-f0-9]+: 66 90 xchg %ax,%ax |
23 | ||
24 | Disassembly of section .plt.sec: | |
25 | ||
fd161d86 | 26 | 0+170 <bar1@plt>: |
202be274 | 27 | +[a-f0-9]+: f3 0f 1e fb endbr32 |
ee2fdd6f L |
28 | +[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\) |
29 | +[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%eax,%eax,1\) | |
30 | ||
fd161d86 | 31 | 0+180 <bar2@plt>: |
202be274 | 32 | +[a-f0-9]+: f3 0f 1e fb endbr32 |
ee2fdd6f L |
33 | +[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\) |
34 | +[a-f0-9]+: 66 0f 1f 44 00 00 nopw 0x0\(%eax,%eax,1\) | |
35 | ||
36 | Disassembly of section .text: | |
37 | ||
fd161d86 | 38 | 0+190 <foo>: |
ee2fdd6f | 39 | +[a-f0-9]+: 53 push %ebx |
fd161d86 | 40 | +[a-f0-9]+: e8 18 00 00 00 call 1ae <__x86.get_pc_thunk.bx> |
e10c9c62 | 41 | +[a-f0-9]+: 81 c3 1a 11 00 00 add \$0x111a,%ebx |
ee2fdd6f | 42 | +[a-f0-9]+: 83 ec 08 sub \$0x8,%esp |
fd161d86 AM |
43 | +[a-f0-9]+: e8 dc ff ff ff call 180 <bar2@plt> |
44 | +[a-f0-9]+: e8 c7 ff ff ff call 170 <bar1@plt> | |
ee2fdd6f L |
45 | +[a-f0-9]+: 83 c4 08 add \$0x8,%esp |
46 | +[a-f0-9]+: 5b pop %ebx | |
202be274 | 47 | +[a-f0-9]+: c3 ret |
ee2fdd6f | 48 | |
fd161d86 | 49 | 0+1ae <__x86.get_pc_thunk.bx>: |
ee2fdd6f | 50 | +[a-f0-9]+: 8b 1c 24 mov \(%esp\),%ebx |
202be274 | 51 | +[a-f0-9]+: c3 ret |
ee2fdd6f | 52 | #pass |