From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Format:Go pclntab" |
|---|
| claim | "In amd64 (and other little-endian, 1-byte-quantum, 64-bit) Go binaries built by Go 1.20 or later, the byte pattern F1 FF FF FF 00 00 01 08 marks the start of the pclntab header, the data symbol runtime.pcheader. It occurs once in the binaries tested." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Go pclntab" |
|---|
| observed_in | | "Build:Mailpit/1.22.3 (Windows x64, GitHub release mailpit-windows-amd64.zip)" |
|
|---|
|
|---|
| data | | pattern | "F1 FF FF FF 00 00 01 08" |
|---|
| matches | "runtime.pcheader: start of a Go 1.20+ pclntab with quantum 1 and pointer size 8 (amd64); arm64 has F1 FF FF FF 00 00 04 08" |
|---|
| name | "runtime.pcheader" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "generatePCHeader writes CurrentPCLnTabMagic (0xfffffff1) at 0, MinLC at 6, PtrSize at 7 into symbol runtime.pcheader" |
|---|
| repo | "https://github.com/golang/go" |
|---|
| commit | "dfc6f7db9bd75868ffb5cbc9501a2f4899122d2f" |
|---|
| path | "src/cmd/link/internal/ld/pcln.go" |
|---|
| lines | "254-288" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "Exactly one match in mailpit.exe v1.22.3 (file offset 0xD9E560), in the linux/amd64 build (start of .gopclntab, 0xD87A40) and in a closed-source go1.25.5 windows/amd64 program." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "pcHeader signature (amd64, Go 1.20+)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T09:16:42.820Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:09.767Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read cmd/link/internal/ld/pcln.go at dfc6f7db lines 254-288: generatePCHeader writes uint32 CurrentPCLnTabMagic at 0 (0xfffffff1 stated in the claim, abi constant not re-read), MinLC at 6, PtrSize at 7; bytes 4-5 are zero padding; little-endian order gives F1 FF FF FF 00 00 01 08 for MinLC 1 and PtrSize 8." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-17T09:17:11.315Z" |
|---|
| summary | "Fix the matches text: the pattern is for quantum 1 and pointer size 8 (amd64), not arm64 (quantum 4)" |
|---|
| changed | |
|---|
|
|
|---|