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

Method cached

Loading_1.2/Loading/lazy_importer.hpp:494–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492
493 template<class T = DefaultType, class Enum = unsafe_module_enumerator>
494 LAZY_IMPORTER_FORCEINLINE static T cached() noexcept
495 {
496 auto& cached = _cache();
497 if(!cached)
498 cached = Derived::template get<void*, Enum>();
499
500 return (T)(cached);
501 }
502
503 template<class T = DefaultType>
504 LAZY_IMPORTER_FORCEINLINE static T safe_cached() noexcept

Callers 1

operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected