|
|
|
Date Submitted:
08/18/05
Hits: 92 Rating: ![]() ![]() ![]() ![]() based on 0 votes
Stack Overflow's Analysis & Exploiting WaysAdded by Papergrl
Description:
The first passage to follow, in order to completely understand the STACK overflows, it's to study how the main processor works during any program's execution. When a program is executed his elements are allocated into the memory in a well organized way (look at the Figure 1). Local variables, function arguments and still other things, are allocated into the STACK. Automatic allocated variables stay instead in the HEAP. Both .BSS and .DATA sectors are dedicated to the local variables and are allocated during the compile time. To be clear: the sector .BSS includes not initalized data, while .DATA is reserved for static data (e.g. "static" in the C language). The .TEXT sector is the data area including the instructions, such as the program's code which is being executed where it's not possible to realize any writing operation but only reading ones.
Read the Complete Paper You don't have permission to post replies. Please login or register. |
