diff options
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 = (); |
