blob: 4cccac2d006dccf1b9c51c0a211c17c41bec7247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.text
_start:
movl $foo@GOT, %eax
movl foo@GOT, %eax
movl foo@GOT(%eax), %eax
call *foo@GOT
call *foo@GOT(%eax)
jmp *foo@GOT
jmp *foo@GOT(%eax)
.intel_syntax noprefix
mov eax, offset foo@got
mov eax, DWORD PTR [foo@GOT]
mov eax, DWORD PTR [eax + foo@GOT]
call DWORD PTR [eax + foo@GOT]
call DWORD PTR [foo@GOT]
jmp DWORD PTR [eax + foo@GOT]
jmp DWORD PTR [foo@GOT]
|