Device and Method for Validation of Virtual Function Pointers
AssigneeHuawei Technologies Co., Ltd.
InventorsTing Dai, Yongzheng Wu, Tieyan Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsTing Dai, Yongzheng Wu, Tieyan Li
Estimating the term…
This document describes a device and method for validation of virtual function pointers. The method is about compiling a source code file with one or more classes whereby each of the classes has a virtual table, the compiling comprises: 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 a 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.
A device comprising:
A method comprising:
A device comprising:
A method comprising:
Dependencies are inferred from the claim text.