diff --git a/ghost-core/src/ebpf.rs b/ghost-core/src/ebpf.rs index 5a8faf3..f7f4f43 100644 --- a/ghost-core/src/ebpf.rs +++ b/ghost-core/src/ebpf.rs @@ -22,6 +22,7 @@ pub struct EbpfDetector { } #[cfg(target_os = "linux")] +#[derive(Debug)] pub struct EbpfProgramManager { loaded_programs: HashMap, program_definitions: Vec, @@ -64,6 +65,7 @@ pub struct EbpfProgramDefinition { } #[cfg(target_os = "linux")] +#[derive(Debug)] pub struct EbpfEventProcessor { event_handlers: HashMap>, detection_rules: Vec, @@ -429,6 +431,7 @@ pub enum IndicatorType { } #[cfg(target_os = "linux")] +#[derive(Debug)] pub struct EbpfFilterManager { active_filters: HashMap, filter_statistics: HashMap, @@ -481,6 +484,7 @@ pub struct FilterStats { } #[cfg(target_os = "linux")] +#[derive(Debug)] pub struct EbpfRingBuffer { buffer: Vec, read_index: usize,