binaryninja::flowgraph

Struct FlowGraph

source
pub struct FlowGraph { /* private fields */ }

Implementations§

source§

impl FlowGraph

source

pub fn new() -> Ref<Self>

source

pub fn nodes(&self) -> Array<FlowGraphNode>

source

pub fn low_level_il( &self, ) -> Result<Ref<RegularLowLevelILFunction<CoreArchitecture>>, ()>

source

pub fn medium_level_il(&self) -> Result<Ref<MediumLevelILFunction>, ()>

source

pub fn high_level_il( &self, full_ast: bool, ) -> Result<Ref<HighLevelILFunction>, ()>

source

pub fn get_node(&self, i: usize) -> Option<Ref<FlowGraphNode>>

source

pub fn get_node_count(&self) -> usize

source

pub fn has_nodes(&self) -> bool

source

pub fn append(&self, node: &FlowGraphNode) -> usize

source

pub fn replace(&self, index: usize, node: &FlowGraphNode)

source

pub fn clear(&self)

source

pub fn set_option(&self, option: FlowGraphOption, value: bool)

source

pub fn is_option_set(&self, option: FlowGraphOption) -> bool

source

pub fn render_layers(&self) -> Array<CoreRenderLayer>

A list of the currently applied CoreRenderLayer’s

source

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.

source

pub fn remove_render_layer(&self, layer: &CoreRenderLayer)

Remove a Render Layer from being applied to this FlowGraph.

Trait Implementations§

source§

impl Hash for FlowGraph

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for FlowGraph

source§

fn eq(&self, other: &FlowGraph) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl ToOwned for FlowGraph

source§

type Owned = Ref<FlowGraph>

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl Eq for FlowGraph

source§

impl StructuralPartialEq for FlowGraph

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.