summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index 55f5cffb..7c188e72 100644
--- a/function.cpp
+++ b/function.cpp
@@ -539,3 +539,17 @@ vector<vector<InstructionTextToken>> Function::GetBlockAnnotations(Architecture*
BNFreeInstructionTextLines(lines, count);
return result;
}
+
+
+BNIntegerDisplayType Function::GetIntegerConstantDisplayType(Architecture* arch, uint64_t instrAddr, uint64_t value,
+ size_t operand)
+{
+ return BNGetIntegerConstantDisplayType(m_object, arch->GetObject(), instrAddr, value, operand);
+}
+
+
+void Function::SetIntegerConstantDisplayType(Architecture* arch, uint64_t instrAddr, uint64_t value, size_t operand,
+ BNIntegerDisplayType type)
+{
+ BNSetIntegerConstantDisplayType(m_object, arch->GetObject(), instrAddr, value, operand, type);
+}