Embodiments of the present invention disclose a method, computer program product, and system for applying a plurality of program patch sets on a plurality of computer programs. Virtual machines are prepared to be patchable, in response to a suspended computer program. Synchronized snapshots of the v
Embodiments of the present invention disclose a method, computer program product, and system for applying a plurality of program patch sets on a plurality of computer programs. Virtual machines are prepared to be patchable, in response to a suspended computer program. Synchronized snapshots of the virtual machines are created. A plurality of binary code sections of each of the synchronized snapshots are determined. Symbol data information of each of the synchronized snapshots are analyzed, based on the program patch sets. The determined binary code sections are replaced with a set of patch data, based on the plurality of program patch sets, resulting in patched snapshots for each of the synchronized snapshots. Dependencies of the patch data are adjusted, based on the replaced plurality of binary code sections and the execution of the computer program on each of the virtual machines are resumed using the plurality of patched snapshots.
대표청구항▼
1. A method for applying a plurality of program patch sets on a plurality of computer programs, the method comprising: preparing at least two virtual machines to be concurrently patchable, in response to suspending execution of a computer program on each of the virtual machines;creating a synchroniz
1. A method for applying a plurality of program patch sets on a plurality of computer programs, the method comprising: preparing at least two virtual machines to be concurrently patchable, in response to suspending execution of a computer program on each of the virtual machines;creating a synchronized snapshot of each of the at least two virtual machines;determining a plurality of binary code sections of each of the synchronized snapshots;analyzing symbol data information of each of the synchronized snapshot, based on the plurality of program patch sets;replacing the determined plurality of binary code sections with a set of patch data, based on the plurality of program patch sets, resulting in a plurality of patched snapshots for each of the synchronized snapshots;adjusting dependencies of the patch data, based on the replaced plurality of binary code sections; andresuming the execution of the computer program on each of the virtual machines using the plurality of patched snapshots. 2. The method of claim 1, wherein applying the plurality of program patch sets occurs simultaneously in at least two virtual machines running on at least one computer system. 3. The method of claim 1, wherein the method for applying the plurality of program patch sets is running in at least two physical machines. 4. The method of claim 1, wherein preparing at least two virtual machines to be concurrently patchable further comprises synchronizing one or more processing units. 5. The method of claim 1, wherein the analyzed symbol data information of each of the synchronized snapshot is based on a single program patch set within the plurality of program patch sets. 6. The method of claim 1, further comprising: executing a plurality of test cases in the at least two virtual machines or at least two physical machines;determining a test pass condition;executing a subsequent patch set from a sequence of patch sets, in response to determining the test pass condition failed; andexecuting one or more computer programs in one or more processing units, in response to determining the test pass condition successful. 7. The method of claim 1, further comprising: generating the synchronized snapshot for each of the at least two virtual machines or the at least two physical machines, in response to detecting a break point by a debugger executing in at least two virtual machines or the at least two physical machines. 8. The method of claim 1, further comprising: generating the synchronized snapshot for each the at least two virtual machines or the at least two physical machines at a pre-determined instant of time. 9. The method of claim 1, further comprising: generating the synchronized snapshot for each of the at least two virtual machines or the at least two physical machines, in response to a pre-determined data being generated by the one or more computer programs. 10. The method of claim 1, further comprising: replacing one or more computer programs in the at least two virtual machines or at least two physical machines, with the plurality of patched snapshots; andresuming the execution of the at least two virtual machines or the at least two physical machines. 11. The method of claim 1, further comprising: preparing one or more processing units;executing one or more of the at least two virtual machines and the at least two physical machines; andgenerating the synchronized snapshot of each of the at least two virtual machines or the at least two physical machines, wherein generating is performed by bringing the one or more processing units to a concurrent patchable state. 12. The method of claim 1, further comprising: generating the synchronized snapshots by a snapshot manager;triggering a hypervisor; andrunning the hypervisor on a computer system. 13. The method of claim 12, further comprising: controlling the testing of the plurality of patch sets by the snapshot manager; andexecuting a debugger client. 14. The method of claim 13, further comprising: determining the plurality of binary code sections to be patched using one or more of the debugger client and a combination of debugger clients. 15. The method of claim 14, further comprising: determining the plurality of binary code sections to be patched, in response to analyzing symbol data information stored in synchronized snapshots associated with each binary code section of the plurality of binary code sections. 16. The method of claim 15, further comprising: obtaining an address offset from an architecture table. 17. The method of claim 15, further comprising: determining the plurality of binary code sections to be patched, in response to determining a process address stored in the synchronized snapshots associated with each binary code section of the plurality of binary code sections. 18. The method of claim 1, wherein applying the plurality of program patch sets on a plurality of computer programs further comprises: replacing a program code segment;identifying a plurality of references within the plurality of binary code sections;adapting the plurality of references;applying relocations to the plurality of binary code sections in the plurality of patched snapshots.
Mencias, Angel Nunez; Schirmer, Albert; Axnix, Christine; Usenbinz, Stefan, Generating and applying patches to a computer program code concurrently with its execution.
Axnix, Christine; Mueller, Michael; Penner, Hartmut, Method and system for generating and applying patches to a computer program concurrently with its execution.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.