diff options
| author | Mason Reed <mason@vector35.com> | 2025-12-07 17:29:16 -0500 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-12-10 17:35:19 -0500 |
| commit | ce81158ad5495b888b190e042d8b9712730ee494 (patch) | |
| tree | a70774b7dff0946dff42548bda958ed45be145ad /rust/src/architecture/branches.rs | |
| parent | c3b40624916b3f75e9941158b43972e78e3f2a98 (diff) | |
[Rust] Misc cleanup for ABB
Diffstat (limited to 'rust/src/architecture/branches.rs')
| -rw-r--r-- | rust/src/architecture/branches.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/src/architecture/branches.rs b/rust/src/architecture/branches.rs index ff0ab516..80baa1b6 100644 --- a/rust/src/architecture/branches.rs +++ b/rust/src/architecture/branches.rs @@ -136,6 +136,12 @@ impl From<IndirectBranchInfo> for BNIndirectBranchInfo { } } +impl From<&BNIndirectBranchInfo> for IndirectBranchInfo { + fn from(value: &BNIndirectBranchInfo) -> Self { + Self::from(*value) + } +} + impl CoreArrayProvider for IndirectBranchInfo { type Raw = BNIndirectBranchInfo; type Context = (); |
