diff options
| author | Mason Reed <mason@vector35.com> | 2024-10-24 16:40:17 -0400 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-10-24 16:40:17 -0400 |
| commit | 0f53c21d6a7abbfd48fd59ec7c15586f02777b7e (patch) | |
| tree | b0056e3e4b45488b285e3798e269949d8a654397 /plugins/msvc_rtti/rtti.h | |
| parent | 3579403656917523013894285798585079785251 (diff) | |
Add virtual function table sweep to MSVC RTTI
This will sweep for vfts without relying on the pointer sweep
Diffstat (limited to 'plugins/msvc_rtti/rtti.h')
| -rw-r--r-- | plugins/msvc_rtti/rtti.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/msvc_rtti/rtti.h b/plugins/msvc_rtti/rtti.h index 4475583a..f4bb8a63 100644 --- a/plugins/msvc_rtti/rtti.h +++ b/plugins/msvc_rtti/rtti.h @@ -95,6 +95,7 @@ namespace BinaryNinja { Ref<Logger> m_logger; bool allowMangledClassNames; bool checkWritableRData; + bool virtualFunctionTableSweep; std::map<uint64_t, ClassInfo> m_classInfo; @@ -107,7 +108,7 @@ namespace BinaryNinja { std::optional<VirtualFunctionTableInfo> ProcessVFT(uint64_t vftAddr, const ClassInfo &classInfo); public: - MicrosoftRTTIProcessor(const Ref<BinaryView> &view, bool useMangled = true, bool checkRData = true); + MicrosoftRTTIProcessor(const Ref<BinaryView> &view, bool useMangled = true, bool checkRData = true, bool vftSweep = true); Ref<Metadata> SerializedMetadata(); |
