From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Lua" |
|---|
| claim | "Lua 5.3 interpreters contain luaP_opmodes[47] (lopcodes.c), one byte per opcode (operand format and flag bits), identical in every release 5.3.0 to 5.3.6 (MSVC x64 builds of each tag compared). The 47 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 | | "Unity Hub editor 6000.4/6000.6 Tools/VersionControl/PerforcePlugin.exe (lua ident 'Lua 5.3.6')" |
| "Quickbms 4gb files.exe as bundled with Vortex (lua ident 'Lua 5.3.5')" |
|
|---|
|
|---|
| data | | pattern | "60 71 41 54 50 50 5C 6C 3C 10 3C 54 6C 7C 7C 7C 7C 7C 7C 7C 7C 7C 7C 7C 7C 60 60 60 60 68 22 BC BC BC 84 E4 54 54 10 62 62 04 62 14 51 50 17" |
|---|
| matches | "start of luaP_opmodes[] (const data, byte aligned) in Lua 5.3.x" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { opmode(...) ... } at tag v5.3.6" |
|---|
| repo | "https://github.com/lua/lua" |
|---|
| commit | "75ea9ccbea7c4886f30da147fb67b693b2624c26" |
|---|
| path | "lopcodes.c" |
|---|
| lines | "74-123" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "Found exactly once by luascan.py in MSVC 14.44 x64 /O2 builds of each tag v5.3.0-v5.3.6, and once in each binary in observed_in, whose lua_ident names the same minor version." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "luaP_opmodes (Lua 5.3.x)" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T07:02:25.891Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:17:36.555Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read lopcodes.c and lopcodes.h at 75ea9ccb (v5.3.6): evaluated the opmode macro for all 47 entries; equals the pattern byte for byte. Other 5.3 tags not read." |
|---|
|
|
|---|