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

Method str_chr

src/shellcode.cpp:106–113  ·  view source on GitHub ↗

Search for a char inside a string.

Source from the content-addressed store, hash-verified

104
105// Search for a char inside a string.
106PCHAR shellcode::str_chr(PSTR str, CHAR chr)
107{
108 // Search for it.
109 do {
110 if (*str == chr) { return str; };
111 } while (*str++);
112 return (0);
113};
114
115// Convert ansi to wide chars.
116VOID shellcode::ansi_to_wide(PCHAR str, PWCHAR out, size_t size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected