style
This commit is contained in:
@@ -39,6 +39,9 @@ auto io_ctl::init_device_and_symbolic(PDRIVER_OBJECT drv_obj) -> NTSTATUS
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
drv_obj->MajorFunction[IRP_MJ_CLOSE] = dispatch_create_close;
|
||||
drv_obj->MajorFunction[IRP_MJ_CREATE] = dispatch_create_close;
|
||||
drv_obj->MajorFunction[IRP_MJ_DEVICE_CONTROL] = dispatch_device_io;
|
||||
|
||||
@@ -48,7 +48,6 @@ namespace protect_filter
|
||||
auto list_data = reinterpret_cast<PFILTER>(CONTAINING_RECORD(list_head, FILTER, List));
|
||||
list_head = list_head->Flink;
|
||||
|
||||
|
||||
if (Pid)
|
||||
{
|
||||
if (list_data->Pid == Pid)
|
||||
@@ -59,9 +58,6 @@ namespace protect_filter
|
||||
if (list_data->Eprocess == Eprocess)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
//DbgPrintEx(77, 0, "[+] pid:%d | eproecss:%p\n", list_data->Pid, list_data->Eprocess);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
@@ -73,7 +69,6 @@ namespace protect_filter
|
||||
|
||||
BOOL is_remove_list = FALSE;
|
||||
|
||||
|
||||
if (IsListEmpty(&g_protect_list))
|
||||
return NULL;
|
||||
|
||||
@@ -96,12 +91,6 @@ namespace protect_filter
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user