debugging and fixing cicd
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
///! - Function address resolution
|
||||
use crate::{GhostError, Result};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::HashMap;
|
||||
|
||||
/// PE data directory indices
|
||||
pub const IMAGE_DIRECTORY_ENTRY_EXPORT: usize = 0;
|
||||
@@ -435,9 +434,7 @@ pub fn parse_iat_from_memory(
|
||||
_base_address: usize,
|
||||
_memory_reader: impl Fn(u32, usize, usize) -> Result<Vec<u8>>,
|
||||
) -> Result<Vec<ImportEntry>> {
|
||||
Err(GhostError::NotImplemented(
|
||||
"IAT parsing not implemented for this platform".to_string(),
|
||||
))
|
||||
Err(GhostError::PlatformNotSupported { feature: "IAT parsing not implemented for this platform".to_string() })
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
@@ -447,7 +444,5 @@ pub fn detect_iat_hooks(
|
||||
_disk_path: &str,
|
||||
_memory_reader: impl Fn(u32, usize, usize) -> Result<Vec<u8>>,
|
||||
) -> Result<IATHookResult> {
|
||||
Err(GhostError::NotImplemented(
|
||||
"IAT hook detection not implemented for this platform".to_string(),
|
||||
))
|
||||
Err(GhostError::PlatformNotSupported { feature: "IAT hook detection not implemented for this platform".to_string() })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user