soot.jimple.infoflow.solver.memory.DefaultMemoryManagerFactory 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.solver.memory;
import soot.Unit;
import soot.jimple.infoflow.data.Abstraction;
import soot.jimple.infoflow.data.FlowDroidMemoryManager;
import soot.jimple.infoflow.data.FlowDroidMemoryManager.PathDataErasureMode;
/**
* A factory class that creates instances of the default FlowDroid memory
* manager
*
* @author Steven Arzt
*
*/
public class DefaultMemoryManagerFactory implements IMemoryManagerFactory {
/**
* Constructs a new instance of the AccessPathManager class
*/
public DefaultMemoryManagerFactory() {
}
@Override
public IMemoryManager getMemoryManager(boolean tracingEnabled,
PathDataErasureMode erasePathData) {
return new FlowDroidMemoryManager(tracingEnabled, erasePathData);
}
}