diff options
| author | Peter LaFosse <peter@vector35.com> | 2018-08-29 13:53:05 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-08-29 13:53:05 -0400 |
| commit | a6b801afadada75afd2b1779edee8d203f3b3140 (patch) | |
| tree | 5d02f7f5915e18117f29d69754df8f8abb354be5 | |
| parent | 01b35b4c1aff666a151e8a34149412b91c44eae0 (diff) | |
Change GetReloc to GetAddress
| -rw-r--r-- | binaryninjaapi.h | 2 | ||||
| -rw-r--r-- | 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<Symbol> 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); } |
