From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Lua" |
|---|
| claim | "Lua 5.4 interpreters contain luaP_opmodes[83] (lopcodes.c), one byte per opcode (operand format and flag bits), identical in every release 5.4.0 to 5.4.9 (MSVC x64 builds of each tag compared). The 83 bytes are a compiler-independent signature that names the minor version even when lua_ident and other strings were removed." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Lua" |
|---|
| observed_in | |
|---|
|
|---|
| data | | pattern | "08 0A 0A 09 09 08 08 08 08 08 00 08 08 08 08 00 00 00 00 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 80 80 80 08 08 08 08 08 00 00 04 10 10 10 10 10 10 10 10 10 10 18 68 68 20 00 00 09 09 01 00 09 20 09 48 28 03" |
|---|
| matches | "start of luaP_opmodes[] (const data, byte aligned) in Lua 5.4.x" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { opmode(...) ... } at tag v5.4.8" |
|---|
| repo | "https://github.com/lua/lua" |
|---|
| commit | "6e22fedb74cf0c9b6656e9fce8b7331db847c605" |
|---|
| path | "lopcodes.c" |
|---|
| lines | "18-103" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "Found exactly once by luascan.py in MSVC 14.44 x64 /O2 builds of each tag v5.4.0-v5.4.9. No third-party 5.4 binary was available." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "luaP_opmodes (Lua 5.4.x)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T07:02:25.963Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:17:36.623Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read lopcodes.c at 6e22fedb (v5.4.8): opmode(mm,ot,it,t,a,m) = mm<<7|ot<<6|it<<5|t<<4|a<<3|m, modes iABC..isJ = 0..4; evaluated all 83 entries and compared with the 83-byte pattern: identical. The claim that 5.4.0-5.4.9 are identical was not re-checked (only v5.4.8 read)." |
|---|
|
|
|---|