Package soot.jimple.toolkits.base
Class ExceptionChecker
- java.lang.Object
-
- soot.Transformer
-
- soot.BodyTransformer
-
- soot.jimple.toolkits.base.ExceptionChecker
-
public class ExceptionChecker extends BodyTransformer
-
-
Field Summary
Fields Modifier and Type Field Description protected FastHierarchyhierarchyprotected ExceptionCheckerErrorReporterreporter
-
Constructor Summary
Constructors Constructor Description ExceptionChecker(ExceptionCheckerErrorReporter r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckInvoke(Body b, InvokeStmt is)protected voidcheckInvokeExpr(Body b, InvokeExpr ie, Stmt s)protected voidcheckThrow(Body b, ThrowStmt ts)protected voidinternalTransform(Body b, String phaseName, Map<String,String> options)This method is called to perform the transformation itself.protected booleanisExceptionCaught(Body b, Stmt s, RefType throwType)protected booleanisThrowDeclared(Body b, SootClass throwClass)protected booleanisThrowFromCompiler(ThrowStmt ts)protected booleanisThrowInStmtRange(Body b, Stmt begin, Stmt end, Stmt s)-
Methods inherited from class soot.BodyTransformer
transform, transform, transform
-
-
-
-
Field Detail
-
reporter
protected final ExceptionCheckerErrorReporter reporter
-
hierarchy
protected FastHierarchy hierarchy
-
-
Constructor Detail
-
ExceptionChecker
public ExceptionChecker(ExceptionCheckerErrorReporter r)
-
-
Method Detail
-
internalTransform
protected void internalTransform(Body b, String phaseName, Map<String,String> options)
Description copied from class:BodyTransformerThis method is called to perform the transformation itself. It is declared abstract; subclasses must implement this method by making it the entry point to their actual Body transformation.- Specified by:
internalTransformin classBodyTransformer- Parameters:
b- the body on which to apply the transformationphaseName- the phasename for this transform; not typically used by implementations.options- the actual computed options; a combination of default options and Scene specified options.
-
isThrowFromCompiler
protected boolean isThrowFromCompiler(ThrowStmt ts)
-
checkInvoke
protected void checkInvoke(Body b, InvokeStmt is)
-
checkInvokeExpr
protected void checkInvokeExpr(Body b, InvokeExpr ie, Stmt s)
-
-