Typical x86 call stack example

An example for typical x86 call stack

Call stack is a stack data structure that saves information about function calls. Each thread has its own stack where the thread maintains the history of its active function calls.

The following picture shows an example of typical x86 call stack and its stack frames. The details of call stack structures can vary depending on platform architectures, compilers, calling conventions, etc.