SandMark version 2.0


sandmark.obfuscate.boolsplitter.dtree
Class RetStmt

java.lang.Object
  |
  +--sandmark.obfuscate.boolsplitter.dtree.Node
        |
        +--sandmark.obfuscate.boolsplitter.dtree.Stmt
              |
              +--sandmark.obfuscate.boolsplitter.dtree.JumpStmt
                    |
                    +--sandmark.obfuscate.boolsplitter.dtree.RetStmt

public class RetStmt
extends JumpStmt

RetStmt represents the ret opcode which returns from a subroutine. Recall that when a subroutine returns, the ret opcode's argument specifies a local variable that stores the return address of


Field Summary
(package private)  Subroutine sub
           
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.JumpStmt
catchTargets
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Node
key, parent, valueNumber
 
Constructor Summary
RetStmt(Subroutine sub)
          Constructor.
 
Method Summary
 java.lang.Object clone()
           
 Subroutine sub()
           
 void visit(TreeVisitor visitor)
           
 void visitForceChildren(TreeVisitor visitor)
          Visit the children of this node.
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.JumpStmt
catchTargets, copyInto
 
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
 

Field Detail

sub

Subroutine sub
Constructor Detail

RetStmt

public RetStmt(Subroutine sub)
Constructor.

Parameters:
sub - The subroutine in which the return statement resides. That is, from where the program control is returning.
See Also:
Tree.addInstruction(Instruction, Subroutine)
Method Detail

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

sub

public Subroutine sub()

clone

public java.lang.Object clone()
Specified by:
clone in class Stmt

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002