diff options
| author | Rubens Brandao <git@rubens.io> | 2024-04-22 10:43:00 -0300 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2024-05-09 12:30:06 -0400 |
| commit | 4e2fbc2b9ad3b45b47b803b8e0ffd8e3dcdf29ec (patch) | |
| tree | 448c3017699dd53f1df26a56e68462ad21a17e30 /rust/examples | |
| parent | fe710ffef3222272e1560ed8318dda726f7f925c (diff) | |
only create FlowGraph with Ref
Diffstat (limited to 'rust/examples')
| -rw-r--r-- | rust/examples/dwarf/dwarfdump/src/lib.rs | 2 | ||||
| -rw-r--r-- | rust/examples/flowgraph/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rust/examples/dwarf/dwarfdump/src/lib.rs b/rust/examples/dwarf/dwarfdump/src/lib.rs index 8c6b32b7..c062ac63 100644 --- a/rust/examples/dwarf/dwarfdump/src/lib.rs +++ b/rust/examples/dwarf/dwarfdump/src/lib.rs @@ -281,7 +281,7 @@ fn dump_dwarf(bv: &BinaryView) { } } - view.show_graph_report("DWARF", graph); + view.show_graph_report("DWARF", &graph); } struct DWARFDump; diff --git a/rust/examples/flowgraph/src/lib.rs b/rust/examples/flowgraph/src/lib.rs index 0375705d..2a03341c 100644 --- a/rust/examples/flowgraph/src/lib.rs +++ b/rust/examples/flowgraph/src/lib.rs @@ -36,7 +36,7 @@ fn test_graph(view: &BinaryView) { &EdgeStyle::default(), ); - view.show_graph_report("Rust Graph Title", graph); + view.show_graph_report("Rust Graph Title", &graph); } #[no_mangle] |
