Package qilin.core
Class ArtificialMethod
java.lang.Object
qilin.core.ArtificialMethod
- Direct Known Subclasses:
FakeMainFactory
,NativeMethod
-
Field Summary
Modifier and TypeFieldDescriptionprotected Body.BodyBuilder
protected int
protected SootMethod
protected Local[]
protected int
protected Local
protected final View
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
add a static invocation sig(args)protected void
add an instance invocation receiver.sig(args)protected void
protected JArrayRef
getArrayRef
(Value base) protected Value
add a static invocation and get the return value rx = sig(args)protected Local
add an instance invocation and get the return value rx = receiver.sig(args)protected Local
protected Local
getNewArray
(ClassType type) protected Local
getNextLocal
(Type type) protected Local
getPara
(int index) protected Local
protected JStaticFieldRef
getStaticFieldRef
(String className, String name) protected Local
getThis()
-
Field Details
-
view
-
method
-
bodyBuilder
-
thisLocal
-
paraLocals
-
paraStart
protected int paraStart -
localStart
protected int localStart -
stmtList
-
-
Constructor Details
-
ArtificialMethod
-
-
Method Details
-
getThis
-
getPara
-
getPara
-
getNew
-
getNewArray
-
getNextLocal
-
addReturn
-
getStaticFieldRef
-
getArrayRef
-
addInvoke
add an instance invocation receiver.sig(args) -
getInvoke
add an instance invocation and get the return value rx = receiver.sig(args)- Returns:
- rx
-
addInvoke
add a static invocation sig(args) -
getInvoke
add a static invocation and get the return value rx = sig(args)- Returns:
- rx
-
addAssign
-