soot.jimple.spark.pag
Class PAG2HTML
java.lang.Object
soot.jimple.spark.pag.PAG2HTML
public class PAG2HTML
- extends Object
Dumps a pointer assignment graph to a html files.
- Author:
- Ondrej Lhotak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pag
protected PAG pag
output_dir
protected String output_dir
mergedNodes
protected MultiMap mergedNodes
methodToNodes
protected MultiMap methodToNodes
PAG2HTML
public PAG2HTML(PAG pag,
String output_dir)
dump
public void dump()
dumpVarNode
protected void dumpVarNode(VarNode v,
JarOutputStream jarOut)
throws IOException
- Throws:
IOException
varNodeReps
protected String varNodeReps(VarNode v)
varNode
protected String varNode(String dirPrefix,
VarNode vv)
htmlify
protected static String htmlify(String s)
dumpMethod
protected void dumpMethod(SootMethod m,
JarOutputStream jarOut)
throws IOException
- Throws:
IOException
addSymLinks
protected void addSymLinks(Iterator nodes,
JarOutputStream jarOut)
throws IOException
- Throws:
IOException
toFileName
protected String toFileName(String s)