blob: 1d81c76007b8f81025b7ee4b3f54801b1cea1eac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#source: plt-pic.s
#as: --32
#ld: -z now -shared -melf_i386
#objdump: -dwr
#target: i?86-*-*
.*: +file format .*
Disassembly of section .plt:
.* <.plt>:
+[a-f0-9]+: ff b3 04 00 00 00 pushl 0x4\(%ebx\)
+[a-f0-9]+: ff a3 08 00 00 00 jmp \*0x8\(%ebx\)
+[a-f0-9]+: 00 00 add %al,\(%eax\)
...
.* <fn1@plt>:
+[a-f0-9]+: ff a3 0c 00 00 00 jmp \*0xc\(%ebx\)
+[a-f0-9]+: 68 00 00 00 00 push \$0x0
+[a-f0-9]+: e9 e0 ff ff ff jmp .* <.plt>
.* <fn2@plt>:
+[a-f0-9]+: ff a3 10 00 00 00 jmp \*0x10\(%ebx\)
+[a-f0-9]+: 68 08 00 00 00 push \$0x8
+[a-f0-9]+: e9 d0 ff ff ff jmp .* <.plt>
Disassembly of section .text:
.* <foo>:
+[a-f0-9]+: e8 db ff ff ff call .* <fn1@plt>
+[a-f0-9]+: e9 e6 ff ff ff jmp .* <fn2@plt>
#pass
|