summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-12-18 17:14:06 -0500
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-01-11 10:36:01 -0800
commit6f75ca031aa7e8f7e1c706d1880b202137b1996f (patch)
tree1fe8e778f98e4390a1075fc402047e23f2128934 /arch
parent168a3fd34824adc9c6a606cd144219701f15cccf (diff)
[Rust] Enter more session scoped tracing spans for debug info and binary view callbacks
Diffstat (limited to 'arch')
-rw-r--r--arch/msp430/Cargo.toml1
-rw-r--r--arch/msp430/src/architecture.rs2
-rw-r--r--arch/msp430/src/lift.rs2
-rw-r--r--arch/riscv/Cargo.toml1
-rw-r--r--arch/riscv/src/lib.rs1
5 files changed, 4 insertions, 3 deletions
diff --git a/arch/msp430/Cargo.toml b/arch/msp430/Cargo.toml
index 3e0d34fe..d5bcc31e 100644
--- a/arch/msp430/Cargo.toml
+++ b/arch/msp430/Cargo.toml
@@ -9,6 +9,7 @@ license = "Apache-2.0"
binaryninja.workspace = true
binaryninjacore-sys.workspace = true
msp430-asm = "^0.2"
+tracing = "0.1"
[lib]
crate-type = ["cdylib"]
diff --git a/arch/msp430/src/architecture.rs b/arch/msp430/src/architecture.rs
index 996d3c4a..244c6b07 100644
--- a/arch/msp430/src/architecture.rs
+++ b/arch/msp430/src/architecture.rs
@@ -8,7 +8,7 @@ use binaryninja::{
UnusedIntrinsic, UnusedRegisterStack,
},
disassembly::{InstructionTextToken, InstructionTextTokenKind},
- tracing, Endianness,
+ Endianness,
};
use msp430_asm::{
diff --git a/arch/msp430/src/lift.rs b/arch/msp430/src/lift.rs
index 480b150b..0630b18b 100644
--- a/arch/msp430/src/lift.rs
+++ b/arch/msp430/src/lift.rs
@@ -2,7 +2,7 @@ use crate::architecture::offset_to_absolute;
use crate::flag::{Flag, FlagWrite};
use crate::register::Register;
-use binaryninja::{architecture::FlagCondition, low_level_il::lifting::LowLevelILLabel, tracing};
+use binaryninja::{architecture::FlagCondition, low_level_il::lifting::LowLevelILLabel};
use msp430_asm::emulate::Emulated;
use msp430_asm::instruction::Instruction;
diff --git a/arch/riscv/Cargo.toml b/arch/riscv/Cargo.toml
index e247b301..d5ab661e 100644
--- a/arch/riscv/Cargo.toml
+++ b/arch/riscv/Cargo.toml
@@ -10,6 +10,7 @@ binaryninja.workspace = true
binaryninjacore-sys.workspace = true
riscv-dis = { path = "disasm" }
rayon = { version = "1.0", optional = true }
+tracing = "0.1"
[features]
default = []
diff --git a/arch/riscv/src/lib.rs b/arch/riscv/src/lib.rs
index 1ebe7fb4..1f822524 100644
--- a/arch/riscv/src/lib.rs
+++ b/arch/riscv/src/lib.rs
@@ -26,7 +26,6 @@ use binaryninja::{
RelocationType,
},
symbol::{Symbol, SymbolType},
- tracing,
types::{NameAndType, Type},
};
use std::borrow::Cow;