MCPcopy Create free account
hub / github.com/SecurityAnalysts01/ShellcodeLoader / hash

Function hash

Loading/Loading/lazy_importer.hpp:288–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286
287 template<class CharT = char>
288 LAZY_IMPORTER_FORCEINLINE unsigned hash(const CharT* str, unsigned offset) noexcept
289 {
290 unsigned value = offset;
291
292 for(;;) {
293 char c = *str++;
294 if(!c)
295 return value;
296 value = hash_single(value, c);
297 }
298 }
299
300 LAZY_IMPORTER_FORCEINLINE unsigned hash(
301 const win::UNICODE_STRING_T& str, unsigned offset) noexcept

Callers 5

getMethod · 0.70
inMethod · 0.70
getMethod · 0.70
forwardedMethod · 0.70
inMethod · 0.70

Calls 1

hash_singleFunction · 0.70

Tested by

no test coverage detected