Invention Grant
- Patent Title: Method, device and system for activating on-line patch
- Patent Title (中): 用于激活在线补丁的方法,设备和系统
-
Application No.: US13336227Application Date: 2011-12-23
-
Publication No.: US09075692B2Publication Date: 2015-07-07
- Inventor: Jiaqiang Yu , Wei Zheng
- Applicant: Jiaqiang Yu , Wei Zheng
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Priority: CN201010113646 20100211
- Main IPC: G06F9/445
- IPC: G06F9/445

Abstract:
Embodiments of the present invention provide a method, a device and a system for activating an on-line patch. The method comprises: positioning an address of a patch function and an entry address of a to-be-patched function; writing, in a middle segment, a long-jump instruction for jumping to the patch function based on the address of the patch function and the entry address of the to-be-patched function, where the middle segment is a storage space, which is located before or after the entry position of the to-be-patched function and can at least store one long-jump instruction; and modifying an instruction at the entry position of the to-be-patched function to a short-jump instruction for jumping to the middle segment, so as to jump to the middle segment after the short jump instruction is executed, and then to jump to and execute the patch function through that instructions in the middle segment are executed.
Public/Granted literature
- US20120102476A1 METHOD, DEVICE AND SYSTEM FOR ACTIVATING ON-LINE PATCH Public/Granted day:2012-04-26
Information query