diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-12-23 13:12:02 -0700 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2026-05-22 16:30:56 -0400 |
| commit | 8d621c51b2797fda7b1dc22243dde611cfc04f68 (patch) | |
| tree | ba5e6a90e644d21d13e75dabcbd0cc747444443a /rust/src/disassembly.rs | |
| parent | 08e34ac325743085911f96b62c81d9a1f2127806 (diff) | |
Refactor calling conventions to support correct representation of structures
Diffstat (limited to 'rust/src/disassembly.rs')
| -rw-r--r-- | rust/src/disassembly.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/src/disassembly.rs b/rust/src/disassembly.rs index cb9bf6a1..718c7737 100644 --- a/rust/src/disassembly.rs +++ b/rust/src/disassembly.rs @@ -506,6 +506,7 @@ pub enum InstructionTextTokenKind { // TODO: Explain what this is hash: Option<u64>, }, + ValueLocation, CodeSymbol { // Target address of the symbol value: u64, @@ -700,6 +701,7 @@ impl InstructionTextTokenKind { hash => Some(hash), }, }, + BNInstructionTextTokenType::ValueLocationToken => Self::ValueLocation, BNInstructionTextTokenType::CodeSymbolToken => Self::CodeSymbol { value: value.value, size: value.size, @@ -914,6 +916,9 @@ impl From<InstructionTextTokenKind> for BNInstructionTextTokenType { BNInstructionTextTokenType::BaseStructureSeparatorToken } InstructionTextTokenKind::Brace { .. } => BNInstructionTextTokenType::BraceToken, + InstructionTextTokenKind::ValueLocation => { + BNInstructionTextTokenType::ValueLocationToken + } InstructionTextTokenKind::CodeSymbol { .. } => { BNInstructionTextTokenType::CodeSymbolToken } |
