summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
authorrollsafe <rollsafe@users.noreply.github.com>2019-06-06 20:12:59 -0400
committerrollsafe <rollsafe@users.noreply.github.com>2019-06-06 20:12:59 -0400
commit95a4b66fd724cd0a4174ad2ecd8608a8f918aad5 (patch)
tree7c1cdab71c68d523d5cfb4b8c66884d49fb813e1 /function.cpp
parentd15cca8c264cd442bbe1427844dc0d76d19d17df (diff)
Rename Function::AddUserCodeReference and Function::RemoveUserCodeReference
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/function.cpp b/function.cpp
index 2a3e333f..66fd870c 100644
--- a/function.cpp
+++ b/function.cpp
@@ -246,15 +246,15 @@ void Function::SetCommentForAddress(uint64_t addr, const string& comment)
}
-void Function::AddUserCodeRef(Architecture* fromArch, uint64_t fromAddr, uint64_t toAddr)
+void Function::AddUserCodeReference(Architecture* fromArch, uint64_t fromAddr, uint64_t toAddr)
{
- BNAddUserCodeRef(m_object, fromArch->GetObject(), fromAddr, toAddr);
+ BNAddUserCodeReference(m_object, fromArch->GetObject(), fromAddr, toAddr);
}
-void Function::RemoveUserCodeRef(Architecture* fromArch, uint64_t fromAddr, uint64_t toAddr)
+void Function::RemoveUserCodeReference(Architecture* fromArch, uint64_t fromAddr, uint64_t toAddr)
{
- BNRemoveUserCodeRef(m_object, fromArch->GetObject(), fromAddr, toAddr);
+ BNRemoveUserCodeReference(m_object, fromArch->GetObject(), fromAddr, toAddr);
}