benilla-re systems structs docs

s_globalNameKind

global · unassigned

Address
0x864a48 · 7 bytes, up to 0x864a4e
Type
char[7]
Meaning
Holds global
Confidence
verified, proof two
Finding
ui/luastate#function-names-from-globals

Finding: Function names from globals in ui: the Lua state, its library and C functions

When the calling instruction does not name a function, lua_getinfo's n option scans the globals table's hash part from its last slot down (travglobals, as in stock Lua 5.0) and, at the first string key whose value is the function, answers that key with the kind global. So debugstack, error messages and the saved variables writer name a function by a global that holds it, the last such key in the hash part.

The derivation is in the doc.