summaryrefslogtreecommitdiff
path: root/rust/examples/workflow/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/examples/workflow/src')
-rw-r--r--rust/examples/workflow/src/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/rust/examples/workflow/src/lib.rs b/rust/examples/workflow/src/lib.rs
index 0392b3bf..3e295c51 100644
--- a/rust/examples/workflow/src/lib.rs
+++ b/rust/examples/workflow/src/lib.rs
@@ -1,6 +1,5 @@
-use binaryninja::architecture::CoreArchitecture;
use binaryninja::llil::{
- ExprInfo, LiftedNonSSA, Mutable, NonSSA, RegularNonSSA, VisitorAction, SSA,
+ ExprInfo, LiftedNonSSA, NonSSA, VisitorAction,
};
use binaryninja::workflow::{Activity, AnalysisContext, Workflow};
use log::LevelFilter;
@@ -32,7 +31,7 @@ fn example_activity(analysis_context: &AnalysisContext) {
if let Some(llil_instr) = llil.instruction_at(instr) {
llil_instr.visit_tree(&mut |expr, info| {
match info {
- ExprInfo::Const(op) => {
+ ExprInfo::Const(_op) => {
// Replace all consts with 0x1337.
log::info!(
"Replacing llil expression @ 0x{:x} : {}",