Package ghidra.framework.analysis
Class AnalysisRecipe
- java.lang.Object
-
- ghidra.framework.analysis.AnalysisRecipe
-
public class AnalysisRecipe extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AnalysisRecipe(java.lang.String name, java.util.Collection<Analyzer> analyzers, Program program)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addScriptAnalyzer(ResourceFile file, AnalyzerType analyzerType, int priority)
AnalysisPhase
createPhase()
void
deletePhase()
void
deleteScriptAnalyzer(Analyzer analyzer)
java.util.List<AnalysisPhase>
getAnalysisPhases()
java.util.List<Analyzer>
getAnalyzers()
returns a list of all analyzers in priority order.java.util.List<Analyzer>
getAnalyzers(AnalysisPhase phase)
AnalysisPhase
getAnalyzerStartPhase(Analyzer analyzer)
AnalysisPhase
getExecutionPhase(Analyzer analyzer, AnalysisPhase currentPhase)
AnalysisPhase
getFirstPhase()
AnalysisPhase
getLastPhase()
java.lang.String
getName()
Options
getOptions(Analyzer analyzer)
AnalysisPhase
getPhase(int i)
boolean
isAnalyzerEnabled(Analyzer analyzer)
void
setAnalyzerEnablement(Analyzer analyzer, boolean b)
void
setAnalyzerStartPhase(Analyzer analyzer, AnalysisPhase phase)
void
setChangeListener(javax.swing.event.ChangeListener listener)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getAnalysisPhases
public java.util.List<AnalysisPhase> getAnalysisPhases()
-
getLastPhase
public AnalysisPhase getLastPhase()
-
getFirstPhase
public AnalysisPhase getFirstPhase()
-
createPhase
public AnalysisPhase createPhase()
-
deletePhase
public void deletePhase()
-
getAnalyzers
public java.util.List<Analyzer> getAnalyzers()
returns a list of all analyzers in priority order.- Returns:
- a list of all analyzers in priority order.
-
getPhase
public AnalysisPhase getPhase(int i)
-
isAnalyzerEnabled
public boolean isAnalyzerEnabled(Analyzer analyzer)
-
getExecutionPhase
public AnalysisPhase getExecutionPhase(Analyzer analyzer, AnalysisPhase currentPhase)
-
setAnalyzerEnablement
public void setAnalyzerEnablement(Analyzer analyzer, boolean b)
-
setChangeListener
public void setChangeListener(javax.swing.event.ChangeListener listener)
-
getAnalyzers
public java.util.List<Analyzer> getAnalyzers(AnalysisPhase phase)
-
setAnalyzerStartPhase
public void setAnalyzerStartPhase(Analyzer analyzer, AnalysisPhase phase)
-
getAnalyzerStartPhase
public AnalysisPhase getAnalyzerStartPhase(Analyzer analyzer)
-
addScriptAnalyzer
public void addScriptAnalyzer(ResourceFile file, AnalyzerType analyzerType, int priority)
-
deleteScriptAnalyzer
public void deleteScriptAnalyzer(Analyzer analyzer)
-
-