| 173 | } |
| 174 | |
| 175 | void* FindSymbol(std::wstring const& dll, std::pair<std::string, size_t> const& offsetData) |
| 176 | { |
| 177 | auto dllBase = GetModuleHandleW(dll.c_str()); |
| 178 | auto dllSize = GetSizeOfImage((UINT_PTR)dllBase); |
| 179 | |
| 180 | return Find(dllBase, dllBase + dllSize, offsetData); |
| 181 | } |
| 182 | |
| 183 | void* FindNtDllSymbol(std::pair<std::string, size_t> const& offsetData) |
| 184 | { |
nothing calls this directly
no test coverage detected