From a6b801afadada75afd2b1779edee8d203f3b3140 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 29 Aug 2018 13:53:05 -0400 Subject: Change GetReloc to GetAddress --- binaryninjaapi.h | 2 +- binaryview.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binaryninjaapi.h b/binaryninjaapi.h index b6d41825..5164f77d 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -1369,7 +1369,7 @@ namespace BinaryNinja BNRelocationInfo GetInfo() const; Architecture* GetArchitecture() const; uint64_t GetTarget() const; - uint64_t GetReloc() const; + uint64_t GetAddress() const; Ref GetSymbol() const; }; diff --git a/binaryview.cpp b/binaryview.cpp index 293559cf..b4a66a95 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -2245,7 +2245,7 @@ uint64_t Relocation::GetTarget() const } -uint64_t Relocation::GetReloc() const +uint64_t Relocation::GetAddress() const { return BNRelocationGetReloc(m_object); } -- cgit v1.3.1