luaO_rawequalObj
function · lua · primitive
- Address
0x6f58b0· 60 bytes, up to0x6f58eb- Meaning
- Compares two values by tag, then by number or by payload
- Confidence
- verified, proof two
- Finding
- lua/object#basic-object-functions
Finding: Basic object functions in lua: objects and tables
luaO_int2fb and luaO_log2 are the integer helpers: a floating-byte code of an integer
(#the-floating-byte-size-code) and the base-2 logarithm by table. luaO_rawequalObj compares two values by tag and then by number
or by address. luaO_str2d reads a number with strtod and accepts trailing spaces only.
luaO_chunkid builds the short source name used in messages, from =name, @file or a
string chunk ([string "first line..."]). luaO_pushvfstring joins the literal text and the converted arguments of a %s, %c, %d, %f
or %% format by luaV_concat; luaO_pushfstring calls it on its own arguments, and pushstr
pushes one string. The client's pushstr pushes (null) for a null pointer (0x6f5bc8); upstream's
(lobject.c, lines 104 to 107) has no such check.
| function | name | decided by |
|---|---|---|
0x6f5830 | luaO_log2 | thresholds 0x10000 (0x6f5834), 0x1000000 (0x6f583f), 0x100 (0x6f586b), adds 24, 16, 8; -1 (0x6f589a) |
0x6f58b0 | luaO_rawequalObj | tags differ returns 0 (0x6f58b3), jump table on tags 0..3 (0x6f58c0), fcompp (0x6f58cd), payload subtract (0x6f58e3) |
0x6f5900 | luaO_str2d | _strtod (0x6f5911), __isctype 8 over the tail (0x6f593e), end test (0x6f5964) |
0x6f5990 | luaO_pushvfstring | empty string first (0x6f59aa), strchr for % (0x6f59b2), literal text by luaS_newlstr (0x6f59f9), letter switch (0x6f5a40), fild for %d (0x6f5a97), fld qword for %f (0x6f5abe), luaV_concat (0x6f5b31) |
0x6f5bc0 | pushstr | the text (null) (0x6f5bc8), luaS_newlstr (0x6f5bee), growth check (0x6f5c0d) |
0x6f5c20 | luaO_pushfstring | calls luaO_pushvfstring with the address of its own arguments (0x6f5c2d) |
0x6f5c40 | luaO_chunkid | = (0x6f5c49), @ (0x6f5c6b), else [string " (0x6f5ceb), first line by strcspn (0x6f5cd7), ..."] (0x6f5d5d) |
The derivation is in the doc.
Callers 5
- lua_rawequal lua
- call_orderTM lua
- get_compTM lua
- luaH_getany lua
- travglobals lua
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.