Fixing incompatible applications using a light debugger
AssigneeMicrosoft Corporation
InventorsCorneliu I. Lupu, John D. Colleran
Life of this patent
Estimating the term…
Abstract
A computer method for patching applications that are incompatible with an operating system is provided. The method determines if an application is compatible with an operating system, and if the application is determined to be incompatible, a debugger is loaded that runs the incompatible application. The debugger calls a handler to patch the incompatibilities of the application when a breakpoint has been reached in the incompatible application during the running of the incompatible application.
Claims12
A method for patching a computer application program including a plurality of executable steps, comprising:
- (a) determining whether or not the computer application program is compatible with a computer operating system executing the computer application program;
- and
- (b) if the computer application program is determined to be incompatible with the computer operating system (“incompatible application”), starting a debugger to run the incompatible application, the debugger performing the steps of:
- (i) loading a debugger dynamic link library containing a list of breakpoints, each breakpoint having a handler having a set of instructions for patching the incompatible application;
- (ii) accessing the list of breakpoints from the debugger dynamic link library and setting the breakpoints within the incompatible application;
- (iii) running the steps of the incompatible application through the debugger;
- and
- (iv) patching the incompatible application whenever a breakpoint has been reached.
A computer-readable medium having computer-executable instructions for patching a computer application program including a plurality of executable steps, which, when the computer-executable instructions are executed, comprise:
- (a) determining whether or not the computer application program is compatible with a computer operating system executing the computer application program;
- and
- (b) if the computer application program is determined to be incompatible with the computer operating system (“incompatible application”), starting a debugger to run the incompatible application, the debugger performing the steps of:
- (i) loading a debugger dynamic link library containing a list of breakpoints, wherein each breakpoint has a handler having a set of instructions for patching the incompatible application;
- (ii) accessing the list of breakpoints from the debugger dynamic link library and setting the breakpoints within the incompatible application;
- (iii) running the steps of the incompatible application through the debugger;
- and
- (iv) patching the incompatible application whenever a breakpoint has been reached.
A computer system implementing a method for patching a computer application program wherein the computer system is operable to run an application having a plurality of executable steps, the method comprising:
- (a) determining whether or not the computer application program is compatible with a computer operating system executing the computer application program;
- and
- (b) if the computer application program is determined to be incompatible with the computer operating system (“incompatible application”), starting a debugger to run the incompatible application, the debugger performing the steps of:
- (i) loading a debugger dynamic link library containing a list of breakpoints, wherein each breakpoint has a handler having a set of instructions for patching the incompatible application;
- (ii) accessing the list of breakpoints from the debugger dynamic link library and setting the breakpoints within the incompatible application;
- (iii) running the steps of the incompatible application through the debugger;
- and
- (iv) patching the incompatible application whenever a breakpoint has been reached.
Dependencies are inferred from the claim text.