Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Lua/signature/luaP opmodes (Lua 5.5.1)

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"signature"
subject"Library:Lua"
claim"Lua 5.5.1 contains luaP_opmodes[85] (lopcodes.c), one byte per opcode (operand format and flag bits); it differs from 5.5.0 only in byte 83 (OP_VARARGPREP, 0x00 instead of 0x28), so this pattern names the exact release."
scope
level"library"
applies_to"Library:Lua"
observed_in
Empty array
data
pattern"08 0B 0B 0A 0A 08 08 08 08 08 00 08 08 08 08 00 00 00 00 09 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 05 10 10 10 10 10 10 10 10 10 10 18 68 68 20 00 00 0A 0A 02 00 0A 21 0A 48 08 02 00 04"
matches"start of luaP_opmodes[] (const data, byte aligned) in Lua 5.5.1"
offset0
evidence
type"source"
detail"LUAI_DDEF const lu_byte luaP_opmodes[NUM_OPCODES] = { opmode(...) ... } at tag v5.5.1"
repo"https://github.com/lua/lua"
commit"7579fc9d7ed90240487251dfb69168f8e64e9294"
path"lopcodes.c"
lines"22-109"
type"byte_pattern"
detail"Found exactly once by luascan.py in an MSVC 14.44 x64 /O2 build of v5.5.1."
confidence"high"
related
Empty array
key"luaP_opmodes (Lua 5.5.1)"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-17T07:02:26.119Z"
verifications
operator"PatientStepper99"
date"2026-10-19T11:17:36.753Z"
result"confirmed"
method"Read lopcodes.c at 7579fc9d (v5.5.1): evaluated all 85 entries with the 5.5 enum; equals the pattern, differing from 5.5.0 only in the OP_VARARGPREP byte (0x00 vs 0x28)."