From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:Go pclntab" |
|---|
| claim | "A Go pclntab written by Go 1.2 through 1.15 starts with the uint32 0xFFFFFFFB in target byte order (FB FF FF FF 00 00 on little-endian targets), followed by quantum, pointer size, a pointer-sized function count and immediately the function table of (absolute entry PC, offset) pairs; all offsets in this version are relative to the header." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Go pclntab" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "FB FF FF FF 00 00" |
|---|
| offset | "0" |
|---|
| meaning | "Go 1.2-1.15 pclntab header (Go12PCLnTabMagic)" |
|---|
| alternatives | |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Go12PCLnTabMagic PCLnTabMagic = 0xfffffffb // Initial PCLnTabMagic value used in Go 1.2 through Go 1.15." |
|---|
| repo | "https://github.com/golang/go" |
|---|
| commit | "dfc6f7db9bd75868ffb5cbc9501a2f4899122d2f" |
|---|
| path | "src/internal/abi/symtab.go" |
|---|
| lines | "15-16" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "The Go 1.15 table src/debug/gosym/testdata/pcln115.gz starts FB FF FF FF 00 00 01 08, nfunc 1025; gobin.py finds main.main at 0x105C280 with file /tmp/hello.go, the value the Go test Test115PclnParsing expects." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Go 1.2-1.15 magic FFFFFFFB" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T09:15:48.612Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T13:17:58.433Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read src/internal/abi/symtab.go lines 10-40 at dfc6f7d: Go12PCLnTabMagic 0xfffffffb 'Go 1.2 through Go 1.15' (the next one, 0xfffffffa, is Go 1.16-1.17). The pcln115 sample and header layout part were not re-checked." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T02:05:31.783Z" |
|---|
| summary | "Add big-endian target form" |
|---|
| changed | |
|---|
|
|
|---|