From e9eccb4eb2455f723d9acf5cd0f93fea0b4c3eda Mon Sep 17 00:00:00 2001 From: emteere <47253321+emteere@users.noreply.github.com> Date: Wed, 10 Feb 2021 22:50:34 +0000 Subject: [PATCH] GP-517 moved RTTI analyzer before Reference analysis to fix Rogue pointer analysis problems found in a few sample binaries --- .../prototype/MicrosoftCodeAnalyzerPlugin/RttiAnalyzer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/plugin/prototype/MicrosoftCodeAnalyzerPlugin/RttiAnalyzer.java b/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/plugin/prototype/MicrosoftCodeAnalyzerPlugin/RttiAnalyzer.java index 6578e55ffb..c845e43d91 100644 --- a/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/plugin/prototype/MicrosoftCodeAnalyzerPlugin/RttiAnalyzer.java +++ b/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/plugin/prototype/MicrosoftCodeAnalyzerPlugin/RttiAnalyzer.java @@ -58,7 +58,7 @@ public class RttiAnalyzer extends AbstractAnalyzer { setSupportsOneTimeAnalysis(); // Set priority of RTTI analyzer to run after Demangler so can see if better // plate comment or label already exists from Demangler. - setPriority(AnalysisPriority.DATA_TYPE_PROPOGATION.before().before()); + setPriority(AnalysisPriority.REFERENCE_ANALYSIS.before()); setDefaultEnablement(true); validationOptions = new DataValidationOptions(); applyOptions = new DataApplyOptions();