public ascx_ManualMethodStreams()//astData astEngine) { // AstData = astData //buildGui(); //loadDataInGui(); TaintRules = new O2CodeStreamTaintRules(); }
public static O2CodeStreamTaintRules add_TaintPropagator(this O2CodeStreamTaintRules taintRules, string taintPropagator) { if (taintRules.TaintPropagators.Contains(taintPropagator).isFalse()) { taintRules.TaintPropagators.Add(taintPropagator); } return(taintRules); }
public O2CodeStream(O2MappedAstData o2MappedAstData , O2CodeStreamTaintRules taintRules , string sourceFile ) { O2MappedAstData = o2MappedAstData; TaintRules = taintRules; O2CodeStreamNodes = new Dictionary<INode,O2CodeStreamNode>(); StreamNode_First = new List<O2CodeStreamNode>(); INodeStack = new Stack<INode>(); SourceFile = sourceFile; }
public O2CodeStream(O2MappedAstData o2MappedAstData, O2CodeStreamTaintRules taintRules, string sourceFile) { O2MappedAstData = o2MappedAstData; TaintRules = taintRules; O2CodeStreamNodes = new Dictionary <INode, O2CodeStreamNode>(); StreamNode_First = new List <O2CodeStreamNode>(); INodeStack = new Stack <INode>(); SourceFile = sourceFile; }
public static bool isTaintPropagator(this O2CodeStreamTaintRules taintRules, InvocationExpression invocationExpression) { //"in isTaintPropagator for {0}".info(invocationExpression.str()); //return (taintRules.TaintPropagators.Contains(taintPropagator)); return(true); }
public static bool isTaintPropagator(this O2CodeStreamTaintRules taintRules, string taintPropagator) { return(taintRules.TaintPropagators.Contains(taintPropagator)); }