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
Classmodels. - 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.
- Disassembler
Builder - Configures a
Disassemblerbefore construction. - Disassembler
Options - Immutable configuration used to create a
Disassembler.
Enums§
- Diagnostic
Severity - Indicates whether a recoverable parse finding is informational or erroneous.
- Diagnostic
Stage - Identifies the class-file area associated with a
Diagnostic. - Ferro
Babe Error - Errors that prevent FerroBabe from returning the requested result.
- Recovery
Mode - Selects how the disassembler handles a decoding failure after the header.