This commit is contained in:
2026-07-28 15:11:25 +08:00
parent 7ce2ded971
commit 9b00c5f6eb
16 changed files with 233 additions and 73 deletions
@@ -15,15 +15,17 @@ namespace process_notify_callback
{
//进程退出时进行 对插链的清理操作
if (protect_filter::is_protect_pid(HandleToLong(ProcessId), nullptr))
protect_filter::remove_protect_list(g_protect_list, HandleToLong(ProcessId), nullptr);
if (protect_filter::is_protect_pid(HandleToLong(ProcessId))) {
if (protect_filter::is_white_pid(HandleToLong(ProcessId), nullptr))
{
//DbgPrintEx(77, 0, "%p\n", ProcessId);
protect_filter::remove_protect_list(HandleToLong(ProcessId), nullptr);
DbgBreakPoint();
protect_filter::remove_protect_list(g_white_list, HandleToLong(ProcessId), nullptr);
}
if (protect_filter::is_white_pid(HandleToLong(ProcessId)))
protect_filter::remove_white_list( HandleToLong(ProcessId), nullptr);
}
/*DbgPrintEx(77, 0, "ParentId:%d | ProcessId:%d | Create:%d\n",