diff options
| author | Brian Potchik <brian@vector35.com> | 2025-11-25 12:04:24 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-11-25 12:04:24 -0500 |
| commit | 0317c1a5c51e623a00249ecdefa0c5dd582e0eb1 (patch) | |
| tree | 4602896bd33cfedd401d09727d6d474597da3319 /rust/src/workflow.rs | |
| parent | 77da98d11f935d3bd5013ec9ae6d2637186e6b2c (diff) | |
Fix rust documentation warnings.
Diffstat (limited to 'rust/src/workflow.rs')
| -rw-r--r-- | rust/src/workflow.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/rust/src/workflow.rs b/rust/src/workflow.rs index 3131a726..d06890f1 100644 --- a/rust/src/workflow.rs +++ b/rust/src/workflow.rs @@ -218,35 +218,35 @@ impl AnalysisContext { /// Check if an offset has code semantics in the cached section map. /// - /// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_code_semantics`]. + /// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_code_semantics`]. pub fn is_offset_code_semantics(&self, offset: u64) -> bool { unsafe { BNAnalysisContextIsOffsetCodeSemantics(self.handle.as_ptr(), offset) } } /// Check if an offset has external semantics in the cached section map. /// - /// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_extern_semantics`]. + /// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_extern_semantics`]. pub fn is_offset_extern_semantics(&self, offset: u64) -> bool { unsafe { BNAnalysisContextIsOffsetExternSemantics(self.handle.as_ptr(), offset) } } /// Check if an offset has writable semantics in the cached section map. /// - /// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_writable_semantics`]. + /// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_writable_semantics`]. pub fn is_offset_writable_semantics(&self, offset: u64) -> bool { unsafe { BNAnalysisContextIsOffsetWritableSemantics(self.handle.as_ptr(), offset) } } /// Check if an offset has read-only semantics in the cached section map. /// - /// NOTE: This is a lock-free alternative to [`BinaryView::is_offset_readonly_semantics`]. + /// NOTE: This is a lock-free alternative to [`BinaryViewExt::offset_has_read_only_semantics`]. pub fn is_offset_readonly_semantics(&self, offset: u64) -> bool { unsafe { BNAnalysisContextIsOffsetReadOnlySemantics(self.handle.as_ptr(), offset) } } /// Get all sections from the cached section map. /// - /// NOTE: This is a lock-free alternative to [`BinaryView::sections`]. + /// NOTE: This is a lock-free alternative to [`BinaryViewExt::sections`]. pub fn sections(&self) -> Array<Section> { unsafe { let mut count = 0; @@ -257,7 +257,7 @@ impl AnalysisContext { /// Get a section by name from the cached section map. /// - /// NOTE: This is a lock-free alternative to [`BinaryView::section_by_name`]. + /// NOTE: This is a lock-free alternative to [`BinaryViewExt::section_by_name`]. pub fn section_by_name(&self, name: impl IntoCStr) -> Option<Ref<Section>> { unsafe { let raw_name = name.to_cstr(); @@ -272,7 +272,7 @@ impl AnalysisContext { /// Get all sections containing the given address from the cached section map. /// - /// NOTE: This is a lock-free alternative to [`BinaryView::sections_at`]. + /// NOTE: This is a lock-free alternative to [`BinaryViewExt::sections_at`]. pub fn sections_at(&self, addr: u64) -> Array<Section> { unsafe { let mut count = 0; |
