MCPcopy Create free account
hub / github.com/d35ha/CallObfuscator / wstr_len

Method wstr_len

src/shellcode.cpp:50–55  ·  view source on GitHub ↗

Length of wide string

Source from the content-addressed store, hash-verified

48
49// Length of wide string
50size_t shellcode::wstr_len(PWSTR str)
51{
52 PWCHAR s = (PWCHAR)str;
53 for (; *s; ++s);
54 return(s - str);
55};
56
57// Compile time string hashing.
58DWORD shellcode::hash_string(PCHAR str)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected