neo-decompiler 0.11.0

Neo N3 NEF decompiler: parse, disassemble, lift bytecode to high-level pseudocode and C# skeletons, with a CLI, JSON reports, and optional WebAssembly bindings.
Documentation
use super::super::basic_block::BlockId;

/// An edge in the CFG.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Edge {
    /// Source block.
    pub from: BlockId,
    /// Target block.
    pub to: BlockId,
    /// Kind of edge.
    pub kind: EdgeKind,
}

/// The kind of CFG edge.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum EdgeKind {
    /// Unconditional edge (fallthrough or jump).
    Unconditional,
    /// Conditional true branch.
    ConditionalTrue,
    /// Conditional false branch.
    ConditionalFalse,
    /// Exception handler edge.
    Exception,
    /// Finally block edge.
    Finally,
}