public class LockAllocationBodyTransformer extends BodyTransformer
Modifier and Type | Method and Description |
---|---|
static Value |
getLockFor(EquivalentValue lockEqVal) |
protected void |
internalTransform(Body b,
FlowSet fs,
java.util.List<soot.jimple.toolkits.thread.synchronization.CriticalSectionGroup> groups,
boolean[] insertedGlobalLock) |
protected void |
internalTransform(Body b,
java.lang.String phase,
java.util.Map opts)
This method is called to perform the transformation itself.
|
InstanceFieldRef |
reconstruct(Body b,
PatchingChain<Unit> units,
InstanceFieldRef lock,
Stmt insertBefore,
boolean redirect) |
void |
redirectTraps(Body b,
Unit oldUnit,
Unit newUnit) |
static LockAllocationBodyTransformer |
v() |
transform, transform, transform
public static LockAllocationBodyTransformer v()
protected void internalTransform(Body b, java.lang.String phase, java.util.Map opts)
BodyTransformer
internalTransform
in class BodyTransformer
b
- the body on which to apply the transformationphase
- the phasename for this transform; not typically used by implementations.opts
- the actual computed options; a combination of default options and Scene specified options.protected void internalTransform(Body b, FlowSet fs, java.util.List<soot.jimple.toolkits.thread.synchronization.CriticalSectionGroup> groups, boolean[] insertedGlobalLock)
public InstanceFieldRef reconstruct(Body b, PatchingChain<Unit> units, InstanceFieldRef lock, Stmt insertBefore, boolean redirect)
public static Value getLockFor(EquivalentValue lockEqVal)