From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Library:Go runtime" |
|---|
| claim | "A Go interface value is two words. For the empty interface (interface{}/any, abi.EmptyInterface, runtime.eface) the first word is the *abi.Type of the dynamic type; for any interface with methods (abi.NonEmptyInterface, runtime.iface) it is an *abi.ITab. The second word is the data pointer (or the value itself for pointer-shaped types)." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Go runtime" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "GoInterface" |
|---|
| size | "0x10" |
|---|
| alignment | 8 |
|---|
| fields | | offset | "0x0" |
|---|
| size | 8 |
|---|
| type | "void *" |
|---|
| name | "tab_or_type" |
|---|
| notes | "*abi.ITab (non-empty interface) or *abi.Type (empty interface)" |
|---|
|
| offset | "0x8" |
|---|
| size | 8 |
|---|
| type | "void *" |
|---|
| name | "data" |
|---|
|
|
|---|
| endianness | "native" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "type EmptyInterface struct { Type *Type; Data unsafe.Pointer }; type NonEmptyInterface struct { ITab *ITab; Data unsafe.Pointer }" |
|---|
| repo | "https://github.com/golang/go" |
|---|
| commit | "dfc6f7db9bd75868ffb5cbc9501a2f4899122d2f" |
|---|
| path | "src/internal/abi/iface.go" |
|---|
| lines | "36-45" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "interface (64-bit)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T09:13:43.077Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:40:32.434Z" |
|---|
| summary | "Set byte order native: Go runtime in-memory value." |
|---|
| changed | |
|---|
|
|
|---|