An introduction to Stack Buffer Overflows

An introduction to Stack Buffer Overflows

5 years ago
Anonymous $L9wC17otzH

https://medium.com/@nickxla/an-introduction-to-stack-buffer-overflows-d555cc109131

Before jumping in, let’s start by an explanation of what the stack is.

The stack is a part of a computer’s memory that stores temporary variables created by each function (including main() function) as segments. The stack is managed and optimized by the CPU quite closely. Every time a function declares a new variable, it is "pushed" onto the stack. Then every time a function exits, all of the variables pushed onto the stack by that function, are freed (that is to say, they are deleted). The following schema can help you to understand its workings.

Last Seen
2 hours ago
Reputation
0
Spam
0.000
Last Seen
48 minutes ago
Reputation
0
Spam
0.000
Last Seen
2 hours ago
Reputation
0
Spam
0.000
Last Seen
16 minutes ago
Reputation
0
Spam
0.000
Last Seen
58 minutes ago
Reputation
0
Spam
0.000
Last Seen
50 minutes ago
Reputation
0
Spam
0.000
Last Seen
26 minutes ago
Reputation
0
Spam
0.000
Last Seen
4 minutes ago
Reputation
0
Spam
0.000
Last Seen
24 minutes ago
Reputation
0
Spam
0.000