Expand description
Platform detection and abstraction for C codebases
This module provides automatic detection of the target platform (Linux, FreeBSD, Darwin) based on source code patterns, and provides platform-specific configurations for parsing.
Structs§
- Detection
Pattern - A pattern used to detect platform
- Detection
Result - Detection result with confidence score
- Header
Stubs - Header stub definitions - actual type definitions to inject
- Linux
Platform - Linux kernel platform module
- OpsField
Def - Definition of an ops struct field
- OpsStruct
Def - Definition of an ops struct (like file_operations, pci_driver)
- Platform
Registry - Registry of available platforms
Enums§
- Callback
Category - Category of callback functions in ops structures
- Detection
Kind - Detection pattern kind
Traits§
- Platform
Module - Trait for platform-specific modules