return address

1
Return address buf %ebp Saved %ebp [3] [2] [1] [0] Stack frame for echo Stack frame for caller Saved %ebx [7] [6] [5] [4]

Upload: valterra-watson

Post on 30-Dec-2015

31 views

Category:

Documents


2 download

DESCRIPTION

Stack frame for caller. Return address. Saved %ebp. %ebp. Saved %ebx. Stack frame for echo. [7]. [6]. [5]. [4]. buf. [3]. [2]. [1]. [0]. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Return address

Return address

buf

%ebpSaved %ebp

[3][2][1][0]

Stack framefor echo

Stack framefor caller

Saved %ebx

[7][6][5][4]