Claims
- 1. A method for intercepting a call from an application to a document production function, comprising:
accessing an import address table for the application; identifying, in the import address table, document production functions being supplied by an operating system; and for each identified document production function, replacing, in the import address table, an address associated with that function with an address to be used to access a proxy document production function.
- 2. A method for intercepting a call from an application to a document production function, comprising:
identifying in the application's import address table an address used to access a document production function provided by an operating system's document production module; and replacing the identified address in the import address table with an address to be used to access a proxy document production function provided by a proxy document production module.
- 3. The method of claim 2, further comprising repeating the acts for identifying and replacing for each address in the import address table that is used to access a document production function provided by an operating system's document production module.
- 4. The method of claim 2, further comprising loading the proxy document production module into operational memory and identifying the address to be used to access the proxy document production function provided by the proxy document production module.
- 5. The method of claim 2, further comprising:
loading the application in debugging mode; pausing the execution of the application once the import address table includes addresses for document production functions provided by the operating system's document production module; and resuming execution of the application after the address for the document production function provided by the document production module has been replaced.
- 6. The method of claim 5, further comprising:
loading the proxy document production module into the memory space of the application; identifying the address to be used to access the proxy document production function provided by the loaded proxy document production module; and wherein replacing comprises replacing the identified address used to access a document production function supplied by the operating system's document production module with the identified address used to an access the proxy document production function.
- 7. A method for intercepting a call from an application to a document production function, comprising:
loading the application in debugging mode; pausing the execution of the application once the application's import address table includes addresses for functions provided by an operating system's document production module; identifying in the application's import address table an address used to access a document production function provided by an operating system's document production module; and replacing the identified address in the import address table with an address to be used to access a proxy document production function provided by a proxy document production module; and resuming execution of the application after the address for the function provided by the operating system's document production module has been replaced.
- 8. The method of claim 7, further comprising:
loading the proxy document production module into the memory space of the application; identifying the address to be used to access the proxy document production function provided by the loaded proxy document production module; and wherein replacing comprises replacing the identified address used to access a document production function supplied by the operating system's document production module with the identified address used to an access the proxy document production function.
- 9. A method for intercepting a call from an application to a document production function, comprising:
loading a proxy document production module into operational memory with the application; identifying an address to be used to access a proxy document production function provided by the proxy document production module; identifying in the application's import address table an address used to access a document production function provided by an operating system's document production module; and replacing, in the import address table, the identified address used to access a document production function supplied by the operating system's document production module with the identified address used to an access the proxy document production function.
- 10. Computer readable media giving instructions for:
accessing an import address table for an application; identifying, in the import address table, document production functions being supplied by an operating system; and for each identified document production function, replacing, in the import address table, an address associated with that function with an address to be used to access a proxy document production function.
- 11. Computer readable media having instructions for:
identifying in an application's import address table an address used to access a document production function provided by an operating system's document production module; and replacing the identified address in the import address table with an address to be used to access a proxy document production function provided by a proxy document production module.
- 12. The media of claim 11, having further instructions for repeating the instructions for identifying and replacing for each address in the import address table that is used to access a document production function provided by an operating system's document production module.
- 13. The media of claim 11, having further instructions for loading the proxy document production module into operational memory and identifying the address to be used to access the proxy document production function provided by the proxy document production module.
- 14. The media of claim 11, having further instructions for:
loading the application in debugging mode; pausing the execution of the application once the import address table includes addresses for functions provided by the document production module; and resuming execution of the application after the address for the document production function provided by the operating system's document production module has been replaced.
- 15. The media of claim 14, having further instructions for:
loading the proxy document production module into the memory space of the application; identifying the address to be used to access the proxy document production function provided by the loaded proxy document production module; and wherein the instructions for replacing comprise instructions for replacing the identified address used to access a document production function supplied by the operating system's document production module with the identified address used to an access the proxy document production function.
- 16. Computer readable media having instructions for:
loading an application in debugging mode; pausing the execution of the application once the application's import address table includes addresses for functions provided by an operating system's document production module; identifying in the application's import address table an address used to access a document production function provided by an operating system's document production module; and replacing the identified address in the import address table with an address to be used to access a proxy document production function provided by a proxy document production module; and resuming execution of the application after the address for the function provided by the operating system's document production module has been replaced.
- 17. The media of claim 16, having further instructions for:
loading the proxy document production module into the memory space of the application; identifying the address to be used to access the proxy document production function provided by the loaded proxy document production module; and wherein the instructions for replacing comprise instructions for replacing the identified address used to access a document production function supplied by the operating system's document production module with the identified address used to an access the proxy document production function.
- 18. Computer readable media having instructions for:
loading a proxy document production module into operational memory with an application; identifying an address to be used to access a proxy document production function provided by the proxy document production module; identifying in the application's import address table an address used to access a document production function provided by an operating system's document production module; and replacing, in the import address table, the identified address used to access a document production function supplied by the operating system's document production module with the identified address used to an access the proxy document production function.
- 19. A system for intercepting a call made by an application to a document production function, comprising:
a module loader operable to load a proxy document production module into operational memory with the application; and a reviser operable to identify an address to be used to access a proxy document production function provided by the proxy document production module, access an import address table for the application, identify in the application's import address table an address used to access a document production function provided by an operating system's document production module, and replace, in the import address table, an address associated with the identified document production function with the identified address to be used to access the proxy document production function provided by the proxy document production module.
- 20. A system for intercepting call made by an application to a document production function, comprising:
an application loader operable to load an application in debugging mode; an event detector operable to detect when the application's import address table includes an address for a function provided by an operating system's document production module an execution controller operable to pause the execution of the application upon detection by the event detector and to later resume execution of the application; and a reviser operable to accessing the import address table of the application when paused and replace an address in the import address table used to access a function provided by the operating system's document production module with an address to be used to access a proxy document production function provided by a proxy document production module.
- 21. The system of claim 20, further comprising a module loader operable to load the proxy document production module into memory with the application, and wherein the reviser is further operable to identify an address to be used to access a proxy document production function provided by the proxy document production module once loaded and to and replace an address in the import address table used to access a function provided by the operating system's document production module with the identified address to be used to access the proxy document production function.
- 22. A system for intercepting a call made by an application to a document production function, comprising:
a means for accessing an import address table for the application; a means for identifying in the import address table a document production function provided by an operating system and to which calls from the application are to be intercepted; and a means for replacing, in the import address table, an address associated with the identified document production function with an address to be used to access a proxy document production function.
- 23. A system for intercepting a call made by an application to a document production function, comprising:
a means for accessing the application's import address table; and a means for replacing an address in the import address table used to access a document production function provided by an operating system's document production module with an address to be used to access a proxy document production function provided by a proxy document production module.
CROSS REFERENCE TO RELATED APPLICATION
[0001] This is a continuation-in-part of the patent application filed on Oct. 30, 2002 under Attorney Docket No. 100201129-1 and entitled, “Intercepting Function Calls.”