MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / FindProcess

Function FindProcess

KernelLibrary/ProcessProtect.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool FindProcess(ULONG pid) {
53 if (g_ProtectData.PidsCount == 0)
54 return false;
55
56 for (int i = 0; i < MaxPids; i++)
57 if (g_ProtectData.Pids[i] == pid)
58 return true;
59 return false;
60}
61
62bool AddProcess(ULONG pid) {
63 for (int i = 0; i < MaxPids; i++)

Callers 1

OnPreOpenProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected