summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index cbb70166..89b85250 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -956,6 +956,12 @@ void BinaryView::UndefineUserSymbol(Symbol* sym)
}
+void BinaryView::DefineImportedFunction(Symbol* importAddressSym, Function* func)
+{
+ BNDefineImportedFunction(m_object, importAddressSym->GetObject(), func->GetObject());
+}
+
+
bool BinaryView::IsNeverBranchPatchAvailable(Architecture* arch, uint64_t addr)
{
return BNIsNeverBranchPatchAvailable(m_object, arch->GetObject(), addr);