public class ArrayBoundsChecker extends BodyTransformer
Modifier and Type | Field and Description |
---|---|
protected boolean |
addColorTags |
protected boolean |
takeArrayRef |
protected boolean |
takeClassField |
protected boolean |
takeCSE |
protected boolean |
takeFieldRef |
protected boolean |
takeRectArray |
Constructor and Description |
---|
ArrayBoundsChecker(Singletons.Global g) |
Modifier and Type | Method and Description |
---|---|
protected void |
internalTransform(Body body,
java.lang.String phaseName,
java.util.Map opts)
This method is called to perform the transformation itself.
|
protected int |
interpretGraph(soot.jimple.toolkits.annotation.arraycheck.WeightedDirectedSparseGraph vgraph,
ArrayRef aref,
Stmt stmt,
soot.jimple.toolkits.annotation.arraycheck.IntContainer zero) |
static ArrayBoundsChecker |
v() |
transform, transform, transform
protected boolean takeClassField
protected boolean takeFieldRef
protected boolean takeArrayRef
protected boolean takeCSE
protected boolean takeRectArray
protected boolean addColorTags
public static ArrayBoundsChecker v()
protected void internalTransform(Body body, java.lang.String phaseName, java.util.Map opts)
BodyTransformer
internalTransform
in class BodyTransformer
body
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.opts
- the actual computed options; a combination of default options and Scene specified options.