summaryrefslogtreecommitdiff
path: root/architecture.cpp
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 /architecture.cpp
parent9f4b0d882a5fd4c7d46c8515694f72fc5845e1ab (diff)
Deprecate unused BinaryViewTypeArchitectureConstant API
Diffstat (limited to 'architecture.cpp')
-rw-r--r--architecture.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/architecture.cpp b/architecture.cpp
index b1acceb5..828aa0ff 100644
--- a/architecture.cpp
+++ b/architecture.cpp
@@ -1257,19 +1257,19 @@ Ref<RelocationHandler> Architecture::GetRelocationHandler(const std::string& vie
bool Architecture::IsBinaryViewTypeConstantDefined(const string& type, const string& name)
{
- return BNIsBinaryViewTypeArchitectureConstantDefined(m_object, type.c_str(), name.c_str());
+ return false;
}
uint64_t Architecture::GetBinaryViewTypeConstant(const string& type, const string& name, uint64_t defaultValue)
{
- return BNGetBinaryViewTypeArchitectureConstant(m_object, type.c_str(), name.c_str(), defaultValue);
+ return 0;
}
void Architecture::SetBinaryViewTypeConstant(const string& type, const string& name, uint64_t value)
{
- BNSetBinaryViewTypeArchitectureConstant(m_object, type.c_str(), name.c_str(), value);
+
}