System and method for call path enforcement
Abstract
Disclosed herein are systems, computer-implemented methods, and computer-readable storage media for call path enforcement. The method includes tracking, during run-time, a run-time call order for a series of function calls in a software program, and when executing a protected function call during run-time, allowing or causing proper execution of a protected function call only if the run-time call order matches a predetermined order. The predetermined order can be an expected run-time call order based on a programmed order of function calls in the software program. The method can include maintaining an evolving value associated with the run-time call order and calling the protected function by passing the evolving value and function parameters corrupted based on the evolving value. The protected function uncorrupts the corrupted parameters based on the passed evolving value and an expected predetermined call order. A buffer containing the uncorrupted parameters can replace the corrupted parameters.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for call path enforcement, the method comprising: tracking via a processor, during run-time, a first run-time call order for a series of function calls in a software program; maintaining an evolving value associated with the first run-time call order; transforming a subset of function parameters associated with a protected function based on the first run-time call order and the evolving value prior to calling the protected function; calling the protected function; generating a second run-time call order by re-calculating the series of function calls inside the pro
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (2)
- Mircosoft, "What is a DLL", Dec. 4, 2007, p. 2-7 Accessed on Mar. 7, 2012, [http://support.microsoft.com/kb/81565].
- N. Cohen, "Enforcing function call order in C°°", The Code Project, Sep. 29, 2003, p. 1-8, Accessed on Mar. 5, 2012, [http://www.codeproject.com/Articles/5086/Enforce-function-call-order-in-C?display=Print].