System and method for call path enforcement
AssigneeApple Inc.
InventorsGinger M. Myles, Srinivas Vedula, Gianpaolo Fasoli, Julien Lerouge, Tanya Michelle Lattner, Augustin J. Farrugia
Life of this patent
Estimating the term…
Loading patent…
AssigneeApple Inc.
InventorsGinger M. Myles, Srinivas Vedula, Gianpaolo Fasoli, Julien Lerouge, Tanya Michelle Lattner, Augustin J. Farrugia
Estimating the term…
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.
A computer-implemented method for call path enforcement, the method comprising:
A system for including call path enforcement instructions in computer code, the system comprising:
A non-transitory computer-readable storage medium storing a computer program having program instructions which, when executed by a computing device, causes the computing device to perform steps comprising:
A non-transitory computer-readable storage medium storing a computer program having instructions for controlling a processor to embed call path enforcement instructions in a compiled application, the instructions comprising:
Dependencies are inferred from the claim text.