Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Jimple Class Reference

Inheritance diagram for Jimple:
[legend]
Collaboration diagram for Jimple:
[legend]
List of all members.

Public Methods

Body buildBodyOfFrom (SootMethod m, Body b, int buildBodyOptions)
AddExpr newAddExpr (Value op1, Value op2)
AndExpr newAndExpr (Value op1, Value op2)
ValueBox newArgBox (Value value)
ArrayRef newArrayRef (Value base, Value index)
AssignStmt newAssignStmt (Value variable, Value rvalue)
Body newBody (SootMethod m)
BreakpointStmt newBreakpointStmt ()
CastExpr newCastExpr (Value op1, Type t)
CaughtExceptionRef newCaughtExceptionRef (JimpleBody b)
CmpExpr newCmpExpr (Value op1, Value op2)
CmpgExpr newCmpgExpr (Value op1, Value op2)
CmplExpr newCmplExpr (Value op1, Value op2)
ValueBox newConditionExprBox (Value value)
DivExpr newDivExpr (Value op1, Value op2)
EnterMonitorStmt newEnterMonitorStmt (Value op)
EqExpr newEqExpr (Value op1, Value op2)
ExitMonitorStmt newExitMonitorStmt (Value op)
GeExpr newGeExpr (Value op1, Value op2)
GotoStmt newGotoStmt (Unit target)
GtExpr newGtExpr (Value op1, Value op2)
ValueBox newIdentityRefBox (Value value)
IdentityStmt newIdentityStmt (Value local, Value identityRef)
IfStmt newIfStmt (Value condition, Unit target)
ValueBox newImmediateBox (Value value)
InstanceFieldRef newInstanceFieldRef (Value base, SootField f)
InstanceOfExpr newInstanceOfExpr (Value op1, Type t)
InterfaceInvokeExpr newInterfaceInvokeExpr (Local base, SootMethod method, List args)
ValueBox newInvokeExprBox (Value value)
InvokeStmt newInvokeStmt (Value op)
LeExpr newLeExpr (Value op1, Value op2)
LengthExpr newLengthExpr (Value op)
Local newLocal (String name, Type t)
ValueBox newLocalBox (Value value)
LookupSwitchStmt newLookupSwitchStmt (Value key, List lookupValues, List targets, Unit defaultTarget)
LtExpr newLtExpr (Value op1, Value op2)
MulExpr newMulExpr (Value op1, Value op2)
NeExpr newNeExpr (Value op1, Value op2)
NegExpr newNegExpr (Value op)
NewArrayExpr newNewArrayExpr (Type type, Value size)
NewExpr newNewExpr (RefType type)
NewMultiArrayExpr newNewMultiArrayExpr (ArrayType type, List sizes)
NopStmt newNopStmt ()
OrExpr newOrExpr (Value op1, Value op2)
ParameterRef newParameterRef (SootMethod m, int number)
RemExpr newRemExpr (Value op1, Value op2)
RetStmt newRetStmt (Value stmtAddress)
ReturnStmt newReturnStmt (Value op)
ReturnVoidStmt newReturnVoidStmt ()
ValueBox newRValueBox (Value value)
ShlExpr newShlExpr (Value op1, Value op2)
ShrExpr newShrExpr (Value op1, Value op2)
SpecialInvokeExpr newSpecialInvokeExpr (Local base, SootMethod method, List args)
StaticFieldRef newStaticFieldRef (SootField f)
StaticInvokeExpr newStaticInvokeExpr (SootMethod method, List args)
UnitBox newStmtBox (Unit unit)
SubExpr newSubExpr (Value op1, Value op2)
TableSwitchStmt newTableSwitchStmt (Value key, int lowIndex, int highIndex, List targets, Unit defaultTarget)
ThisRef newThisRef (SootClass c)
ThrowStmt newThrowStmt (Value op)
Trap newTrap (SootClass exception, Unit beginStmt, Unit endStmt, Unit handlerStmt)
UshrExpr newUshrExpr (Value op1, Value op2)
ValueBox newVariableBox (Value value)
VirtualInvokeExpr newVirtualInvokeExpr (Local base, SootMethod method, List args)
XorExpr newXorExpr (Value op1, Value op2)

