diff options
| author | plafosse <peter@vector35.com> | 2016-10-28 20:41:40 -0400 |
|---|---|---|
| committer | plafosse <peter@vector35.com> | 2016-10-28 20:41:40 -0400 |
| commit | 18e7e9378a4d7dff8140ed35eb47ce7993bd850b (patch) | |
| tree | c78882aa02a668637fb33124ae20f34a25e461f1 /binaryninjacore.h | |
| parent | 5e4cca1f1796bec109adacdb049d9e34c17656eb (diff) | |
| parent | b5eacc14097def2367b650fc4a9377d4910441eb (diff) | |
Merging with dev
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index ac615922..ea81c388 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -725,6 +725,7 @@ extern "C" size_t (*getDefaultIntegerSize)(void* ctxt); size_t (*getMaxInstructionLength)(void* ctxt); size_t (*getOpcodeDisplayLength)(void* ctxt); + BNArchitecture* (*getAssociatedArchitectureByAddress)(void* ctxt, uint64_t* addr); bool (*getInstructionInfo)(void* ctxt, const uint8_t* data, uint64_t addr, size_t maxLen, BNInstructionInfo* result); bool (*getInstructionText)(void* ctxt, const uint8_t* data, uint64_t addr, size_t* len, BNInstructionTextToken** result, size_t* count); @@ -1516,6 +1517,7 @@ extern "C" BINARYNINJACOREAPI size_t BNGetArchitectureDefaultIntegerSize(BNArchitecture* arch); BINARYNINJACOREAPI size_t BNGetArchitectureMaxInstructionLength(BNArchitecture* arch); BINARYNINJACOREAPI size_t BNGetArchitectureOpcodeDisplayLength(BNArchitecture* arch); + BINARYNINJACOREAPI BNArchitecture* BNGetAssociatedArchitectureByAddress(BNArchitecture* arch, uint64_t* addr); BINARYNINJACOREAPI bool BNGetInstructionInfo(BNArchitecture* arch, const uint8_t* data, uint64_t addr, size_t maxLen, BNInstructionInfo* result); BINARYNINJACOREAPI bool BNGetInstructionText(BNArchitecture* arch, const uint8_t* data, uint64_t addr, |
