C# Class WordPress.Plugin.WPBlockAnalyzer

Inheritance: IBlockAnalyzerComponent
Show file Open project: jtvn/Eir-CTLLTL

Public Methods

Method Description
Analyze ( XmlNode node, ExpressionInfo exprInfo, IVariableStorage currentStorage, IVulnerabilityStorage storage ) : ExpressionInfo
AnalyzeFunctionCall ( XmlNode node, ExpressionInfo exprInfo, IVariableStorage varStorage, IVulnerabilityStorage vulnStorage, ExpressionInfo>.IDictionary argumentInfos, AnalysisStacks analysisStacks ) : ExpressionInfo

Private Methods

Method Description
HandleGetOptions ( FunctionCall call, ExpressionInfo>.IDictionary argumentInfos, ExpressionInfo exprInfo ) : ExpressionInfo
HandleHookCall ( XmlNode node, ExpressionInfo exprInfo, IVariableStorage currentStorage, AnalysisStacks analysisStacks ) : ExpressionInfo

Make sure that hardcoded callback functions are analyzed.

HandleOptionsCall ( FunctionCall call, XmlNode node, ExpressionInfo exprInfo, IVariableStorage currentStorage, IVulnerabilityStorage storage, ExpressionInfo>.IDictionary argumentInfos, AnalysisStacks analysisStacks ) : ExpressionInfo
HandleUpdateAddOptions ( FunctionCall call, ExpressionInfo exprInfo, IVulnerabilityStorage storage, ExpressionInfo>.IDictionary argumentInfos, AnalysisStacks analysisStacks ) : ExpressionInfo
TryGetOptionKeyValue ( XmlNode keyParam, ExpressionInfo analysisResult, string &key ) : bool

Method Details

Analyze() public method

public Analyze ( XmlNode node, ExpressionInfo exprInfo, IVariableStorage currentStorage, IVulnerabilityStorage storage ) : ExpressionInfo
node System.Xml.XmlNode
exprInfo ExpressionInfo
currentStorage IVariableStorage
storage IVulnerabilityStorage
return ExpressionInfo

AnalyzeFunctionCall() public method

public AnalyzeFunctionCall ( XmlNode node, ExpressionInfo exprInfo, IVariableStorage varStorage, IVulnerabilityStorage vulnStorage, ExpressionInfo>.IDictionary argumentInfos, AnalysisStacks analysisStacks ) : ExpressionInfo
node System.Xml.XmlNode
exprInfo ExpressionInfo
varStorage IVariableStorage
vulnStorage IVulnerabilityStorage
argumentInfos ExpressionInfo>.IDictionary
analysisStacks PHPAnalysis.Analysis.CFG.Taint.AnalysisStacks
return ExpressionInfo