Static Public Methods

Jimple v ()

Protected Methods

 Jimple ()

Static Private Attributes

Jimple jimpleRepresentation = new Jimple()

Detailed Description

The Jimple class contains all the constructors for the components of the Jimple grammar for the Jimple body.

Immediate -> Local | Constant
RValue -> Local | Constant | ConcreteRef | Expr
Variable -> Local | ArrayRef | InstanceFieldRef | StaticFieldRef

Definition at line 116 of file Jimple.java.


Member Function Documentation

AddExpr Jimple::newAddExpr Value   op1,
Value   op2
[inline]
 

Constructs a AddExpr(Immediate, Immediate) grammar chunk.

Definition at line 131 of file Jimple.java.

AndExpr Jimple::newAndExpr Value   op1,
Value   op2
[inline]
 

Constructs a AndExpr(Immediate, Immediate) grammar chunk.

Definition at line 139 of file Jimple.java.

ArrayRef Jimple::newArrayRef Value   base,
Value   index
[inline]
 

Constructs a ArrayRef(Local, Immediate) grammar chunk.

Definition at line 151 of file Jimple.java.

AssignStmt Jimple::newAssignStmt Value   variable,
Value   rvalue
[inline]
 

Constructs a AssignStmt(Variable, RValue) grammar chunk.

Definition at line 159 of file Jimple.java.

Body Jimple::newBody SootMethod   m [inline]
 

Constructs an empty JimpleBody for the given method.

Definition at line 167 of file Jimple.java.

BreakpointStmt Jimple::newBreakpointStmt   [inline]
 

Constructs a BreakpointStmt() grammar chunk.

Definition at line 175 of file Jimple.java.

CastExpr Jimple::newCastExpr Value   op1,
Type   t
[inline]
 

Constructs a CastExpr(Immediate, Type) grammar chunk.

Definition at line 183 of file Jimple.java.

CaughtExceptionRef Jimple::newCaughtExceptionRef JimpleBody   b [inline]
 

Constructs a CaughtExceptionRef() grammar chunk.

Definition at line 191 of file Jimple.java.

CmpExpr Jimple::newCmpExpr Value   op1,
Value   op2
[inline]
 

Constructs a CmpExpr(Immediate, Immediate) grammar chunk.

Definition at line 199 of file Jimple.java.

CmpgExpr Jimple::newCmpgExpr Value   op1,
Value   op2
[inline]
 

Constructs a CmpgExpr(Immediate, Immediate) grammar chunk.

Definition at line 207 of file Jimple.java.

CmplExpr Jimple::newCmplExpr Value   op1,
Value   op2
[inline]
 

Constructs a CmplExpr(Immediate, Immediate) grammar chunk.

Definition at line 215 of file Jimple.java.

DivExpr Jimple::newDivExpr Value   op1,
Value   op2
[inline]
 

Constructs a DivExpr(Immediate, Immediate) grammar chunk.

Definition at line 227 of file Jimple.java.

EnterMonitorStmt Jimple::newEnterMonitorStmt Value   op [inline]
 

Constructs a EnterMonitorStmt(Immediate) grammar chunk.

Definition at line 235 of file Jimple.java.

EqExpr Jimple::newEqExpr Value   op1,
Value   op2
[inline]
 

Constructs a EqExpr(Immediate, Immediate) grammar chunk.

Definition at line 243 of file Jimple.java.

ExitMonitorStmt Jimple::newExitMonitorStmt Value   op [inline]
 

Constructs a ExitMonitorStmt(Immediate) grammar chunk

Definition at line 251 of file Jimple.java.

GeExpr Jimple::newGeExpr Value   op1,
Value   op2
[inline]
 

Constructs a GeExpr(Immediate, Immediate) grammar chunk.

Definition at line 259 of file Jimple.java.

GotoStmt Jimple::newGotoStmt Unit   target [inline]
 

Constructs a GotoStmt(Stmt) grammar chunk.

Definition at line 267 of file Jimple.java.

GtExpr Jimple::newGtExpr Value   op1,
Value   op2
[inline]
 

Constructs a GtExpr(Immediate, Immediate) grammar chunk.

