MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / GetDllPath

Method GetDllPath

projects/WinDurango.Watchdog/src/Watchdog.cpp:140–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 std::string Watchdog::GetDllPath(uint64_t addr) {
141 std::string dllName = "UNKNOWN";
142
143 auto it = m_loadedDLLs.upper_bound(addr);
144 if (it == m_loadedDLLs.begin()) {
145 dllName = "UNKNOWN";
146 } else {
147 --it;
148 dllName = it->second;
149 }
150
151 return std::filesystem::path(dllName).filename().string();
152 }
153
154 void Watchdog::ShowCallstack(HANDLE proc, HANDLE thread) {
155 CONTEXT ctx{};

Callers

nothing calls this directly

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected