From c11feee4486d914a66b52ee6baae7eeeebf70724 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 23 Mar 2025 23:25:29 -0400 Subject: Fix misc crashes with Itanium RTTI and improve 32bit support 32bit support still needs some fixes for the VMI offsets and other things, but its better than it was before. Likely need to do a little refactoring after this release to make the code less horrendous, but its fine for now. --- plugins/rtti/itanium.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/rtti/itanium.h') diff --git a/plugins/rtti/itanium.h b/plugins/rtti/itanium.h index e5f04cd9..d0d538ab 100644 --- a/plugins/rtti/itanium.h +++ b/plugins/rtti/itanium.h @@ -24,6 +24,7 @@ namespace BinaryNinja::RTTI::Itanium { uint64_t base; std::string type_name; + TypeInfo() = default; TypeInfo(BinaryView *view, uint64_t address); TypeInfo(uint64_t base, std::string &type_name) : base(base), type_name(type_name) {}; }; @@ -38,6 +39,7 @@ namespace BinaryNinja::RTTI::Itanium { struct ClassTypeInfo : TypeInfo { + ClassTypeInfo() = default; ClassTypeInfo(BinaryView *view, uint64_t uint64) : TypeInfo(view, uint64) {} }; @@ -45,6 +47,7 @@ namespace BinaryNinja::RTTI::Itanium { { uint64_t base_type; + SIClassTypeInfo() = default; SIClassTypeInfo(BinaryView *view, uint64_t address); }; @@ -70,6 +73,7 @@ namespace BinaryNinja::RTTI::Itanium { uint64_t base_count; std::vector base_info; + VMIClassTypeInfo() = default; VMIClassTypeInfo(BinaryView *view, uint64_t address); }; -- cgit v1.3.1