summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-11 16:16:30 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commit5dce2937456a59b951ebba720b1077d1e2e7e836 (patch)
treee428ffbcddc6240888954965b612716d07631222 /rust/examples
parentc4da4396109b98971686154dbb305b281cd3e872 (diff)
[Rust] Remove extra assert in flowgraph example
Diffstat (limited to 'rust/examples')
-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);