_iswctype
function · crt · boundary
- Address
0x7458e4· 82 bytes, up to0x745935- Meaning
- Tests a 16-bit unit's type bits: 0 for 0xffff, the C table below 0x100, else GetStringTypeW's CT_CTYPE1
- 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 13
- _iswalpha crt
- 0x740034 crt
- _iswlower crt
- _iswdigit crt
- _iswxdigit crt
- _iswspace crt
- 0x74007d crt
- _iswalnum crt
- _iswprint crt
- _iswgraph crt
- _iswcntrl crt
- 0x745936 crt
- 0x746035 crt
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.