diff options
| author | Mason Reed <mason@vector35.com> | 2025-03-01 00:34:12 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-03-19 21:17:34 -0400 |
| commit | f719d1d5565f7b7b1237b8e183c2985f006fa3e4 (patch) | |
| tree | 0fbb2c1af1254add49049abdec3f935669d658de /plugins/rtti/plugin.cpp | |
| parent | 93e92844d77b72f07bd7563211d60dc3595cc2e0 (diff) | |
Refactor and fixup MSVC and Itanium RTTI
Bunch of misc fixes and performance improvements
Diffstat (limited to 'plugins/rtti/plugin.cpp')
| -rw-r--r-- | plugins/rtti/plugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/rtti/plugin.cpp b/plugins/rtti/plugin.cpp index 82b51f78..faa741f1 100644 --- a/plugins/rtti/plugin.cpp +++ b/plugins/rtti/plugin.cpp @@ -58,12 +58,12 @@ extern "C" { // TODO: 2. Identify if the function is unique to a class, renaming and retyping if true // TODO: 3. Identify functions which address a VFT and are probably a constructor (alloc use), retyping if true // TODO: 4. Identify functions which address a VFT and are probably a deconstructor (free use), retyping if true - Ref<Workflow> rttiMetaWorkflow = Workflow::Instance("core.module.metaAnalysis")->Clone("core.module.metaAnalysis"); + Ref<Workflow> rttiMetaWorkflow = Workflow::Instance("core.module.metaAnalysis")->Clone(); // Add RTTI analysis. rttiMetaWorkflow->RegisterActivity(R"~({ "title": "RTTI Analysis", - "name": "plugin.rtti.rttiAnalysis", + "name": "analysis.rtti.rttiAnalysis", "role": "action", "description": "This analysis step attempts to parse and symbolize rtti information.", "eligibility": { @@ -74,7 +74,7 @@ extern "C" { // Add Virtual Function Table analysis. rttiMetaWorkflow->RegisterActivity(R"~({ "title": "VFT Analysis", - "name": "plugin.rtti.vftAnalysis", + "name": "analysis.rtti.vftAnalysis", "role": "action", "description": "This analysis step attempts to parse and symbolize virtual function table information.", "eligibility": { @@ -84,9 +84,9 @@ extern "C" { })~", &VFTAnalysis); // Run rtti before debug info is applied. - rttiMetaWorkflow->Insert("core.module.loadDebugInfo", "plugin.rtti.rttiAnalysis"); + rttiMetaWorkflow->Insert("core.module.loadDebugInfo", "analysis.rtti.rttiAnalysis"); // Run vft after functions have analyzed (so that the virtual functions have analyzed) - rttiMetaWorkflow->Insert("core.module.notifyCompletion", "plugin.rtti.vftAnalysis"); + rttiMetaWorkflow->Insert("core.module.deleteUnusedAutoFunctions", "analysis.rtti.vftAnalysis"); Workflow::RegisterWorkflow(rttiMetaWorkflow); return true; |
