benilla-re systems structs docs

lua

rowsnamedverifiedproof twotested
functions538527 (97%)525 (97%)154 (28%)12 (2%)
globals1515 (100%)13 (86%)4 (26%)–
structs11 (100%)0 (0%)0 (0%)–
fields0––––
all554543 (98%)538 (97%)158 (28%)12 (2%)

Docs

lua: the C API

The embedded Lua 5.0 core's public functions, lapi.c of the upstream source, laid out in the exe between 0x6f2ec0 and 0x6f47b0. Each is a __fastcall: the state L is in ecx and the first argument in edx, the rest on the stack. A Lua value is 16 bytes: a type tag (0 nil, 1 boolean, 2 light userdata, 3 number, 4 string, 5 table, 6 function, 7 userdata, 8 thread), the client's context word at +4 and the payload at +8. The state keeps the stack top in [L+8], its base in [L+0xc], the global state in [L+0x10], the current call record in [L+0x14], the last usable slot in [L+0x18] and the stack in [L+0x1c]. The function bodies match upstream Lua 5.0 (lua_version answers Lua 5.0) except where the entry says so; the names are upstream's. luastate in ui holds the functions the client changed.

lua: the auxiliary library

The auxiliary library of the embedded Lua 5.0, lauxlib.c of the upstream source, from 0x6f4810 to 0x6f57f0. The client's C functions check their arguments, build strings and keep references through it. It has the upstream 5.0 shape: error text with a backquote and an apostrophe (bad argument #%d to `%s' (%s)), a string buffer that holds 512 bytes in the caller's frame, and the file loader and the lua_do* family, which no live code reaches. Each function is a __fastcall with the state in ecx and the first argument in edx, as in api. The names are upstream's.

lua: precompiled chunks

The writer and reader of precompiled chunks of the embedded Lua 5.0, ldump.c and lundump.c of the upstream source, and the code checker of ldebug.c they use. ldump.c lies from 0x6fb600 through DumpHeader (0x6fb940), before the debug interface, and lundump.c from 0x6fec00 to 0x6ff3f0, between the parser and the lexer (compiler); the code checker is from 0x6fc000 to 0x6fc430. The loaders pass the path of lundump.c and the lines of the 5.0 source to luaM_irealloc. A load state holds the Lua state, the stream, the buffer, a byte-swap flag (+0xc) and the chunk's name (+0x10); a dump state the Lua state, the writer and its data. No chunk the client loads reaches the reader (ui/luastate, How a chunk reaches the compiler), so the checker runs only for getobjname. The names are upstream's.

lua: the code generator

The code generator of the embedded Lua 5.0, lcode.c of the upstream source, from 0x700790 to 0x701910, called by the parser in compiler. An instruction is 32 bits: the opcode in bits 0 to 5, C in 6 to 14, B in 15 to 23, A in 24 to 31, or Bx in 6 to 23 with sBx = Bx minus 0x1ffff. The 35 opcodes are 5.0's, from OP_MOVE 0 to OP_CLOSURE 34, and luaP_opmodes (0x811de4) holds 5.0's mode byte for each. An operand from 250 up names constant 250 less, and register 255 is no register. The function state's fields are those compiler lists: the pc at +0x18, the last jump target at +0x1c, the jumps pending to the next instruction at +0x20, the first free register at +0x24 and the constant count at +0x28. The bodies are the text of the 5.0 to 5.0.2 releases, which 5.0.3 changed, with one client change: constants carry the execution-context word. The names are upstream's.

lua: the compiler

The parser and lexer of the embedded Lua 5.0, lparser.c and llex.c of the upstream source, from 0x6fc9b0 to 0x7002a0. The code generator, lcode.c, follows them and is in codegen; the loader of precompiled chunks sits between the two files and is in chunks. close_func passes the path of lparser.c and the lines of the 5.0 source. The lexer state holds the current character (+0), the line (+4), the line of the last token (+8), the token (+0x10, its value at +0x18), the lookahead token (+0x20), the function state (+0x30), the Lua state (+0x34), the stream (+0x38), the buffer (+0x3c), the chunk name (+0x40) and the nesting level (+0x44). A function state is 0x5d8 bytes: the prototype, the constant table, the parent, the pc (+0x18), the last jump target (+0x1c), the pending jumps (+0x20), the first free register (+0x24), four counts (+0x28 to +0x34), 32 upvalue descriptors of 20 bytes (+0x38) and 200 active-local indices (+0x2b8). Tokens are 5.0's: 257 to 277 the reserved words, 278 a name, 287 the end. The names are upstream's, and the bodies are the 5.0 release's text.

lua: marking

The marking half of the collector, lgc.c of the upstream source, which the client keeps as Lua 5.0 has it but for the context word a nil it writes takes. mark (0x6f73e0) marks from the roots, propagates through a gray list, clears the weak tables, separates the userdata to finalize, marks them and propagates again, and clears the weak tables a second time. Its state is a GCState on the stack: the gray list at +0, the tables with weak keys at +4, weak values at +8, both at +0xc, and the global state at +0x10. An object's mark byte is at +5: bit 0 marked, bit 4 fixed, and in a table bit 1 weak keys and bit 2 weak values. A table holds its flags at +6, its node count's log at +7, its metatable at +8, its array at +0xc, its nodes (40 bytes: key, value, next) at +0x10, its gray link at +0x18 and its array size at +0x1c. The names are upstream's.

