Patent ID: 9483283
Filing Date: 2016-11-01
CPC Classification: G06F

Claim Text:
1. An apparatus comprising: one or more non-transitory computer readable storage media; and program instructions stored on the one or more computer readable storage media, wherein the program instructions comprise a callback function that, when executed by a processing system in an application runtime environment, direct the processing system to at least: identify an original function modified post-compilation to hook into a Java Native Interface (JNI) stub that calls into the callback function; store an identity of the original function and identify a path for returning to the original function based on the identity of the original function; identify a target function to run in-place of the original function and call into the target function; and upon the target function completing, return to the original function, wherein the return is made such that the original function, and a program, routine, or application that it is a part of, continues to run normally.