Expand description
Byte-safe Mach-O structural parsing, validation, and diagnostics.
Re-exports§
pub use crate::format::ParseLimits;pub use crate::format::ParseMode;pub use crate::format::ParseOptions;pub use crate::format::ParseOutcome;pub use crate::format::parse;pub use crate::format::parse_with_options;pub use format::load_commands::parse_load_commands;pub use model::load_command::LoadCommand;pub use model::load_command::format_uuid;pub use model::macho_file::MachoFile;pub use model::section::Section;pub use model::symbol::Symbol;pub use model::symbol::SymbolTable;pub use model::SelectedImage;pub use model::SelectionKey;
Modules§
Structs§
- File
RvaMapping - Mapping from reconstructed file bytes to the mapped RVA bytes that supplied them.
- Materialization
Limits - Resource limits for mapped-image reconstruction.
- Materialized
Image - A reconstructed Mach-O file and its source-coordinate map.
- Offset
Span - Byte range associated with a parser failure.
- Parse
Error - Structured failure returned by core parsing and structural accessors.
Enums§
- Context
Frame - Ordered structural context retained while errors cross parser boundaries.
- Parse
Error Kind - Stable category for a structural parse failure.
Traits§
- Mapped
Image Reader - Immutable random-access reader over one mapped Mach-O module.
Functions§
- materialize_
mapped_ image - Reconstruct one parseable thin file from an immutable mapped-module snapshot.
- probe
- Return whether the leading bytes identify a thin or universal Mach-O.
Type Aliases§
- Parse
Result - Result returned by core parsing and structural accessors.