MCPcopy Create free account
hub / github.com/GPUOpen-Tools/GPU-Reshape / IsBootstrapper

Function IsBootstrapper

Source/Backends/DX12/Service/Source/main.cpp:126–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool IsBootstrapper(HANDLE process, HMODULE module) {
127 // Try to get name
128 char name[1024];
129 if (!GetModuleFileNameEx(process, module, name, sizeof(name))) {
130 return false;
131 }
132
133 // Bootstrapper?
134 return std::ends_with(name, "GRS.Backends.DX12.BootstrapperX64.dll") || std::ends_with(name, "GRS.Backends.DX12.BootstrapperX32.dll");
135}
136
137bool RemoteLoadBootstrapper(PTHREAD_START_ROUTINE loadLibraryAGPA, const std::string& sessionPathStrX64, const std::string& sessionPathStrX86, const char* processName, DWORD processId) {
138 // Try to open process

Callers 2

RemoteLoadBootstrapperFunction · 0.85

Calls 1

ends_withFunction · 0.85

Tested by

no test coverage detected