Hacker News new | past | comments | ask | show | jobs | submit login

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




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/


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: