pub trait PlatformModule: Send + Sync {
// Required methods
fn id(&self) -> &'static str;
fn name(&self) -> &'static str;
fn detection_patterns(&self) -> Vec<DetectionPattern>;
fn header_stubs(&self) -> &HeaderStubs;
fn attributes_to_strip(&self) -> &[&'static str];
fn ops_structs(&self) -> &[OpsStructDef];
fn call_normalizations(&self) -> &HashMap<&'static str, &'static str>;
}Expand description
Trait for platform-specific modules
Required Methods§
Sourcefn detection_patterns(&self) -> Vec<DetectionPattern>
fn detection_patterns(&self) -> Vec<DetectionPattern>
Get detection patterns for this platform
Sourcefn header_stubs(&self) -> &HeaderStubs
fn header_stubs(&self) -> &HeaderStubs
Get header stubs for this platform
Sourcefn attributes_to_strip(&self) -> &[&'static str]
fn attributes_to_strip(&self) -> &[&'static str]
Get attributes that should be stripped for this platform
Sourcefn ops_structs(&self) -> &[OpsStructDef]
fn ops_structs(&self) -> &[OpsStructDef]
Get ops struct definitions for callback resolution
Sourcefn call_normalizations(&self) -> &HashMap<&'static str, &'static str>
fn call_normalizations(&self) -> &HashMap<&'static str, &'static str>
Get call normalization mappings (platform-specific → unified)