summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index e0fbfb50..a6e433a3 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -6764,6 +6764,16 @@ namespace BinaryNinja {
return result;
}
+ uint32_t GetMemoryRegionFlags(const std::string& name)
+ {
+ return BNGetMemoryRegionFlags(m_object, name.c_str());
+ }
+
+ bool SetMemoryRegionFlags(const std::string& name, uint32_t flags)
+ {
+ return BNSetMemoryRegionFlags(m_object, name.c_str(), flags);
+ }
+
bool IsMemoryRegionEnabled(const std::string& name)
{
return BNIsMemoryRegionEnabled(m_object, name.c_str());
@@ -6784,6 +6794,11 @@ namespace BinaryNinja {
return BNSetMemoryRegionRebaseable(m_object, name.c_str(), rebaseable);
}
+ uint8_t GetMemoryRegionFill(const std::string& name)
+ {
+ return BNGetMemoryRegionFill(m_object, name.c_str());
+ }
+
bool SetMemoryRegionFill(const std::string& name, uint8_t fill)
{
return BNSetMemoryRegionFill(m_object, name.c_str(), fill);