diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2016-10-29 12:59:59 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2016-10-29 12:59:59 -0400 |
| commit | fd626094e77d384a4bc8f5d5fde06d552600b879 (patch) | |
| tree | dd60da0796becb6cd88e979d566f925f32525db1 /binaryninjaapi.h | |
| parent | 24b329b4a1f568f77ce6a44b31cfaab1867b8ff4 (diff) | |
| parent | b5eacc14097def2367b650fc4a9377d4910441eb (diff) | |
Merge branch 'dev' of github.com:Vector35/binaryninja-api into dev
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 7c297f73..6311271c 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -1257,6 +1257,7 @@ namespace BinaryNinja static size_t GetDefaultIntegerSizeCallback(void* ctxt); static size_t GetMaxInstructionLengthCallback(void* ctxt); static size_t GetOpcodeDisplayLengthCallback(void* ctxt); + static BNArchitecture* GetAssociatedArchitectureByAddressCallback(void* ctxt, uint64_t* addr); static bool GetInstructionInfoCallback(void* ctxt, const uint8_t* data, uint64_t addr, size_t maxLen, BNInstructionInfo* result); static bool GetInstructionTextCallback(void* ctxt, const uint8_t* data, uint64_t addr, @@ -1311,6 +1312,8 @@ namespace BinaryNinja virtual size_t GetMaxInstructionLength() const; virtual size_t GetOpcodeDisplayLength() const; + virtual Ref<Architecture> GetAssociatedArchitectureByAddress(uint64_t& addr); + virtual bool GetInstructionInfo(const uint8_t* data, uint64_t addr, size_t maxLen, InstructionInfo& result) = 0; virtual bool GetInstructionText(const uint8_t* data, uint64_t addr, size_t& len, std::vector<InstructionTextToken>& result) = 0; @@ -1454,6 +1457,7 @@ namespace BinaryNinja virtual size_t GetDefaultIntegerSize() const override; virtual size_t GetMaxInstructionLength() const override; virtual size_t GetOpcodeDisplayLength() const override; + virtual Ref<Architecture> GetAssociatedArchitectureByAddress(uint64_t& addr) override; virtual bool GetInstructionInfo(const uint8_t* data, uint64_t addr, size_t maxLen, InstructionInfo& result) override; virtual bool GetInstructionText(const uint8_t* data, uint64_t addr, size_t& len, std::vector<InstructionTextToken>& result) override; |
