All 509 functions of 12340's Lua block (0x84D390-0x863580) carry an
OFFSET and are verified (static evidence; see re/notes/303_lua.md).
- Compiled as C++ with extern "C" API, setjmp/longjmp errors.
- Taint on GC objects and TValues, taint globals, taint event callback,
closure taint in the VM, gctag for new objects.
- Profiler: Profile per closure, luaD_precall_profile,
luaV_execute_profile; GC size/time accounting per tag.
- luaconf: COMPAT_VARARG/MOD/GFIND off, 4-byte max alignment,
MAX_SIZET 0x1000000; removed randomseed/print/dofile/loadfile/load,
no binary chunks.
- UTF-8 string.lower/upper, Blizzard string.format, BOM skip,
raw lua_setglobal, table.removemulti/wipe, externalabort.
- New: lbitlib.c, lmemPool.cpp/.h, FrameScript_InvalidPtrCheck
(Win32/Win64), lua CMake target.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port the remaining Base block A pieces: global/context init, the
command-line option table, UTF-8/16 conversion (sgetu8/sputu8), the
coordinate/aspect helpers and the context qsort. All functions verified
against the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>