Class PDFViewUtil
java.lang.Object
com.ibm.wala.core.viz.PDFViewUtil
utilities for integrating with ghostview (or another PS/PDF viewer)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Process
ghostviewIR
(IClassHierarchy cha, IR ir, String pdfFile, String dotFile, String dotExe, String pdfViewExe) spawn a process to view a WALA IRstatic Process
ghostviewIR
(IClassHierarchy cha, IR ir, String pdfFile, String dotFile, String dotExe, String pdfViewExe, NodeDecorator<ISSABasicBlock> annotations) spawn a process to view a WALA IRstatic Process
launchPDFView
(String pdfFile, String gvExe) Launch a process to view a PDF filestatic NodeDecorator
<ISSABasicBlock> makeIRDecorator
(IR ir)
-
Constructor Details
-
PDFViewUtil
public PDFViewUtil()
-
-
Method Details
-
ghostviewIR
public static Process ghostviewIR(IClassHierarchy cha, IR ir, String pdfFile, String dotFile, String dotExe, String pdfViewExe) throws WalaException spawn a process to view a WALA IR- Returns:
- a handle to the ghostview process
- Throws:
WalaException
-
ghostviewIR
public static Process ghostviewIR(IClassHierarchy cha, IR ir, String pdfFile, String dotFile, String dotExe, String pdfViewExe, NodeDecorator<ISSABasicBlock> annotations) throws WalaException spawn a process to view a WALA IR- Returns:
- a handle to the pdf viewer process
- Throws:
IllegalArgumentException
- if ir is nullWalaException
-
makeIRDecorator
-
launchPDFView
Launch a process to view a PDF file- Throws:
WalaException
-