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

Function LogToFileFmt

ProcMon/dllmain.cpp:99–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99NTSTATUS LogToFileFmt(const char* pstrFmt, ...) {
100 va_list argList;
101 va_start(argList, pstrFmt);
102
103 char buff[512];
104 buff[0] = 0;
105 vsprintf_s(buff,sizeof(buff),pstrFmt,argList);
106 buff[sizeof(buff) - 1] = 0; // safety null
107 NTSTATUS status = LogToFile(buff, DBG_FILE_PATH);
108
109 va_end(argList);
110
111
112 return status;
113}
114
115PTEB GetTeb() {
116#ifdef _WIN64

Callers 1

DllMainFunction · 0.85

Calls 1

LogToFileFunction · 0.85

Tested by

no test coverage detected