Skip to main content

Crate ferro_babe

Crate ferro_babe 

Source
Expand description

FerroBabe disassembles individual Java class files without requiring a Java runtime.

Disassembler is the entry point. It parses bytes or a std::io::Read source into a Disassembly, which exposes either a complete Class or the header and diagnostics that were available before decoding stopped. Use FerroFormatter for FerroBabe’s compact text output, or implement Formatter to render the structured model yourself.

Re-exports§

pub use format::FerroFormatter;
pub use format::Formatter;
pub use model::Class;
pub use model::ClassVersion;
pub use model::Disassembly;

Modules§

format
Text-formatting APIs for parsed class files. Text-formatting APIs for complete Class models.
model
Borrowed views over class-file metadata, instructions, and constant-pool entries. Borrowed views over data decoded from a Java class file.

Structs§

Diagnostic
A recoverable parsing finding returned with a partial crate::Disassembly.
Disassembler
Parses Java class files into a structured reverse-engineering model.
DisassemblerBuilder
Configures a Disassembler before construction.
DisassemblerOptions
Immutable configuration used to create a Disassembler.

Enums§

DiagnosticSeverity
Indicates whether a recoverable parse finding is informational or erroneous.
DiagnosticStage
Identifies the class-file area associated with a Diagnostic.
FerroBabeError
Errors that prevent FerroBabe from returning the requested result.
RecoveryMode
Selects how the disassembler handles a decoding failure after the header.