summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 1e5ab511..25c32b1c 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1436,6 +1436,9 @@ namespace BinaryNinja
void AddUserDataReference(uint64_t fromAddr, uint64_t toAddr);
void RemoveUserDataReference(uint64_t fromAddr, uint64_t toAddr);
+ std::vector<uint64_t> GetCallees(ReferenceSource addr);
+ std::vector<ReferenceSource> GetCallers(uint64_t addr);
+
Ref<Symbol> GetSymbolByAddress(uint64_t addr, const NameSpace& nameSpace=NameSpace());
Ref<Symbol> GetSymbolByRawName(const std::string& name, const NameSpace& nameSpace=NameSpace());
std::vector<Ref<Symbol>> GetSymbolsByName(const std::string& name, const NameSpace& nameSpace=NameSpace());
@@ -2618,6 +2621,8 @@ namespace BinaryNinja
void SetComment(const std::string& comment);
void SetCommentForAddress(uint64_t addr, const std::string& comment);
+ std::vector<ReferenceSource> GetCallSites() const;
+
void AddUserCodeReference(Architecture* fromArch, uint64_t fromAddr, uint64_t toAddr);
void RemoveUserCodeReference(Architecture* fromArch, uint64_t fromAddr, uint64_t toAddr);