diff options
Diffstat (limited to 'rust/src/flowgraph.rs')
| -rw-r--r-- | rust/src/flowgraph.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/src/flowgraph.rs b/rust/src/flowgraph.rs index 0faab0e4..f0b34853 100644 --- a/rust/src/flowgraph.rs +++ b/rust/src/flowgraph.rs @@ -17,7 +17,7 @@ use binaryninjacore_sys::*; use crate::high_level_il::HighLevelILFunction; -use crate::low_level_il::RegularLowLevelILFunction; +use crate::low_level_il::LowLevelILRegularFunction; use crate::medium_level_il::MediumLevelILFunction; use crate::rc::*; use crate::render_layer::CoreRenderLayer; @@ -58,11 +58,11 @@ impl FlowGraph { unsafe { Array::new(nodes_ptr, count, ()) } } - pub fn low_level_il(&self) -> Result<Ref<RegularLowLevelILFunction>, ()> { + pub fn low_level_il(&self) -> Result<Ref<LowLevelILRegularFunction>, ()> { unsafe { let llil_ptr = BNGetFlowGraphLowLevelILFunction(self.handle); match llil_ptr.is_null() { - false => Ok(RegularLowLevelILFunction::ref_from_raw(llil_ptr)), + false => Ok(LowLevelILRegularFunction::ref_from_raw(llil_ptr)), true => Err(()), } } |
