diff options
| author | Brian Potchik <brian@vector35.com> | 2025-07-12 11:24:18 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-07-12 11:24:18 -0400 |
| commit | 7a6f1553a1a4c621ffac81edaa859fb36cce95b7 (patch) | |
| tree | a4cb59487e4f9ad2f5972949b7f742e56e38637f /binaryninjacore.h | |
| parent | 41507e5f49989fbf60f303270e0a051b546469f4 (diff) | |
Add support for unbacked memory regions directly in the memory map.
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 82817ab8..3d32680c 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -37,7 +37,7 @@ // Current ABI version for linking to the core. This is incremented any time // there are changes to the API that affect linking, including new functions, // new types, or modifications to existing functions or types. -#define BN_CURRENT_CORE_ABI_VERSION 122 +#define BN_CURRENT_CORE_ABI_VERSION 123 // Minimum ABI version that is supported for loading of plugins. Plugins that // are linked to an ABI version less than this will not be able to load and @@ -4222,6 +4222,7 @@ extern "C" BINARYNINJACOREAPI bool BNIsMemoryMapActivated(BNBinaryView* view); BINARYNINJACOREAPI bool BNAddBinaryMemoryRegion(BNBinaryView* view, const char* name, uint64_t start, BNBinaryView* data, uint32_t flags); BINARYNINJACOREAPI bool BNAddDataMemoryRegion(BNBinaryView* view, const char* name, uint64_t start, BNDataBuffer* data, uint32_t flags); + BINARYNINJACOREAPI bool BNAddUnbackedMemoryRegion(BNBinaryView* view, const char* name, uint64_t start, uint64_t length, uint32_t flags, uint8_t fill); BINARYNINJACOREAPI bool BNAddRemoteMemoryRegion(BNBinaryView* view, const char* name, uint64_t start, BNFileAccessor* accessor, uint32_t flags); BINARYNINJACOREAPI bool BNRemoveMemoryRegion(BNBinaryView* view, const char* name); BINARYNINJACOREAPI char* BNGetActiveMemoryRegionAt(BNBinaryView* view, uint64_t addr); @@ -4233,6 +4234,7 @@ extern "C" BINARYNINJACOREAPI bool BNSetMemoryRegionRebaseable(BNBinaryView* view, const char* name, bool rebaseable); BINARYNINJACOREAPI uint8_t BNGetMemoryRegionFill(BNBinaryView* view, const char* name); BINARYNINJACOREAPI bool BNSetMemoryRegionFill(BNBinaryView* view, const char* name, uint8_t fill); + BINARYNINJACOREAPI bool BNIsMemoryRegionLocal(BNBinaryView* view, const char* name); BINARYNINJACOREAPI void BNResetMemoryMap(BNBinaryView* view); // Binary view access |
