| 511 | struct lazy_module : lazy_base<lazy_module<OHP>> { |
| 512 | template<class T = void*, class Enum = unsafe_module_enumerator> |
| 513 | LAZY_IMPORTER_FORCEINLINE static T get() noexcept |
| 514 | { |
| 515 | Enum e; |
| 516 | do { |
| 517 | if(hash(e.value->BaseDllName, get_offset(OHP)) == get_hash(OHP)) |
| 518 | return (T)(e.value->DllBase); |
| 519 | } while(e.next()); |
| 520 | return {}; |
| 521 | } |
| 522 | |
| 523 | template<class T = void*, class Ldr> |
| 524 | LAZY_IMPORTER_FORCEINLINE static T in(Ldr ldr) noexcept |
nothing calls this directly
no test coverage detected