summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorrollsafe <rollsafe@users.noreply.github.com>2019-06-11 15:29:57 -0400
committerrollsafe <rollsafe@users.noreply.github.com>2019-06-13 17:29:56 -0400
commit1f885d1482d0d4e91f84c6d171672bf0d545923e (patch)
tree9f4ff618f8f7a67a207cef5d8d3b18d32701dadd /binaryninjaapi.h
parent5502500f2a605af47523847db67b4c506d8f16e4 (diff)
Add comments map to binaryview
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 53cacfa8..096f089d 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1541,6 +1541,10 @@ namespace BinaryNinja
std::vector<std::string> GetUniqueSectionNames(const std::vector<std::string>& names);
+ std::string GetCommentForAddress(uint64_t addr) const;
+ std::vector<uint64_t> GetCommentedAddresses() const;
+ void SetCommentForAddress(uint64_t addr, const std::string& comment);
+
std::vector<BNAddressRange> GetAllocatedRanges();
void StoreMetadata(const std::string& key, Ref<Metadata> value);