Method and Apparatus for Detecting Code Change
AssigneeHuawei Technologies Co., Ltd.
InventorJun Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorJun Li
Estimating the term…
The present invention provides a method and an apparatus for detecting a code change. The method includes adding a tag to a function to be changed in a source code, and compiling the source code to acquire, according to the tag, position information and relocation information of the function to be changed in the compiled source code. In embodiments of the present invention, a tag is added to a function to be changed, a source code is compiled into a binary file, and position information and relocation information of the function to be changed in the binary file are acquired by using the tag, so that in subsequent operations, a hot patch file modifies, according to the position information and the relocation information, the function to be changed in software.
A method for detecting a code change, comprising:
An apparatus for detecting a code change, comprising:
Dependencies are inferred from the claim text.