Class NullGarbageCollector<N,D>
java.lang.Object
soot.jimple.infoflow.solver.gcSolver.NullGarbageCollector<N,D>
- All Implemented Interfaces:
IGarbageCollector<N,D>
Mock implementation for a garbage collector that does nothing
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgc()Performs the garbage collectionintGets the number of methods for which taint abstractions were removed during garbage collectionintGets the number of taint abstractions that were removed during garbage collectionvoidnotifyEdgeSchedule(heros.solver.PathEdge<N, D> edge) Notifies the garbage collector that a new edge has been scheduled for processingvoidNotifies the garbage collector that the IFDS solver has finished propagating its edgesvoidnotifyTaskProcessed(heros.solver.PathEdge<N, D> edge) Notifies the garbage collector that an edge has been fully processedvoidsetPeerGroup(GarbageCollectorPeerGroup<soot.SootMethod> peerGroup)
-
Constructor Details
-
NullGarbageCollector
public NullGarbageCollector()
-
-
Method Details
-
notifyEdgeSchedule
Description copied from interface:IGarbageCollectorNotifies the garbage collector that a new edge has been scheduled for processing- Specified by:
notifyEdgeSchedulein interfaceIGarbageCollector<N,D> - Parameters:
edge- The edge that has been scheduled
-
notifyTaskProcessed
Description copied from interface:IGarbageCollectorNotifies the garbage collector that an edge has been fully processed- Specified by:
notifyTaskProcessedin interfaceIGarbageCollector<N,D> - Parameters:
edge- The edge has been fully processed
-
gc
public void gc()Description copied from interface:IGarbageCollectorPerforms the garbage collection- Specified by:
gcin interfaceIGarbageCollector<N,D>
-
getGcedAbstractions
public int getGcedAbstractions()Description copied from interface:IGarbageCollectorGets the number of methods for which taint abstractions were removed during garbage collection- Specified by:
getGcedAbstractionsin interfaceIGarbageCollector<N,D> - Returns:
- The number of methods for which taint abstractions were removed during garbage collection
-
getGcedEdges
public int getGcedEdges()Description copied from interface:IGarbageCollectorGets the number of taint abstractions that were removed during garbage collection- Specified by:
getGcedEdgesin interfaceIGarbageCollector<N,D> - Returns:
- The number of taint abstractions that were removed during garbage collection
-
notifySolverTerminated
public void notifySolverTerminated()Description copied from interface:IGarbageCollectorNotifies the garbage collector that the IFDS solver has finished propagating its edges- Specified by:
notifySolverTerminatedin interfaceIGarbageCollector<N,D>
-
setPeerGroup
-