encyclopegia.org

Stubroutine

A stubroutine (also known as a stub function, null script, null subroutine, or null function) is a command script or program subroutine which does nothing but return a constant value.[src] The term itself is a portmanteau of "stub" and "subroutine", and typically refers to a placeholder function or subroutine that is not yet fully implemented but provides the necessary interface (like inputs and outputs) for the rest of the program to function.[src] They are used during program development, where the functional implementation of routines is delayed while other routines are developed, which allows developers to continue building and testing other parts of the software even when certain functions or subroutines are not fully developed.[src] This is also one of the techniques used by the software cracking community to bypass callbacks and license-checking code: the target program is disassembled and the appropriate code is substituted for a null subroutine that just returns the value expected by the caller.[src]

A stubroutine (also known as a stub function, null script, null subroutine, or null function) is a command script or program subroutine which does nothing but return a constant value.[src] The term itself is a portmanteau of "stub" and "subroutine", and typically refers to a placeholder function or subroutine that is not yet fully implemented but provides the necessary interface (like inputs and outputs) for the rest of the program to function.[src] They are used during program development, where the functional implementation of routines is delayed while other routines are developed, which allows developers to continue building and testing other parts of the software even when certain functions or subroutines are not fully developed.[src] This is also one of the techniques used by the software cracking community to bypass callbacks and license-checking code: the target program is disassembled and the appropriate code is substituted for a null subroutine that just returns the value expected by the caller.[src] ==References==[src]

9 sentences · 9 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Stubroutine." encyclopegia.org, 2026, https://encyclopegia.org/wiki/stubroutine. Accessed 28 November 2026.

Chicago

"Stubroutine." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/stubroutine.

APA

encyclopegia.org. (2026). Stubroutine. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/stubroutine

Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1353925657 · 0.5 · snapshot enwiki-001353925657

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
  • Careers — open roles: frontier engineers and sales partners

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