Stack overflow
Segmentation fault we mostly see this problem when we run the code?
Problem : Program didn’t work and it crashes
Reason : Stack overflow is the cause
Problem is inside memory
The call stack like plate stack
PUSH and pop when program called
Everything went smooth but when it doesn’t then problem occurs
1 is too many plate problem , infinite recursion
2 is gaint problem like one function make big array
The program crossed the stack boundary so the OS cancel the program
Debugger is the helper it give us back trace
Modern os help to avoid the problem
1. Stack canaries
2. ASLR shuffle the memory
3. NX Bit bit is hardware