diff options
| author | Brian Potchik <brian@vector35.com> | 2019-04-11 16:46:46 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2019-04-11 16:46:46 -0400 |
| commit | 5e03e100bd0dcf5033476be3c3ab3ccad86532e6 (patch) | |
| tree | 11bd229467247e9c344cf2a9ea13159f7799256b /binaryview.cpp | |
| parent | 5e0e2f6c667e34f38c7d28d0f40f6d10d9d41492 (diff) | |
Add GetStringAtAddress to the API.
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 18cd4bb9..4e4620d7 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1684,6 +1684,12 @@ size_t BinaryView::GetInstructionLength(Architecture* arch, uint64_t addr) } +bool BinaryView::GetStringAtAddress(uint64_t addr, BNStringReference& strRef) +{ + return BNGetStringAtAddress(m_object, addr, &strRef); +} + + vector<BNStringReference> BinaryView::GetStrings() { size_t count; |
