Method and apparatus for detecting code change
US10019240B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Mar 10, 2016 |
| Grant date | Jul 10, 2018 |
| Priority date | — |
| Expiry date | Mar 10, 2036 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/75
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
The present disclosure 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 disclosure, 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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.