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 computer program product for applying a plurality of program patch sets on a plurality of computer programs, the computer program product comprising: one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instr
1. A computer program product for applying a plurality of program patch sets on a plurality of computer programs, the computer program product comprising: one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media, the program instructions comprising: instructions to prepare at least two virtual machines to be concurrently patchable, in response to instructions to suspend execution of a computer program on each of the at least two virtual machines;instructions to create a synchronized snapshot of each of the at least two virtual machines;instructions to determine a plurality of binary code sections of each of the synchronized snapshots;instructions to analyze symbol data information of each of the synchronized snapshot, based on the plurality of program patch sets;instructions to replace 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;instructions to adjust dependencies of the patch data, based on the replaced plurality of binary code sections; andinstructions to resume the execution of the computer program on each of the virtual machines using the plurality of patched snapshots. 2. The computer program product 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 computer program product of claim 1, wherein the computer program product for applying the plurality of program patch sets is running in at least two physical machines. 4. The computer program product of claim 1, wherein instructions to prepare at least two virtual machines to be concurrently patchable further comprises instructions to synchronize one or more processing units. 5. The computer program product 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 computer program product of claim 1, further comprising: instructions to execute a plurality of test cases in the at least two virtual machines or at least two physical machines;instructions to determine a test pass condition;instructions to execute a subsequent patch set from a sequence of patch sets, in response to instructions to determine the test pass condition failed; andinstructions to execute one or more computer programs in one or more processing units, in response to instructions to determine the test pass condition successful. 7. The computer program product of claim 1, further comprising: instructions to generate the synchronized snapshot for each of the at least two virtual machines or the at least two physical machines, in response to instructions to detect a break point by a debugger, instructions to execute in at least two virtual machines or the at least two physical machines. 8. The computer program product of claim 1, further comprising: instructions to generate 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 computer program product of claim 1, further comprising: generate 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 computer program product of claim 1, further comprising: instructions to replace one or more computer programs in the at least two virtual machines or at least two physical machines, with the plurality of patched snapshots; andinstructions to resume the execution of the at least two virtual machines or the at least two physical machines. 11. The computer program product of claim 1, further comprising: instructions to prepare one or more processing units;instructions to execute one or more of the at least two virtual machines and the at least two physical machines; andinstructions to generate the synchronized snapshot of each of the at least two virtual machines or the at least two physical machines, wherein instructions to generate is performed by instructions to bring the one or more processing units to a concurrent patchable state. 12. The computer program product of claim 1, further comprising: instructions to generate the synchronized snapshots by a snapshot manager;instructions to trigger a hypervisor; andinstructions to run the hypervisor on a computer system. 13. The computer program product of claim 12, further comprising: instructions to control the testing of the plurality of patch sets by the snapshot manager; andinstructions to execute a debugger client. 14. The computer program product of claim 13, further comprising: instructions to determine 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 computer program product of claim 14, further comprising: instructions to determine the plurality of binary code sections to be patched, in response to instructions to analyze symbol data information stored in synchronized snapshots associated with each binary code section of the plurality of binary code sections. 16. The computer program product of claim 15, further comprising: instructions to obtain an address offset from an architecture table. 17. The computer program product of claim 15, further comprising: instructions to determine the plurality of binary code sections to be patched, in response to instructions to determine a process address stored in the synchronized snapshots associated with each binary code section of the plurality of binary code sections. 18. The computer program product of claim 1, wherein applying the plurality of program patch sets on a plurality of computer programs further comprises: instructions to replace a program code segment;instructions to identify a plurality of references within the plurality of binary code sections;instructions to adapt the plurality of references; andinstructions to apply relocations to the plurality of binary code sections in the plurality of patched snapshots. 19. A computer system for applying a plurality of program patch sets on a plurality of computer programs, the computer system comprising: one or more computer processors;one or more computer-readable storage media;program instructions stored on the computer-readable storage media for execution by at least one of the one or more processors, the program instructions comprising: instructions to prepare at least two virtual machines to be concurrently patchable, in response to instructions to suspend execution of a computer program on each of the at least two virtual machines;instructions to create a synchronized snapshot of each of the at least two virtual machines;instructions to determine a plurality of binary code sections of each of the synchronized snapshots;instructions to analyze symbol data information of each of the synchronized snapshot, based on the plurality of program patch sets;instructions to replace 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;instructions to adjust dependencies of the patch data, based on the replaced plurality of binary code sections; andinstructions to resume the execution of the computer program on each of the virtual machines using 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는 부적절한 답변을 할 수 있습니다.