sandmark.obfuscate.boolsplitter.dtree
Class IfZeroStmt
java.lang.Object
|
+--sandmark.obfuscate.boolsplitter.dtree.Node
|
+--sandmark.obfuscate.boolsplitter.dtree.Stmt
|
+--sandmark.obfuscate.boolsplitter.dtree.JumpStmt
|
+--sandmark.obfuscate.boolsplitter.dtree.IfStmt
|
+--sandmark.obfuscate.boolsplitter.dtree.IfZeroStmt
- public class IfZeroStmt
- extends IfStmt
IfZeroStmt evaluates an expression and executes one of its two
branches depending on whether or not the expression evaluated to
zero.
Field Summary |
(package private) Expr |
expr
|
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Stmt |
cleanupOnly |
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Node |
block, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
expr
Expr expr
IfZeroStmt
public IfZeroStmt(int comparison,
Expr expr,
Block trueTarget,
Block falseTarget)
- Constructor.
- Parameters:
comparison
- Comparison operator.expr
- An expression to be evaluated.trueTarget
- Basic Block that is executed if the expression evaluates
to zero.
expr
public Expr expr()
- Returns:
- The expression that is evaluated.
visitForceChildren
public void visitForceChildren(TreeVisitor visitor)
- Description copied from class:
Node
- Visit the children of this node. Not all Nodes will have children to
visit.
- Specified by:
visitForceChildren
in class Node
visit
public void visit(TreeVisitor visitor)
- Specified by:
visit
in class Node
clone
public java.lang.Object clone()
- Specified by:
clone
in class Stmt