Intercepting system API calls
AssigneeInternational Business Machines Corporation
InventorRichard John Moore
Life of this patent
Estimating the term…
Abstract
A system for intercepting API calls in a virtual memory system comprises an activation module comprising an executable program and an interception module comprising a dynamic link library (DLL). The activation module is first executed at system initialization time, its prime purposes being to: parse user configuration information supplied in a configuration file; act as a daemon to launch and thus retain the interception module in shared memory; and hook system APIs to redirect calls via the interception module.
Claims19
A system for intercepting one or more application program interface (API) calls in a virtual memory environment comprising:
- an activation module and an interception module:
- said activation module being adapted to load said interception module to occupy a location in a shared region of virtual memory as long as interception of said API calls is required;
- said activation module being adapted to redirect said one or more API calls by creating an alias to any page containing an entry point for an API call to be intercepted and to write the address of said interception module to said alias;
- said activation module being adapted to provide to any instances of said interception module the original entry points for said one or more API calls;
- and
- said interception module being adapted to selectively provide modified functionality for said intercepted API calls.
A computer program product comprising computer program code stored on a computer readable storage medium for intercepting API calls when executed on a virtual memory computer system, the program code comprising an interception module code and an activation module,
- said activation module being adapted to load said interception module to occupy a location in a shared region of virtual memory as long as interception of said API calls is required;
- said activation module being adapted to redirect said one or more API calls by creating an alias to any page containing an entry point for an API call to be intercepted and to write the address of said interception module to said alias;
- said activation module being adapted to provide to any instances of said interception module the original entry points for said one or more API calls;
- and
- said interception module being adapted to selectively provide modified functionality for said intercepted API calls.
Dependencies are inferred from the claim text.