Length of wide string
| 48 | |
| 49 | // Length of wide string |
| 50 | size_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. |
| 58 | DWORD shellcode::hash_string(PCHAR str) |
nothing calls this directly
no outgoing calls
no test coverage detected