O'Reilly logo

Stack Frames: A Look From Inside by Giuseppe Di Cataldo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Giuseppe Di Cataldo 2016

Giuseppe Di Cataldo, Stack Frames, 10.1007/978-1-4842-2181-5_5

5. Stack Frames

Giuseppe Di Cataldo

(1)Catania, Italy

This chapter takes us deep into the heart of the book to explore the stack frame layout of function calls. To this end we need a clear, in-depth understanding of what happens when one function calls another, particularly how data are passed from caller to callee and how the memory content changes when functions’ data are pushed to the current process’ memory; this is the main subject of the first part of this long chapter.

Then we will create an executable test file on each of the Linux distributions that were selected in Chapter 2. This is the longest and the most interesting part of the chapter, allowing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required