Definition at line 275 of file Jimple.java.

IdentityStmt Jimple::newIdentityStmt Value   local,
Value   identityRef
[inline]
 

Constructs a IdentityStmt(Local, IdentityRef) grammar chunk.

Definition at line 287 of file Jimple.java.

IfStmt Jimple::newIfStmt Value   condition,
Unit   target
[inline]
 

Constructs a IfStmt(Condition, Stmt) grammar chunk.

Definition at line 295 of file Jimple.java.

InstanceFieldRef Jimple::newInstanceFieldRef Value   base,
SootField   f
[inline]
 

Constructs a InstanceFieldRef(Value, SootField) grammar chunk.

Definition at line 318 of file Jimple.java.

InstanceOfExpr Jimple::newInstanceOfExpr Value   op1,
Type   t
[inline]
 

Constructs a InstanceOfExpr(Immediate, Type) grammar chunk.

Definition at line 327 of file Jimple.java.

InterfaceInvokeExpr Jimple::newInterfaceInvokeExpr Local   base,
SootMethod   method,
List   args
[inline]
 

Constructs a NewInterfaceInvokeExpr(Local base, SootMethod method, List of Immediate) grammar chunk.

Definition at line 335 of file Jimple.java.

InvokeStmt Jimple::newInvokeStmt Value   op [inline]
 

Constructs a InvokeStmt(InvokeExpr) grammar chunk.

Definition at line 347 of file Jimple.java.

LeExpr Jimple::newLeExpr Value   op1,
Value   op2
[inline]
 

Constructs a LeExpr(Immediate, Immediate) grammar chunk.

Definition at line 355 of file Jimple.java.

LengthExpr Jimple::newLengthExpr Value   op [inline]
 

Constructs a LengthExpr(Immediate) grammar chunk.

Definition at line 363 of file Jimple.java.

Local Jimple::newLocal String   name,
Type   t
[inline]
 

Constructs a Local with the given name and type.

Definition at line 371 of file Jimple.java.

LookupSwitchStmt Jimple::newLookupSwitchStmt Value   key,
List   lookupValues,
List   targets,
Unit   defaultTarget
[inline]
 

Constructs a LookupSwitchStmt(Immediate, List of Immediate, List of Unit, Stmt) grammar chunk.

Definition at line 383 of file Jimple.java.

LtExpr Jimple::newLtExpr Value   op1,
Value   op2
[inline]
 

Constructs a LtExpr(Immediate, Immediate) grammar chunk.

Definition at line 391 of file Jimple.java.

MulExpr Jimple::newMulExpr Value   op1,
Value   op2
[inline]
 

Constructs a MulExpr(Immediate, Immediate) grammar chunk.

Definition at line 399 of file Jimple.java.

NeExpr Jimple::newNeExpr Value   op1,
Value   op2
[inline]
 

Constructs a NeExpr(Immediate, Immediate) grammar chunk.

Definition at line 407 of file Jimple.java.

NegExpr Jimple::newNegExpr Value   op [inline]
 

Constructs a NegExpr(Immediate, Immediate) grammar chunk.

Definition at line 415 of file Jimple.java.

NewArrayExpr Jimple::newNewArrayExpr Type   type,
Value   size
[inline]
 

Constructs a NewArrayExpr(Type, Immediate) grammar chunk.

Definition at line 423 of file Jimple.java.

NewExpr Jimple::newNewExpr RefType   type [inline]
 

Constructs a NewExpr(RefType) grammar chunk.

Definition at line 431 of file Jimple.java.

NewMultiArrayExpr Jimple::newNewMultiArrayExpr ArrayType   type,
List   sizes
[inline]
 

Constructs a NewMultiArrayExpr(ArrayType, List of Immediate) grammar chunk.

Definition at line 439 of file Jimple.java.

NopStmt Jimple::newNopStmt   [inline]
 

Constructs a NopStmt() grammar chunk.

Definition at line 447 of file Jimple.java.

OrExpr Jimple::newOrExpr Value   op1,
Value   op2
[inline]
 

Constructs a OrExpr(Immediate, Immediate) grammar chunk.

Definition at line 455 of file Jimple.java.

