return-oriented programming
Return-oriented programming (ROP) is a computer security exploit technique that allows an attacker to execute code despite the presence of security defenses that would otherwise prevent it, such as executable-space protection and code signing. In this technique, an attacker gains control of the call stack to hijack program control flow and then executes carefully chosen machine instruction sequences that are already present in the machine's memory, called "gadgets". Each gadget typically ends in a return instruction and is located in a subroutine within the existing program and/or shared library code. Chained together, these gadgets allow an attacker to perform arbitrary operations on a machine employing defenses that catch simpler attacks.
Return-oriented programming (ROP) is a computer security exploit technique that allows an attacker to execute code despite the presence of security defenses that would otherwise prevent it, such as executable-space protection and code signing. In this technique, an attacker gains control of the call stack to hijack program control flow and then executes carefully chosen machine instruction sequences that are already present in the machine's memory, called "gadgets". Each gadget typically ends in a return instruction and is located in a subroutine within the existing program and/or shared library code. Chained together, these gadgets allow an attacker to perform arbitrary operations on a machine employing defenses that catch simpler attacks.
References
- return-oriented programming · retrieved 2026-11-23 · rev 1365318210
Cite this reference
MLA "return-oriented programming." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1365318210. Accessed 24 November 2026.
Chicago "return-oriented programming." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1365318210.
APA encyclopegia.org. (2026). return-oriented programming. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1365318210
Cite this article
MLA
"return-oriented programming." encyclopegia.org, 2026, https://encyclopegia.org/wiki/return-oriented-programming. Accessed 24 November 2026.
Chicago
"return-oriented programming." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/return-oriented-programming.
APA
encyclopegia.org. (2026). return-oriented programming. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/return-oriented-programming
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| definition | a computer security exploit technique that allows an attacker to execute code despite the presence of security defenses that would otherwise prevent it, such as executable-space protection and code signing. | article body |