How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc

I have started with the book ‘Hacking: The art of exploitation!’. I know some of you might suggest that it’s pretty old… But I think great buildings withstand due to their strong foundational base. So, I have to get into what happened ba… Continue reading How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc

How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc

I have started with the book ‘Hacking: The art of exploitation!’. I know some of you might suggest that it’s pretty old… But I think great buildings withstand due to their strong foundational base. So, I have to get into what happened ba… Continue reading How do I prevent the random alignment of the instructions during debugging using gdb? Even tried turning off the optimization with -O0 in gcc