PARTS:
Part 12
Part 13
Part 14
Part 15
Part 16
Part 17
Part 18
Part 19
Part 20
Part 21
Part 22
Part 23
Part 24
Part 25
Part 26
Part 27
Part 28
Part 29
Part 30
Part 31
0x8048396
0x8048399
0x804839b
0x804839e
0x80483a1
0x80483a3
The called function??™s responsibilities are to first save the calling program??™s ebp on the
stack. Next it saves the current esp to ebp (setting the current stack frame). Then esp is
Gray Hat Hacking: The Ethical Hacker??™s Handbook
148
Figure 7-1
The relationship
of ebp and esp on
a stack
decremented to make room for the function??™s local variables. Finally, the function gets
an opportunity to execute its statements.
Pages:
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314