diff options
| author | Rusty Wagner <rusty@vector35.com> | 2016-05-25 19:29:10 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2016-05-25 19:29:10 -0400 |
| commit | 0c3c4285a38d70bafb089b85e6764d0f4153ff9c (patch) | |
| tree | 8e0025d90a2938d46596cbd62e691150dc6650bf /binaryninjacore.h | |
| parent | ebb6efaf92d36c0284bd8a5450cf2c051446f23a (diff) | |
Adding API to retrieve basic block annotations
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 10 |
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); |