lua: the libraries

The C functions of the libraries luaopen_math, luaopen_table, luaopen_string and luaopen_bit register (ui/luastate), laid out between 0x7faa50 and 0x7fd6d0. The math, table and string libraries are the Lua 5.0 ones, lmathlib.c, ltablib.c and lstrlib.c, except string.format, which is Lua 4.0's; the bit library is the client's own. A C function takes the state in ecx and answers its result count in eax. The registration tables pair a name with each function: bitlib (0x822c18), mathlib (0x822c60), tab_funcs (0x822d40) and strlib (0x822d88). The names are upstream's, except the bit library's, which follow the same <library>_<name> rule, and the client's own helpers, which are named for what they do. The client's string.lower and string.upper work on UTF-8.

lua: objects and tables

The value types of the embedded Lua 5.0 core, from lobject.c, lstring.c, lfunc.c and ltable.c of the upstream source, between 0x6f5810 and 0x6fad80. The allocating functions pass the path of their own file (lstring.c, lfunc.c, ltable.c) and a line to the allocator luaM_irealloc (0x6fc980), which fixes which upstream file each belongs to. Objects start with a link, a type tag at +4 and the collector's mark byte at +5; a string is +8 hash, +0xc length and the bytes from +0x10; a table has its metatable at +8, array at +0xc, node vector at +0x10, a log2 node count at +7 and an array size at +0x1c, with 40-byte nodes (key, value, next). The line numbers the allocating functions pass are those of the Lua 5.0 source for lstring.c and lfunc.c and, in ltable.c, for the two vector allocators (5.0.1 and 5.0.2 have the same lines, so they do not tell the releases apart). The names are upstream's.

lua: block pools

The client's own allocator under its Lua state, lmemPool.cpp, which luaM_irealloc is the one caller of. Six pools serve the blocks of up to 256 bytes, sized 16, 32, 64, 96, 128 and 256 (the table 0x811d34); larger blocks, and every block of a call with no state, go to Storm's heap. The global state holds the six pool pointers in an array at +0, made on the first call. A pool is 0x18 bytes: a growable array of chunk pointers (its capacity at +0, count +4, data +8), the bytes of a chunk at +0xc, the block size at +0x10 and the blocks a chunk holds at +0x14. A chunk is 0x14 bytes: the base of its memory at +0, the head of its free list at +4, its bytes at +8, the block size at +0xc and its free count at +0x10. A free block holds the next free block in its first dword.

lua: calls, states and the collector

The run-time core of the embedded Lua 5.0, from ldo.c, lstate.c, lgc.c, lvm.c and ldebug.c of the upstream source, between 0x6f5e20 and 0x6fc8a0. The functions that allocate pass the path of their own file to luaM_irealloc, which fixes which file they belong to. The state keeps the call records in a vector of 24-byte entries ([L+0x28] the first, [L+0x14] the current, [L+0x24] the end): base, top, a flag word (1 C function, 2 has a frame, 4 calling, 8 saved pc valid, 0x10 suspended), the saved pc, the address of the running pc and a tail-call count. The global state at [L+0x10] holds the string table at +4, the collector lists (+0x14 userdata, +0x18 to finalize), the registry (+0x30), the default metatable (+0x40), the threshold (+0x24) and the block count (+0x28). The names are upstream's.

Closure

212 roots. A walk of direct calls and jumps from them reaches 470 of the 538 functions the system owns, and stops at 26 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.

Roots

Boundary

Rows, in pages of at most 500 of each kind: 1 2

Functions 538

