From ccd33ad78bb48bc22068e8c8ec4b1b4b11664617 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sun, 23 Nov 2025 20:23:44 -0500 Subject: Add IsOffsetReadOnlySemantics API. --- rust/src/binary_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/src/binary_view.rs') 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 { -- cgit v1.3.1