diff options
| author | Brandon Miller <brandon@vector35.com> | 2025-08-06 16:10:02 -0400 |
|---|---|---|
| committer | Brandon Miller <brandon@vector35.com> | 2025-09-29 07:07:41 -0400 |
| commit | 0bc967cf0f873a27dca1e7f3a723a0c53db9a68f (patch) | |
| tree | d12314f5959e205d605fb6751ef49a79b8db0696 /binaryninjacore.h | |
| parent | 604a22a0050c000ed4d142589c9ce0e34ee7b570 (diff) | |
Add a new line disassembly text token
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 66c1e15b..3c2386cd 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -416,7 +416,8 @@ extern "C" StackVariableToken = 71, AddressSeparatorToken = 72, CollapsedInformationToken = 73, - CollapseStateIndicatorToken = 74 + CollapseStateIndicatorToken = 74, + NewLineToken = 75 } BNInstructionTextTokenType; typedef enum BNInstructionTextTokenContext @@ -7607,8 +7608,10 @@ extern "C" // LLVM Services APIs BINARYNINJACOREAPI void BNLlvmServicesInit(void); + BINARYNINJACOREAPI int BNLlvmServicesAssemble(const char* src, int dialect, const char* triplet, int codeModel, int relocMode, char** outBytes, int* outBytesLen, char** err, int* errLen); + BINARYNINJACOREAPI void BNLlvmServicesAssembleFree(char* outBytes, char* err); BINARYNINJACOREAPI int BNLlvmServicesDisasmInstruction(const char *triplet, uint8_t *src, int srcLen, uint64_t addr, char *result, size_t resultMaxSize); |
