Skip to content

Commit 83edc64

Browse files
committed
[Rust] Enter more session scoped tracing spans for debug info and binary view callbacks
1 parent b1e7a78 commit 83edc64

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+253
-197
lines changed

Cargo.lock

Lines changed: 89 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

arch/msp430/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ license = "Apache-2.0"
99
binaryninja.workspace = true
1010
binaryninjacore-sys.workspace = true
1111
msp430-asm = "^0.2"
12+
tracing = "0.1"
1213

1314
[lib]
1415
crate-type = ["cdylib"]

arch/msp430/src/architecture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use binaryninja::{
88
UnusedIntrinsic, UnusedRegisterStack,
99
},
1010
disassembly::{InstructionTextToken, InstructionTextTokenKind},
11-
tracing, Endianness,
11+
Endianness,
1212
};
1313

1414
use msp430_asm::{

arch/msp430/src/lift.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::architecture::offset_to_absolute;
22
use crate::flag::{Flag, FlagWrite};
33
use crate::register::Register;
44

5-
use binaryninja::{architecture::FlagCondition, low_level_il::lifting::LowLevelILLabel, tracing};
5+
use binaryninja::{architecture::FlagCondition, low_level_il::lifting::LowLevelILLabel};
66

77
use msp430_asm::emulate::Emulated;
88
use msp430_asm::instruction::Instruction;

arch/riscv/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ binaryninja.workspace = true
1010
binaryninjacore-sys.workspace = true
1111
riscv-dis = { path = "disasm" }
1212
rayon = { version = "1.0", optional = true }
13+
tracing = "0.1"
1314

1415
[features]
1516
default = []

arch/riscv/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ use binaryninja::{
2626
RelocationType,
2727
},
2828
symbol::{Symbol, SymbolType},
29-
tracing,
3029
types::{NameAndType, Type},
3130
};
3231
use std::borrow::Cow;

plugins/dwarf/dwarf_export/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ binaryninja.workspace = true
1212
binaryninjacore-sys.workspace = true
1313
gimli = "^0.31"
1414
object = { version = "0.32.1", features = ["write"] }
15+
tracing = "0.1"

0 commit comments

Comments
 (0)