|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kit.furia.fragment.soot.representation.Frimp
public class Frimp
The Grimp class contains all the constructors for the components of the Grimp
grammar for the Grimp body.
Immediate -> Local | Constant
RValue -> Local | Constant | ConcreteRef | Expr
Variable -> Local | ArrayRef | InstanceFieldRef | StaticFieldRef
Constructor Summary | |
---|---|
Frimp()
|
|
Frimp(soot.Singletons.Global g)
|
Method Summary | |
---|---|
static soot.Value |
cloneIfNecessary(soot.Value val)
|
static java.util.List |
convertUseBoxesListToValues(java.util.List useBoxes)
|
static java.lang.String |
formatNum(soot.jimple.DoubleConstant x)
|
static java.lang.String |
formatNum(soot.jimple.FloatConstant x)
|
static java.lang.String |
formatNum(soot.jimple.IntConstant x)
|
static java.lang.String |
formatNum(soot.jimple.LongConstant x)
|
soot.jimple.AddExpr |
newAddExpr(soot.Value op1,
soot.Value op2)
Constructs a AddExpr(Expr, Expr) grammar chunk. |
soot.jimple.AndExpr |
newAndExpr(soot.Value op1,
soot.Value op2)
Constructs a AndExpr(Expr, Expr) grammar chunk. |
soot.ValueBox |
newArgBox(soot.Value value)
|
soot.jimple.ArrayRef |
newArrayRef(soot.Value base,
soot.Value index)
Constructs a ArrayRef(Local, Expr) grammar chunk. |
soot.jimple.AssignStmt |
newAssignStmt(soot.jimple.AssignStmt s)
|
soot.jimple.AssignStmt |
newAssignStmt(soot.Value variable,
soot.Value rvalue)
Constructs a AssignStmt(Variable, RValue) grammar chunk. |
FrimpBody |
newBody(soot.Body b,
java.lang.String phase)
Returns a GrimpBody constructed from b. |
FrimpBody |
newBody(soot.SootMethod m)
Returns an empty GrimpBody associated with method m. |
soot.jimple.BreakpointStmt |
newBreakpointStmt()
Constructs a BreakpointStmt() grammar chunk. |
soot.jimple.BreakpointStmt |
newBreakpointStmt(soot.jimple.BreakpointStmt s)
|
soot.jimple.CastExpr |
newCastExpr(soot.Value op1,
soot.Type t)
Constructs a CastExpr(Expr, Type) grammar chunk. |
soot.jimple.CaughtExceptionRef |
newCaughtExceptionRef()
Constructs a CaughtExceptionRef() grammar chunk. |
soot.jimple.CmpExpr |
newCmpExpr(soot.Value op1,
soot.Value op2)
Constructs a CmpExpr(Expr, Expr) grammar chunk. |
soot.jimple.CmpgExpr |
newCmpgExpr(soot.Value op1,
soot.Value op2)
Constructs a CmpgExpr(Expr, Expr) grammar chunk. |
soot.jimple.CmplExpr |
newCmplExpr(soot.Value op1,
soot.Value op2)
Constructs a CmplExpr(Expr, Expr) grammar chunk. |
soot.ValueBox |
newConditionExprBox(soot.Value value)
|
soot.jimple.DivExpr |
newDivExpr(soot.Value op1,
soot.Value op2)
Constructs a DivExpr(Expr, Expr) grammar chunk. |
soot.jimple.EnterMonitorStmt |
newEnterMonitorStmt(soot.jimple.EnterMonitorStmt s)
|
soot.jimple.EnterMonitorStmt |
newEnterMonitorStmt(soot.Value op)
Constructs a EnterMonitorStmt(Expr) grammar chunk. |
soot.jimple.EqExpr |
newEqExpr(soot.Value op1,
soot.Value op2)
Constructs a EqExpr(Expr, Expr) grammar chunk. |
soot.jimple.ExitMonitorStmt |
newExitMonitorStmt(soot.jimple.ExitMonitorStmt s)
|
soot.jimple.ExitMonitorStmt |
newExitMonitorStmt(soot.Value op)
Constructs a ExitMonitorStmt(Expr) grammar chunk |
soot.Value |
newExpr(soot.Value value)
Carries out the mapping from other Value's to Grimp Value's |
soot.ValueBox |
newExprBox(soot.Value value)
|
soot.jimple.GeExpr |
newGeExpr(soot.Value op1,
soot.Value op2)
Constructs a GeExpr(Expr, Expr) grammar chunk. |
soot.jimple.GotoStmt |
newGotoStmt(soot.jimple.GotoStmt s)
|
soot.jimple.GotoStmt |
newGotoStmt(soot.Unit target)
Constructs a GotoStmt(Stmt) grammar chunk. |
soot.jimple.GtExpr |
newGtExpr(soot.Value op1,
soot.Value op2)
Constructs a GtExpr(Expr, Expr) grammar chunk. |
soot.ValueBox |
newIdentityRefBox(soot.Value value)
|
soot.jimple.IdentityStmt |
newIdentityStmt(soot.jimple.IdentityStmt s)
|
soot.jimple.IdentityStmt |
newIdentityStmt(soot.Value local,
soot.Value identityRef)
Constructs a IdentityStmt(Local, IdentityRef) grammar chunk. |
soot.jimple.IfStmt |
newIfStmt(soot.jimple.IfStmt s)
|
soot.jimple.IfStmt |
newIfStmt(soot.Value condition,
soot.Unit target)
Constructs a IfStmt(Condition, Stmt) grammar chunk. |
soot.ValueBox |
newImmediateBox(soot.Value value)
|
soot.jimple.InstanceFieldRef |
newInstanceFieldRef(soot.Value base,
soot.SootFieldRef f)
Constructs a InstanceFieldRef(Value, SootFieldRef) grammar chunk. |
soot.jimple.InstanceOfExpr |
newInstanceOfExpr(soot.Value op1,
soot.Type t)
Constructs a InstanceOfExpr(Expr, Type) grammar chunk. |
soot.jimple.InterfaceInvokeExpr |
newInterfaceInvokeExpr(soot.Local base,
soot.SootMethodRef method,
java.util.List args)
Constructs a InterfaceInvokeExpr(Local base, SootMethodRef method, List of Expr) grammar chunk. |
soot.ValueBox |
newInvokeExprBox(soot.Value value)
|
soot.jimple.InvokeStmt |
newInvokeStmt(soot.jimple.InvokeStmt s)
|
soot.jimple.InvokeStmt |
newInvokeStmt(soot.Value op)
Constructs a InvokeStmt(InvokeExpr) grammar chunk. |
soot.jimple.LeExpr |
newLeExpr(soot.Value op1,
soot.Value op2)
Constructs a LeExpr(Expr, Expr) grammar chunk. |
soot.jimple.LengthExpr |
newLengthExpr(soot.Value op)
Constructs a LengthExpr(Expr) grammar chunk. |
soot.Local |
newLocal(java.lang.String name,
soot.Type t)
Constructs a Local with the given name and type. |
soot.ValueBox |
newLocalBox(soot.Value value)
|
soot.jimple.LookupSwitchStmt |
newLookupSwitchStmt(soot.jimple.LookupSwitchStmt s)
|
soot.jimple.LookupSwitchStmt |
newLookupSwitchStmt(soot.Value key,
java.util.List lookupValues,
java.util.List targets,
soot.Unit defaultTarget)
Constructs a LookupSwitchStmt(Expr, List of Expr, List of Unit, Stmt) grammar chunk. |
soot.jimple.LtExpr |
newLtExpr(soot.Value op1,
soot.Value op2)
Constructs a LtExpr(Expr, Expr) grammar chunk. |
soot.jimple.MulExpr |
newMulExpr(soot.Value op1,
soot.Value op2)
Constructs a MulExpr(Expr, Expr) grammar chunk. |
soot.jimple.NeExpr |
newNeExpr(soot.Value op1,
soot.Value op2)
Constructs a NeExpr(Expr, Expr) grammar chunk. |
soot.jimple.NegExpr |
newNegExpr(soot.Value op)
Constructs a NegExpr(Expr, Expr) grammar chunk. |
soot.jimple.NewArrayExpr |
newNewArrayExpr(soot.Type type,
soot.Value size)
Constructs a NewArrayExpr(Type, Expr) grammar chunk. |
NewInvokeExpr |
newNewInvokeExpr(soot.RefType base,
soot.SootMethodRef method,
java.util.List args)
Constructs a NewInvokeExpr(Local base, List of Expr) grammar chunk. |
soot.jimple.NewMultiArrayExpr |
newNewMultiArrayExpr(soot.ArrayType type,
java.util.List sizes)
Constructs a NewMultiArrayExpr(ArrayType, List of Expr) grammar chunk. |
soot.jimple.NopStmt |
newNopStmt()
Constructs a NopStmt() grammar chunk. |
soot.jimple.NopStmt |
newNopStmt(soot.jimple.NopStmt s)
|
soot.ValueBox |
newObjExprBox(soot.Value value)
|
soot.jimple.OrExpr |
newOrExpr(soot.Value op1,
soot.Value op2)
Constructs a OrExpr(Expr, Expr) grammar chunk. |
soot.jimple.ParameterRef |
newParameterRef(soot.Type paramType,
int number)
Constructs a ParameterRef(SootMethod, int) grammar chunk. |
soot.shimple.PhiExpr |
newPhiExpr(java.util.List args,
java.util.List preds)
Create a PhiExpr with the provided list of Values (Locals or Constants) and the corresponding control flow predecessor Blocks. |
soot.jimple.RemExpr |
newRemExpr(soot.Value op1,
soot.Value op2)
Constructs a RemExpr(Expr, Expr) grammar chunk. |
soot.jimple.ReturnStmt |
newReturnStmt(soot.jimple.ReturnStmt s)
|
soot.jimple.ReturnStmt |
newReturnStmt(soot.Value op)
Constructs a ReturnStmt(Expr) grammar chunk. |
soot.jimple.ReturnVoidStmt |
newReturnVoidStmt()
Constructs a ReturnVoidStmt() grammar chunk. |
soot.jimple.ReturnVoidStmt |
newReturnVoidStmt(soot.jimple.ReturnVoidStmt s)
|
soot.ValueBox |
newRValueBox(soot.Value value)
|
soot.jimple.ShlExpr |
newShlExpr(soot.Value op1,
soot.Value op2)
Constructs a ShlExpr(Expr, Expr) grammar chunk. |
soot.jimple.ShrExpr |
newShrExpr(soot.Value op1,
soot.Value op2)
Constructs a ShrExpr(Expr, Expr) grammar chunk. |
soot.jimple.SpecialInvokeExpr |
newSpecialInvokeExpr(soot.Local base,
soot.SootMethodRef method,
java.util.List args)
Constructs a SpecialInvokeExpr(Local base, SootMethodRef method, List of Expr) grammar chunk. |
soot.jimple.StaticFieldRef |
newStaticFieldRef(soot.SootFieldRef f)
Constructs a StaticFieldRef(SootFieldRef) grammar chunk. |
soot.jimple.StaticInvokeExpr |
newStaticInvokeExpr(soot.SootMethodRef method,
java.util.List args)
Constructs a StaticInvokeExpr(ArrayType, List of Expr) grammar chunk. |
soot.UnitBox |
newStmtBox(soot.Unit unit)
|
soot.jimple.SubExpr |
newSubExpr(soot.Value op1,
soot.Value op2)
Constructs a SubExpr(Expr, Expr) grammar chunk. |
soot.jimple.TableSwitchStmt |
newTableSwitchStmt(soot.jimple.TableSwitchStmt s)
|
soot.jimple.TableSwitchStmt |
newTableSwitchStmt(soot.Value key,
int lowIndex,
int highIndex,
java.util.List targets,
soot.Unit defaultTarget)
Constructs a TableSwitchStmt(Expr, int, int, List of Unit, Stmt) grammar chunk. |
soot.jimple.ThisRef |
newThisRef(soot.RefType t)
Constructs a ThisRef(RefType) grammar chunk. |
soot.jimple.ThrowStmt |
newThrowStmt(soot.jimple.ThrowStmt s)
|
soot.jimple.ThrowStmt |
newThrowStmt(soot.Value op)
Constructs a ThrowStmt(Expr) grammar chunk. |
soot.Trap |
newTrap(soot.SootClass exception,
soot.Unit beginStmt,
soot.Unit endStmt,
soot.Unit handlerStmt)
Constructs a new Trap for the given exception on the given Stmt range with the given Stmt handler. |
soot.Trap |
newTrap(soot.Trap trap)
|
soot.jimple.UshrExpr |
newUshrExpr(soot.Value op1,
soot.Value op2)
Constructs a UshrExpr(Expr, Expr) grammar chunk. |
soot.ValueBox |
newVariableBox(soot.Value value)
|
soot.jimple.VirtualInvokeExpr |
newVirtualInvokeExpr(soot.Local base,
soot.SootMethodRef method,
java.util.List args)
Constructs a VirtualInvokeExpr(Local base, SootMethodRef method, List of Expr) grammar chunk. |
soot.jimple.XorExpr |
newXorExpr(soot.Value op1,
soot.Value op2)
Constructs a XorExpr(Expr, Expr) grammar chunk. |
static java.lang.String |
quote(java.lang.String x)
|
static java.lang.String |
toQ(soot.SootFieldRef x)
|
static java.lang.String |
toQ(soot.SootMethodRef x)
|
static java.lang.String |
toQ(soot.Type x)
This method copies deeply a value |
static java.lang.String |
toQ(soot.Value x)
|
static Frimp |
v()
|
static java.util.List |
valueBoxToValue(java.util.List valueBoxes)
Receives a list of value boxes and returns a list of values |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Frimp(soot.Singletons.Global g)
public Frimp()
Method Detail |
---|
public static Frimp v()
public soot.jimple.XorExpr newXorExpr(soot.Value op1, soot.Value op2)
public soot.jimple.UshrExpr newUshrExpr(soot.Value op1, soot.Value op2)
public soot.jimple.SubExpr newSubExpr(soot.Value op1, soot.Value op2)
public soot.jimple.ShrExpr newShrExpr(soot.Value op1, soot.Value op2)
public soot.jimple.ShlExpr newShlExpr(soot.Value op1, soot.Value op2)
public soot.jimple.RemExpr newRemExpr(soot.Value op1, soot.Value op2)
public soot.jimple.OrExpr newOrExpr(soot.Value op1, soot.Value op2)
public soot.jimple.NeExpr newNeExpr(soot.Value op1, soot.Value op2)
public soot.jimple.MulExpr newMulExpr(soot.Value op1, soot.Value op2)
public soot.jimple.LeExpr newLeExpr(soot.Value op1, soot.Value op2)
public soot.jimple.GeExpr newGeExpr(soot.Value op1, soot.Value op2)
public soot.jimple.EqExpr newEqExpr(soot.Value op1, soot.Value op2)
public soot.jimple.DivExpr newDivExpr(soot.Value op1, soot.Value op2)
public soot.jimple.CmplExpr newCmplExpr(soot.Value op1, soot.Value op2)
public soot.jimple.CmpgExpr newCmpgExpr(soot.Value op1, soot.Value op2)
public soot.jimple.CmpExpr newCmpExpr(soot.Value op1, soot.Value op2)
public soot.jimple.GtExpr newGtExpr(soot.Value op1, soot.Value op2)
public soot.jimple.LtExpr newLtExpr(soot.Value op1, soot.Value op2)
public soot.jimple.AddExpr newAddExpr(soot.Value op1, soot.Value op2)
public soot.jimple.AndExpr newAndExpr(soot.Value op1, soot.Value op2)
public soot.jimple.NegExpr newNegExpr(soot.Value op)
public soot.jimple.LengthExpr newLengthExpr(soot.Value op)
public soot.jimple.CastExpr newCastExpr(soot.Value op1, soot.Type t)
public soot.jimple.InstanceOfExpr newInstanceOfExpr(soot.Value op1, soot.Type t)
public soot.jimple.NewArrayExpr newNewArrayExpr(soot.Type type, soot.Value size)
public soot.jimple.NewMultiArrayExpr newNewMultiArrayExpr(soot.ArrayType type, java.util.List sizes)
public NewInvokeExpr newNewInvokeExpr(soot.RefType base, soot.SootMethodRef method, java.util.List args)
public soot.jimple.StaticInvokeExpr newStaticInvokeExpr(soot.SootMethodRef method, java.util.List args)
public soot.jimple.SpecialInvokeExpr newSpecialInvokeExpr(soot.Local base, soot.SootMethodRef method, java.util.List args)
public soot.jimple.VirtualInvokeExpr newVirtualInvokeExpr(soot.Local base, soot.SootMethodRef method, java.util.List args)
public soot.jimple.InterfaceInvokeExpr newInterfaceInvokeExpr(soot.Local base, soot.SootMethodRef method, java.util.List args)
public soot.jimple.ThrowStmt newThrowStmt(soot.Value op)
public soot.jimple.ThrowStmt newThrowStmt(soot.jimple.ThrowStmt s)
public soot.jimple.ExitMonitorStmt newExitMonitorStmt(soot.Value op)
public soot.jimple.ExitMonitorStmt newExitMonitorStmt(soot.jimple.ExitMonitorStmt s)
public soot.jimple.EnterMonitorStmt newEnterMonitorStmt(soot.Value op)
public soot.jimple.EnterMonitorStmt newEnterMonitorStmt(soot.jimple.EnterMonitorStmt s)
public soot.jimple.BreakpointStmt newBreakpointStmt()
public soot.jimple.BreakpointStmt newBreakpointStmt(soot.jimple.BreakpointStmt s)
public soot.jimple.GotoStmt newGotoStmt(soot.Unit target)
public soot.jimple.GotoStmt newGotoStmt(soot.jimple.GotoStmt s)
public soot.jimple.NopStmt newNopStmt()
public soot.jimple.NopStmt newNopStmt(soot.jimple.NopStmt s)
public soot.jimple.ReturnVoidStmt newReturnVoidStmt()
public soot.jimple.ReturnVoidStmt newReturnVoidStmt(soot.jimple.ReturnVoidStmt s)
public soot.jimple.ReturnStmt newReturnStmt(soot.Value op)
public soot.jimple.ReturnStmt newReturnStmt(soot.jimple.ReturnStmt s)
public soot.jimple.IfStmt newIfStmt(soot.Value condition, soot.Unit target)
public soot.jimple.IfStmt newIfStmt(soot.jimple.IfStmt s)
public soot.jimple.IdentityStmt newIdentityStmt(soot.Value local, soot.Value identityRef)
public soot.jimple.IdentityStmt newIdentityStmt(soot.jimple.IdentityStmt s)
public soot.jimple.AssignStmt newAssignStmt(soot.Value variable, soot.Value rvalue)
public soot.jimple.AssignStmt newAssignStmt(soot.jimple.AssignStmt s)
public soot.jimple.InvokeStmt newInvokeStmt(soot.Value op)
public soot.jimple.InvokeStmt newInvokeStmt(soot.jimple.InvokeStmt s)
public soot.jimple.TableSwitchStmt newTableSwitchStmt(soot.Value key, int lowIndex, int highIndex, java.util.List targets, soot.Unit defaultTarget)
public soot.jimple.TableSwitchStmt newTableSwitchStmt(soot.jimple.TableSwitchStmt s)
public soot.jimple.LookupSwitchStmt newLookupSwitchStmt(soot.Value key, java.util.List lookupValues, java.util.List targets, soot.Unit defaultTarget)
public soot.jimple.LookupSwitchStmt newLookupSwitchStmt(soot.jimple.LookupSwitchStmt s)
public soot.Local newLocal(java.lang.String name, soot.Type t)
public soot.Trap newTrap(soot.SootClass exception, soot.Unit beginStmt, soot.Unit endStmt, soot.Unit handlerStmt)
public soot.Trap newTrap(soot.Trap trap)
public soot.jimple.StaticFieldRef newStaticFieldRef(soot.SootFieldRef f)
public soot.jimple.ThisRef newThisRef(soot.RefType t)
public soot.jimple.ParameterRef newParameterRef(soot.Type paramType, int number)
public soot.jimple.InstanceFieldRef newInstanceFieldRef(soot.Value base, soot.SootFieldRef f)
public soot.jimple.CaughtExceptionRef newCaughtExceptionRef()
public soot.jimple.ArrayRef newArrayRef(soot.Value base, soot.Value index)
public soot.ValueBox newVariableBox(soot.Value value)
public soot.ValueBox newLocalBox(soot.Value value)
public soot.ValueBox newRValueBox(soot.Value value)
public soot.ValueBox newImmediateBox(soot.Value value)
public soot.ValueBox newExprBox(soot.Value value)
public soot.ValueBox newArgBox(soot.Value value)
public soot.ValueBox newObjExprBox(soot.Value value)
public soot.ValueBox newIdentityRefBox(soot.Value value)
public soot.ValueBox newConditionExprBox(soot.Value value)
public soot.ValueBox newInvokeExprBox(soot.Value value)
public soot.UnitBox newStmtBox(soot.Unit unit)
public soot.shimple.PhiExpr newPhiExpr(java.util.List args, java.util.List preds)
public static java.util.List valueBoxToValue(java.util.List valueBoxes)
valueBoxes
-
public soot.Value newExpr(soot.Value value)
public FrimpBody newBody(soot.SootMethod m)
public FrimpBody newBody(soot.Body b, java.lang.String phase)
public static soot.Value cloneIfNecessary(soot.Value val)
public static java.lang.String toQ(soot.Type x)
x
-
public static java.lang.String toQ(soot.SootFieldRef x)
public static java.lang.String toQ(soot.SootMethodRef x)
public static java.lang.String quote(java.lang.String x)
public static java.lang.String toQ(soot.Value x) throws java.lang.Exception
java.lang.Exception
public static java.lang.String formatNum(soot.jimple.LongConstant x)
public static java.lang.String formatNum(soot.jimple.FloatConstant x)
public static java.lang.String formatNum(soot.jimple.IntConstant x)
public static java.lang.String formatNum(soot.jimple.DoubleConstant x)
public static java.util.List convertUseBoxesListToValues(java.util.List useBoxes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |