summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 0eff6aaf..db6f6f27 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -496,6 +496,12 @@ extern "C"
uint64_t value;
};
+ struct BNInstructionTextLine
+ {
+ BNInstructionTextToken* tokens;
+ size_t count;
+ };
+
struct BNCustomArchitecture
{
void* context;
@@ -1179,6 +1185,10 @@ extern "C"
uint64_t addr, size_t* count);
BINARYNINJACOREAPI void BNFreeIndirectBranchList(BNIndirectBranchInfo* branches);
+ BINARYNINJACOREAPI BNInstructionTextLine* BNGetFunctionBlockAnnotations(BNFunction* func, BNArchitecture* arch,
+ uint64_t addr, size_t* count);
+ BINARYNINJACOREAPI void BNFreeInstructionTextLines(BNInstructionTextLine* lines, size_t count);
+
// Function graph
BINARYNINJACOREAPI BNFunctionGraph* BNCreateFunctionGraph(BNFunction* func);
BINARYNINJACOREAPI BNFunctionGraph* BNNewFunctionGraphReference(BNFunctionGraph* graph);