forked from HyperDbg/gui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
87 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
/** | ||
* @file Configuration.h | ||
* @author Sina Karvandi ([email protected]) | ||
* @brief Global configuration that applies on compile time | ||
* @details 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 | ||
* | ||
* @copyright This project is released under the GNU Public License v3. | ||
* | ||
*/ | ||
#pragma once | ||
|
||
/** | ||
* @brief Configures whether to show the current system time in the output of | ||
* debug messages or not (only available on usermode tracing messages) | ||
* | ||
*/ | ||
#define ShowSystemTimeOnDebugMessages TRUE | ||
|
||
/** | ||
* @brief Use WPP Tracing instead of all logging functions | ||
* | ||
*/ | ||
#define UseWPPTracing FALSE | ||
|
||
/** | ||
* @brief Configures whether to use DbgPrint or use the custom usermode message | ||
* tracking | ||
* | ||
*/ | ||
#define UseDbgPrintInsteadOfUsermodeMessageTracking FALSE | ||
|
||
/** | ||
* @brief Show debug messages in both usermode app and debugger, | ||
* it works only if you set UseDbgPrintInsteadOfUsermodeMessageTracking to FALSE | ||
* @details 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 | ||
*/ | ||
#define ShowMessagesOnDebugger FALSE | ||
|
||
/** | ||
* @brief 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 UseImmediateMessaging TRUE | ||
|
||
/** | ||
* @brief 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 UseImmediateMessagingByDefaultOnEvents TRUE | ||
|
||
/** | ||
* @brief 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 DebugMode FALSE | ||
|
||
/** | ||
* @brief Activates the user-mode debugger | ||
*/ | ||
#define ActivateUserModeDebugger FALSE | ||
|
||
/** | ||
* @brief Enable or disable the instant event mechanism | ||
* @details for more information: https://docs.hyperdbg.org/tips-and-tricks/misc/instant-events | ||
*/ | ||
#define EnableInstantEventMechanism TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters