2023-08-17 10:45:50 +02:00
|
|
|
#include "kmanager.h"
|
|
|
|
|
2023-08-18 07:33:13 +02:00
|
|
|
kernelmode::KManager::KManager( LPCWSTR DriverName, std::shared_ptr<global::ThreadPool> ThreadPool, std::shared_ptr<global::Report> ReportInterface)
|
2023-08-17 10:45:50 +02:00
|
|
|
{
|
2023-08-18 07:33:13 +02:00
|
|
|
this->driver_interface = std::make_unique<Driver>(DriverName, ReportInterface);
|
2023-08-17 10:45:50 +02:00
|
|
|
this->thread_pool = ThreadPool;
|
|
|
|
}
|
2023-08-19 04:52:57 +02:00
|
|
|
|
|
|
|
void kernelmode::KManager::RunNmiCallbacks()
|
|
|
|
{
|
2023-08-19 05:29:29 +02:00
|
|
|
this->thread_pool->QueueJob( [ this ]() { this->driver_interface->RunNmiCallbacks(); } );
|
2023-08-19 04:52:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void kernelmode::KManager::VerifySystemModules()
|
|
|
|
{
|
2023-08-19 05:29:29 +02:00
|
|
|
this->thread_pool->QueueJob( [ this ]() { this->driver_interface->VerifySystemModules(); } );
|
2023-08-19 04:52:57 +02:00
|
|
|
}
|
2023-08-20 16:12:04 +02:00
|
|
|
|
|
|
|
void kernelmode::KManager::MonitorCallbackReports()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|