From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Go runtime" |
|---|
| claim | "The pattern FF 20 47 6F 20 62 75 69 6C 64 69 6E 66 3A ?? ?? ("\xff Go buildinf:", pointer size, flags) marks the Go build-info blob, the data symbol go:buildinfo, once per Go executable." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Go runtime" |
|---|
| observed_in | | "Build:Mailpit/1.22.3 (Windows x64, GitHub release mailpit-windows-amd64.zip)" |
|
|---|
|
|---|
| data | | pattern | "FF 20 47 6F 20 62 75 69 6C 64 69 6E 66 3A ?? ??" |
|---|
| matches | "go:buildinfo (32-byte build info header)" |
|---|
| name | "go:buildinfo" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "buildinfo(): s := ldr.CreateSymForUpdate("go:buildinfo", 0); const prefix = "\xff Go buildinf:"; data[len(prefix)] = PtrSize; data[len(prefix)+1] = flags" |
|---|
| repo | "https://github.com/golang/go" |
|---|
| commit | "dfc6f7db9bd75868ffb5cbc9501a2f4899122d2f" |
|---|
| path | "src/cmd/link/internal/ld/data.go" |
|---|
| lines | "2634-2672" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "One match each in both Mailpit v1.22.3 builds, a closed-source go1.25.5 program and the Go 1.17 test binary; in mailpit.exe at VA 0x16B1000, where the COFF symbol table puts go:buildinfo." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "go:buildinfo signature" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T09:16:42.912Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:09.844Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read cmd/link/internal/ld/data.go at dfc6f7db lines 2634-2672: prefix "\xff Go buildinf:" (14 bytes) followed by PtrSize byte and a flags byte (bit 1 big-endian, |2 new format): matches FF 20 47 6F 20 62 75 69 6C 64 69 6E 66 3A ?? ??; header is 32 bytes." |
|---|
|
|
|---|