summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/examples/flowgraph.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/examples/flowgraph.rs b/rust/examples/flowgraph.rs
index ce91d62f..ede7ce84 100644
--- a/rust/examples/flowgraph.rs
+++ b/rust/examples/flowgraph.rs
@@ -130,9 +130,8 @@ fn main() {
test_graph();
for func in bv.functions().iter().take(5) {
- let graph = func.create_graph(FunctionViewType::MediumLevelIL, None);
// TODO: Why are the nodes empty? Python its empty until its shown...
- assert!(!graph.nodes().is_empty());
+ let graph = func.create_graph(FunctionViewType::MediumLevelIL, None);
let func_name = func.symbol().short_name();
let title = func_name.to_string_lossy();
bv.show_graph_report(&title, &graph);