From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:Itanium C++ ABI" |
|---|
| claim | "type_info objects of pointer types (__pointer_type_info, name starting with P) and pointers to members (__pointer_to_member_type_info, name starting with M) add 32-bit qualifier flags and a pointer to the pointee's type_info; pointer-to-member adds the class's type_info." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Itanium C++ ABI" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "__pbase_type_info" |
|---|
| size | "0x20" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 8 |
|---|
| type | "const void *" |
|---|
| name | "vptr" |
|---|
| notes | "_ZTVN10__cxxabiv119__pointer_type_infoE or ..129__pointer_to_member_type_infoE + 2 pointers" |
|---|
|
| offset | "0x8" |
|---|
| size | 8 |
|---|
| type | "const char *" |
|---|
| name | "__type_name" |
|---|
| notes | "e.g. "PKc"" |
|---|
|
| offset | "0x10" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "__flags" |
|---|
| notes | "__pbase_type_info masks" |
|---|
|
| offset | "0x18" |
|---|
| size | 8 |
|---|
| type | "const void *" |
|---|
| name | "__pointee" |
|---|
| notes | "type_info of the pointed-to type; __pointer_to_member_type_info adds __context (const __class_type_info *) at 0x20" |
|---|
|
|
|---|
| endianness | "native" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "unsigned int __flags; const __shim_type_info* __pointee; __pointer_to_member_type_info adds const __class_type_info* __context" |
|---|
| repo | "https://github.com/llvm/llvm-project" |
|---|
| commit | "4bd435d59f89ded8e537e5c6e0b560ad89518c3f" |
|---|
| path | "libcxxabi/src/private_typeinfo.h" |
|---|
| lines | "205-251" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "__pbase_type_info" |
|---|
| topic | "Platform:Itanium C++ ABI/RTTI and vtables" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T21:50:35.925Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:14:54.571Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read libcxxabi/src/private_typeinfo.h lines 205-251 at 4bd435d: __pbase_type_info { unsigned int __flags; const __shim_type_info *__pointee }, __pointer_to_member_type_info adds const __class_type_info *__context; offsets 0x10/0x18/0x20 follow from vptr + __type_name. The flag masks are 0x1 const, 0x2 volatile, 0x4 restrict, 0x8 incomplete, 0x10 incomplete class, 0x20 transaction safe, 0x40 noexcept (not listed in the fact)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:40:31.254Z" |
|---|
| summary | "Set byte order native: in-memory RTTI object of one process." |
|---|
| changed | |
|---|
|
|
|---|