Invention Grant
- Patent Title: Device and method for validation of virtual function pointers
-
Application No.: US17237388Application Date: 2021-04-22
-
Publication No.: US11755723B2Publication Date: 2023-09-12
- Inventor: Ting Dai , Yongzheng Wu , Tieyan Li
- 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.
- Main IPC: G06F21/00
- IPC: G06F21/00 ; G06F21/54 ; G06F8/41

Abstract:
A method for validation of virtual function pointers includes compiling a source code file with one or more classes whereby each of the classes has a virtual table, and the compiling includes associating a security check function with the virtual function invocation site such that the associated security check function is executed prior to an invocation of the virtual function, generating a class hierarchy hash table (CHHT), whereby when the compiled source code file is executed, the security check function is used to determine whether an invoked virtual function pointer of a virtual function associated with the security check function is valid by looking up an indicator in the CHHT according to a hash result of the virtual function pointer and an address of a virtual table containing the virtual function pointer.
Public/Granted literature
- US20210240820A1 Device and Method for Validation of Virtual Function Pointers Public/Granted day:2021-08-05
Information query