cs33-practice-final-sol

cs33-practice-final-sol - Dummy return address 0xDEADBEEF...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 33 Spring 2011 Solution to Practice Final Linear representation: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 D E A D B E E F 0 0 0 0 0 0 0 0 D E F E C 8 E D Stack representation: 0xDEFEC8ED Function argument 0x00000000
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Dummy return address 0xDEADBEEF New return address 0x00000000 Overwrite saved %ebp 0x00000000 0x00000000 0x00000000 Overwrite stack data 0x00000000 0x00000000 0x00000000 Fill in buffer Something to consider: How would the linear representation change if the machine was Little-Endian?...
View Full Document

This note was uploaded on 06/17/2011 for the course CS 33 taught by Professor Rohr during the Spring '08 term at UCLA.

Ask a homework question - tutors are online