diff options
Diffstat (limited to 'rust/src/flowgraph.rs')
| -rw-r--r-- | rust/src/flowgraph.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rust/src/flowgraph.rs b/rust/src/flowgraph.rs index 2d1d986c..4489d950 100644 --- a/rust/src/flowgraph.rs +++ b/rust/src/flowgraph.rs @@ -124,6 +124,10 @@ impl FlowGraph { unsafe { BNSetViewForFlowGraph(self.handle, view_ptr) } } + pub fn lifted_il(&self) -> Option<Ref<LowLevelILRegularFunction>> { + self.function()?.lifted_il().ok() + } + pub fn low_level_il(&self) -> Option<Ref<LowLevelILRegularFunction>> { unsafe { let llil_ptr = BNGetFlowGraphLowLevelILFunction(self.handle); |
