Method for Implementing Function Jump, Apparatus, and Computer Storage Medium

    公开(公告)号:US20210240467A1

    公开(公告)日:2021-08-05

    申请号:US17235061

    申请日:2021-04-20

    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.

    Method for implementing function jump, apparatus, and computer storage medium

    公开(公告)号:US11645068B2

    公开(公告)日:2023-05-09

    申请号:US17235061

    申请日:2021-04-20

    CPC classification number: G06F8/656 G06F8/658 G06F9/3004 G06F9/328

    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.

Patent Agency Ranking