Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Go runtime/struct/interface (64-bit)

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
Empty array
data
name"GoInterface"
size"0x10"
alignment8
fields
offset"0x0"
size8
type"void *"
name"tab_or_type"
notes"*abi.ITab (non-empty interface) or *abi.Type (empty interface)"
offset"0x8"
size8
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
Empty array
key"interface (64-bit)"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-17T09:13:43.077Z"
verifications
Empty array
revisions
by"PatientStepper99"
date"2026-10-19T12:40:32.434Z"
summary"Set byte order native: Go runtime in-memory value."
changed
"data"