diff options
| author | Peter LaFosse <peter@vector35.com> | 2025-06-30 10:31:08 -0400 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-07-03 09:10:13 -0700 |
| commit | b26a85dda211a0f1f00eecc37441e1725c5ef898 (patch) | |
| tree | 0f4157d209c00b93c8ba1d9a2e93f342209b924a /binaryview.cpp | |
| parent | e96a7a078a9909fc1212861c9669e6af0b034e46 (diff) | |
Expose Add/RemoveDataReference and ensure BinaryViews use this API instead of the _user_ variant
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index bad12407..598f666c 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -2524,6 +2524,18 @@ vector<uint64_t> BinaryView::GetDataReferencesFrom(uint64_t addr, uint64_t len) } +void BinaryView::AddDataReference(uint64_t fromAddr, uint64_t toAddr) +{ + BNAddDataReference(m_object, fromAddr, toAddr); +} + + +void BinaryView::RemoveDataReference(uint64_t fromAddr, uint64_t toAddr) +{ + BNRemoveDataReference(m_object, fromAddr, toAddr); +} + + void BinaryView::AddUserDataReference(uint64_t fromAddr, uint64_t toAddr) { BNAddUserDataReference(m_object, fromAddr, toAddr); |
