关闭

C++ vtable layout

标签: C++ABIvtable
178人阅读 评论(0) 收藏 举报
分类:



A virtual table (vtable) is a table of information used to dispatch virtual functions, to access virtual base class subobjects, and to access information for runtime type identification (RTTI).

Virtual Table Components and Order :

1 Virtual call (vcall) offsets

2 Virtual Base (vbase) offsets

3 The offset to top holds the displacement to the top of the object

4 The typeinfo pointer

The virtual table address point points here

5 Virtual function pointers


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:4238次
    • 积分:284
    • 等级:
    • 排名:千里之外
    • 原创:25篇
    • 转载:1篇
    • 译文:0篇
    • 评论:0条
    文章分类
    文章存档