Package soot.jimple.toolkits.invoke
Class ThrowManager
- java.lang.Object
-
- soot.jimple.toolkits.invoke.ThrowManager
-
public class ThrowManager extends Object
Utility methods for dealing with traps.
-
-
Constructor Summary
Constructors Constructor Description ThrowManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StmtgetNullPointerExceptionThrower(JimpleBody b)Iterate through the statements in b (starting at the end), returning the last instance of the following pattern:r928 = new java.lang.NullPointerException; specialinvoke r928."Creates if necessary."(); throw r928; static StmtgetNullPointerExceptionThrower(ShimpleBody b)Iterate through the statements in b (starting at the end), returning the last instance of the following pattern:r928 = new java.lang.NullPointerException; specialinvoke r928."Creates if necessary."(); throw r928;
-
-
-
Method Detail
-
getNullPointerExceptionThrower
public static Stmt getNullPointerExceptionThrower(JimpleBody b)
Iterate through the statements in b (starting at the end), returning the last instance of the following pattern:r928 = new java.lang.NullPointerException; specialinvoke r928."Creates if necessary."(); throw r928;
-
getNullPointerExceptionThrower
public static Stmt getNullPointerExceptionThrower(ShimpleBody b)
Iterate through the statements in b (starting at the end), returning the last instance of the following pattern:r928 = new java.lang.NullPointerException; specialinvoke r928."Creates if necessary."(); throw r928;
-
-