I am learning Stack Based Buffer overflow on the x86 Linux. How to count the size of the stack space after overwriting the EIP in GDB with some value?
(gdb) i