diff options
| author | Brian Potchik <brian@vector35.com> | 2025-11-24 15:35:58 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-11-24 15:35:58 -0500 |
| commit | b4d77d5b44dd322042f90b5a4a4da9075d05b644 (patch) | |
| tree | 9d13e5ae7c4c2f62ffd67ba79bfb8cc42b1566cc /binaryninjaapi.h | |
| parent | d3d4d43d223da5cd84b48a129b54acc39612c986 (diff) | |
Add AnalysisContext FFI for SectionMap queries.
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 9 |
1 files changed, 9 insertions, 0 deletions
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<Segment> GetSegmentAt(uint64_t addr); std::vector<BNAddressRange> GetMappedAddressRanges(); std::vector<BNAddressRange> 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<Ref<Section>> GetSections(); + Ref<Section> GetSectionByName(const std::string& name); + std::vector<Ref<Section>> GetSectionsAt(uint64_t addr); }; // Explicit template specialization declarations for AnalysisContext::GetSetting<T> |
