summaryrefslogtreecommitdiff
path: root/rust/src/binary_view.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/binary_view.rs')
-rw-r--r--rust/src/binary_view.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/binary_view.rs b/rust/src/binary_view.rs
index 4fb07ded..0f2deb56 100644
--- a/rust/src/binary_view.rs
+++ b/rust/src/binary_view.rs
@@ -471,7 +471,7 @@ pub trait BinaryViewExt: BinaryViewBase {
/// Consults the [`Section`]'s current [`crate::section::Semantics`] to determine if the
/// offset has read only semantics.
fn offset_has_read_only_semantics(&self, offset: u64) -> bool {
- unsafe { BNIsOffsetExternSemantics(self.as_ref().handle, offset) }
+ unsafe { BNIsOffsetReadOnlySemantics(self.as_ref().handle, offset) }
}
fn image_base(&self) -> u64 {