HyperDbg Debugger
Loading...
Searching...
No Matches
Configuration.h File Reference

Global configuration that applies on compile time. More...

Go to the source code of this file.

Macros

#define ShowSystemTimeOnDebugMessages   TRUE
 Configures whether to show the current system time in the output of debug messages or not (only available on usermode tracing messages)
 
#define UseWPPTracing   FALSE
 Use WPP Tracing instead of all logging functions.
 
#define UseDbgPrintInsteadOfUsermodeMessageTracking   FALSE
 Configures whether to use DbgPrint or use the custom usermode message tracking.
 
#define ShowMessagesOnDebugger   FALSE
 Show debug messages in both usermode app and debugger, it works only if you set UseDbgPrintInsteadOfUsermodeMessageTracking to FALSE.
 
#define UseImmediateMessaging   TRUE
 Use immediate messaging (means that it sends each message when they received and do not accumulate them) it works only if you set UseDbgPrintInsteadOfUsermodeMessageTracking to FALSE.
 
#define UseImmediateMessagingByDefaultOnEvents   TRUE
 Use immediate messaging (means that it sends each message when they received and do not accumulate them) its the default value on events, a user can change this behavior by selecting 'imm yes' or 'imm no' in the case of events.
 
#define DebugMode   FALSE
 Shows whether to show or not show the drivers debugging information and also enters debugger in debugging section to break the debugger in the case of errors.
 
#define ActivateUserModeDebugger   FALSE
 Activates the user-mode debugger.
 
#define EnableInstantEventMechanism   TRUE
 Enable or disable the instant event mechanism.
 

Detailed Description

Global configuration that applies on compile time.

Author
Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)

you can disable or enable the following features and compile the project Next time you used the project binary files these settings applied.

Version
0.1
Date
2020-04-10

Macro Definition Documentation

◆ ActivateUserModeDebugger

#define ActivateUserModeDebugger   FALSE

Activates the user-mode debugger.

◆ DebugMode

#define DebugMode   FALSE

Shows whether to show or not show the drivers debugging information and also enters debugger in debugging section to break the debugger in the case of errors.

◆ EnableInstantEventMechanism

#define EnableInstantEventMechanism   TRUE

Enable or disable the instant event mechanism.

for more information: https://docs.hyperdbg.org/tips-and-tricks/misc/instant-events

◆ ShowMessagesOnDebugger

#define ShowMessagesOnDebugger   FALSE

Show debug messages in both usermode app and debugger, it works only if you set UseDbgPrintInsteadOfUsermodeMessageTracking to FALSE.

Should be FALSE, I realized that if we enable this flag, we end up in a situation that DbgPrint halts the system because it is executing in Dispatch-level in a DPC routine, I left it to FALSE for future attention

◆ ShowSystemTimeOnDebugMessages

#define ShowSystemTimeOnDebugMessages   TRUE

Configures whether to show the current system time in the output of debug messages or not (only available on usermode tracing messages)

◆ UseDbgPrintInsteadOfUsermodeMessageTracking

#define UseDbgPrintInsteadOfUsermodeMessageTracking   FALSE

Configures whether to use DbgPrint or use the custom usermode message tracking.

◆ UseImmediateMessaging

#define UseImmediateMessaging   TRUE

Use immediate messaging (means that it sends each message when they received and do not accumulate them) it works only if you set UseDbgPrintInsteadOfUsermodeMessageTracking to FALSE.

◆ UseImmediateMessagingByDefaultOnEvents

#define UseImmediateMessagingByDefaultOnEvents   TRUE

Use immediate messaging (means that it sends each message when they received and do not accumulate them) its the default value on events, a user can change this behavior by selecting 'imm yes' or 'imm no' in the case of events.

◆ UseWPPTracing

#define UseWPPTracing   FALSE

Use WPP Tracing instead of all logging functions.