Class InducedCFG.BranchVisitor
java.lang.Object
com.ibm.wala.ssa.SSAInstruction.Visitor
com.ibm.wala.cfg.InducedCFG.BranchVisitor
- All Implemented Interfaces:
SSAInstruction.IVisitor
- Direct Known Subclasses:
AstInducedCFG.AstBranchVisitor
- Enclosing class:
InducedCFG
This visitor identifies basic block boundaries induced by branch instructions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbreakBasicBlock(int index) introduce a basic block boundary immediately after instruction number 'index' if it is not followed by pi instructions, or after the pi instructions otherwisevoidvisitConditionalBranch(SSAConditionalBranchInstruction instruction) voidvisitGoto(SSAGotoInstruction instruction) voidvisitPhi(SSAPhiInstruction instruction) voidvisitReturn(SSAReturnInstruction instruction) voidvisitSwitch(SSASwitchInstruction instruction) voidvisitThrow(SSAThrowInstruction instruction) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SSAInstruction.IVisitor
visitArrayLength, visitArrayLoad, visitArrayStore, visitBinaryOp, visitCheckCast, visitComparison, visitConversion, visitGet, visitGetCaughtException, visitInstanceof, visitInvoke, visitLoadMetadata, visitMonitor, visitNew, visitPi, visitPut, visitUnaryOp
-
Constructor Details
-
BranchVisitor
protected BranchVisitor(boolean[] r)
-
-
Method Details
-
visitGoto
-
visitConditionalBranch
-
visitSwitch
-
visitPhi
-
visitReturn
-
visitThrow
-
breakBasicBlock
protected void breakBasicBlock(int index) introduce a basic block boundary immediately after instruction number 'index' if it is not followed by pi instructions, or after the pi instructions otherwise
-