Invention Grant
US09342285B2 Method and apparatus for detecting code change 有权
用于检测代码变化的方法和装置

Method and apparatus for detecting code change
Abstract:
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.
Public/Granted literature
Information query
Patent Agency Ranking
0/0