发明名称 METHOD AND DEVICE FOR MANUFACTURING PATCH, AND METHOD AND DEVICE FOR ACTIVATING PATCH
摘要 A method and device for manufacturing a patch, a method and device for activating a patch, a corresponding program instruction and a carrier of the program instruction. The method for manufacturing a patch comprises: writing a patch script corresponding to at least one replaced code line into a source code where a patched function is located by using a script language, the patch script comprising a patch code corresponding to a replacing code and a position in the source code where a replaced code is located; generating a patch module for replacing the replaced code according to the patch script; and positioning at a start position and an end position of a corresponding instruction in a binary program according to the position in the source code where the replaced code is located, and adding same into the patch module. The method can solve the problem that when a relevant program is upgraded, the patch manufacturing is complex, and the repairing granularity is coarser, and the problem that a plurality of patched functions mutually refer to one another cannot be solved well.
申请公布号 WO2015117434(A1) 申请公布日期 2015.08.13
申请号 WO2014CN90497 申请日期 2014.11.06
申请人 ZTE CORPORATION 发明人 JIANG, YONG;LONG, CHUN;WANG, LIANG
分类号 G06F9/445 主分类号 G06F9/445
代理机构 代理人
主权项
地址