mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-09 17:19:26 +00:00
59 lines
1.4 KiB
C
59 lines
1.4 KiB
C
/**
|
|
* @file pch.h
|
|
* @author Sina Karvandi (sina@hyperdbg.org)
|
|
* @brief Headers of Message logging and tracing
|
|
* @details
|
|
* @version 0.2
|
|
* @date 2023-01-23
|
|
*
|
|
* @copyright This project is released under the GNU Public License v3.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define _NO_CRT_STDIO_INLINE
|
|
|
|
#pragma warning(disable : 4201) // Suppress nameless struct/union warning
|
|
|
|
//
|
|
// Environment headers
|
|
//
|
|
#include "platform/general/header/Environment.h"
|
|
|
|
#ifdef HYPERDBG_ENV_WINDOWS
|
|
|
|
//
|
|
// Windows defined functions
|
|
//
|
|
# include <ntddk.h>
|
|
# include <ntstrsafe.h>
|
|
# include <Windef.h>
|
|
|
|
#endif // HYPERDBG_ENV_WINDOWS
|
|
|
|
//
|
|
// Scope definitions
|
|
//
|
|
#define HYPERDBG_KERNEL_MODE
|
|
#define HYPERDBG_HYPER_LOG
|
|
|
|
#include "UnloadDll.h"
|
|
#include "SDK/HyperDbgSdk.h"
|
|
#include "SDK/modules/HyperLog.h"
|
|
#include "SDK/imports/kernel/HyperDbgHyperLogImports.h"
|
|
#include "components/spinlock/header/Spinlock.h"
|
|
#include "Logging.h"
|
|
|
|
//
|
|
// Platform independent headers
|
|
//
|
|
#include "platform/kernel/header/PlatformCpu.h"
|
|
#include "platform/kernel/header/PlatformDbg.h"
|
|
#include "platform/kernel/header/PlatformDpc.h"
|
|
#include "platform/kernel/header/PlatformEvent.h"
|
|
#include "platform/kernel/header/PlatformIo.h"
|
|
#include "platform/kernel/header/PlatformIrql.h"
|
|
#include "platform/kernel/header/PlatformMem.h"
|
|
#include "platform/kernel/header/PlatformSpinlock.h"
|
|
#include "platform/kernel/header/PlatformTime.h"
|