类 ProgramLocationDependentReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
- java.lang.Object
-
- proguard.analysis.cpa.defaults.ProgramLocationDependentReachedSet<StateT>
-
- 类型参数:
StateT- The type of theProgramLocationDependentabstract states contained in the reached set. Typically, aJvmAbstractState, but might be a different type of state depending on the analysis (e.g., might containJvmMemoryLocationAbstractStatefor taint trace analysis).
- 所有已实现的接口:
ReachedSet<StateT>
public final class ProgramLocationDependentReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent> extends java.lang.Object implements ReachedSet<StateT>
ThisReachedSetstoresProgramLocationDependentAbstractStates. It assumes the analysis does merge theAbstractStates belonging to differentCfaNodes and stores them in separate bins.
-
-
构造器概要
构造器 构造器 说明 ProgramLocationDependentReachedSet()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanadd(StateT abstractState)Adds an abstract state.booleanaddAll(java.util.Collection<? extends StateT> abstractStates)Adds multiple abstract states.java.util.Collection<StateT>asCollection()Returns a collection representation of itself.voidclear()Empties the reached set.java.util.Collection<StateT>getReached(JvmCfaNode location)Returns a collection of abstract states belonging to the givenlocation.java.util.Collection<StateT>getReached(StateT abstractState)Returns a collection of abstract states mergeable with theabstractState.booleanremove(StateT abstractState)Removes an abstract state.booleanremoveAll(java.util.Collection<? extends StateT> abstractStates)Removes multiple abstract states.
-
-
-
方法详细资料
-
add
public boolean add(StateT abstractState)
从接口复制的说明:ReachedSetAdds an abstract state.- 指定者:
add在接口中ReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
-
addAll
public boolean addAll(java.util.Collection<? extends StateT> abstractStates)
从接口复制的说明:ReachedSetAdds multiple abstract states.- 指定者:
addAll在接口中ReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
-
remove
public boolean remove(StateT abstractState)
从接口复制的说明:ReachedSetRemoves an abstract state.- 指定者:
remove在接口中ReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
-
removeAll
public boolean removeAll(java.util.Collection<? extends StateT> abstractStates)
从接口复制的说明:ReachedSetRemoves multiple abstract states.- 指定者:
removeAll在接口中ReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
-
asCollection
public java.util.Collection<StateT> asCollection()
从接口复制的说明:ReachedSetReturns a collection representation of itself.- 指定者:
asCollection在接口中ReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
-
getReached
public java.util.Collection<StateT> getReached(StateT abstractState)
从接口复制的说明:ReachedSetReturns a collection of abstract states mergeable with theabstractState.- 指定者:
getReached在接口中ReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
-
getReached
public java.util.Collection<StateT> getReached(JvmCfaNode location)
Returns a collection of abstract states belonging to the givenlocation.
-
clear
public void clear()
从接口复制的说明:ReachedSetEmpties the reached set.- 指定者:
clear在接口中ReachedSet<StateT extends AbstractState<StateT> & ProgramLocationDependent>
-
-