Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for determining function call relationship, hot patch upgrade method and device

A technology of function call relationship and determination method, which is applied in the field of communication, can solve the problems of low efficiency of hot patch upgrade and unguaranteed safety of hot patch upgrade, etc.

Inactive Publication Date: 2016-08-10
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of implementing the embodiment of the present invention, the inventor found that in the prior art, there is no method that can accurately determine the function call relationship when the system does not push the starting address of the stack frame of the parent function into the stack when calling the function. method, which will further cause the security of hot patch upgrades to be unguaranteed or the efficiency of hot patch upgrades to be low.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for determining function call relationship, hot patch upgrade method and device
  • Method for determining function call relationship, hot patch upgrade method and device
  • Method for determining function call relationship, hot patch upgrade method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0100] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0101] figure 1 The flow chart of Embodiment 1 of the method for determining the function call relationship provided by the present invention is as follows: figure 1 As shown, the method for determining the function call relationship provided by this embodiment can be applied to the process of analyzing the function call relationship through the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a function call relation determining method, a hotfix updating method and a hotfix updating device. The function call relation determining method comprises steps that if the condition that a system calls a function is judged, and a stack frame start address of a parent function of the called function is not pressed into the stack, at least one of returning addresses in the stack which comprises the at least one returning address, is searched in sequence; when the at lest one returning address in the at least one of the returning addresses is searched, the function corresponding to the currently searched returning address is determined, and the recorded function call relation in the record list is amended according to the function corresponding to the returning address, so that the parent function of the called function in the amended function call relation is the function corresponding to the returning address. According to technical scheme provided by the embodiment of the invention, the function call relation can be more precisely determined according to the function name in the record list.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular to a method for determining a function call relationship, a method and a device for upgrading a hot patch. Background technique [0002] There may be some loopholes or security risks in the programs running in the system, and a patch is a program used to fix these problems. Under normal circumstances, if you want to use a new patch, you need to compile the program with the patch, install it, and then restart the system. For some critical businesses, restarting the system will cause business interruption. The hot patch technology is designed for this requirement, and it can patch the system without restarting the system. [0003] In the hot patch project, it is a key technology to find the timing of patching and ensure the stable operation of the system. The feature of a hot patch is to apply the patch without restarting the system. If the patch modifies a fu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F9/44
Inventor 陶原李俊
Owner HUAWEI TECH CO LTD