public abstract class ArtificialMethod extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Body.BodyBuilder |
bodyBuilder |
protected int |
localStart |
protected SootMethod |
method |
protected Local[] |
paraLocals |
protected int |
paraStart |
protected List<Stmt> |
stmtList |
protected Local |
thisLocal |
protected View |
view |
| Modifier | Constructor and Description |
|---|---|
protected |
ArtificialMethod(View view) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAssign(LValue lValue,
Value rValue) |
protected void |
addInvoke(Local receiver,
String sig,
Immediate... args)
add an instance invocation receiver.sig(args)
|
protected void |
addInvoke(String sig,
Immediate... args)
add a static invocation sig(args)
|
protected void |
addReturn(Immediate ret) |
protected JArrayRef |
getArrayRef(Value base) |
protected Local |
getInvoke(Local receiver,
String sig,
Immediate... args)
add an instance invocation and get the return value rx = receiver.sig(args)
|
protected Value |
getInvoke(String sig,
Immediate... args)
add a static invocation and get the return value rx = sig(args)
|
protected Local |
getNew(ClassType type) |
protected Local |
getNewArray(ClassType type) |
protected Local |
getNextLocal(Type type) |
protected Local |
getPara(int index) |
protected Local |
getPara(int index,
Type type) |
protected JStaticFieldRef |
getStaticFieldRef(String className,
String name) |
protected Local |
getThis() |
protected final View view
protected SootMethod method
protected Body.BodyBuilder bodyBuilder
protected Local thisLocal
protected Local[] paraLocals
protected int paraStart
protected int localStart
protected ArtificialMethod(View view)
protected Local getThis()
protected Local getPara(int index)
protected void addReturn(Immediate ret)
protected JStaticFieldRef getStaticFieldRef(String className, String name)
protected void addInvoke(Local receiver, String sig, Immediate... args)
protected Local getInvoke(Local receiver, String sig, Immediate... args)
protected Value getInvoke(String sig, Immediate... args)
Copyright © 2024 Soot OSS. All rights reserved.