From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Library:Go runtime" |
|---|
| claim | "In Go 1.24 the funcID byte of a pclntab _func record marks special runtime functions with these values; the list changes between releases (at the 2026 master runfinq is gone, runFinalizers and runCleanups were added and runtime_main became 17), so match by name, not number." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Go runtime" |
|---|
| observed_in | | "Build:Mailpit/1.22.3 (Windows x64, GitHub release mailpit-windows-amd64.zip)" |
|
|---|
|
|---|
| data | | name | "abi_FuncID_go1_24" |
|---|
| underlying_type | "uint8" |
|---|
| values | | FuncIDNormal | 0 |
|---|
| FuncID_abort | 1 |
|---|
| FuncID_asmcgocall | 2 |
|---|
| FuncID_asyncPreempt | 3 |
|---|
| FuncID_cgocallback | 4 |
|---|
| FuncID_corostart | 5 |
|---|
| FuncID_debugCallV2 | 6 |
|---|
| FuncID_gcBgMarkWorker | 7 |
|---|
| FuncID_goexit | 8 |
|---|
| FuncID_gogo | 9 |
|---|
| FuncID_gopanic | 10 |
|---|
| FuncID_handleAsyncEvent | 11 |
|---|
| FuncID_mcall | 12 |
|---|
| FuncID_morestack | 13 |
|---|
| FuncID_mstart | 14 |
|---|
| FuncID_panicwrap | 15 |
|---|
| FuncID_rt0_go | 16 |
|---|
| FuncID_runfinq | 17 |
|---|
| FuncID_runtime_main | 18 |
|---|
| FuncID_sigpanic | 19 |
|---|
| FuncID_systemstack | 20 |
|---|
| FuncID_systemstack_switch | 21 |
|---|
| FuncIDWrapper | 22 |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "const ( FuncIDNormal FuncID = iota; FuncID_abort; ... FuncID_runfinq; FuncID_runtime_main; FuncID_sigpanic; FuncID_systemstack; FuncID_systemstack_switch; FuncIDWrapper )" |
|---|
| repo | "https://github.com/golang/go" |
|---|
| commit | "3901409b5d0fb7c85a3e6730a59943cc93b2835c" |
|---|
| path | "src/internal/abi/symtab.go" |
|---|
| lines | "42-64" |
|---|
|
| type | "comparison" |
|---|
| detail | "master dfc6f7d src/internal/abi/symtab.go lines 72-95: ... FuncID_rt0_go, FuncID_runtime_main (17), FuncID_runFinalizers, FuncID_runCleanups, FuncID_sigpanic ..." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "Mailpit v1.22.3 (go1.24.0) linux/amd64: runtime.main has funcID 18, runtime.goexit 8, main.main 0." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "FuncID (Go 1.24)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T09:13:43.144Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:49:21.486Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read src/internal/abi/symtab.go at the cited commit: iota order FuncIDNormal 0 ... FuncID_rt0_go 16, runfinq 17, runtime_main 18, sigpanic 19, systemstack 20, systemstack_switch 21, FuncIDWrapper 22 matches all 23 values; the wiki's caveat about version drift is appropriate." |
|---|
|
|
|---|