Uses of Class
soot.Body
-
Packages that use Body Package Description soot Base Soot classes, shared by different intermediate representations.soot.asm soot.baf Public classes for the Baf intermediate representation.soot.baf.toolkits.base A toolkit to optimize the Baf IR.soot.dava soot.dava.internal.AST soot.dexpler soot.dexpler.instructions soot.dexpler.typing soot.dotnet.instructions soot.dotnet.members soot.dotnet.members.method soot.grimp Public classes for the Grimp intermediate representation.soot.grimp.toolkits.base A toolkit to optimize the Grimp IR.soot.javaToJimple soot.javaToJimple.toolkits soot.jbco soot.jbco.bafTransformations soot.jbco.jimpleTransformations soot.jbco.util soot.jimple Public classes for the Jimple intermediate representation.soot.jimple.parser An interface to the Jimple parser.soot.jimple.spark.fieldrw soot.jimple.toolkits.annotation A toolkit to annotate classfiles with array and null bounds check information.soot.jimple.toolkits.annotation.arraycheck Classes that carry out an analysis to determine whether or not array bounds checks are necessary.soot.jimple.toolkits.annotation.callgraph soot.jimple.toolkits.annotation.defs soot.jimple.toolkits.annotation.liveness soot.jimple.toolkits.annotation.logic soot.jimple.toolkits.annotation.nullcheck Classes that carry out an analysis to determine whether or not null pointer checks are necessary.soot.jimple.toolkits.annotation.parity soot.jimple.toolkits.annotation.profiling soot.jimple.toolkits.base A toolkit to optimize the Jimple IR.soot.jimple.toolkits.callgraph soot.jimple.toolkits.graph A set of utility classes for program transformation and optimizations.soot.jimple.toolkits.ide.icfg soot.jimple.toolkits.invoke A toolkit to deal with Jimple and invoke statements.soot.jimple.toolkits.pointer soot.jimple.toolkits.scalar A toolkit for scalar optimization of Jimple.soot.jimple.toolkits.scalar.pre Particial redundency elimination.soot.jimple.toolkits.thread.mhp soot.jimple.toolkits.thread.synchronization soot.jimple.toolkits.typing Implements a typing algorithm for Jimple.soot.jimple.validation soot.shimple Public classes for the SSA Shimple intermediate representation.soot.shimple.internal Shimple internal messy stuff.soot.shimple.toolkits.scalar Some analyses based on Shimple.soot.tagkit Classes supporting classfile annotation in Soot.soot.toDex soot.toolkits.exceptions soot.toolkits.graph Toolkit to produce and manipulate various types of control flow graphs.soot.toolkits.graph.interaction soot.toolkits.graph.pdg soot.toolkits.scalar A number of scalar optimizations, and the flow analysis framework.soot.tools Various extensions to Soot that can be executed instead of soot.Main.soot.util Generally useful utility classes for Soot.soot.util.cfgcmd soot.validation soot.xml -
-
Uses of Body in soot
Fields in soot declared as Body Modifier and Type Field Description protected BodySootMethod. activeBodyActive body associated with this method.Methods in soot that return Body Modifier and Type Method Description BodySootMethod. getActiveBody()Retrieves the active body for this method.BodyMethodSource. getBody(SootMethod m, String phaseName)Returns a filled-out body for the given SootMethod.BodyUnknownMethodSource. getBody(SootMethod m, String phaseName)BodySootMethod. retrieveActiveBody()Returns the active body if present, else constructs an active body and returns that.BodySootMethod. retrieveActiveBody(Consumer<Body> consumer)Returns the active body if present, else constructs an active body, calls the consumer and returns the body afterward.Methods in soot with parameters of type Body Modifier and Type Method Description voidPack. apply(Body b)voidTransform. apply(Body b)protected voidAbstractJasminClass. assignColorsToLocals(Body body)LocalGeneratorScene. createLocalGenerator(Body stmtBody)static List<RefType>TrapManager. getExceptionTypesOf(Unit u, Body body)Given a body and a unit handling an exception, returns the list of exception types possibly caught by the handler.static Set<Unit>TrapManager. getTrappedUnitsOf(Body b)Returns a set of units which lie inside the range of any trap.static List<Trap>TrapManager. getTrapsAt(Unit unit, Body b)Returns the list of traps caught at Unit u in Body b.Map<Object,Object>Body. importBodyContentsFrom(Body b)Copies the contents of the given Body into this one.Map<Object,Object>Body. importBodyContentsFrom(Body b, boolean noLocalsClone)Copies the contents of the given Body into this one.protected voidBodyPack. internalApply(Body b)protected voidJavaToJimpleBodyPack. internalApply(Body b)protected voidJimpleBodyPack. internalApply(Body b)protected voidPack. internalApply(Body b)protected abstract voidBodyTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)This method is called to perform the transformation itself.static booleanTrapManager. isExceptionCaughtAt(SootClass e, Unit u, Body b)If exception e is caught at unit u in body b, return true; otherwise, return false.voidPrinter. printTo(Body b, PrintWriter out)voidSootMethod. setActiveBody(Body body)Sets the active body for this method.static voidTrapManager. splitTrapsAgainst(Body b, Unit rangeStart, Unit rangeEnd)Splits all traps so that they do not cross the range rangeStart - rangeEnd.voidBodyTransformer. transform(Body b)voidBodyTransformer. transform(Body b, String phaseName)voidBodyTransformer. transform(Body b, String phaseName, Map<String,String> options)Called by clients of the transformation.Method parameters in soot with type arguments of type Body Modifier and Type Method Description BodySootMethod. retrieveActiveBody(Consumer<Body> consumer)Returns the active body if present, else constructs an active body, calls the consumer and returns the body afterward.voidPrinter. setCustomUnitPrinter(Function<Body,LabeledUnitPrinter> customUnitPrinter)Constructors in soot with parameters of type Body Constructor Description BriefUnitPrinter(Body body)LabeledUnitPrinter(Body b)NormalUnitPrinter(Body body) -
Uses of Body in soot.asm
Methods in soot.asm that return Body Modifier and Type Method Description BodyAsmMethodSource. getBody(SootMethod m, String phaseName)Methods in soot.asm with parameters of type Body Modifier and Type Method Description protected voidCastAndReturnInliner. internalTransform(Body body, String phaseName, Map<String,String> options) -
Uses of Body in soot.baf
Subclasses of Body in soot.baf Modifier and Type Class Description classBafBodyMethods in soot.baf with parameters of type Body Modifier and Type Method Description protected voidJasminClass. assignColorsToLocals(Body body) -
Uses of Body in soot.baf.toolkits.base
Methods in soot.baf.toolkits.base with parameters of type Body Modifier and Type Method Description booleanExamplePeephole. apply(Body b)booleanPeephole. apply(Body b)Entry point for a peephole.protected voidLoadStoreOptimizer. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidPeepholeOptimizer. internalTransform(Body body, String phaseName, Map<String,String> options)The method that drives the optimizations.protected voidStoreChainOptimizer. internalTransform(Body b, String phaseName, Map<String,String> options)voidStackTypesValidator. validate(Body body, List<ValidationException> exceptions) -
Uses of Body in soot.dava
Subclasses of Body in soot.dava Modifier and Type Class Description classDavaBodyMethods in soot.dava with parameters of type Body Modifier and Type Method Description DavaBodyDava. newBody(Body b)Returns a DavaBody constructed from the given body b. -
Uses of Body in soot.dava.internal.AST
Methods in soot.dava.internal.AST with parameters of type Body Modifier and Type Method Description voidASTMethodNode. storeLocals(Body OrigBody) -
Uses of Body in soot.dexpler
Methods in soot.dexpler that return Body Modifier and Type Method Description BodyDexBody. getBody()Return the associated JimpleBody.BodyDexBody. jimplify(Body b, SootMethod m)Return the jimple equivalent of this body.Methods in soot.dexpler with parameters of type Body Modifier and Type Method Description static voidUtil. addExceptionAfterUnit(Body b, String exceptionType, Unit u, String m)Insert a runtime exception before unit u of body b.voidIDalvikTyper. assignType(Body b)protected List<Unit>DexTransformer. collectDefinitionsWithAliases(Local l, LocalDefs localDefs, LocalUses localUses, Body body)Collect definitions of l in body including the definitions of aliases of l.static voidUtil. emptyBody(Body jBody)Remove all statements except from IdentityStatements for parameters.protected voidDexArrayInitReducer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidDexFillArrayDataTransformer. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidDexIfTransformer. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidDexJumpChainShortener. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidDexNullArrayRefTransformer. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidDexNullIfTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidDexNullInstanceofTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidDexNullThrowTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidDexNullTransformer. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidDexNumTransformer. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidDexRefsChecker. internalTransform(Body body, String phaseName, Map options)protected voidDexReturnInliner. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidDexReturnPacker. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidDexReturnValuePropagator. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidDexTrapStackFixer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidTrapMinimizer. internalTransform(Body b, String phaseName, Map<String,String> options)BodyDexBody. jimplify(Body b, SootMethod m)Return the jimple equivalent of this body.Constructors in soot.dexpler with parameters of type Body Constructor Description DexDefUseAnalysis(Body body) -
Uses of Body in soot.dexpler.instructions
Methods in soot.dexpler.instructions with parameters of type Body Modifier and Type Method Description voidMoveExceptionInstruction. retype(Body body)voidRetypeableInstruction. retype(Body body)Do actual retype. -
Uses of Body in soot.dexpler.typing
Methods in soot.dexpler.typing with parameters of type Body Modifier and Type Method Description voidDalvikTyper. assignType(Body b)voidDalvikTyper. typeUntypedConstrantInDiv(Body b)static voidValidate. validateArrays(Body b) -
Uses of Body in soot.dotnet.instructions
Methods in soot.dotnet.instructions that return Body Modifier and Type Method Description BodyCatchHandlerBody. getBody()BodyCatchFilterHandlerBody. getFilterHandlerBody(Value generalExceptionVariable)BodyCilBlockContainer. jimplify()Methods in soot.dotnet.instructions with parameters of type Body Modifier and Type Method Description protected InvokeExprAbstractNewObjInstanceInstruction. createInvokeExpr(Body jb, SootClass clazz, DotnetMethod method, soot.dotnet.instructions.CilCallInstruction.MethodParams methodParams)protected InvokeExprCilCallInstruction. createInvokeExpr(Body jb, SootClass clazz, DotnetMethod method, soot.dotnet.instructions.CilCallInstruction.MethodParams methodParams)protected InvokeExprCilNewObjInstruction. createInvokeExpr(Body jb, SootClass clazz, DotnetMethod method, soot.dotnet.instructions.CilCallInstruction.MethodParams methodParams)protected LocalAbstractCilnstruction. createTempVar(Body jb, Jimple jimple, Value inv)protected LocalAbstractCilnstruction. createTempVar(Body jb, Type type)protected soot.dotnet.instructions.CilCallInstruction.MethodParamsCilCallInstruction. getMethodCallParams(boolean hasBase, Body jb)protected soot.dotnet.instructions.CilCallInstruction.MethodParamsCilCallInstruction. getMethodCallParams(DotnetMethod method, boolean hasBase, Body jb)voidCilBinaryNumericInstruction. jimplify(Body jb)voidCilBlock. jimplify(Body jb)voidCilBlockContainer. jimplify(Body jb)voidCilBranchInstruction. jimplify(Body jb)voidCilCallInstruction. jimplify(Body jb)voidCilCastClassUnBoxInstruction. jimplify(Body jb)voidCilCkFiniteInstruction. jimplify(Body jb)voidCilCompInstruction. jimplify(Body jb)voidCilConvInstruction. jimplify(Body jb)voidCilDebugBreakInstruction. jimplify(Body jb)voidCilDefaultValueInstruction. jimplify(Body jb)voidCilIfInstruction. jimplify(Body jb)voidCilILFunctionInstruction. jimplify(Body jb)voidCilInstruction. jimplify(Body jb)Jimplify a starting statement of ILSpy ASTvoidCilIsInstInstruction. jimplify(Body jb)voidCilLdcDecimalInstruction. jimplify(Body jb)voidCilLdcI4Instruction. jimplify(Body jb)voidCilLdcI8Instruction. jimplify(Body jb)voidCilLdcR4Instruction. jimplify(Body jb)voidCilLdcR8Instruction. jimplify(Body jb)voidCilLdElemaInstruction. jimplify(Body jb)voidCilLdElemInstruction. jimplify(Body jb)voidCilLdFldaInstruction. jimplify(Body jb)voidCilLdFtnInstruction. jimplify(Body jb)voidCilLdLenInstruction. jimplify(Body jb)voidCilLdLocInstruction. jimplify(Body jb)voidCilLdMemberTokenInstruction. jimplify(Body jb)voidCilLdNullInstruction. jimplify(Body jb)voidCilLdsFldaInstruction. jimplify(Body jb)voidCilLdStrInstruction. jimplify(Body jb)voidCilLdTypeTokenInstruction. jimplify(Body jb)voidCilLdVirtualFtnInstruction. jimplify(Body jb)voidCilLeaveInstruction. jimplify(Body jb)voidCilLocAllocInstruction. jimplify(Body jb)voidCilMatchInstruction. jimplify(Body jb)voidCilNewArrInstruction. jimplify(Body jb)voidCilNewObjInstruction. jimplify(Body jb)voidCilNopInstruction. jimplify(Body jb)voidCilNotInstruction. jimplify(Body jb)voidCilRefAnyInstruction. jimplify(Body jb)voidCilRefTypeInstruction. jimplify(Body jb)voidCilRethrowInstruction. jimplify(Body jb)voidCilSizeOfInstruction. jimplify(Body jb)voidCilStLocInstruction. jimplify(Body jb)voidCilStObjInstruction. jimplify(Body jb)voidCilSwitchInstruction. jimplify(Body jb)voidCilThrowInstruction. jimplify(Body jb)voidCilTryCatchInstruction. jimplify(Body jb)voidCilTryFaultInstruction. jimplify(Body jb)voidCilTryFinallyInstruction. jimplify(Body jb)protected voidCilBlockContainer. jimplifyBlock(Body jb, ProtoIlInstructions.IlBlock block)protected voidCILBlockContainerInstr. jimplifyBlock(Body jb, ProtoIlInstructions.IlBlock block)ValueCilBinaryNumericInstruction. jimplifyExpr(Body jb)ValueCilBlock. jimplifyExpr(Body jb)ValueCilBlockContainer. jimplifyExpr(Body jb)ValueCILBlockContainerInstr. jimplifyExpr(Body jb)ValueCilBranchInstruction. jimplifyExpr(Body jb)ValueCilCallInstruction. jimplifyExpr(Body jb)Call ExpressionValueCilCastClassUnBoxInstruction. jimplifyExpr(Body jb)ValueCilCkFiniteInstruction. jimplifyExpr(Body jb)ValueCilCompInstruction. jimplifyExpr(Body jb)ValueCilConvInstruction. jimplifyExpr(Body jb)ValueCilDebugBreakInstruction. jimplifyExpr(Body jb)ValueCilDefaultValueInstruction. jimplifyExpr(Body jb)ValueCilIfInstruction. jimplifyExpr(Body jb)ValueCilILFunctionInstruction. jimplifyExpr(Body jb)ValueCilInstruction. jimplifyExpr(Body jb)Jimplify an expression of ILSpy AST statement childrenValueCilIsInstInstruction. jimplifyExpr(Body jb)ValueCilLdcDecimalInstruction. jimplifyExpr(Body jb)ValueCilLdcI4Instruction. jimplifyExpr(Body jb)ValueCilLdcI8Instruction. jimplifyExpr(Body jb)ValueCilLdcR4Instruction. jimplifyExpr(Body jb)ValueCilLdcR8Instruction. jimplifyExpr(Body jb)ValueCilLdElemaInstruction. jimplifyExpr(Body jb)ValueCilLdElemInstruction. jimplifyExpr(Body jb)ValueCilLdFldaInstruction. jimplifyExpr(Body jb)ValueCilLdFtnInstruction. jimplifyExpr(Body jb)Call ExpressionValueCilLdLenInstruction. jimplifyExpr(Body jb)ValueCilLdLocInstruction. jimplifyExpr(Body jb)ValueCilLdMemberTokenInstruction. jimplifyExpr(Body jb)ValueCilLdNullInstruction. jimplifyExpr(Body jb)ValueCilLdsFldaInstruction. jimplifyExpr(Body jb)ValueCilLdStrInstruction. jimplifyExpr(Body jb)ValueCilLdTypeTokenInstruction. jimplifyExpr(Body jb)ValueCilLdVirtualFtnInstruction. jimplifyExpr(Body jb)Call ExpressionValueCilLeaveInstruction. jimplifyExpr(Body jb)ValueCilLocAllocInstruction. jimplifyExpr(Body jb)ValueCilMatchInstruction. jimplifyExpr(Body jb)ValueCilNewArrInstruction. jimplifyExpr(Body jb)ValueCilNewObjInstruction. jimplifyExpr(Body jb)ValueCilNopInstruction. jimplifyExpr(Body jb)ValueCilNotInstruction. jimplifyExpr(Body jb)ValueCilRefAnyInstruction. jimplifyExpr(Body jb)ValueCilRefTypeInstruction. jimplifyExpr(Body jb)ValueCilRethrowInstruction. jimplifyExpr(Body jb)ValueCilSizeOfInstruction. jimplifyExpr(Body jb)ValueCilStLocInstruction. jimplifyExpr(Body jb)ValueCilStObjInstruction. jimplifyExpr(Body jb)ValueCilSwitchInstruction. jimplifyExpr(Body jb)ValueCilThrowInstruction. jimplifyExpr(Body jb)ValueCilTryCatchInstruction. jimplifyExpr(Body jb)ValueCilTryFaultInstruction. jimplifyExpr(Body jb)ValueCilTryFinallyInstruction. jimplifyExpr(Body jb)static booleanCilBlockContainer. LastStmtIsNotReturn(Body jb)voidCilILFunctionInstruction. resolveRewritingIsInst(Body jb, Local variable, Value instanceOfExpr)LocalCilIsInstInstruction. resolveRewritingIsInst(Body jb, Local variable, InstanceOfExpr instanceOfExpr)protected ValueAbstractCilnstruction. simplifyComplexExpression(Body jb, Value var)Constructors in soot.dotnet.instructions with parameters of type Body Constructor Description CatchHandlerBody(Local exceptionVariable, ProtoIlInstructions.IlTryCatchHandlerMsg handlerMsg, DotnetBody dotnetBody, Body tryBody, Unit exceptionIdentityStmt, List<Unit> nopsToReplaceWithGoto) -
Uses of Body in soot.dotnet.members
Methods in soot.dotnet.members that return Body Modifier and Type Method Description BodyDotnetMethod. jimplifyMethodBody(ProtoIlInstructions.IlFunctionMsg ilFunctionMsg)Generate Jimple Body of this MethodMethods in soot.dotnet.members with parameters of type Body Modifier and Type Method Description static ValueByReferenceWrapperGenerator. insertWrapperCall(Body jb, SootClass wrapperClass, Value arg)Inserts calls to wrap objects -
Uses of Body in soot.dotnet.members.method
Methods in soot.dotnet.members.method with parameters of type Body Modifier and Type Method Description LocalDotnetBodyVariableManager. addOrGetVariable(ProtoIlInstructions.IlVariableMsg v, Body jbTmp)Add or get variable/local of this method bodyLocalDotnetBodyVariableManager. addOrGetVariable(ProtoIlInstructions.IlVariableMsg v, Type type, Body jbTmp)Type of local is got by the protoVariableMsg but in some cases we need to define the type of the localprotected ValueDotnetBody. createTempVar(Body jb, Jimple jimple, Value inv)voidDotnetBodyVariableManager. fillMethodParameter(Body jb, List<ProtoAssemblyAllTypes.ParameterDefinition> parameters, List<Unit> unwrapCalls, Map<Local,Local> unwrappedToWrapped)Add parameters of the .NET method to the Jimple Bodystatic ValueDotnetBodyVariableManager. inlineLocals(Value v, Body jb)Recursively get value of a locals chainprotected voidTransformIntsToBooleans. internalTransform(Body b, String phaseName, Map<String,String> opts)voidBlockEntryPointsManager. swapGotoEntriesInJBody(Body jb)After producing Jimple Body, swap all target branches (label to stmt)Constructors in soot.dotnet.members.method with parameters of type Body Constructor Description DotnetBodyVariableManager(DotnetBody dotnetBody, Body mainJb) -
Uses of Body in soot.grimp
Subclasses of Body in soot.grimp Modifier and Type Class Description classGrimpBodyImplementation of the Body class for the Grimp IR.Methods in soot.grimp with parameters of type Body Modifier and Type Method Description GrimpBodyGrimp. newBody(Body b, String phase)Returns a GrimpBody constructed from b. -
Uses of Body in soot.grimp.toolkits.base
Methods in soot.grimp.toolkits.base with parameters of type Body Modifier and Type Method Description protected voidConstructorFolder. internalTransform(Body b, String phaseName, Map options)This method change all new Obj/(args) pairs to new Obj(args) idioms. -
Uses of Body in soot.javaToJimple
Methods in soot.javaToJimple that return Body Modifier and Type Method Description BodyAnonClassInitMethodSource. getBody(SootMethod sootMethod, String phaseName)BodyAssertClassMethodSource. getBody(SootMethod sootMethod, String phaseName)BodyClassLiteralMethodSource. getBody(SootMethod sootMethod, String phaseName)BodyPolyglotMethodSource. getBody(SootMethod sm, String phaseName)BodyPrivateFieldAccMethodSource. getBody(SootMethod sootMethod, String phaseName)BodyPrivateFieldSetMethodSource. getBody(SootMethod sootMethod, String phaseName)BodyPrivateMethodAccMethodSource. getBody(SootMethod sootMethod, String phaseName)Methods in soot.javaToJimple with parameters of type Body Modifier and Type Method Description voidPolyglotMethodSource. addAssertInits(Body body)static LocalUtil. getPrivateAccessFieldInvoke(SootMethodRef toInvoke, ArrayList params, Body body, LocalGenerator lg)static LocalUtil. getThis(Type sootType, Body body, HashMap getThisMap, LocalGenerator lg)static LocalUtil. getThisGivenOuter(Type sootType, HashMap getThisMap, Body body, LocalGenerator lg, Local t2)Constructors in soot.javaToJimple with parameters of type Body Constructor Description DefaultLocalGenerator(Body b) -
Uses of Body in soot.javaToJimple.toolkits
Methods in soot.javaToJimple.toolkits with parameters of type Body Modifier and Type Method Description protected voidCondTransformer. internalTransform(Body b, String phaseName, Map options) -
Uses of Body in soot.jbco
Methods in soot.jbco with parameters of type Body Modifier and Type Method Description protected voidLineNumberGenerator.BafLineNumberer. internalTransform(Body b, String phaseName, Map<String,String> options) -
Uses of Body in soot.jbco.bafTransformations
Methods in soot.jbco.bafTransformations with parameters of type Body Modifier and Type Method Description static Map<Unit,Stack<Type>>StackTypeHeightCalculator. calculateStackHeights(Body b)static Map<Unit,Stack<Type>>StackTypeHeightCalculator. calculateStackHeights(Body b, boolean jimpleLocals)static Map<Unit,Stack<Type>>StackTypeHeightCalculator. calculateStackHeights(Body b, Map<Local,Local> b2JLocs)static Stack<Type>StackTypeHeightCalculator. getAfterStack(Body b, Unit u)protected voidAddJSRs. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidBAFCounter. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidBafLineNumberer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidBAFPrintout. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidConstructorConfuser. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidCounter. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidFindDuplicateSequences. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidFixUndefinedLocals. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidIfNullToTryCatch. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidIndirectIfJumpsToCaughtGotos. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidJimple2BafLocalBuilder. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidLocalsToBitField. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidMoveLoadsAboveIfs. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidRemoveRedundantPushStores. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidTryCatchCombiner. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidUpdateConstantsToFields. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidWrapSwitchesInTrys. internalTransform(Body b, String phaseName, Map<String,String> options) -
Uses of Body in soot.jbco.jimpleTransformations
Methods in soot.jbco.jimpleTransformations with parameters of type Body Modifier and Type Method Description booleanAddSwitches. checkTraps(Unit u, Body b)protected voidAddSwitches. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidArithmeticTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidCollectJimpleLocals. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidGotoInstrumenter. internalTransform(Body body, String phaseName, Map<String,String> options) -
Uses of Body in soot.jbco.util
Methods in soot.jbco.util with parameters of type Body Modifier and Type Method Description static voidDebugger. printBaf(Body b)static voidDebugger. printUnits(Body b, String msg)Constructors in soot.jbco.util with parameters of type Body Constructor Description SimpleExceptionalGraph(Body body) -
Uses of Body in soot.jimple
Subclasses of Body in soot.jimple Modifier and Type Class Description classJimpleBodyImplementation of the Body class for the Jimple IR.classStmtBodyAbstract base class for Body's on Stmts (Jimple and Grimp).Methods in soot.jimple that return Body Modifier and Type Method Description BodyJimpleMethodSource. getBody(SootMethod m, String phaseName)Methods in soot.jimple with parameters of type Body Modifier and Type Method Description protected voidJasminClass. assignColorsToLocals(Body body) -
Uses of Body in soot.jimple.parser
Methods in soot.jimple.parser that return Body Modifier and Type Method Description BodyJimpleAST. getBody(SootMethod m)Returns a body corresponding to the parsed jimple for m. -
Uses of Body in soot.jimple.spark.fieldrw
Methods in soot.jimple.spark.fieldrw with parameters of type Body Modifier and Type Method Description protected voidFieldTagAggregator. internalTransform(Body b, String phaseName, Map options)protected voidFieldTagger. internalTransform(Body body, String phaseName, Map options) -
Uses of Body in soot.jimple.toolkits.annotation
Methods in soot.jimple.toolkits.annotation with parameters of type Body Modifier and Type Method Description protected voidAvailExprTagger. internalTransform(Body b, String phaseName, Map opts)protected voidDominatorsTagger. internalTransform(Body b, String phaseName, Map opts) -
Uses of Body in soot.jimple.toolkits.annotation.arraycheck
Methods in soot.jimple.toolkits.annotation.arraycheck with parameters of type Body Modifier and Type Method Description protected voidArrayBoundsChecker. internalTransform(Body body, String phaseName, Map opts) -
Uses of Body in soot.jimple.toolkits.annotation.callgraph
Methods in soot.jimple.toolkits.annotation.callgraph with parameters of type Body Modifier and Type Method Description protected voidCallGraphTagger. internalTransform(Body b, String phaseName, Map options) -
Uses of Body in soot.jimple.toolkits.annotation.defs
Methods in soot.jimple.toolkits.annotation.defs with parameters of type Body Modifier and Type Method Description protected voidReachingDefsTagger. internalTransform(Body b, String phaseName, Map<String,String> options) -
Uses of Body in soot.jimple.toolkits.annotation.liveness
Methods in soot.jimple.toolkits.annotation.liveness with parameters of type Body Modifier and Type Method Description protected voidLiveVarsTagger. internalTransform(Body b, String phaseName, Map options) -
Uses of Body in soot.jimple.toolkits.annotation.logic
Methods in soot.jimple.toolkits.annotation.logic with parameters of type Body Modifier and Type Method Description Set<Loop>LoopFinder. getLoops(Body b)protected voidLoopFinder. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidLoopInvariantFinder. internalTransform(Body b, String phaseName, Map options)this one uses the side effect tester -
Uses of Body in soot.jimple.toolkits.annotation.nullcheck
Methods in soot.jimple.toolkits.annotation.nullcheck with parameters of type Body Modifier and Type Method Description voidNullCheckEliminator. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidNullPointerChecker. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidNullPointerColorer. internalTransform(Body b, String phaseName, Map<String,String> options) -
Uses of Body in soot.jimple.toolkits.annotation.parity
Methods in soot.jimple.toolkits.annotation.parity with parameters of type Body Modifier and Type Method Description protected voidParityTagger. internalTransform(Body b, String phaseName, Map options) -
Uses of Body in soot.jimple.toolkits.annotation.profiling
Methods in soot.jimple.toolkits.annotation.profiling with parameters of type Body Modifier and Type Method Description protected voidProfilingGenerator. internalTransform(Body body, String phaseName, Map opts) -
Uses of Body in soot.jimple.toolkits.base
Methods in soot.jimple.toolkits.base with parameters of type Body Modifier and Type Method Description protected voidExceptionChecker. checkInvoke(Body b, InvokeStmt is)protected voidExceptionChecker. checkInvokeExpr(Body b, InvokeExpr ie, Stmt s)protected voidExceptionChecker. checkThrow(Body b, ThrowStmt ts)protected voidAggregator. internalTransform(Body b, String phaseName, Map<String,String> options)Traverse the statements in the given body, looking for aggregation possibilities; that is, given a def d and a use u, d has no other uses, u has no other defs, collapse d and u.protected voidExceptionChecker. internalTransform(Body b, String phaseName, Map<String,String> options)voidJimpleConstructorFolder. internalTransform(Body b, String phaseName, Map<String,String> options)voidPartialConstructorFolder. internalTransform(Body b, String phaseName, Map<String,String> options)This method pushes all newExpr down to be the stmt directly before every invoke of the init only if they are in the types listvoidThisInliner. internalTransform(Body b, String phaseName, Map<String,String> options)protected booleanExceptionChecker. isExceptionCaught(Body b, Stmt s, RefType throwType)protected booleanExceptionChecker. isThrowDeclared(Body b, SootClass throwClass)protected booleanExceptionChecker. isThrowInStmtRange(Body b, Stmt begin, Stmt end, Stmt s) -
Uses of Body in soot.jimple.toolkits.callgraph
Methods in soot.jimple.toolkits.callgraph with parameters of type Body Modifier and Type Method Description protected voidOnFlyCallGraphBuilder. findReceivers(SootMethod m, Body b)abstract ValueVirtualEdgesSummaries.AbstractParameterMapping. getMappedTargetArgumentArg(Body body)ValueVirtualEdgesSummaries.DirectParameterMapping. getMappedTargetArgumentArg(Body body)protected voidClinitElimTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidUnreachableMethodTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)Constructors in soot.jimple.toolkits.callgraph with parameters of type Body Constructor Description ConstantArrayAnalysis(DirectedGraph<Unit> graph, Body b) -
Uses of Body in soot.jimple.toolkits.graph
Methods in soot.jimple.toolkits.graph with parameters of type Body Modifier and Type Method Description protected voidCriticalEdgeRemover. internalTransform(Body b, String phaseName, Map<String,String> options)performs critical edge-removing.protected voidLoopConditionUnroller. internalTransform(Body body, String phaseName, Map<String,String> options)unrolls conditions. -
Uses of Body in soot.jimple.toolkits.ide.icfg
Fields in soot.jimple.toolkits.ide.icfg with type parameters of type Body Modifier and Type Field Description protected com.google.common.cache.LoadingCache<Body,LocalMustNotAliasAnalysis>OnTheFlyJimpleBasedICFG. bodyToLMNAAprotected com.google.common.cache.LoadingCache<Body,DirectedGraph<Unit>>AbstractJimpleBasedICFG. bodyToUnitGraphMethods in soot.jimple.toolkits.ide.icfg that return Body Modifier and Type Method Description BodyAbstractJimpleBasedICFG. getBodyOf(Unit u)protected BodyOnTheFlyJimpleBasedICFG. initForMethod(SootMethod m)Methods in soot.jimple.toolkits.ide.icfg that return types with arguments of type Body Modifier and Type Method Description protected Map<Unit,Body>AbstractJimpleBasedICFG. createUnitToOwnerMap()Creates a new map used for the unitToOwner map.Methods in soot.jimple.toolkits.ide.icfg with parameters of type Body Modifier and Type Method Description DirectedGraph<Unit>AbstractJimpleBasedICFG. getOrCreateUnitGraph(Body body)voidAbstractJimpleBasedICFG. initializeUnitToOwner(Body b)protected DirectedGraph<Unit>AbstractJimpleBasedICFG. makeGraph(Body body)booleanAbstractJimpleBasedICFG. setOwnerStatement(Unit u, Body b) -
Uses of Body in soot.jimple.toolkits.invoke
Methods in soot.jimple.toolkits.invoke with parameters of type Body Modifier and Type Method Description static voidAccessManager. createAccessorMethods(Body body, Stmt before, Stmt after)Resolves illegal accesses in the interval ]before,after[ by creating accessor methods. -
Uses of Body in soot.jimple.toolkits.pointer
Methods in soot.jimple.toolkits.pointer with parameters of type Body Modifier and Type Method Description protected voidCastCheckEliminatorDumper. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidFieldRWTagger. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidParameterAliasTagger. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidSideEffectTagger. internalTransform(Body body, String phaseName, Map<String,String> options)Constructors in soot.jimple.toolkits.pointer with parameters of type Body Constructor Description LocalMustNotAliasAnalysis(DirectedGraph<Unit> directedGraph, Body b) -
Uses of Body in soot.jimple.toolkits.scalar
Methods in soot.jimple.toolkits.scalar with parameters of type Body Modifier and Type Method Description protected voidCommonSubexpressionEliminator. internalTransform(Body b, String phaseName, Map<String,String> options)Common subexpression eliminator.protected voidConditionalBranchFolder. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidConstantCastEliminator. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidConstantPropagatorAndFolder. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidCopyPropagator. internalTransform(Body b, String phaseName, Map<String,String> opts)Cascaded copy propagator.protected voidDeadAssignmentEliminator. internalTransform(Body b, String phaseName, Map<String,String> options)Eliminates dead code in a linear fashion.protected voidEmptySwitchEliminator. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidFieldStaticnessCorrector. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidIdentityCastEliminator. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidIdentityOperationEliminator. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidLocalNameStandardizer. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidMethodStaticnessCorrector. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidNopEliminator. internalTransform(Body b, String phaseName, Map<String,String> options)RemovesNopStmts from the passed body .protected voidUnconditionalBranchFolder. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidUnreachableCodeEliminator. internalTransform(Body body, String phaseName, Map<String,String> options)Constructors in soot.jimple.toolkits.scalar with parameters of type Body Constructor Description FastAvailableExpressions(Body b, SideEffectTester st)Wrapper for AvailableExpressionsAnalysis.SlowAvailableExpressions(Body b)Wrapper for SlowAvailableExpressionsAnalysis. -
Uses of Body in soot.jimple.toolkits.scalar.pre
Methods in soot.jimple.toolkits.scalar.pre with parameters of type Body Modifier and Type Method Description protected voidBusyCodeMotion. internalTransform(Body b, String phaseName, Map<String,String> opts)performs the busy code motion.protected voidLazyCodeMotion. internalTransform(Body b, String phaseName, Map<String,String> opts)performs the lazy code motion. -
Uses of Body in soot.jimple.toolkits.thread.mhp
Fields in soot.jimple.toolkits.thread.mhp declared as Body Modifier and Type Field Description BodyPegChain. bodyMethods in soot.jimple.toolkits.thread.mhp that return Body Modifier and Type Method Description BodyPegGraph. getBody()Constructors in soot.jimple.toolkits.thread.mhp with parameters of type Body Constructor Description MethodExtentBuilder(Body unitBody, PegCallGraph pcg, CallGraph cg)PegGraph(CallGraph callGraph, Hierarchy hierarchy, PAG pag, Set<Object> methodsNeedingInlining, Set<AllocNode> allocNodes, List inlineSites, Map synchObj, Set<AllocNode> multiRunAllocNodes, Map allocNodeToObj, Body unitBody, SootMethod sm, boolean addExceptionEdges, boolean dontAddEdgeFromStmtBeforeAreaOfProtectionToCatchBlock)Constructs a graph for the units found in the provided Body instance.PegGraph(CallGraph callGraph, Hierarchy hierarchy, PAG pag, Set methodsNeedingInlining, Set allocNodes, List<List> inlineSites, Map<SootMethod,String> synchObj, Set multiRunAllocNodes, Map<AllocNode,String> allocNodeToObj, Body unitBody, String threadName, SootMethod sm, boolean addExceEdge, boolean dontAddEdgeFromStmtBeforeAreaOfProtectionToCatchBlock)Constructs a graph for the units found in the provided Body instance. -
Uses of Body in soot.jimple.toolkits.thread.synchronization
Methods in soot.jimple.toolkits.thread.synchronization with parameters of type Body Modifier and Type Method Description protected voidLockAllocationBodyTransformer. internalTransform(Body b, String phase, Map opts)protected voidLockAllocationBodyTransformer. internalTransform(Body b, FlowSet fs, List<soot.jimple.toolkits.thread.synchronization.CriticalSectionGroup> groups, boolean[] insertedGlobalLock)InstanceFieldRefLockAllocationBodyTransformer. reconstruct(Body b, PatchingChain<Unit> units, InstanceFieldRef lock, Stmt insertBefore, boolean redirect)voidLockAllocationBodyTransformer. redirectTraps(Body b, Unit oldUnit, Unit newUnit) -
Uses of Body in soot.jimple.toolkits.typing
Methods in soot.jimple.toolkits.typing with parameters of type Body Modifier and Type Method Description static UnitUtil. findFirstNonIdentityUnit(Body b, Stmt s)Returns the first statement after all the "identity statements".static UnitUtil. findLastIdentityUnit(Body b, Stmt s)A new "normal" statement cannot be inserted in the middle of special "identity statements" (a = @parameter or b = @this in Jimple).protected voidTypeAssigner. internalTransform(Body b, String phaseName, Map<String,String> options)Assign types to local variables.protected static voidTypeAssigner. replaceNullType(Body b)Replace statements using locals with null_type type and that would throw a NullPointerException at runtime by a set of instructions throwing a NullPointerException. -
Uses of Body in soot.jimple.validation
Methods in soot.jimple.validation with parameters of type Body Modifier and Type Method Description voidFieldRefValidator. validate(Body body, List<ValidationException> exceptions)Checks the consistency of field references.voidIdentityStatementsValidator. validate(Body body, List<ValidationException> exceptions)Checks the following invariants on this Jimple body: this-references may only occur in instance methods this-references may only occur as the first statement in a method, if they occur at all param-references must precede all statements that are not themselves param-references or this-references, if they occur at allvoidIdentityValidator. validate(Body body, List<ValidationException> exceptions)voidInvokeArgumentValidator. validate(Body body, List<ValidationException> exceptions)voidInvokeValidator. validate(Body body, List<ValidationException> exceptions)voidJimpleTrapValidator. validate(Body body, List<ValidationException> exceptions)Checks whether all Caught-Exception-References are associated to traps.voidMethodValidator. validate(Body body, List<ValidationException> exceptions)Checks the following invariants on this Jimple body: static initializer should have 'static' modifiervoidNewValidator. validate(Body body, List<ValidationException> exceptions)Checks whether after each new-instruction a constructor call follows.voidReturnStatementsValidator. validate(Body body, List<ValidationException> exceptions)voidTypesValidator. validate(Body body, List<ValidationException> exceptions) -
Uses of Body in soot.shimple
Subclasses of Body in soot.shimple Modifier and Type Class Description classShimpleBodyImplementation of the Body class for the SSA Shimple IR.Fields in soot.shimple declared as Body Modifier and Type Field Description protected BodyDefaultShimpleFactory. bodyMethods in soot.shimple that return Body Modifier and Type Method Description BodyDefaultShimpleFactory. getBody()BodyShimpleMethodSource. getBody(SootMethod m, String phaseName)Methods in soot.shimple with parameters of type Body Modifier and Type Method Description ShimpleBodyShimple. newBody(Body b)Returns a ShimpleBody constructed from b, using default phase options.ShimpleBodyShimple. newBody(Body b, Map<String,String> options)Returns a ShimpleBody constructed from b, using provided option Map.static voidShimple. redirectToPreds(Body body, Unit remove)If you are removing a Unit from a Unit chain which contains PhiExpr's, you might want to call this utility function in order to update any PhiExpr pointers to the Unit to point to the Unit's predecessor(s).Constructors in soot.shimple with parameters of type Body Constructor Description DefaultShimpleFactory(Body body) -
Uses of Body in soot.shimple.internal
Fields in soot.shimple.internal declared as Body Modifier and Type Field Description protected BodySPatchingChain. bodyNeeded to find non-trapped Units of the body.Constructors in soot.shimple.internal with parameters of type Body Constructor Description SPatchingChain(Body aBody, Chain<Unit> aChain) -
Uses of Body in soot.shimple.toolkits.scalar
Methods in soot.shimple.toolkits.scalar with parameters of type Body Modifier and Type Method Description protected voidSConstantPropagatorAndFolder. internalTransform(Body b, String phaseName, Map<String,String> options) -
Uses of Body in soot.tagkit
Methods in soot.tagkit with parameters of type Body Modifier and Type Method Description protected voidTagAggregator. internalTransform(Body b, String phaseName, Map<String,String> options) -
Uses of Body in soot.toDex
Methods in soot.toDex with parameters of type Body Modifier and Type Method Description voidDexArrayInitDetector. constructArrayInitializations(Body body)Constructs packed array initializations from the individual element assignments in the given bodyvoidDexArrayInitDetector. fixTraps(Body activeBody)Fixes the traps in the given body to account for assignments to individual array elements being replaced by a single fill instruction.protected voidFastDexTrapTightener. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidSynchronizedMethodTransformer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidTrapSplitter. internalTransform(Body b, String phaseName, Map<String,String> options)static voidTrapSplitter. removePotentiallyUselassTraps(Body b, Set<Unit> potentiallyUselessTrapHandlers)Changes the given body so that trap handlers, which are contained in the given set, are removed in case they are not referenced by any trap. -
Uses of Body in soot.toolkits.exceptions
Methods in soot.toolkits.exceptions with parameters of type Body Modifier and Type Method Description protected voidDuplicateCatchAllTrapRemover. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidTrapTightener. internalTransform(Body body, String phaseName, Map<String,String> options) -
Uses of Body in soot.toolkits.graph
Fields in soot.toolkits.graph declared as Body Modifier and Type Field Description protected BodyUnitGraph. bodyprotected BodyBlockGraph. mBodyMethods in soot.toolkits.graph that return Body Modifier and Type Method Description BodyBlock. getBody()Returns the Block's enclosing Body instance.BodyBlockGraph. getBody()Returns theBodythisBlockGraphis derived from.BodyDirectedBodyGraph. getBody()BodyExceptionalGraph. getBody()Returns theBodyfrom which this graph was built.BodyUnitGraph. getBody()Methods in soot.toolkits.graph with parameters of type Body Modifier and Type Method Description static ExceptionalUnitGraphExceptionalUnitGraphFactory. createExceptionalUnitGraph(Body body)static ExceptionalUnitGraphExceptionalUnitGraphFactory. createExceptionalUnitGraph(Body body, ThrowAnalysis throwAnalysis)static ExceptionalUnitGraphExceptionalUnitGraphFactory. createExceptionalUnitGraph(Body body, ThrowAnalysis throwAnalysis, boolean omitExceptingUnitEdges)protected ExceptionalUnitGraphExceptionalUnitGraphFactory. newExceptionalUnitGraph(Body body, ThrowAnalysis throwAnalysis, boolean omitExceptingUnitEdges)Constructors in soot.toolkits.graph with parameters of type Body Constructor Description ArrayRefBlockGraph(Body body)Constructs anArrayRefBlockGraphfrom the givenBody.Block(Unit aHead, Unit aTail, Body aBody, int aIndexInMethod, int aBlockLength, BlockGraph aBlockGraph)Constructs a Block in the context of a BlockGraph, and enclosing Body instances.BriefBlockGraph(Body body)Constructs aBriefBlockGraphfrom a givenBody.BriefUnitGraph(Body body)Constructs a BriefUnitGraph given a Body instance.ClassicCompleteBlockGraph(Body body)Constructs a ClassicCompleteBlockGraph for the blocks found by partitioning the the units of the providedBodyinstance into basic blocks.ClassicCompleteUnitGraph(Body body)Constructs the graph from a given Body instance.CompleteBlockGraph(Body b)CompleteUnitGraph(Body b)ExceptionalBlockGraph(Body body)Constructs anExceptionalBlockGraphfor the blocks found by partitioning the the units of the providedBodyinstance into basic blocks.ExceptionalUnitGraph(Body body)Constructs the graph from a given Body instance, using theScene's defaultThrowAnalysisto estimate the set of exceptions that eachUnitmight throw and a default value, provided by theOptionsclass, for theomitExceptingUnitEdgesparameter.ExceptionalUnitGraph(Body body, boolean ignoredBogusParameter)Allocates anExceptionalUnitGraphobject without initializing it.ExceptionalUnitGraph(Body body, ThrowAnalysis throwAnalysis)Constructs the graph from a given Body instance using the passedThrowAnalysisand a default value, provided by theOptionsclass, for theomitExceptingUnitEdgesparameter.ExceptionalUnitGraph(Body body, ThrowAnalysis throwAnalysis, boolean omitExceptingUnitEdges)Constructs the graph for a given Body instance, using theThrowAnalysisandomitExceptingUnitEdgesvalue that are passed as parameters.LoopNestTree(Body b)Builds a loop nest tree from a method body usingLoopFinder.TrapUnitGraph(Body body)Constructs the graph from a given Body instance.UnitGraph(Body body)Performs the work that is required to construct any sort of UnitGraph.ZonedBlockGraph(Body body)Constructs a ZonedBlockGraph for the Units comprising the passedBody. -
Uses of Body in soot.toolkits.graph.interaction
Methods in soot.toolkits.graph.interaction with parameters of type Body Modifier and Type Method Description voidInteractionHandler. handleNewAnalysis(Transform t, Body b)voidInteractionHandler. handleTransformDone(Transform t, Body b) -
Uses of Body in soot.toolkits.graph.pdg
Fields in soot.toolkits.graph.pdg declared as Body Modifier and Type Field Description protected BodyHashMutablePDG. m_bodyprotected BodyRegionAnalysis. m_methodBodyConstructors in soot.toolkits.graph.pdg with parameters of type Body Constructor Description EnhancedBlockGraph(Body body)EnhancedUnitGraph(Body body) -
Uses of Body in soot.toolkits.scalar
Fields in soot.toolkits.scalar with type parameters of type Body Modifier and Type Field Description protected Map<Body,Pair<Long,SmartLocalDefs>>SmartLocalDefsPool. poolMethods in soot.toolkits.scalar with parameters of type Body Modifier and Type Method Description static <G> voidFastColorer. assignColorsToLocals(Body unitBody, Map<Local,G> localToGroup, Map<Local,Integer> localToColor, Map<G,Integer> groupToColorCount)Provides an economical coloring for the locals ofunitBody.SmartLocalDefsSmartLocalDefsPool. getSmartLocalDefsFor(Body b)This method returns a fresh instance of aSmartLocalDefsanalysis, based on a freshly createdExceptionalUnitGraphfor b, with standard parameters.protected voidFlowSensitiveConstantPropagator. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidLocalPacker. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidLocalSplitter. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidSharedInitializationLocalSplitter. internalTransform(Body body, String phaseName, Map<String,String> options)protected voidUnusedLocalEliminator. internalTransform(Body body, String phaseName, Map<String,String> options)voidSmartLocalDefsPool. invalidate(Body b)LocalDefsLocalDefsFactory. newLocalDefs(Body body)Creates a new LocalDefs analysis based on aExceptionalUnitGraphLocalDefsLocalDefsFactory. newLocalDefs(Body body, boolean expectUndefined)Creates a new LocalDefs analysis based on aExceptionalUnitGraphIf you don't trust the input you should setexpectUndefinedtotrue.static LocalUsesLocalUses.Factory. newLocalUses(Body body)static LocalUsesLocalUses.Factory. newLocalUses(Body body, LocalDefs localDefs)static <G> voidFastColorer. unsplitAssignColorsToLocals(Body unitBody, Map<Local,G> localToGroup, Map<Local,Integer> localToColor, Map<G,Integer> groupToColorCount)Provides a coloring for the locals ofunitBody, attempting to not split locals assigned the same name in the original Jimple.Constructors in soot.toolkits.scalar with parameters of type Body Constructor Description SimpleLocalUses(Body body, LocalDefs localDefs)Construct the analysis from a method body and a LocalDefs interface. -
Uses of Body in soot.tools
Methods in soot.tools with parameters of type Body Modifier and Type Method Description protected voidCFGViewer. internalTransform(Body b, String phaseName, Map<String,String> options)protected voidCFGViewer. print_cfg(Body body) -
Uses of Body in soot.util
Methods in soot.util with parameters of type Body Modifier and Type Method Description voidPhaseDumper. dumpAfter(Body b, String phaseName)Tells thePhaseDumperthat aBodytransforming phase has ended, so that it can dump the phases's “after” file.voidPhaseDumper. dumpBefore(Body b, String phaseName)Tells thePhaseDumperthat aBodytransforming phase has started, so that it can dump the phases's “before” file.voidPhaseDumper. dumpBody(Body b, String baseName)<N> voidPhaseDumper. dumpGraph(DirectedGraph<N> g, Body b)Asks thePhaseDumperto dump the passedDirectedGraphif the current phase is being dumped.<N> voidPhaseDumper. dumpGraph(DirectedGraph<N> g, Body b, boolean skipPhaseCheck)Asks thePhaseDumperto dump the passedDirectedGraphif the current phase is being dumped orskipPhaseCheck == true.Constructors in soot.util with parameters of type Body Constructor Description LocalBitSetPacker(Body body)UnitMap(Body b)maps each unit of this body to the result ofmapTo.
before the mapping the methodinitis called.
the internal map is initialized without any parameter.UnitMap(Body b, int initialCapacity)maps each unit of this body to the result ofmapTo.
before the mapping the methodinitis called.
the internal map is initialized toinitialCapacity.UnitMap(Body b, int initialCapacity, float loadFactor)maps each unit of this body to the result ofmapTo.
before the mapping the methodinitis called.
the internal map is initialized toinitialCapacityandloadFactor. -
Uses of Body in soot.util.cfgcmd
Methods in soot.util.cfgcmd that return Body Modifier and Type Method Description abstract BodyCFGIntermediateRep. getBody(JimpleBody b)Converts aJimpleBodyinto the correspondingBodyin this intermediate representation.Methods in soot.util.cfgcmd with parameters of type Body Modifier and Type Method Description abstract DirectedGraph<?>CFGGraphType. buildGraph(Body b)Method that will build a graph of this type.<N> DotGraphCFGToDotGraph. drawCFG(DirectedGraph<N> graph, Body body)Create aDotGraphwhose nodes and edges depict a control flow graph without distinguished exceptional edges.abstract DotGraphCFGGraphType. drawGraph(CFGToDotGraph drawer, DirectedGraph<?> g, Body b)Method that will draw aDotGraphrepresentation of the control flow in this type of graph. -
Uses of Body in soot.validation
Methods in soot.validation with parameters of type Body Modifier and Type Method Description voidBodyValidator. validate(Body body, List<ValidationException> exceptions)Validates the given body and saves all validation errors in the given list.voidCheckEscapingValidator. validate(Body body, List<ValidationException> exception)voidCheckInitValidator. validate(Body body, List<ValidationException> exception)voidCheckTypesValidator. validate(Body body, List<ValidationException> exception)voidCheckVoidLocalesValidator. validate(Body body, List<ValidationException> exception)voidLocalsValidator. validate(Body body, List<ValidationException> exception)voidTrapsValidator. validate(Body body, List<ValidationException> exception)voidUnitBoxesValidator. validate(Body body, List<ValidationException> exception)voidUsesValidator. validate(Body body, List<ValidationException> exception)voidValueBoxesValidator. validate(Body body, List<ValidationException> exception)Constructors in soot.validation with parameters of type Body Constructor Description UnitValidationException(Unit concerned, Body body, String strMessage)Creates a new ValidationException, treated as an error.UnitValidationException(Unit concerned, Body body, String strMessage, boolean isWarning)Creates a new ValidationException. -
Uses of Body in soot.xml
Methods in soot.xml with parameters of type Body Modifier and Type Method Description voidTagCollector. collectBodyTags(Body b)
-