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

Method wstr_cpy

src/shellcode.cpp:132–137  ·  view source on GitHub ↗

Copy string between to buffers.

Source from the content-addressed store, hash-verified

130
131// Copy string between to buffers.
132VOID shellcode::wstr_cpy(PWSTR str1, PCWSTR str2, size_t length)
133{
134 // Char by char.
135 while (length--) *str1++ = *str2++;
136 *str1 = 0;
137};
138
139
140// Compare two wide strings.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected