benilla-re systems structs docs

SStrCmpI

function · storm · primitive

Address
0x64a4c0 · 56 bytes, up to 0x64a4f7
Meaning
Compares two strings ignoring case up to a length
Confidence
verified, proof one
Name from
the community database (idb)
Finding
net/friends#strings-without-case
Test
net::friends_compare

Finding: Strings without case in net: friends

SStrCmpI (0x64a4c0, (a, b, n)) calls __strnicmp (0x414310) for two non-null strings, and otherwise sets error 0x57 and returns the first pointer less the second. __strnicmp runs its C locale path, since the locale word 0x883b08 stays 0: A to Z fold to lower case, the first pair that differs decides -1 or 1 unsigned, and a NUL in either string or the bound ends the compare; a bound of 0 is equal.

The derivation is in the doc.

Callers 324

Callees 2

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