MCPcopy Create free account
hub / github.com/OpenSteam001/OpenSteamTool / FindModule

Function FindModule

src/OSTPlatform/Windows/RemoteProcess.cpp:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103const RemoteModule* FindModule(std::span<const RemoteModule> modules, std::wstring_view name) {
104 for (const RemoteModule& module : modules) {
105 if (EqualsInsensitive(module.name, name)) return &module;
106 }
107 return nullptr;
108}
109
110bool StartsWithInsensitive(std::wstring_view value, std::wstring_view prefix) {
111 if (value.size() < prefix.size()) return false;

Callers 1

ResolveRemoteExportFunction · 0.85

Calls 1

EqualsInsensitiveFunction · 0.85

Tested by

no test coverage detected