HyperDbg Debugger
Loading...
Searching...
No Matches
HyperDbgHyperLogImports.h
Go to the documentation of this file.
1
11#pragma once
12
13#ifdef HYPERDBG_HYPER_LOG
14# define IMPORT_EXPORT_HYPERLOG __declspec(dllexport)
15#else
16# define IMPORT_EXPORT_HYPERLOG __declspec(dllimport)
17#endif
18
20// Functions //
22
24LogInitialize(MESSAGE_TRACING_CALLBACKS * MsgTracingCallbacks);
25
28
30LogMarkAllAsRead(BOOLEAN IsVmxRoot);
31
34 BOOLEAN IsImmediateMessage,
35 BOOLEAN ShowCurrentSystemTime,
36 BOOLEAN Priority,
37 const char * Fmt,
38 ...);
39
42 BOOLEAN IsImmediateMessage,
43 BOOLEAN ShowCurrentSystemTime,
44 BOOLEAN Priority,
45 const char * Fmt,
46 va_list ArgList);
47
49LogCallbackSendBuffer(_In_ UINT32 OperationCode,
50 _In_reads_bytes_(BufferLength) PVOID Buffer,
51 _In_ UINT32 BufferLength,
52 _In_ BOOLEAN Priority);
53
56
58LogCallbackSendMessageToQueue(UINT32 OperationCode, BOOLEAN IsImmediateMessage, CHAR * LogMessage, UINT32 BufferLen, BOOLEAN Priority);
59
62
64LogRegisterIrpBasedNotification(PVOID TargetIrp, LONG * Status);
UCHAR BOOLEAN
Definition BasicTypes.h:39
#define VOID
Definition BasicTypes.h:33
unsigned int UINT32
Definition BasicTypes.h:48
char CHAR
Definition BasicTypes.h:31
IMPORT_EXPORT_HYPERLOG BOOLEAN LogCallbackSendBuffer(_In_ UINT32 OperationCode, _In_reads_bytes_(BufferLength) PVOID Buffer, _In_ UINT32 BufferLength, _In_ BOOLEAN Priority)
routines callback for sending buffer
Definition Callback.c:123
IMPORT_EXPORT_HYPERLOG BOOLEAN LogCallbackCheckIfBufferIsFull(BOOLEAN Priority)
routines callback for checking if buffer is full
Definition Callback.c:100
IMPORT_EXPORT_HYPERLOG BOOLEAN LogCallbackPrepareAndSendMessageToQueue(UINT32 OperationCode, BOOLEAN IsImmediateMessage, BOOLEAN ShowCurrentSystemTime, BOOLEAN Priority, const char *Fmt,...)
routines callback for preparing and sending message to queue
Definition Callback.c:28
IMPORT_EXPORT_HYPERLOG BOOLEAN LogRegisterEventBasedNotification(PVOID TargetIrp)
Create an event-based usermode notifying mechanism.
Definition Logging.c:1583
IMPORT_EXPORT_HYPERLOG BOOLEAN LogInitialize(MESSAGE_TRACING_CALLBACKS *MsgTracingCallbacks)
Initialize the buffer relating to log message tracing.
Definition Logging.c:98
IMPORT_EXPORT_HYPERLOG BOOLEAN LogRegisterIrpBasedNotification(PVOID TargetIrp, LONG *Status)
Register a new IRP Pending thread which listens for new buffers.
Definition Logging.c:1464
IMPORT_EXPORT_HYPERLOG VOID LogUnInitialize()
Uninitialize the buffer relating to log message tracing.
Definition Logging.c:211
IMPORT_EXPORT_HYPERLOG BOOLEAN LogCallbackPrepareAndSendMessageToQueueWrapper(UINT32 OperationCode, BOOLEAN IsImmediateMessage, BOOLEAN ShowCurrentSystemTime, BOOLEAN Priority, const char *Fmt, va_list ArgList)
Prepare a printf-style message mapping and send string messages and tracing for logging and monitorin...
Definition Logging.c:976
IMPORT_EXPORT_HYPERLOG BOOLEAN LogCallbackSendMessageToQueue(UINT32 OperationCode, BOOLEAN IsImmediateMessage, CHAR *LogMessage, UINT32 BufferLen, BOOLEAN Priority)
routines callback for sending message to queue
Definition Callback.c:71
IMPORT_EXPORT_HYPERLOG UINT32 LogMarkAllAsRead(BOOLEAN IsVmxRoot)
Mark all buffers as read.
Definition Logging.c:558
#define IMPORT_EXPORT_HYPERLOG
Definition HyperDbgHyperLogImports.h:16
Prototype of each function needed by message tracer.
Definition HyperLog.h:49