From d201a676f6e3da43e5aa7cf2a57d446b0e98a8e9 Mon Sep 17 00:00:00 2001 From: pandaadir05 Date: Thu, 20 Nov 2025 15:24:15 +0200 Subject: [PATCH] Fix eBPF Debug trait issues --- ghost-core/src/ebpf.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghost-core/src/ebpf.rs b/ghost-core/src/ebpf.rs index f7f4f43..2a55b24 100644 --- a/ghost-core/src/ebpf.rs +++ b/ghost-core/src/ebpf.rs @@ -13,7 +13,6 @@ use std::time::{Duration, SystemTime}; /// Linux eBPF-based Process Injection Detection /// Provides kernel-level tracing and detection capabilities on Linux systems #[cfg(target_os = "linux")] -#[derive(Debug)] pub struct EbpfDetector { program_manager: EbpfProgramManager, event_processor: EbpfEventProcessor, @@ -65,7 +64,6 @@ pub struct EbpfProgramDefinition { } #[cfg(target_os = "linux")] -#[derive(Debug)] pub struct EbpfEventProcessor { event_handlers: HashMap>, detection_rules: Vec, @@ -295,6 +293,7 @@ pub struct DetectionContext { } #[cfg(target_os = "linux")] +#[derive(Debug)] pub struct EbpfDetectionRule { pub rule_id: String, pub name: String, @@ -378,6 +377,7 @@ pub enum NetworkPattern { } #[cfg(target_os = "linux")] +#[derive(Debug)] pub struct ProcessTracker { processes: HashMap, process_tree: HashMap>,