Invention Grant
- Patent Title: Method for implementing function jump, apparatus, and computer storage medium
-
Application No.: US17235061Application Date: 2021-04-20
-
Publication No.: US11645068B2Publication Date: 2023-05-09
- Inventor: Leibin Hu , Congyang Wen , Hui Wang , Jian Ma
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN 1910465987.7 2019.05.30
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/656 ; G06F8/658 ; G06F9/30 ; G06F9/32

Abstract:
A method for implementing a function jump includes receiving a first function, searching, for an address of the first function, a first data structure in which addresses of a plurality of functions are stored, where a patch function used to replace the first function is available when the address of the first function is found, searching a second data structure for an address of the patch function based on the address of the first function, where correspondences between a plurality of functions and patch functions of the functions are stored in the second data structure, jumping from the first function to the patch function of the first function based on the address of the patch function of the first function, and executing the patch function of the first function to respond to the call to the first function.
Public/Granted literature
- US20210240467A1 Method for Implementing Function Jump, Apparatus, and Computer Storage Medium Public/Granted day:2021-08-05
Information query