summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-12-07 15:03:44 -0500
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-12-10 17:35:19 -0500
commit501fe3ec7a63a534fca3926a5fc4267f6886f089 (patch)
tree0e3e64fcef0a3180950f3e8fb3758ebcbf5d02e7 /rust/examples
parent7090d904513c3e80321bb6a8aba9c3b37d809bac (diff)
[Rust] Move architecture module code into more reasonable files
To keep backwards compatibility for commonly referenced code we re-export them within the architecture module. Also does some light refactoring of some newly added APIs to keep them more consistent with other parts of the codebase.
Diffstat (limited to 'rust/examples')
-rw-r--r--rust/examples/flowgraph.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/examples/flowgraph.rs b/rust/examples/flowgraph.rs
index ede7ce84..75c854a7 100644
--- a/rust/examples/flowgraph.rs
+++ b/rust/examples/flowgraph.rs
@@ -7,9 +7,10 @@ use binaryninja::interaction::handler::{
};
use binaryninja::interaction::{MessageBoxButtonResult, MessageBoxButtonSet, MessageBoxIcon};
use binaryninja::{
+ architecture::BranchType,
binary_view::{BinaryView, BinaryViewExt},
disassembly::{DisassemblyTextLine, InstructionTextToken, InstructionTextTokenKind},
- flowgraph::{BranchType, EdgePenStyle, FlowGraph, ThemeColor},
+ flowgraph::{EdgePenStyle, FlowGraph, ThemeColor},
};
pub struct GraphPrinter;