Computer resource management system
First Claim
1. A method for intercepting access by a program to 16 bit exportable functions associated with a function module, comprising the steps of:
- obtaining the address of a module header for a function module, wherein the header includes pointers identifying entry points of the exportable functions in said function module and at least one segment table identifying contents of the function module;
adding to the segment table one or more segment entries corresponding to segments of an interceptor module containing an interceptor routine wherein each segment containing an interceptor routine is made nondiscardable; and
modifying the module header so that an attempt to determine the entry point of an exportable function in the function module returns a pointer to an entry point of the interceptor routine.
4 Assignments
0 Petitions
Accused Products
Abstract
A system and method for managing scarce computer system memory resources has three aspects. A first aspect allows large data structures to be replaced by a pointer that causes an intentional fault to occur. The fault is trapped, and the invention interposes the required data. A second aspect associates data structures with both the task and the module that own the structure. The structure can be eliminated from memory when both the owning task and the owning module have terminated. A third aspect utilizes swapping techniques to maintain multiple local data areas for multiple tasks. In conjunction, the three aspects of the invention provide improved resource availability and substantially unimpaired system performance
46 Citations
9 Claims
-
1. A method for intercepting access by a program to 16 bit exportable functions associated with a function module, comprising the steps of:
-
obtaining the address of a module header for a function module, wherein the header includes pointers identifying entry points of the exportable functions in said function module and at least one segment table identifying contents of the function module; adding to the segment table one or more segment entries corresponding to segments of an interceptor module containing an interceptor routine wherein each segment containing an interceptor routine is made nondiscardable; and modifying the module header so that an attempt to determine the entry point of an exportable function in the function module returns a pointer to an entry point of the interceptor routine. - View Dependent Claims (2, 3, 4)
-
-
5. A method of redirecting an API function call by a program to an alternative intercept function, comprising the steps of:
-
identifying a function module for the API function, the module having an entry table containing at least one pointer that indicates an entry point for the API function, the module further containing a plurality of segments and a segment table identifying each segment in the function module, each API function being located in one of the segments; selecting a pointer from the entry table that indicates an entry point for the API function; changing the selected pointer to indicate the entry point for the intercept function; adding at least one additional entry to the segment table representing a segment containing the intercept function, wherein each additional entry added to the segment table is preloaded and set as nondiscardable. - View Dependent Claims (6, 7, 8, 9)
-
Specification