diff options
| author | Brandon Miller <brandon@vector35.com> | 2025-05-28 08:33:30 -0400 |
|---|---|---|
| committer | Brandon Miller <brandon@vector35.com> | 2025-05-28 08:33:30 -0400 |
| commit | 6e4c00a80fa86bcfefba9630a1ea8e2a47bef2de (patch) | |
| tree | 94f891149263fe089d747c4baba7d20a80a7750b /binaryninjaapi.h | |
| parent | b13d50bac18c341b98e6a3002ac9f17f6c8a8df4 (diff) | |
Support for Linux x86-64 x32 ABI
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index ca5b630c..6d5c144c 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -15593,6 +15593,7 @@ namespace BinaryNinja { static void InitViewCallback(void* ctxt, BNBinaryView* view); static uint32_t* GetGlobalRegistersCallback(void* ctxt, size_t* count); static void FreeRegisterListCallback(void* ctxt, uint32_t* regs, size_t count); + static size_t GetAddressSizeCallback(void* ctxt); static BNType* GetGlobalRegisterTypeCallback(void* ctxt, uint32_t reg); static void AdjustTypeParserInputCallback( void* ctxt, @@ -15777,6 +15778,12 @@ namespace BinaryNinja { */ virtual Ref<Type> GetGlobalRegisterType(uint32_t reg); + /*! Get the address size for this platform + + \return The address size for this platform + */ + virtual size_t GetAddressSize() const; + /*! Modify the input passed to the Type Parser with Platform-specific features. \param[in] parser Type Parser instance @@ -15904,6 +15911,7 @@ namespace BinaryNinja { std::vector<std::string>& arguments, std::vector<std::pair<std::string, std::string>>& sourceFiles ) override; + virtual size_t GetAddressSize() const override; }; /*! |