addressnameclassconfidencetestclosure
0x6f2ec0luaA_pushobjectunreachedverified, proof one✓
0x6f2f30lua_checkstackboundaryverified, proof two✓
0x6f2f80lua_xmoveunreachedverified, proof two
0x6f3020lua_atpanicunreachedverified, proof two
0x6f3030lua_newthreadunreachedverified, proof one
0x6f3070lua_gettopboundaryverified, proof two✓
0x6f3080lua_settopboundaryverified, proof two✓
0x6f30d0lua_removeboundaryverified, proof two✓
0x6f31a0lua_insertboundaryverified, proof two✓
0x6f32b0lua_replaceboundaryverified, proof two✓
0x6f3350lua_pushvalueboundaryverified, proof two✓
0x6f3400lua_typeboundaryverified, proof two✓
0x6f3410luaA_indexAcceptableboundaryverified, proof two✓
0x6f3480lua_typenameboundaryverified, proof two✓
0x6f34a0lua_iscfunctionunreachedverified, proof two
0x6f34d0lua_isnumberboundaryverified, proof two✓
0x6f3510lua_isstringboundaryverified, proof two✓
0x6f3530lua_isuserdataunreachedverified, proof two
0x6f3550lua_rawequalboundaryverified, proof two✓
0x6f3590lua_equalunreachedverified, proof two
0x6f35e0lua_lessthanboundaryverified, proof two✓
0x6f3620lua_tonumberboundaryverified, proof two✓
0x6f3660lua_tobooleanboundaryverified, proof two✓
0x6f3690lua_tostringboundaryverified, proof two✓
0x6f36e0lua_strlenboundaryverified, proof two✓
0x6f3720lua_tocfunctionunreachedverified, proof two
0x6f3740lua_touserdataboundaryverified, proof two✓
0x6f3770lua_tothreadboundaryverified, proof two✓
0x6f3790lua_topointerboundaryverified, proof two✓
0x6f37f0lua_pushnilboundaryverified, proof one✓
0x6f3810lua_pushnumberboundaryverified, proof two✓
0x6f3840lua_pushlstringboundaryverified, proof two✓
0x6f3890lua_pushstringboundaryverified, proof two✓
0x6f38c0lua_pushvfstringboundaryverified, proof two✓
0x6f38f0lua_pushfstringboundaryverified, proof two✓
0x6f3920lua_pushcclosureboundaryverified, proof two✓
0x6f39f0lua_pushbooleanboundaryverified, proof one
0x6f3a20lua_pushlightuserdataboundaryverified, proof one
0x6f3a40lua_gettableboundaryverified, proof two✓
0x6f3b00lua_rawgetboundaryverified, proof two✓
0x6f3bc0lua_rawgetiboundaryverified, proof two✓
0x6f3c90lua_newtableboundaryverified, proof two✓
0x6f3ce00x6f3ce0unreachedinferred
0x6f3cf0lua_getmetatableboundaryverified, proof two✓
0x6f3d50lua_getfenvboundaryverified, proof one✓
0x6f3e20lua_settableboundaryverified, proof two✓
0x6f3ea0lua_rawsetboundaryverified, proof two✓
0x6f3f60lua_rawsetiboundaryverified, proof two✓
0x6f4020lua_setmetatableboundaryverified, proof two✓
0x6f40d0lua_setfenvboundaryverified, proof one✓
0x6f4180lua_callboundaryverified, proof two✓
0x6f41a0lua_pcallboundaryverified, proof two✓
0x6f4250f_callboundaryverified, proof two
0x6f4260lua_cpcallunreachedverified, proof one
0x6f4290f_Ccallunreachedverified, proof one
0x6f4320lua_loadboundaryverified, proof two
0x6f4370lua_dumpboundaryverified, proof two✓
0x6f43c0lua_enablegcboundaryverified, proof two
0x6f43d0lua_disablegcboundaryverified, proof two
0x6f43e0lua_getgcthresholdboundaryverified, proof two✓
0x6f43f0lua_getgccountboundaryverified, proof two✓
0x6f4400lua_setgcthresholdboundaryverified, proof two
0x6f4430lua_versionunreachedverified, proof two
0x6f4440lua_errorboundaryverified, proof two✓
0x6f4450lua_nextboundaryverified, proof two✓
0x6f44e0lua_concatboundaryverified, proof two✓
0x6f4560lua_newuserdataunreachedverified, proof two
0x6f45b0lua_pushupvaluesunreachedverified, proof two
0x6f4660lua_getupvalueunreachedverified, proof two
0x6f46e0aux_upvalueunreachedverified, proof two
0x6f47b0lua_setupvalueunreachedverified, proof two
0x6f4810luaL_argerrorboundaryverified, proof one✓
0x6f48a0luaL_typerrorboundaryverified, proof one✓
0x6f48e0luaL_whereboundaryverified, proof one✓
0x6f4940luaL_errorboundaryverified, proof two✓
0x6f4980luaL_findstringunreachedverified, proof one
0x6f49e0luaL_newmetatableunreachedverified, proof one
0x6f4a70luaL_getmetatableunreachedverified, proof one
0x6f4a90luaL_checkudataunreachedverified, proof one
0x6f4b20luaL_checkstackboundaryverified, proof one✓
0x6f4b50luaL_checktypeboundaryverified, proof one✓
0x6f4b80tag_errorboundaryverified, proof one✓
0x6f4bb0luaL_checkanyboundaryverified, proof one✓
0x6f4be0luaL_checklstringboundaryverified, proof one✓
0x6f4c20luaL_optlstringboundaryverified, proof one✓
0x6f4c80luaL_checknumberboundaryverified, proof one✓
0x6f4cd0luaL_optnumberboundaryverified, proof one✓
0x6f4d00luaL_getmetafieldboundaryverified, proof one✓
0x6f4d60luaL_callmetaboundaryverified, proof one✓
0x6f4dc0luaL_openlibboundaryverified, proof one
0x6f4ea0luaL_setnboundaryverified, proof one✓
0x6f4f80checkintboundaryverified, proof one✓
0x6f4fc0getsizesboundaryverified, proof one✓
0x6f5050luaL_getnboundaryverified, proof one✓
0x6f5120luaL_prepbufferboundaryverified, proof one✓
0x6f5140emptybufferboundaryverified, proof one✓
0x6f5170adjuststackboundaryverified, proof one✓
0x6f51f0luaL_addlstringboundaryverified, proof one✓
0x6f5230luaL_addstringunreachedverified, proof one
0x6f5250luaL_pushresultboundaryverified, proof one✓
0x6f5270luaL_addvalueboundaryverified, proof one✓
0x6f5300luaL_buffinitboundaryverified, proof one✓
0x6f5310luaL_refboundaryverified, proof one✓
0x6f5400luaL_unrefboundaryverified, proof one✓
0x6f5490luaL_loadfileunreachedverified, proof one
0x6f5610getFunreachedverified, proof one
0x6f5650errfileunreachedverified, proof one
0x6f5690luaL_loadbufferprimitiveverified, proof two
0x6f56e0getSboundaryverified, proof one
0x6f5700lua_dofileunreachedverified, proof one
0x6f5720aux_dounreachedverified, proof one
0x6f5750callalertunreachedverified, proof one
0x6f57c0lua_dobufferunreachedverified, proof one
0x6f57f0lua_dostringunreachedverified, proof one
0x6f5810luaO_int2fbprimitiveverified, proof two✓✓
0x6f5830luaO_log2primitiveverified, proof two✓
0x6f58b0luaO_rawequalObjprimitiveverified, proof two✓
0x6f5900luaO_str2dprimitiveverified, proof two✓
0x6f5990luaO_pushvfstringboundaryverified, proof one✓
0x6f5bc0pushstrboundaryverified, proof two✓
0x6f5c20luaO_pushfstringboundaryverified, proof two✓
0x6f5c40luaO_chunkidprimitiveverified, proof two✓
0x6f5d80luaD_throwboundaryverified, proof two✓
0x6f5db0luaD_rawrunprotectedboundaryverified, proof two✓
0x6f5e20luaD_reallocstackboundaryverified, proof two✓
0x6f5e70correctstackboundaryverified, proof one✓
0x6f5ef0luaD_reallocCIboundaryverified, proof one✓
0x6f5f60luaD_growstackboundaryverified, proof two✓
0x6f5f80luaD_callhookboundaryverified, proof two✓
0x6f6050luaD_precallboundaryverified, proof two✓
0x6f61c0luaD_growCIboundaryverified, proof two✓
0x6f6200adjust_varargsboundaryverified, proof one✓
0x6f6370tryfuncTMboundaryverified, proof one✓
0x6f6470luaD_poscallboundaryverified, proof one✓
0x6f6540callrethooksboundaryverified, proof one✓
0x6f65a0luaD_callboundaryverified, proof one✓
0x6f6620lua_resumeunreachedverified, proof one
0x6f6680seterrorobjboundaryverified, proof two✓
0x6f6760restore_stack_limitboundaryverified, proof one✓
0x6f67b0resumeunreachedverified, proof one
0x6f6860lua_yieldunreachedverified, proof two
0x6f6960luaD_pcallboundaryverified, proof two✓
0x6f6a00luaD_protectedparserprimitiveverified, proof two
0x6f6a80f_parserboundaryverified, proof one
0x6f6b10luaE_newthreadunreachedverified, proof one✓
0x6f6b80mallocstateboundaryverified, proof two✓
0x6f6ba0stack_initboundaryverified, proof two✓
0x6f6c40preinit_stateboundaryverified, proof one✓
0x6f6c90luaE_freethreadboundaryverified, proof one✓
0x6f6cc0freestateboundaryverified, proof two✓
0x6f6ce0freestackboundaryverified, proof two✓
0x6f6d20lua_openboundaryverified, proof two
0x6f6d70f_luaopenboundaryverified, proof two
0x6f6ee0default_panicboundaryverified, proof two
0x6f6ef0close_stateboundaryverified, proof one✓
0x6f6f80lua_closeboundaryverified, proof two
0x6f6fe0callallgcTMboundaryverified, proof one
0x6f6ff0luaC_separateudataboundaryinferred✓
0x6f7080luaC_callGCTMboundaryverified, proof one✓
0x6f7120do1gcTMboundaryverified, proof one✓
0x6f71d0luaC_sweepboundaryverified, proof one✓
0x6f7210sweeplistboundaryverified, proof one✓
0x6f7260freeobjboundaryverified, proof two✓
0x6f72f0sweepstringsboundaryverified, proof one✓
0x6f7340luaC_collectgarbageprimitiveverified, proof two✓
0x6f7370checkSizesboundaryverified, proof one✓
0x6f73e0markorchestrationverified, proof one✓
0x6f74700x6f7470boundaryinferred✓
0x6f74a00x6f74a0boundaryinferred✓
0x6f75100x6f7510boundaryinferred✓
0x6f7590traversetableprimitiveverified, proof one✓✓
0x6f77100x6f7710boundaryinferred✓
0x6f77b00x6f77b0boundaryinferred✓
0x6f7860traversestackorchestrationverified, proof one✓
0x6f7900checkstacksizesprimitiveverified, proof one✓✓
0x6f7970cleartablekeysprimitiveverified, proof one✓✓
0x6f79d0removekeyorchestrationverified, proof one✓✓
0x6f79f0valismarkedprimitiveverified, proof one✓✓
0x6f7a200x6f7a20boundaryinferred✓
0x6f7ab00x6f7ab0boundaryinferred✓
0x6f7b20luaC_linkboundaryverified, proof two✓
0x6f7b40luaT_initboundaryverified, proof one
0x6f7ba0luaT_gettmboundaryverified, proof one✓
0x6f7bd0luaT_gettmbyobjboundaryverified, proof two✓
0x6f7c20luaV_tonumberboundaryverified, proof two✓
0x6f7c80luaV_tostringboundaryverified, proof two✓
0x6f7cf0luaV_gettableboundaryverified, proof one✓
0x6f7d60luaV_indexboundaryverified, proof one✓
0x6f7dd0callTMresboundaryverified, proof one✓
0x6f7ee0luaV_getnotableboundaryverified, proof one✓
0x6f7f40luaV_settableboundaryverified, proof one✓
0x6f8040callTMboundaryverified, proof one✓
0x6f8190luaV_lessthanboundaryverified, proof one✓
0x6f8210call_orderTMboundaryverified, proof two✓
0x6f82a0luaV_strcmpboundaryverified, proof one✓
0x6f8330luaV_equalvalboundaryverified, proof one✓
0x6f8440get_compTMboundaryverified, proof one✓
0x6f84d0luaV_concatboundaryverified, proof one✓
0x6f8670call_binTMboundaryverified, proof one✓
0x6f8720luaV_executeboundaryverified, proof two✓
0x6f9900traceexecboundaryverified, proof one✓
0x6f99e0luaV_lessequalboundaryverified, proof two✓
0x6f9a80Arithboundaryverified, proof two✓
0x6f9c30luaS_freeallboundaryverified, proof two✓
0x6f9c50luaS_resizeboundaryverified, proof one✓
0x6f9d00luaS_newlstrprimitiveverified, proof two✓
0x6f9d90newlstrboundaryverified, proof two✓
0x6f9e30luaS_newudataunreachedverified, proof two✓
0x6f9e70luaF_newCclosureboundaryverified, proof two✓
0x6f9eb0luaF_newLclosureboundaryverified, proof two✓
0x6f9f10luaF_findupvalboundaryverified, proof two✓
0x6f9f60luaF_closeboundaryverified, proof two✓
0x6f9fe0luaF_newprotoboundaryverified, proof one✓
0x6fa050luaF_freeprotoboundaryverified, proof one✓
0x6fa110luaF_freeclosureboundaryverified, proof one✓
0x6fa150luaF_getlocalnameboundaryverified, proof two✓
0x6fa1a0luaH_mainpositionboundaryverified, proof two✓
0x6fa260hashnumprimitiveverified, proof two✓
0x6fa2a0luaH_nextboundaryverified, proof two✓
0x6fa420luaH_indexboundaryverified, proof two✓
0x6fa4a0arrayindexprimitiveverified, proof two✓
0x6fa4f0luaH_newboundaryverified, proof two✓
0x6fa560setarrayvectorboundaryverified, proof one✓
0x6fa5d0setnodevectorboundaryverified, proof two✓
0x6fa690luaH_freeboundaryverified, proof two✓
0x6fa700luaH_getnumboundaryverified, proof two✓
0x6fa760luaH_getstrboundaryverified, proof one✓
0x6fa7a0luaH_getboundaryverified, proof two✓
0x6fa800luaH_getanyboundaryverified, proof one✓
0x6fa840luaH_setboundaryverified, proof two✓
0x6fa8a0newkeyboundaryverified, proof one✓
0x6fa9c0rehashboundaryverified, proof two✓
0x6faa00numuseboundaryverified, proof one✓
0x6fab00computesizesprimitiveverified, proof two✓✓
0x6fab90resizeboundaryverified, proof two✓
0x6fad80luaH_setnumboundaryverified, proof two✓
0x6fadd00x6fadd0boundaryinferred
0x6fade00x6fade0boundaryinferred
0x6fadf00x6fadf0unreachedinferred
0x6fae00SetGcThresholdprimitiveverified, proof one✓✓
0x6fae90luaM_reallocPoolprimitiveverified, proof one✓✓
0x6fb1e0PoolChunkArrayInitorchestrationverified, proof one✓✓
0x6fb1f0PoolAllocBlockprimitiveverified, proof one✓✓
0x6fb2f0FreeBlockPoolshostverified, proof one✓
0x6fb350PoolFreeChunkshostverified, proof one✓
0x6fb3b0PoolResizeChunkArrayhostverified, proof one✓✓
0x6fb440PoolChunkArrayFreehostverified, proof one✓
0x6fb480luaZ_fillboundaryverified, proof two✓
0x6fb4c0luaZ_lookaheadboundaryverified, proof one✓
0x6fb4f0luaZ_initboundaryverified, proof two✓
0x6fb520luaZ_readboundaryverified, proof two✓
0x6fb5c0luaZ_openspaceboundaryverified, proof two✓
0x6fb600luaU_dumpboundaryverified, proof one✓
0x6fb640DumpFunctionboundaryverified, proof one✓
0x6fb6d0DumpByteboundaryverified, proof one✓
0x6fb6f0DumpBlockboundaryverified, proof one✓
0x6fb710DumpIntboundaryverified, proof one✓
0x6fb730DumpStringboundaryverified, proof one✓
0x6fb770DumpSizeboundaryverified, proof one✓
0x6fb790DumpCodeboundaryverified, proof one✓
0x6fb7b0DumpLocalsboundaryverified, proof one✓
0x6fb810DumpLinesboundaryverified, proof one✓
0x6fb830DumpUpvaluesboundaryverified, proof one✓
0x6fb870DumpConstantsboundaryverified, proof one✓
0x6fb920DumpNumberboundaryverified, proof one✓
0x6fb940DumpHeaderboundaryverified, proof one✓
0x6fb9e0luaG_inithooksboundaryverified, proof two✓
0x6fba10currentpcboundaryverified, proof two✓
0x6fba40lua_sethookunreachedverified, proof two
0x6fba70lua_gethookunreachedverified, proof two
0x6fba80lua_gethookmaskunreachedverified, proof two
0x6fba90lua_gethookcountunreachedverified, proof two
0x6fbaa0lua_getstackboundaryverified, proof one✓
0x6fbb20lua_getlocalunreachedverified, proof one
0x6fbb90getluaprotoboundaryverified, proof one✓
0x6fbbb0lua_setlocalunreachedverified, proof two
0x6fbc70lua_getinfoboundaryverified, proof one✓
0x6fbd20info_tailcallboundaryverified, proof two✓
0x6fbd70auxgetinfoprimitiveverified, proof two✓
0x6fbef0currentlineboundaryverified, proof one✓
0x6fbf20funcinfoboundaryverified, proof one✓
0x6fbf90travglobalsprimitiveverified, proof two✓
0x6fc000luaG_checkcodeboundaryverified, proof one✓
0x6fc010luaG_symbexecboundaryverified, proof one✓
0x6fc3d0precheckboundaryverified, proof one✓
0x6fc400checkopenopboundaryverified, proof one✓
0x6fc430checkRKboundaryverified, proof one✓
0x6fc460getfuncnameboundaryverified, proof one✓
0x6fc4c0getobjnameboundaryverified, proof two✓
0x6fc5f0knameboundaryverified, proof two✓
0x6fc620luaG_typeerrorboundaryverified, proof two✓
0x6fc6a0isinstackboundaryverified, proof two✓
0x6fc6d0luaG_concaterrorboundaryverified, proof one✓
0x6fc6f0luaG_aritherrorboundaryverified, proof one✓
0x6fc730luaG_ordererrorboundaryverified, proof two✓
0x6fc780luaG_errormsgboundaryverified, proof two✓
0x6fc870luaG_runerrorboundaryverified, proof two✓
0x6fc8a0addinfoboundaryverified, proof one✓
0x6fc900luaM_growauxboundaryverified, proof two✓
0x6fc980luaM_ireallocboundaryverified, proof two✓
0x6fc9b0luaY_parserboundaryverified, proof two✓
0x6fca40nextboundaryverified, proof one✓
0x6fca90open_funcboundaryverified, proof one✓
0x6fcb00close_funcboundaryverified, proof one✓
0x6fcc50removevarsboundaryverified, proof one✓
0x6fcc90chunkboundaryverified, proof one✓
0x6fccf0testnextboundaryverified, proof one✓
0x6fcd10block_followboundaryverified, proof one✓
0x6fcd60statementboundaryverified, proof one✓
0x6fce90check_matchboundaryverified, proof one✓
0x6fcef0error_expectedboundaryverified, proof one✓
0x6fcf20blockboundaryverified, proof one✓
0x6fcf50enterblockboundaryverified, proof one✓
0x6fcf80leaveblockboundaryverified, proof one✓
0x6fcfd0whilestatboundaryverified, proof one✓
0x6fd140checkboundaryverified, proof one✓
0x6fd160exprboundaryverified, proof one✓
0x6fd170subexprboundaryverified, proof one✓
0x6fd240simpleexpboundaryverified, proof one✓
0x6fd3e0init_expboundaryverified, proof one✓
0x6fd400codestringboundaryverified, proof one✓
0x6fd430constructorboundaryverified, proof one✓
0x6fd580lookaheadboundaryverified, proof one✓
0x6fd590recfieldboundaryverified, proof one✓
0x6fd640checknameboundaryverified, proof one✓
0x6fd660str_checknameboundaryverified, proof one✓
0x6fd690luaY_indexboundaryverified, proof one✓
0x6fd6c0closelistfieldboundaryverified, proof one✓
0x6fd710lastlistfieldboundaryverified, proof one✓
0x6fd790listfieldboundaryverified, proof one✓
0x6fd7c0bodyboundaryverified, proof one✓
0x6fd850create_localboundaryverified, proof one✓
0x6fd870adjustlocalvarsboundaryverified, proof one✓
0x6fd8b0new_localvarstrboundaryverified, proof one✓
0x6fd8e0new_localvarboundaryverified, proof one✓
0x6fd930luaI_registerlocalvarboundaryverified, proof one✓
0x6fd980pushclosureboundaryverified, proof one✓
0x6fda30parlistboundaryverified, proof one✓
0x6fdab0code_paramsboundaryverified, proof one✓
0x6fdb00primaryexpboundaryverified, proof one✓
0x6fdcb0luaY_fieldboundaryverified, proof one✓
0x6fdcf0funcargsboundaryverified, proof one✓
0x6fddf0explist1boundaryverified, proof one✓
0x6fde40prefixexpboundaryverified, proof one✓
0x6fdea0singlevarboundaryverified, proof one✓
0x6fded0singlevarauxboundaryverified, proof one✓
0x6fdf80indexupvalueboundaryverified, proof one✓
0x6fe050searchvarboundaryverified, proof one✓
0x6fe080markupvalboundaryverified, proof one✓
0x6fe0a0getunoprboundaryverified, proof one✓
0x6fe0c0getbinoprboundaryverified, proof one✓
0x6fe260repeatstatboundaryverified, proof one✓
0x6fe2d0condboundaryverified, proof one✓
0x6fe300forstatboundaryverified, proof one✓
0x6fe380fornumboundaryverified, proof one✓
0x6fe450exp1boundaryverified, proof one✓
0x6fe480forbodyboundaryverified, proof one✓
0x6fe540forlistboundaryverified, proof one✓
0x6fe620adjust_assignboundaryverified, proof one✓
0x6fe6a0ifstatboundaryverified, proof one✓
0x6fe760test_then_blockboundaryverified, proof one✓
0x6fe790localfuncboundaryverified, proof one✓
0x6fe800localstatboundaryverified, proof one✓
0x6fe880funcstatboundaryverified, proof one✓
0x6fe8d0funcnameboundaryverified, proof one✓
0x6fe920exprstatboundaryverified, proof one✓
0x6fe970assignmentboundaryverified, proof one✓
0x6fea70check_conflictboundaryverified, proof one✓
0x6feae0retstatboundaryverified, proof one✓
0x6feb80breakstatboundaryverified, proof one✓
0x6fec00luaU_undumpboundaryverified, proof two✓
0x6fec50LoadChunkboundaryverified, proof one✓
0x6fec70LoadFunctionboundaryverified, proof one✓
0x6fed20ezgetcboundaryverified, proof one✓
0x6fed60unexpectedEOZboundaryverified, proof one✓
0x6fed80LoadIntboundaryverified, proof one✓
0x6fedc0LoadBlockboundaryverified, proof one✓
0x6fee10ezreadboundaryverified, proof one✓
0x6fee40LoadStringboundaryverified, proof one✓
0x6fee80LoadSizeboundaryverified, proof one✓
0x6feea0LoadCodeboundaryverified, proof one✓
0x6feee0LoadVectorboundaryverified, proof one✓
0x6fef60LoadLocalsboundaryverified, proof one✓
0x6fefe0LoadLinesboundaryverified, proof one✓
0x6ff030LoadUpvaluesboundaryverified, proof one✓
0x6ff0b0LoadConstantsboundaryverified, proof one✓
0x6ff1f0LoadNumberboundaryverified, proof one✓
0x6ff210LoadHeaderboundaryverified, proof one✓
0x6ff360LoadSignatureboundaryverified, proof one✓
0x6ff3b0TestSizeboundaryverified, proof one✓
0x6ff3f0luaU_endiannessboundaryverified, proof one✓
0x6ff400luaX_initboundaryverified, proof one✓
0x6ff440luaX_checklimitboundaryverified, proof one✓
0x6ff480luaX_errorlineboundaryverified, proof one✓
0x6ff4d0luaX_syntaxerrorboundaryverified, proof one✓
0x6ff530luaX_errorboundaryverified, proof one✓
0x6ff550luaX_token2strboundaryverified, proof one✓
0x6ff580luaX_setinputboundaryverified, proof two✓
0x6ff610luaX_lexboundaryverified, proof one✓
0x6ffc20inclinenumberboundaryverified, proof one✓
0x6ffc70readnameboundaryverified, proof one✓
0x6ffd20read_numeralboundaryverified, proof one✓
0x6fffd0luaX_lexerrorboundaryverified, proof one✓
0x700010read_long_stringboundaryverified, proof one✓
0x7002a0read_stringboundaryverified, proof one✓
0x700790luaK_nilboundaryverified, proof one✓
0x700810luaK_jumpboundaryverified, proof one✓
0x700850luaK_getlabelboundaryverified, proof one✓
0x700860luaK_patchlistboundaryverified, proof one✓
0x700890luaK_patchlistauxboundaryverified, proof one✓
0x700900luaK_fixjumpboundaryverified, proof one✓
0x700950luaK_getjumpboundaryverified, proof one✓
0x700980getjumpcontrolboundaryverified, proof one✓
0x7009b0patchtestregboundaryverified, proof one✓
0x7009e0luaK_patchtohereboundaryverified, proof one✓
0x7009f0luaK_concatboundaryverified, proof one✓
0x700a50luaK_checkstackboundaryverified, proof one✓
0x700a80luaK_reserveregsboundaryverified, proof one✓
0x700aa0luaK_stringKboundaryverified, proof one✓
0x700ad0addkboundaryverified, proof one✓
0x700b90luaK_numberKboundaryverified, proof one✓
0x700bd0luaK_setcallreturnsboundaryverified, proof one✓
0x700c20luaK_dischargevarsboundaryverified, proof one✓
0x700cd0freeregboundaryverified, proof one✓
0x700cf0luaK_exp2nextregboundaryverified, proof one✓
0x700d30freeexpboundaryverified, proof one✓
0x700d40luaK_exp2regboundaryverified, proof one✓
0x700e30need_valueboundaryverified, proof one✓
0x700e90code_labelboundaryverified, proof one✓
0x700eb0discharge2regboundaryverified, proof one✓
0x700fb0luaK_exp2anyregboundaryverified, proof one✓
0x700ff0luaK_exp2valboundaryverified, proof one✓
0x701010luaK_exp2RKboundaryverified, proof one✓
0x701070nil_constantboundaryverified, proof one✓
0x7010b0luaK_storevarboundaryverified, proof one✓
0x701170luaK_selfboundaryverified, proof one✓
0x7011d0luaK_goiftrueboundaryverified, proof one✓
0x701270invertjumpboundaryverified, proof one✓
0x7012a0jumponcondboundaryverified, proof one✓
0x701320luaK_condjumpboundaryverified, proof one✓
0x701350discharge2anyregboundaryverified, proof one✓
0x701380luaK_goiffalseboundaryverified, proof one✓
0x701410luaK_indexedboundaryverified, proof one✓
0x701430luaK_prefixboundaryverified, proof one✓
0x7014c0codenotboundaryverified, proof one✓
0x701590luaK_infixboundaryverified, proof one✓
0x701610luaK_posfixboundaryverified, proof one✓
0x701790codebinopboundaryverified, proof one✓
0x701810luaK_fixlineboundaryverified, proof one✓
0x701820luaK_codeboundaryverified, proof one✓
0x7018b0luaK_dischargejpcboundaryverified, proof one✓
0x7018e0luaK_codeABCboundaryverified, proof one✓
0x701910luaK_codeABxboundaryverified, proof one✓
0x7faa50bit_bnotprimitiveverified, proof one✓
0x7faa90bit_bandprimitiveverified, proof one✓
0x7fab10bit_borprimitiveverified, proof one✓
0x7fab90bit_bxorprimitiveverified, proof one✓
0x7fac10bit_lshiftprimitiveverified, proof one✓
0x7fac70bit_rshiftprimitiveverified, proof one✓
0x7facd0bit_arshiftprimitiveverified, proof one✓
0x7fad20bit_modprimitiveverified, proof one✓
0x7fad70bit_mod_remainderprimitiveverified, proof one✓
0x7fadc0luaopen_bitorchestrationverified, proof two
0x7fade0math_absboundaryverified, proof one✓
0x7fae10math_sinboundaryverified, proof one✓
0x7fae40math_cosboundaryverified, proof one✓
0x7fae70math_tanboundaryverified, proof one✓
0x7faea0math_asinboundaryverified, proof one✓
0x7faed0math_acosboundaryverified, proof one✓
0x7faf00math_atanboundaryverified, proof one✓
0x7faf30math_atan2boundaryverified, proof one✓
0x7faf70math_ceilboundaryverified, proof two
0x7fafa0math_floorboundaryverified, proof one✓
0x7fafd0math_modboundaryverified, proof one✓
0x7fb020math_sqrtboundaryverified, proof one✓
0x7fb050math_powboundaryverified, proof one✓
0x7fb0a0math_logboundaryverified, proof one✓
0x7fb0d0math_log10boundaryverified, proof one✓
0x7fb100math_expboundaryverified, proof one✓
0x7fb140math_degboundaryverified, proof one✓
0x7fb170math_radboundaryverified, proof one✓
0x7fb1a0math_frexpboundaryverified, proof one✓
0x7fb1f0math_ldexpboundaryverified, proof one✓
0x7fb230math_minboundaryverified, proof one✓
0x7fb2a0math_maxboundaryverified, proof one✓
0x7fb310math_randomprimitiveinferred
0x7fb450math_randomseedorchestrationverified, proof one
0x7fb470luaopen_mathorchestrationverified, proof two
0x7fb4e0luaB_foreachiboundaryverified, proof one✓
0x7fb590luaB_foreachboundaryverified, proof one✓
0x7fb630luaB_getnboundaryverified, proof one✓
0x7fb670luaB_setnboundaryverified, proof one✓
0x7fb6b0luaB_tinsertboundaryverified, proof one✓
0x7fb770luaB_tremoveboundaryverified, proof one✓
0x7fb830str_concatboundaryverified, proof one✓
0x7fb920luaB_sortboundaryverified, proof one✓
0x7fb990auxsortboundaryverified, proof one✓
0x7fbc20set2boundaryverified, proof one✓
0x7fbc50sort_compboundaryverified, proof one✓
0x7fbcd0luaopen_tableorchestrationverified, proof two

Globals 15

addressnametypeconfidence
0x6f9870s_luaOpcodeHandlersconst uint32_t[35]verified, proof two
0x811d34s_luaPoolBlockSizesconst uint32_t[6]verified, proof one
0x811d4cpriorityuint8_t[28]verified, proof one
0x811d68token2stringchar *[31]verified, proof one
0x811de4luaP_opmodesuint8_t[35]verified, proof one
0x811e08opsint32_t[6]verified, proof one
0x822c18bitlibluaL_reg[9]verified, proof two
0x822c60mathlibluaL_reg[25]verified, proof one
0x822d28s_degreesPerRadiandoubleverified, proof one
0x822d30s_radiansPerDegreedoubleverified, proof one
0x822d40tab_funcsluaL_reg[9]verified, proof two
0x822d88strlibluaL_reg[13]verified, proof two
0x871c10s_textAttemptToSASValuechar[25]inferred
0x871c2cs_textAttemptToSSSASValuechar[35]inferred
0x87217cs_textSDSNearSchar[20]verified, proof one

Structs