pub struct FlowGraph { /* private fields */ }
Implementations§
source§impl FlowGraph
impl FlowGraph
pub fn new() -> Ref<Self>
pub fn has_updates(&self) -> bool
pub fn update(&self) -> Option<Ref<Self>>
pub fn show(&self, title: &str)
sourcepub fn is_layout_complete(&self) -> bool
pub fn is_layout_complete(&self) -> bool
Whether flow graph layout is complete.
pub fn nodes(&self) -> Array<FlowGraphNode>
pub fn function(&self) -> Option<Ref<Function>>
pub fn set_function(&self, func: Option<&Function>)
pub fn view(&self) -> Option<Ref<BinaryView>>
pub fn set_view(&self, view: Option<&BinaryView>)
pub fn low_level_il(&self) -> Option<Ref<LowLevelILRegularFunction>>
pub fn medium_level_il(&self) -> Option<Ref<MediumLevelILFunction>>
pub fn high_level_il(&self, full_ast: bool) -> Option<Ref<HighLevelILFunction>>
pub fn get_node(&self, i: usize) -> Option<Ref<FlowGraphNode>>
pub fn get_node_count(&self) -> usize
pub fn has_nodes(&self) -> bool
sourcepub fn node_margins(&self) -> (i32, i32)
pub fn node_margins(&self) -> (i32, i32)
Returns the graph margins between nodes.
sourcepub fn set_node_margins(&self, horizontal: i32, vertical: i32)
pub fn set_node_margins(&self, horizontal: i32, vertical: i32)
Sets the graph margins between nodes.
pub fn append(&self, node: &FlowGraphNode) -> usize
pub fn replace(&self, index: usize, node: &FlowGraphNode)
pub fn clear(&self)
pub fn set_option(&self, option: FlowGraphOption, value: bool)
pub fn is_option_set(&self, option: FlowGraphOption) -> bool
sourcepub fn render_layers(&self) -> Array<CoreRenderLayer>
pub fn render_layers(&self) -> Array<CoreRenderLayer>
A list of the currently applied CoreRenderLayer
’s
sourcepub fn add_render_layer(&self, layer: &CoreRenderLayer)
pub fn add_render_layer(&self, layer: &CoreRenderLayer)
Add a Render Layer to be applied to this FlowGraph
.
NOTE: Layers will be applied in the order in which they are added.
sourcepub fn remove_render_layer(&self, layer: &CoreRenderLayer)
pub fn remove_render_layer(&self, layer: &CoreRenderLayer)
Remove a Render Layer from being applied to this FlowGraph
.
Trait Implementations§
source§impl ToOwned for FlowGraph
impl ToOwned for FlowGraph
impl Eq for FlowGraph
impl StructuralPartialEq for FlowGraph
Auto Trait Implementations§
impl Freeze for FlowGraph
impl RefUnwindSafe for FlowGraph
impl !Send for FlowGraph
impl !Sync for FlowGraph
impl Unpin for FlowGraph
impl UnwindSafe for FlowGraph
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