Class LockAllocationBodyTransformer
- java.lang.Object
-
- soot.Transformer
-
- soot.BodyTransformer
-
- soot.jimple.toolkits.thread.synchronization.LockAllocationBodyTransformer
-
public class LockAllocationBodyTransformer extends BodyTransformer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValuegetLockFor(EquivalentValue lockEqVal)protected voidinternalTransform(Body b, String phase, Map opts)This method is called to perform the transformation itself.protected voidinternalTransform(Body b, FlowSet fs, List<soot.jimple.toolkits.thread.synchronization.CriticalSectionGroup> groups, boolean[] insertedGlobalLock)InstanceFieldRefreconstruct(Body b, PatchingChain<Unit> units, InstanceFieldRef lock, Stmt insertBefore, boolean redirect)voidredirectTraps(Body b, Unit oldUnit, Unit newUnit)static LockAllocationBodyTransformerv()-
Methods inherited from class soot.BodyTransformer
transform, transform, transform
-
-
-
-
Method Detail
-
v
public static LockAllocationBodyTransformer v()
-
internalTransform
protected void internalTransform(Body b, String phase, Map opts)
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 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.
-
internalTransform
protected void internalTransform(Body b, FlowSet fs, List<soot.jimple.toolkits.thread.synchronization.CriticalSectionGroup> groups, boolean[] insertedGlobalLock)
-
reconstruct
public InstanceFieldRef reconstruct(Body b, PatchingChain<Unit> units, InstanceFieldRef lock, Stmt insertBefore, boolean redirect)
-
getLockFor
public static Value getLockFor(EquivalentValue lockEqVal)
-
-