From 5dce2937456a59b951ebba720b1077d1e2e7e836 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 11 May 2025 16:16:30 -0400 Subject: [Rust] Remove extra assert in flowgraph example --- rust/examples/flowgraph.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rust/examples') 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); -- cgit v1.3.1