News for hackers. Stuff that matters.
Re:Stack-Oriented Programming by souprock on Tuesday January 14, 2020 @06:18PM (#22050239)
Oddly, that article doesn't link to the most interesting modern use. It's for security exploits. People have built compilers that output a binary that consists largely of return addresses that point into the middle of normal functions.

https://en.wikipedia.org/wiki/Return-oriented_programming

Re:Stack-Oriented Programming by 9214 on Wednesday January 15, 2020 @06:30AM (#22053357)
This deserves a bit of clarification: ROP is an application of threaded code technique. Conventional Forth (proto-father of stack-based/concatenative languages, alongside with Joy) is based on indirect-threaded code (ITC), so the connection between ROP and stack-based programming is rather indirect (pun intended).

For anyone interested, Book by Loeliger [1] and "Moving Forth" series [2] are essential readings on this topic.

[1]: https://archive.org/details/R.G.LoeligerThreadedInterpretive...

[2]: https://www.bradrodriguez.com/papers/

Re:Stack-Oriented Programming by halayli on Wednesday January 15, 2020 @02:27AM (#22052324)
you're mixing 2 different concepts. Yes they end in oriented-programming in the end but one is an exploit technique and one is a programming model.