类 JvmValueAbstractState
java.lang.Object
proguard.analysis.cpa.jvm.state.JvmAbstractState<ValueAbstractState>
proguard.analysis.cpa.jvm.domain.value.JvmValueAbstractState
-
字段概要
从类继承的字段 proguard.analysis.cpa.jvm.state.JvmAbstractState
DEFAULT_FIELD, frame, heap, programLocation, staticFields, topLocation -
构造器概要
构造器构造器说明JvmValueAbstractState(ValueFactory valueFactory, ExecutingInvocationUnit executingInvocationUnit, JvmCfaNode programLocation, JvmFrameAbstractState<ValueAbstractState> frame, JvmHeapAbstractState<ValueAbstractState> heap, MapAbstractState<String, ValueAbstractState> staticFields) Create a JVM value abstract state. -
方法概要
修饰符和类型方法说明copy()Creates a copy of itself.booleanReturns theValueFactory.getVariableOrDefault(int index, ValueAbstractState defaultState) Returns an abstract state at theindexth position of the variable array, the corresponding heap value for anIdentifiedReferenceValueordefaultStateif there is no entry.join(JvmAbstractState<ValueAbstractState> abstractState) Computes a join over itself and another abstract stateabstractState(i.e., finds the least upper bound on the semilattice).Returns anValueAbstractStatefor a new object of the givenclassName.Returns anValueAbstractStatestate for a new object of the givenClazz.<T> voidsetField(T object, ValueAbstractState value) Sets the default field of theobjecttovalue.setVariable(int index, ValueAbstractState state, ValueAbstractState defaultState) Sets theindexth position of the variable array tostateand returnsstate.toString()从类继承的方法 proguard.analysis.cpa.jvm.state.JvmAbstractState
clearOperandStack, getArrayElementOrDefault, getFieldOrDefault, getFieldOrDefault, getFrame, getHeap, getProgramLocation, getStaticFields, getStaticOrDefault, hashCode, isLessOrEqual, newArray, peek, peek, peekOrDefault, peekOrDefault, pop, popOrDefault, push, pushAll, setArrayElement, setField, setProgramLocation, setStatic从接口继承的方法 proguard.analysis.cpa.interfaces.AbstractState
getPrecision, isLess
-
构造器详细资料
-
JvmValueAbstractState
public JvmValueAbstractState(ValueFactory valueFactory, ExecutingInvocationUnit executingInvocationUnit, JvmCfaNode programLocation, JvmFrameAbstractState<ValueAbstractState> frame, JvmHeapAbstractState<ValueAbstractState> heap, MapAbstractState<String, ValueAbstractState> staticFields) Create a JVM value abstract state.- 参数:
valueFactory- a ValueFactory which is used to create abstract values.executingInvocationUnit- an ExecutingInvocationUnit which is used to execute methods reflectively.programLocation- a CFA nodeframe- a frame abstract stateheap- a heap abstract statestaticFields- a static field table
-
-
方法详细资料
-
getValueFactory
Returns theValueFactory. -
getVariableOrDefault
Returns an abstract state at theindexth position of the variable array, the corresponding heap value for anIdentifiedReferenceValueordefaultStateif there is no entry. -
setVariable
public ValueAbstractState setVariable(int index, ValueAbstractState state, ValueAbstractState defaultState) Sets theindexth position of the variable array tostateand returnsstate. If the array has to be extended, the added cells are padded withdefaultState.If the value is an
IdentifiedReferenceValue, the corresponding heap value is also updated. -
newObject
Returns anValueAbstractStatefor a new object of the givenclassName.- 覆盖:
newObject在类中JvmAbstractState<ValueAbstractState>
-
newObject
Returns anValueAbstractStatestate for a new object of the givenClazz.- 覆盖:
newObject在类中JvmAbstractState<ValueAbstractState>
-
setField
从类复制的说明:JvmAbstractStateSets the default field of theobjecttovalue.- 覆盖:
setField在类中JvmAbstractState<ValueAbstractState>
-
join
从接口复制的说明:AbstractStateComputes a join over itself and another abstract stateabstractState(i.e., finds the least upper bound on the semilattice).- 指定者:
join在接口中AbstractState<JvmAbstractState<ValueAbstractState>>- 覆盖:
join在类中JvmAbstractState<ValueAbstractState>
-
copy
从接口复制的说明:AbstractStateCreates a copy of itself.- 指定者:
copy在接口中AbstractState<JvmAbstractState<ValueAbstractState>>- 覆盖:
copy在类中JvmAbstractState<ValueAbstractState>
-
equals
- 指定者:
equals在接口中AbstractState<JvmAbstractState<ValueAbstractState>>- 覆盖:
equals在类中JvmAbstractState<ValueAbstractState>
-
toString
-