#include <iostream>
#include "panoptes_trace.h"
#include <string>
Go to the source code of this file.
◆ main()
Definition at line 8 of file KernelTestHost.cpp.
9{
11 HANDLE ProcessId = (HANDLE)GetCurrentProcessId();
12 HANDLE ThreadId = (HANDLE)GetCurrentThreadId();
13 std::wstring myWString = L"..\\..\\assets\\yara\\eicarcom2.zip";
14 PWCH myPWCH = const_cast<PWCH>(myWString.c_str());
15 while (1) {
16 printf("Press Enter to log a file creation event\n");
17 int test = getchar();
19 }
20}
void Log_FileCreated(HANDLE ProcessId, HANDLE ThreadId, PWCH FileName, BOOLEAN Oplocked)
Log a file create event.
References Log_FileCreated(), and TraceInit().