From b4d77d5b44dd322042f90b5a4a4da9075d05b644 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 24 Nov 2025 15:35:58 -0500 Subject: Add AnalysisContext FFI for SectionMap queries. --- binaryninjaapi.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 37bbd235..6f84250c 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -11483,6 +11483,15 @@ namespace BinaryNinja { Ref GetSegmentAt(uint64_t addr); std::vector GetMappedAddressRanges(); std::vector GetBackedAddressRanges(); + + // Section map access - lock-free access to cached SectionMap + bool IsOffsetCodeSemantics(uint64_t offset); + bool IsOffsetExternSemantics(uint64_t offset); + bool IsOffsetWritableSemantics(uint64_t offset); + bool IsOffsetReadOnlySemantics(uint64_t offset); + std::vector> GetSections(); + Ref
GetSectionByName(const std::string& name); + std::vector> GetSectionsAt(uint64_t addr); }; // Explicit template specialization declarations for AnalysisContext::GetSetting -- cgit v1.3.1