fixing cicd formatting code

This commit is contained in:
pandaadir05
2025-11-21 15:11:02 +02:00
parent 8047998576
commit 7e7aa8ceae

View File

@@ -321,7 +321,9 @@ mod platform {
// Get thread context (registers) // Get thread context (registers)
#[cfg(target_arch = "x86_64")] #[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 { let mut context = CONTEXT {
ContextFlags: CONTEXT_CONTROL, ContextFlags: CONTEXT_CONTROL,
@@ -610,7 +612,9 @@ mod platform {
/// Detect hardware breakpoints by examining debug registers (DR0-DR7) /// Detect hardware breakpoints by examining debug registers (DR0-DR7)
pub fn detect_hardware_breakpoints(pid: u32) -> Result<super::HardwareBreakpointResult> { pub fn detect_hardware_breakpoints(pid: u32) -> Result<super::HardwareBreakpointResult> {
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::{ use windows::Win32::System::Threading::{
ResumeThread, SuspendThread, THREAD_GET_CONTEXT, THREAD_SUSPEND_RESUME, ResumeThread, SuspendThread, THREAD_GET_CONTEXT, THREAD_SUSPEND_RESUME,
}; };