encyclopegia.org

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

  1. 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

PredicateValueSource
definitiona 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

Related articles

7.62×39mm

stub · references available

James Best

stub · references available

Kristen Schaal

stub · references available

Kells Priory

stub · references available

Basil Zaharoff

stub · references available

Dzungaria

stub · references available

Holyhead

stub · references available

Tharparkar

stub · references available

Rai 1

stub · references available

Dionne Bromfield

stub · references available

religion in Kyrgyzstan

stub · references available

Banshee

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1365318210 · 0.55 · snapshot return-oriented-programming-032652-e7aa0e9f595b68d3 · QID Q278937

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.