_strtoxl
function · crt · boundary
- Address
0x40db09· 517 bytes, up to0x40dd0d- Signature
unsigned long __cdecl (const char *s, char **end, int base, int flags)- Meaning
- Parses an integer by C rules: skips white space, takes a sign and base prefix, flags overflow and negation
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- ui/luabase#tonumber
Finding: tonumber in ui: the Lua base library
tonumber(v [, base]) takes the base as __ftol of the optional number, default 10. Base 10 requires an argument and
answers its number value when lua_isnumber holds, else nil. Another base must be 2 to 36 (base out of range) and v
a string: strtoul (0x40dd0e, which calls _strtoxl 0x40db09 with the unsigned flag) parses it, and the answer is the unsigned value when nothing but white space follows the digits, else
nil. A string with no digits answers nil.
The derivation is in the doc.
Callers 2
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.