public class Transfer extends Object implements INodeTransfer<State,CallContext>, IEdgeTransfer<State,CallContext>, IBlockTransfer<State,CallContext>
| Constructor and Description |
|---|
Transfer()
Constructs a new AbstractNodeTransfer object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setSolverInterface(GenericSolver.SolverInterface c)
Initializes the connection to the solver.
|
void |
transfer(AbstractNode n,
State state)
Applies the transfer function on the given node and input state.
|
boolean |
transfer(BasicBlock src,
BasicBlock dst,
State state)
Returns true if flow should occur on the given edge and state.
|
void |
transfer(BasicBlock b,
State s)
Applies the transfer function on the given block and input state.
|
void |
transferReturn(AbstractNode call_node,
Function callee,
CallContext caller_context,
CallContext callee_context)
Processes ordinary and exceptional return flow when a new call edge has been added.
|
void |
visit(Node n,
State s)
Visits an JavaScript code node.
|
public void setSolverInterface(GenericSolver.SolverInterface c)
public void transfer(AbstractNode n, State state)
INodeTransfertransfer in interface INodeTransfer<State,CallContext>public boolean transfer(BasicBlock src, BasicBlock dst, State state)
IEdgeTransfertransfer in interface IEdgeTransfer<State,CallContext>public void transfer(BasicBlock b, State s)
IBlockTransfertransfer in interface IBlockTransfer<State,CallContext>public void transferReturn(AbstractNode call_node, Function callee, CallContext caller_context, CallContext callee_context)
INodeTransfertransferReturn in interface INodeTransfer<State,CallContext>public void visit(Node n, State s)
AbstractNodeVisitorvisit in interface AbstractNodeVisitor<State>Copyright © 2012 Aarhus University