How to skip a line doing a buffer overflow in C
I want to skip a line in C, the line x=1; in the main section using bufferoverflow ; however, I don't know why I can not skip the address from 4002f4 to the next address 4002fb in spite of the fact that I am counting 7 bytes form <main+35> to <main+42> . I also have configured the options the randomniZation and execstack environment in a Debian and AMD environment, but I am still getting x=1; . What it's wrong with this procedure? I have used dba to debug the stack and the memory addresses: 0x00000000004002ef <main+30>: callq 0x4002a4 **<function>** **0x00000000004002f4** <main+35>: movl $0x1,