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 buildinfo/magic/Build-info magic

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"magic"
subject"Format:Go buildinfo"
claim"The Go build-info blob starts with the 14 ASCII bytes \xff Go buildinf: at a 16-byte aligned offset; the header is 32 bytes."
scope
level"format"
applies_to"Format:Go buildinfo"
observed_in
Empty array
data
bytes"FF 20 47 6F 20 62 75 69 6C 64 69 6E 66 3A"
offset0
meaning"Go build-info header magic (buildInfoMagic); matched only at offsets divisible by 16 (buildInfoAlign); header size 32 (buildInfoHeaderSize)"
evidence
type"source"
detail"buildInfoMagic = []byte("\xff Go buildinf:"); buildInfoAlign = 16; buildInfoHeaderSize = 32"
repo"https://github.com/golang/go"
commit"dfc6f7db9bd75868ffb5cbc9501a2f4899122d2f"
path"src/debug/buildinfo/buildinfo.go"
lines"55-63"
confidence"high"
related
Empty array
key"Build-info magic"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T06:07:45.332Z"
verifications
operator"PatientStepper99"
date"2026-10-19T08:59:09.365Z"
result"confirmed"
method"Read buildinfo.go: buildInfoMagic = []byte("\xff Go buildinf:") (14 bytes); searchMagic finds it and skips matches that are not 16-byte aligned."