Skip to main content

Crate rustrip

Crate rustrip 

Source
Expand description

rustrip — make stripped Rust binaries readable again.

Public API re-exports. The pipeline is:

goblin Parse -> `Binary` -> `[Analyzer]` -> `Vec<Annotation>` -> Output backend

Each stage is independent. New analyzers and new output backends can be added without touching the others. See analyzers and output modules.

Re-exports§

pub use analyzers::Analyzer;
pub use analyzers::Annotation;
pub use analyzers::AnnotationKind;
pub use analyzers::Registry;
pub use binary::Binary;
pub use binary::BinaryFormat;
pub use binary::Section;
pub use binary::Symbol;

Modules§

analyzers
Pluggable analyzer framework.
binary
Parsed-binary model: ELF / PE / Mach-O, with vaddr <-> file offset translation and size-aware readers.
output
Convert annotations to a renderable stream.