MCPcopy Create free account
hub / github.com/ReversecLabs/C3 / FindSymbol

Function FindSymbol

Src/CebuLoader/UnexportedWinApi.cpp:175–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

GetSizeOfImageFunction · 0.85
FindFunction · 0.85

Tested by

no test coverage detected