summaryrefslogtreecommitdiff
path: root/rust/src/binaryview.rs
diff options
context:
space:
mode:
authorRubens Brandao <git@rubens.io>2024-04-22 10:43:00 -0300
committerKyle Martin <krm504@nyu.edu>2024-05-09 12:30:06 -0400
commit4e2fbc2b9ad3b45b47b803b8e0ffd8e3dcdf29ec (patch)
tree448c3017699dd53f1df26a56e68462ad21a17e30 /rust/src/binaryview.rs
parentfe710ffef3222272e1560ed8318dda726f7f925c (diff)
only create FlowGraph with Ref
Diffstat (limited to 'rust/src/binaryview.rs')
-rw-r--r--rust/src/binaryview.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs
index 33fd9881..6e510694 100644
--- a/rust/src/binaryview.rs
+++ b/rust/src/binaryview.rs
@@ -1064,7 +1064,7 @@ pub trait BinaryViewExt: BinaryViewBase {
unsafe { BNApplyDebugInfo(self.as_ref().handle, debug_info.handle) }
}
- fn show_graph_report<S: BnStrCompatible>(&self, raw_name: S, graph: FlowGraph) {
+ fn show_graph_report<S: BnStrCompatible>(&self, raw_name: S, graph: &FlowGraph) {
let raw_name = raw_name.into_bytes_with_nul();
unsafe {
BNShowGraphReport(