Package soot.baf
Class Baf
- java.lang.Object
-
- soot.baf.Baf
-
public class Baf extends Object
-
-
Constructor Summary
Constructors Constructor Description Baf(Singletons.Global g)
-
Method Summary
-
-
-
Constructor Detail
-
Baf
public Baf(Singletons.Global g)
-
-
Method Detail
-
v
public static Baf v()
-
newLocal
public Local newLocal(String name, Type t)
Constructs a Local with the given name and type.
-
newTrap
public Trap newTrap(SootClass exception, Unit beginUnit, Unit endUnit, Unit handlerUnit)
Constructs a new BTrap for the given exception on the given Unit range with the given Unit handler.
-
newExitMonitorInst
public ExitMonitorInst newExitMonitorInst()
Constructs a ExitMonitorInst() grammar chunk
-
newEnterMonitorInst
public EnterMonitorInst newEnterMonitorInst()
Constructs a EnterMonitorInst() grammar chunk.
-
newReturnVoidInst
public ReturnVoidInst newReturnVoidInst()
-
newNopInst
public NopInst newNopInst()
-
newPlaceholderInst
public PlaceholderInst newPlaceholderInst(Unit source)
-
newIdentityInst
public IdentityInst newIdentityInst(Value local, Value identityRef)
-
newParameterRef
public ParameterRef newParameterRef(Type paramType, int number)
Constructs a ParameterRef(SootMethod, int) grammar chunk.
-
newArrayWriteInst
public ArrayWriteInst newArrayWriteInst(Type opType)
-
newArrayReadInst
public ArrayReadInst newArrayReadInst(Type opType)
-
newStaticGetInst
public StaticGetInst newStaticGetInst(SootFieldRef fieldRef)
-
newStaticPutInst
public StaticPutInst newStaticPutInst(SootFieldRef fieldRef)
-
newFieldGetInst
public FieldGetInst newFieldGetInst(SootFieldRef fieldRef)
-
newFieldPutInst
public FieldPutInst newFieldPutInst(SootFieldRef fieldRef)
-
newArrayLengthInst
public ArrayLengthInst newArrayLengthInst()
-
newInstanceCastInst
public InstanceCastInst newInstanceCastInst(Type opType)
-
newInstanceOfInst
public InstanceOfInst newInstanceOfInst(Type opType)
-
newPrimitiveCastInst
public PrimitiveCastInst newPrimitiveCastInst(Type fromType, Type toType)
-
newNewArrayInst
public NewArrayInst newNewArrayInst(Type opType)
-
newNewMultiArrayInst
public NewMultiArrayInst newNewMultiArrayInst(ArrayType opType, int dimensions)
-
newDynamicInvokeInst
public DynamicInvokeInst newDynamicInvokeInst(SootMethodRef bsmMethodRef, List<Value> bsmArgs, SootMethodRef methodRef, int tag)
-
newStaticInvokeInst
public StaticInvokeInst newStaticInvokeInst(SootMethodRef methodRef)
-
newSpecialInvokeInst
public SpecialInvokeInst newSpecialInvokeInst(SootMethodRef methodRef)
-
newVirtualInvokeInst
public VirtualInvokeInst newVirtualInvokeInst(SootMethodRef methodRef)
-
newInterfaceInvokeInst
public InterfaceInvokeInst newInterfaceInvokeInst(SootMethodRef methodRef, int argCount)
-
newReturnInst
public ReturnInst newReturnInst(Type opType)
-
newIfCmpEqInst
public IfCmpEqInst newIfCmpEqInst(Type opType, Unit unit)
-
newIfCmpGeInst
public IfCmpGeInst newIfCmpGeInst(Type opType, Unit unit)
-
newIfCmpGtInst
public IfCmpGtInst newIfCmpGtInst(Type opType, Unit unit)
-
newIfCmpLeInst
public IfCmpLeInst newIfCmpLeInst(Type opType, Unit unit)
-
newIfCmpLtInst
public IfCmpLtInst newIfCmpLtInst(Type opType, Unit unit)
-
newIfCmpNeInst
public IfCmpNeInst newIfCmpNeInst(Type opType, Unit unit)
-
newIfNullInst
public IfNullInst newIfNullInst(Unit unit)
-
newIfNonNullInst
public IfNonNullInst newIfNonNullInst(Unit unit)
-
newThrowInst
public ThrowInst newThrowInst()
-
newDup1_x1Inst
public Dup1_x1Inst newDup1_x1Inst(Type aOpType, Type aUnderType)
-
newDup1_x2Inst
public Dup1_x2Inst newDup1_x2Inst(Type aOpType, Type aUnder1Type, Type aUnder2Type)
-
newDup2_x1Inst
public Dup2_x1Inst newDup2_x1Inst(Type aOp1Type, Type aOp2Type, Type aUnderType)
-
newDup2_x2Inst
public Dup2_x2Inst newDup2_x2Inst(Type aOp1Type, Type aOp2Type, Type aUnder1Type, Type aUnder2Type)
-
newLookupSwitchInst
public LookupSwitchInst newLookupSwitchInst(Unit defaultTarget, List<IntConstant> lookupValues, List<? extends Unit> targets)
-
newTableSwitchInst
public TableSwitchInst newTableSwitchInst(Unit defaultTarget, int lowIndex, int highIndex, List<? extends Unit> targets)
-
newBody
public BafBody newBody(SootMethod m)
Returns an empty BafBody associated with method m.
-
newBody
public BafBody newBody(JimpleBody b)
Returns a BafBody constructed from b.
-
newBody
public BafBody newBody(JimpleBody b, String phase)
Returns a BafBody constructed from b.
-
-