Esempio n. 1
0
 public Unit Unary(Expression pc, UnaryOperator op, bool overflow, bool unsigned, Variable dest, Expression source, Microsoft.Research.DataStructures.IMutableSet <Expression> data)
 {
     Recurse(source, data);
     return(Unit.Value);
 }
Esempio n. 2
0
 public Unit Ldnull(Expression pc, Variable dest, Microsoft.Research.DataStructures.IMutableSet <Expression> data)
 {
     return(Unit.Value);
 }
Esempio n. 3
0
 public Unit Sizeof(Expression pc, Type type, Variable dest, Microsoft.Research.DataStructures.IMutableSet <Expression> data)
 {
     // Why is this used here? TODO: figure out what depends on this!
     data.Add(pc);
     return(Unit.Value);
 }
Esempio n. 4
0
                    public Unit Isinst(Expression pc, Type type, Variable dest, Expression obj, Microsoft.Research.DataStructures.IMutableSet <Expression> data)
                    {
                        data.Add(pc); // TODO: figure out who depends on this! This should not be treated as a free variable!

                        return(Unit.Value);
                    }
Esempio n. 5
0
 public Unit Ldconst(Expression pc, object constant, Type type, Variable dest, Microsoft.Research.DataStructures.IMutableSet <Expression> data)
 {
     return(Unit.Value);
 }
Esempio n. 6
0
                    public Unit Binary(Expression pc, BinaryOperator op, Variable dest, Expression s1, Expression s2, Microsoft.Research.DataStructures.IMutableSet <Expression> data)
                    {
                        Recurse(s1, data);
                        Recurse(s2, data);

                        return(Unit.Value);
                    }
Esempio n. 7
0
 public Unit SymbolicConstant(Expression pc, Variable symbol, Microsoft.Research.DataStructures.IMutableSet <Expression> data)
 {
     data.Add(pc);
     return(Unit.Value);
 }
Esempio n. 8
0
 private void Recurse(Expression exp, Microsoft.Research.DataStructures.IMutableSet <Expression> set)
 {
     context.ExpressionContext.Decode <Microsoft.Research.DataStructures.IMutableSet <Expression>, Unit, VisitorForVariablesIn>(exp, this, set);
 }
Esempio n. 9
0
 public static void AddFreeVariables(Expression exp,
                                     Microsoft.Research.DataStructures.IMutableSet <Expression> set, Decoder decoder)
 {
     decoder.visitorForVariablesIn.Recurse(exp, set);
 }
Esempio n. 10
0
 public void AddFreeVariables(Expression exp, Microsoft.Research.DataStructures.IMutableSet <Expression> set)
 {
     VisitorForVariablesIn.AddFreeVariables(exp, set, this);
 }