Summary of Code
Review the concepts we’ve covered in this course, such as prolog / epilog functions, LEA, passing parameters, accessing stored parameters, and local variables.
We'll cover the following...
We'll cover the following...
Here is a summary of the concepts we encountered in this course.
Function prolog / epilog
Let’s start with function prologs and function epilogs.
Function prolog
The function prolog is composed of these instructions:
Function epilog
The function epilog is composed of these instructions:
This code is equivalent to:
Some code may not restore %RSP if it does not change:
Knowing the prolog can help identify incorrect symbol files or function start addresses. For example, suppose we have the ...