From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:LuaJIT bytecode" |
|---|
| claim | "Type codes of the GC constants (kgc) of a prototype; strings use the code 5 plus the string length." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:LuaJIT bytecode" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "BCDUMP_KGC" |
|---|
| underlying_type | "uint32 (ULEB128)" |
|---|
| values | | name | "BCDUMP_KGC_CHILD" |
|---|
| value | 0 |
|---|
|
| name | "BCDUMP_KGC_TAB" |
|---|
| value | 1 |
|---|
|
| name | "BCDUMP_KGC_I64" |
|---|
| value | 2 |
|---|
|
| name | "BCDUMP_KGC_U64" |
|---|
| value | 3 |
|---|
|
| name | "BCDUMP_KGC_COMPLEX" |
|---|
| value | 4 |
|---|
|
| name | "BCDUMP_KGC_STR" |
|---|
| value | 5 |
|---|
|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "BCDUMP_KGC_* and BCDUMP_KTAB_* (nil 0, false 1, true 2, int 3, num 4, str 5 + len) enums" |
|---|
| repo | "https://github.com/LuaJIT/LuaJIT" |
|---|
| commit | "2a8e017ef1ece6a95b983ffca073d30609dce7c4" |
|---|
| path | "src/lj_bcdump.h" |
|---|
| lines | "52-62" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "GC constant type codes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T06:08:32.401Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:46:02.780Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read lj_bcdump.h at 2a8e017e: anonymous enum CHILD,TAB,I64,U64,COMPLEX,STR = 0..5; list complete." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T17:38:57.255Z" |
|---|
| summary | "Mark complete: lj_bcdump.h BCDUMP_KGC_ enum has exactly CHILD, TAB, I64, U64, COMPLEX, STR (6)" |
|---|
| changed | |
|---|
|
|
|---|