benilla-re systems structs docs

sgetu8

function · unassigned

Address
0x41aab0 · 256 bytes, up to 0x41abaf
Meaning
Decodes the UTF-8 code point at a string, storing the bytes read; -1 at a NUL, 0x80000000 for a bad sequence
Confidence
verified, proof one
Name from
the community database (idb)
Finding
net/who#who-filter-decoding

Finding: Who filter decoding in net: who

The copy is read as UTF-8, one code point at a time. A code point goes to the token as every byte the decoder read, so a broken sequence takes the byte that broke it, a space after a lone lead byte included, and a NUL inside a sequence ends the scan. White space is iswspace of the code point's low 16 bits: 0x09 to 0x0d and the space from the C table, nothing from 0x80 to 0xff (so not U+00A0), and from 0x100 on what Windows' GetStringTypeW says, such as U+3000. The overlong C0 A0 and U+10020 are spaces too.

The derivation is in the doc.

Callers 21

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.