13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
* file.
*/
#include "config.h"
#include "platform.h"
.globl of_forward
.globl of_forward_stret
.section .text
of_forward:
pushl %ebp
movl %esp, %ebp
pushl %ebx
subl $20, %esp
call get_eip
|
|
|
|
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
* file.
*/
#include "config.h"
#include "platform.h"
.globl OFForward
.globl OFForward_stret
.section .text
OFForward:
pushl %ebp
movl %esp, %ebp
pushl %ebx
subl $20, %esp
call get_eip
|
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
leal OFMethodNotFound@GOTOFF(%ebx), %eax
addl $20, %esp
popl %ebx
popl %ebp
jmp *%eax
.type of_forward, %function
.size of_forward, .-of_forward
of_forward_stret:
pushl %ebp
movl %esp, %ebp
pushl %ebx
subl $20, %esp
call get_eip
|
|
|
|
|
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
leal OFMethodNotFound@GOTOFF(%ebx), %eax
addl $20, %esp
popl %ebx
popl %ebp
jmp *%eax
.type OFForward, %function
.size OFForward, .-OFForward
OFForward_stret:
pushl %ebp
movl %esp, %ebp
pushl %ebx
subl $20, %esp
call get_eip
|
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
leal OFMethodNotFound_stret@GOTOFF(%ebx), %eax
addl $20, %esp
popl %ebx
popl %ebp
jmp *%eax
.type of_forward_stret, %function
.size of_forward_stret, .-of_forward_stret
init:
pushl %ebp
movl %esp, %ebp
pushl %ebx
subl $4, %esp
|
|
|
|
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
leal OFMethodNotFound_stret@GOTOFF(%ebx), %eax
addl $20, %esp
popl %ebx
popl %ebp
jmp *%eax
.type OFForward_stret, %function
.size OFForward_stret, .-OFForward_stret
init:
pushl %ebp
movl %esp, %ebp
pushl %ebx
subl $4, %esp
|