summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2016-05-25 19:29:10 -0400
committerRusty Wagner <rusty@vector35.com>2016-05-25 19:29:10 -0400
commit0c3c4285a38d70bafb089b85e6764d0f4153ff9c (patch)
tree8e0025d90a2938d46596cbd62e691150dc6650bf /binaryninjaapi.h
parentebb6efaf92d36c0284bd8a5450cf2c051446f23a (diff)
Adding API to retrieve basic block annotations
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 c9c19953..50def47f 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1275,6 +1275,8 @@ namespace BinaryNinja
bool HasUndeterminedOutgoingEdges() const;
void MarkRecentUse();
+
+ std::vector<std::vector<InstructionTextToken>> GetAnnotations();
};
struct StackVariable
@@ -1385,6 +1387,8 @@ namespace BinaryNinja
std::vector<IndirectBranchInfo> GetIndirectBranches();
std::vector<IndirectBranchInfo> GetIndirectBranchesAt(Architecture* arch, uint64_t addr);
+
+ std::vector<std::vector<InstructionTextToken>> GetBlockAnnotations(Architecture* arch, uint64_t addr);
};
struct FunctionGraphTextLine