pub enum Phase {
Decode,
Classify,
Name,
Document,
}Expand description
The phases of a disassembly, in dependency order: nothing later is trustworthy until the earlier phases are clear (code must be decoded before its bytes can be classified, and named once decoded).
Variants§
Decode
Close the control-flow graph: every call/jump target decoded, no run leaking into non-code.
Classify
Classify every mapped byte as code or typed data (none left undefined).
Name
Give every referenced address a real name (no provisional labels).
Document
Record what every named routine does: a set_note on each (the durable,
detailed account future passes surface), plus a set_comment when its
purpose is clear enough to state in one line.
Trait Implementations§
impl Copy for Phase
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Forget for Phase
impl Freeze for Phase
impl Move for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnsafeUnpin for Phase
impl UnwindSafe for Phase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more