luaV_execute
function · lua · boundary
- Address
0x6f8720· 4432 bytes, up to0x6f986f- Meaning
- Runs Lua bytecode, dispatching 35 opcodes through 0x6f9870
- Confidence
- verified, proof two
- Finding
- ui/luastate#lua-50-behaviour-kept
Finding: Lua 5.0 behaviour kept in ui: the Lua state, its library and C functions
The client keeps Lua 5.0 where Lua 5.1 differs. for k, v in t do with a table t is the
TFORPREP opcode: it copies the table into the state slot and replaces the generator with a raw
lookup of the global next, once on entry, so a script that overwrites next changes such loops.
next walks the array part by index and then the node vector by slot, skipping nil values. Only
tables and full userdata have metatables: a string has none, so s:upper() is an error.
The derivation is in the doc.
Callers 2
Callees 26
- luaD_callhook lua
- luaD_precall lua
- luaD_poscall lua
- luaD_call lua
- luaC_collectgarbage lua
- luaV_tonumber lua
- luaV_index lua
- luaV_getnotable lua
- luaV_settable lua
- luaV_lessthan lua
- luaV_equalval lua
- luaV_concat lua
- call_binTM lua
- traceexec lua
- luaV_lessequal lua
- Arith lua
- luaS_newlstr lua
- luaF_newLclosure lua
- luaF_findupval lua
- luaF_close lua
- luaH_new lua
- luaH_getstr lua
- luaH_get lua
- luaH_setnum lua
- luaG_aritherror lua
- luaG_runerror lua
Calls and jumps by a bare address, from tables/calls.tsv.