diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-11-04 15:55:04 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-11-04 15:55:04 -0400 |
| commit | eacbbc9a3f955b21ea50a1ae49747d4df6498670 (patch) | |
| tree | d512df9825d7998db949776cdff759676eda41ae /binaryview.cpp | |
| parent | d2915cca83ac3ff5f89b3bf7c21327afd2b5338a (diff) | |
Expose RangeContainsRelocation
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 749368dc..fb9b9340 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1323,6 +1323,12 @@ vector<pair<uint64_t, uint64_t>> BinaryView::GetRelocationRangesAtAddress(uint64 } +bool BinaryView::RangeContainsRelocation(uint64_t addr, size_t size) const +{ + return BNRangeContainsRelocation(m_object, addr, size); +} + + void BinaryView::RegisterNotification(BinaryDataNotification* notify) { BNRegisterDataNotification(m_object, notify->GetCallbacks()); |
