lua_getinfo
function · lua · boundary
- Address
0x6fbc70· 171 bytes, up to0x6fbd1a- Meaning
- Fills a debug record with the fields its option letters ask for
- Confidence
- verified, proof one
- Finding
- ui/luastate#debugstack
Finding: debugstack in ui: the Lua state, its library and C functions
debugstack(start, head, tail) answers the call stack as text, one line per level, each ending in a
newline, with no header. start defaults to 1, the function that called debugstack; head to 12;
tail to 10. Each number is taken from the first argument while it is a number or numeric string,
truncated, and removed. When arguments remain and the first is a string or number, they are joined
in front of the text with no separator, and a later one that is neither raises in the join; when the
first is anything else, nothing is built and the last argument is returned. A start past the stack
answers the joined arguments alone, "" by default.
The derivation is in the doc.
Callers 5
- luaL_argerror lua
- luaL_where lua
- ScriptPushFunction ui
- ScriptDebugStack ui
- FrameScriptSerializeValue ui
Callees 5
- _strchr crt
- luaD_growstack lua
- info_tailcall lua
- auxgetinfo lua
- luaG_runerror lua
Calls and jumps by a bare address, from tables/calls.tsv.