summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2022-09-28 14:47:48 +0800
committerXusheng <xusheng@vector35.com>2022-10-04 15:51:02 +0800
commited820d2ab81470b3e5ac543d75211e87ff3bc738 (patch)
treeb2d81cb67936d8aa7dcd0888c28c31d6df982d65 /binaryninjaapi.h
parent9f4b0d882a5fd4c7d46c8515694f72fc5845e1ab (diff)
Deprecate unused BinaryViewTypeArchitectureConstant API
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 64206875..91395a90 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -5617,6 +5617,8 @@ namespace BinaryNinja {
void RegisterRelocationHandler(const std::string& viewName, RelocationHandler* handler);
Ref<RelocationHandler> GetRelocationHandler(const std::string& viewName);
+ // These three binary view type constant APIs are deprecated and should no longer be used. There implementations
+ // have been removed, and they now have no effects.
bool IsBinaryViewTypeConstantDefined(const std::string& type, const std::string& name);
uint64_t GetBinaryViewTypeConstant(const std::string& type, const std::string& name, uint64_t defaultValue = 0);
void SetBinaryViewTypeConstant(const std::string& type, const std::string& name, uint64_t value);