Public Methods | |
Fields (ClassInfo c, int nfields) | |
Object | clone () |
boolean | equals (Object obj) |
ClassInfo | getClassInfo () |
LockStatus | getLockStatus () |
LockStatus | getLockStatus (String fieldname) |
long | getValue (int index) |
long | getValue (String fieldname) |
long[] | getVariables () |
void | hash (HashData hd) |
int | hashCode () |
boolean | isRef (String fieldname) |
void | log (int ref, boolean object) |
void | mark (DynamicArea da) |
void | setValue (int index, long value) |
void | setValue (String fieldname, long value) |
void | setValueRef (int idx) |
int | size () |
Fields () | |
void | merge (Fields fields, CallSite site, MethodInfo methodInfo, MethodInfo calledMdInfo) |
boolean | noFieldsInMethod () |
boolean | noInstanceFieldsInMethod () |
boolean | noParaFields () |
boolean | noStaticFieldsInMethod () |
String | toString () |
Fields (String t, ClassInfo c, int size, int nf, boolean ic, BSet v) | |
Object | clone () |
int | countFields () |
boolean | equals (Object o) |
int | findex (String fname) |
ClassInfo | getClassInfo () |
int | getField (int index) |
int | getField (String fname) |
String | getFieldName (int index) |
String | getFieldType (int findex) |
String | getFieldType (String fname) |
long | getLongField (int index) |
long | getLongField (String fname) |
String | getType () |
void | hash (HashData hd) |
int | hashCode () |
boolean | isArray () |
boolean | isClass () |
boolean | isRef (int index) |
boolean | isRef (String fname) |
void | log (int ref) |
void | mark (DynamicArea da) |
void | setField (int index, int value) |
void | setField (String fname, int value) |
void | setLongField (int index, long value) |
void | setLongField (String fname, long value) |
int | size () |
String | toString () |
Private Methods | |
void | ANALYZE_addEntry () |
void | ANALYZE_Fields (int numFields) |
Fields () | |
void | initFields () |
Static Private Methods | |
int | getParaIndex (InstanceFieldRef insFieldRef, Local[] paraLocals, SimpleLocalCopies simpleLocalCopiesInCalledMd, Stmt interStmt) |
boolean | isThisRef (SootMethod enclosingMethod, Value base, Stmt thisRefStmt) |
Set | parametersLocalize (MethodInfo calledMdInfo, Fields fields, InvokeExpr invokeExpr) |
Private Attributes | |
ClassInfo | ci |
long[] | variables |
BitSet | variablerefs = new BitSet() |
List | locks |
LockStatus | arrayLock |
Set | staticFields |
Set | instanceFields |
Set | paraFields |
Set | otherInsFds |
String | type |
int[] | values |
int | nFields |
boolean | isClass |
BSet | vRefs |
Definition at line 16 of file lib/jpf/gov/nasa/arc/ase/jpf/jvm/Fields.java.
|
Initialize staticFields, instanceFields, and paraFields to Definition at line 74 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. Referenced by clone().
|
|
Creates a new empty fields object. Used by clone. Definition at line 57 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Creates a new field object. Definition at line 62 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Creates a clone. Definition at line 84 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Number of fields. Definition at line 102 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Checks for equality. Definition at line 108 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Returns a reference to the class information. Definition at line 144 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Gets the value of a field. Definition at line 156 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Gets the value of a field. Definition at line 150 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. Referenced by getField(), and log().
|
|
Returns the name of the field. Definition at line 164 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Get the index of parameter, if the base value of given instance field reference
Definition at line 97 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. Referenced by parametersLocalize().
|
|
Returns the type of the object or class associated with the fields. Definition at line 194 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Adds some data to the computation of an hashcode. Definition at line 200 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. Referenced by hashCode().
|
|
Computes an hash code. Definition at line 207 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Returns true if the fields belong to an array. Definition at line 244 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. Referenced by getFieldName().
|
|
Returns true if the fields belong to a class. Definition at line 250 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. Referenced by log().
|
|
Returns true if a field contains a reference. Definition at line 279 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Returns true if a field contains a reference. Definition at line 256 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. Referenced by isRef().
|
|
Insert the method's description here. Creation date: (6/18/2001 11:36:41 AM)
Definition at line 126 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. |
|
Logs the content of the fields object. Definition at line 285 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Marks all the references contained in the fields of an object. Definition at line 338 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Merge fields information of called method into current fields information of current method in terms of one method call.
Definition at line 142 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. Referenced by MethodCallAnalysis::mergeFields().
|
|
Implement binding function of parameters.
Definition at line 267 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. Referenced by merge().
|
|
Sets the value of a field. Definition at line 367 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Sets the value of a field. Definition at line 346 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. Referenced by ClassInfo::createClassFields(), ClassInfo::createObjectFields(), and setField().
|
|
Size of the fields. Definition at line 380 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Reference to the class information. Definition at line 27 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
A set of DataBox for instance field references which are declared in current class. Definition at line 56 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. |
|
Set to true if the fields belong to a class. Definition at line 42 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
The number of fields. Definition at line 37 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
A set of DataBox for other instance field references which are declared in other class rather than current class. Definition at line 67 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. |
|
A set of DataBox for parameter field references.
Definition at line 62 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. |
|
A set of DataBox for static field reference. One Definition at line 51 of file src/edu/ksu/cis/bandera/pdgslicer/Fields.java. |
|
Type of the object or class. Definition at line 22 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Keeps track of which values are references. Definition at line 50 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |
|
Set of values. Definition at line 32 of file src/gov/nasa/arc/ase/jpf/jvm/Fields.java. |