News for hackers. Stuff that matters.
Re:Interactive guide to Buffer Overflow exploitation by pelliphant on Wednesday April 08, 2020 @05:12AM (#22811288)
There is one thing here that I don't really understand:

In the first 2 examples, it says:

"If you pop (fetch) a value from the stack, RSP decreases by 8"

But when I step through it, it seems to add 8 on a pop, not subtract (and vice versa for push), or am I missing something?

Re:Interactive guide to Buffer Overflow exploitation by bordplate on Wednesday April 08, 2020 @05:42AM (#22811460)
Woops, you're right. Thanks for pointing it out, I'll fix it, they should be the other way around.

You're decreasing the stack, but increasing RSP. Because the stack "grows down".