|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.ssa.SSACache
public class SSACache
A mapping from IMethod -> SSAOptions -> SoftReference -> Something This doesn't work very well ... GCs don't do such a great job with SoftReferences ... revamp it.
| Constructor Summary | |
|---|---|
SSACache(IRFactory<IMethod> factory)
|
|
| Method Summary | |
|---|---|
DefUse |
findOrCreateDU(IMethod m,
Context c,
SSAOptions options)
|
DefUse |
findOrCreateDU(IR ir,
Context C)
|
IR |
findOrCreateIR(IMethod m,
Context c,
SSAOptions options)
|
void |
invalidate(IMethod method,
Context c)
Invalidate all cached information for a |
void |
invalidateDU(IMethod method,
Context c)
Invalidate the cached DefUse for a |
void |
invalidateIR(IMethod method,
Context c)
Invalidate the cached IR for a |
void |
wipe()
The existence of this is unfortunate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSACache(IRFactory<IMethod> factory)
factory - a factory for creating IRs| Method Detail |
|---|
public IR findOrCreateIR(IMethod m,
Context c,
SSAOptions options)
m - a "normal" (bytecode-based) methodoptions - options governing ssa construction
java.lang.IllegalArgumentException - if m is null
public DefUse findOrCreateDU(IMethod m,
Context c,
SSAOptions options)
m - a methodoptions - options governing ssa construction
java.lang.IllegalArgumentException - if m is null
public DefUse findOrCreateDU(IR ir,
Context C)
DefUse information for m, built according to the specified options. null if unavailable
java.lang.IllegalArgumentException - if ir is nullpublic void wipe()
public void invalidateIR(IMethod method,
Context c)
public void invalidateDU(IMethod method,
Context c)
DefUse for a
public void invalidate(IMethod method,
Context c)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||