ParameterRef Jimple::newParameterRef SootMethod   m,
int   number
[inline]
 

Constructs a ParameterRef(SootMethod, int) grammar chunk.

Definition at line 463 of file Jimple.java.

RemExpr Jimple::newRemExpr Value   op1,
Value   op2
[inline]
 

Constructs a RemExpr(Immediate, Immediate) grammar chunk.

Definition at line 471 of file Jimple.java.

RetStmt Jimple::newRetStmt Value   stmtAddress [inline]
 

Constructs a RetStmt(Local) grammar chunk.

Definition at line 479 of file Jimple.java.

ReturnStmt Jimple::newReturnStmt Value   op [inline]
 

Constructs a ReturnStmt(Immediate) grammar chunk.

Definition at line 487 of file Jimple.java.

ReturnVoidStmt Jimple::newReturnVoidStmt   [inline]
 

Constructs a ReturnVoidStmt() grammar chunk.

Definition at line 495 of file Jimple.java.

ShlExpr Jimple::newShlExpr Value   op1,
Value   op2
[inline]
 

Constructs a ShlExpr(Immediate, Immediate) grammar chunk.

Definition at line 507 of file Jimple.java.

ShrExpr Jimple::newShrExpr Value   op1,
Value   op2
[inline]
 

Constructs a ShrExpr(Immediate, Immediate) grammar chunk.

Definition at line 515 of file Jimple.java.

SpecialInvokeExpr Jimple::newSpecialInvokeExpr Local   base,
SootMethod   method,
List   args
[inline]
 

Constructs a NewSpecialInvokeExpr(Local base, SootMethod method, List of Immediate) grammar chunk.

Definition at line 523 of file Jimple.java.

StaticFieldRef Jimple::newStaticFieldRef SootField   f [inline]
 

Constructs a StaticFieldRef(SootField) grammar chunk.

Definition at line 531 of file Jimple.java.

StaticInvokeExpr Jimple::newStaticInvokeExpr SootMethod   method,
List   args
[inline]
 

Constructs a NewStaticInvokeExpr(ArrayType, List of Immediate) grammar chunk.

Definition at line 539 of file Jimple.java.

SubExpr Jimple::newSubExpr Value   op1,
Value   op2
[inline]
 

Constructs a SubExpr(Immediate, Immediate) grammar chunk.

Definition at line 551 of file Jimple.java.

TableSwitchStmt Jimple::newTableSwitchStmt Value   key,
int   lowIndex,
int   highIndex,
List   targets,
Unit   defaultTarget
[inline]
 

Constructs a TableSwitchStmt(Immediate, int, int, List of Unit, Stmt) grammar chunk.

Definition at line 559 of file Jimple.java.

ThisRef Jimple::newThisRef SootClass   c [inline]
 

Constructs a ThisRef(SootClass) grammar chunk.

Definition at line 567 of file Jimple.java.

ThrowStmt Jimple::newThrowStmt Value   op [inline]
 

Constructs a ThrowStmt(Immediate) grammar chunk.

Definition at line 575 of file Jimple.java.

Trap Jimple::newTrap SootClass   exception,
Unit   beginStmt,
Unit   endStmt,
Unit   handlerStmt
[inline]
 

Constructs a new JTrap for the given exception on the given Stmt range with the given Stmt handler.

Definition at line 583 of file Jimple.java.

UshrExpr Jimple::newUshrExpr Value   op1,
Value   op2
[inline]
 

Constructs a UshrExpr(Immediate, Immediate) grammar chunk.

Definition at line 591 of file Jimple.java.

VirtualInvokeExpr Jimple::newVirtualInvokeExpr Local   base,
SootMethod   method,
List   args
[inline]
 

Constructs a NewVirtualInvokeExpr(Local base, SootMethod method, List of Immediate) grammar chunk.

Definition at line 603 of file Jimple.java.

Referenced by VInvokeCallBack::callback().

XorExpr Jimple::newXorExpr Value   op1,
Value   op2
[inline]
 

Constructs a XorExpr(Immediate, Immediate) grammar chunk.

Definition at line 611 of file Jimple.java.


The documentation for this class was generated from the following file:
Generated at Thu Feb 7 07:17:52 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001