fix: Resolve 44 compilation errors in ghost-core

This commit is contained in:
pandaadir05
2025-11-17 22:26:53 +02:00
parent b1f098571d
commit 34007d11c1
16 changed files with 566 additions and 310 deletions

View File

@@ -123,7 +123,7 @@ pub enum DifficultyLevel {
VeryHigh,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
pub enum KillChainPhase {
Reconnaissance,
WeaponizationDevelopment,
@@ -530,7 +530,7 @@ impl MitreAttackEngine {
// Check for Process Injection indicators
let rwx_regions = memory_regions.iter()
.filter(|r| r.protection.readable && r.protection.writable && r.protection.executable)
.filter(|r| r.protection.is_readable() && r.protection.is_writable() && r.protection.is_executable())
.count();
if rwx_regions > 0 {