Patch generation method, patching method and device
A patching and patching technology, applied in the computer field, can solve problems such as shortening the life cycle of the patch area
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0100] The embodiment of the present invention provides a patch generation method, which is applied to the scene of patching the inline function, that is, corresponding to the process of patching the called function. The method involves the server device, such as figure 1 shown, including:
[0101] S101. The server device performs function inlining of the inline function and the inline function to generate a third function.
[0102]Wherein, the server device serves the client device, and the service content of the server device includes providing resources to the client device, storing data of the client device, and the like. In the embodiment of the present invention, the server device generates a patch file corresponding to the modified function after obtaining the modified function provided by the software developer, and provides the patch file to the client device, So that the client equipment uses the patch file to patch some functions, that is, to repair some functions....
Embodiment 2
[0170] Embodiments of the present invention provide a patch generation method and a patching method, which are applied to the scene of patching the inline function, that is, corresponding to the process of patching the called function, such as Figure 5 shown, including:
[0171] S501. During the compiling process, the server device performs function inlining of the inline function and the inline function to generate a third function.
[0172] The server device serves the client device, such as providing resources to the client device, saving data of the client device, and so on. The server device in the embodiment of the present invention generates a patch file corresponding to the modified function by obtaining the modified function provided by the software developer, and provides the patch file to the client device for use To repair some functions, that is, to patch some functions.
[0173] The source code of an application program includes multiple functions. If the appl...
Embodiment 3
[0264] Such as Figure 9 As shown, the embodiment of the present invention provides a server device 1, which is applied to the scene of patching the inline function, that is, corresponding to the method of patching the called function, including:
[0265] The first processing unit 10 is configured to generate a third function according to the function inlining of the inline function and the inline function, and generate an equivalent code equivalent to the third function according to the third function part.
[0266] The first obtaining unit 11 is configured to obtain addresses for storing the inline function and the inline function, and obtain a first repair function for repairing the inline function.
[0267] The first processing unit 10 is further configured to replace the inline function in the equivalent code segment with the first repair function according to the address, so as to generate a patch file.
[0268] The first output unit 12 is configured to output the addr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com