soot.jimple.infoflow.data.pathBuilders.EmptyPathBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of soot-infoflow Show documentation
Show all versions of soot-infoflow Show documentation
Soot extending data flow tracking components for Java
package soot.jimple.infoflow.data.pathBuilders;
import java.util.Set;
import soot.jimple.infoflow.data.AbstractionAtSink;
import soot.jimple.infoflow.memory.ISolverTerminationReason;
import soot.jimple.infoflow.results.InfoflowResults;
/**
* An empty implementation of {@link IAbstractionPathBuilder} that always
* returns the empty set. For internal use only.
*
* @author Steven Arzt
*/
public class EmptyPathBuilder implements IAbstractionPathBuilder {
@Override
public void computeTaintPaths(Set res) {
}
@Override
public InfoflowResults getResults() {
return new InfoflowResults();
}
@Override
public void addResultAvailableHandler(OnPathBuilderResultAvailable handler) {
}
@Override
public void runIncrementalPathCompuation() {
}
@Override
public boolean isTerminated() {
return false;
}
@Override
public boolean isKilled() {
return false;
}
@Override
public void reset() {
}
@Override
public void addStatusListener(IMemoryBoundedSolverStatusNotification listener) {
// not supported
}
@Override
public void forceTerminate(ISolverTerminationReason reason) {
}
@Override
public ISolverTerminationReason getTerminationReason() {
return null;
}
}