From 7e7aa8ceae2f1d96882ea73898393acebb918fc6 Mon Sep 17 00:00:00 2001 From: pandaadir05 Date: Fri, 21 Nov 2025 15:11:02 +0200 Subject: [PATCH] fixing cicd formatting code --- ghost-core/src/thread.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ghost-core/src/thread.rs b/ghost-core/src/thread.rs index 73b5054..5039da3 100644 --- a/ghost-core/src/thread.rs +++ b/ghost-core/src/thread.rs @@ -321,7 +321,9 @@ mod platform { // Get thread context (registers) #[cfg(target_arch = "x86_64")] { - use windows::Win32::System::Diagnostics::Debug::{CONTEXT, CONTEXT_CONTROL}; + use windows::Win32::System::Diagnostics::Debug::{ + CONTEXT, CONTEXT_CONTROL, + }; let mut context = CONTEXT { ContextFlags: CONTEXT_CONTROL, @@ -610,7 +612,9 @@ mod platform { /// Detect hardware breakpoints by examining debug registers (DR0-DR7) pub fn detect_hardware_breakpoints(pid: u32) -> Result { - use windows::Win32::System::Diagnostics::Debug::{GetThreadContext, CONTEXT, CONTEXT_DEBUG_REGISTERS}; + use windows::Win32::System::Diagnostics::Debug::{ + GetThreadContext, CONTEXT, CONTEXT_DEBUG_REGISTERS, + }; use windows::Win32::System::Threading::{ ResumeThread, SuspendThread, THREAD_GET_CONTEXT, THREAD_SUSPEND_RESUME, };