Package qilin.core
Class ArtificialMethod
java.lang.Object
qilin.core.ArtificialMethod
- Direct Known Subclasses:
FakeMainFactory,NativeMethod
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Body.BodyBuilderprotected IdentifierFactoryprotected intprotected SootMethodprotected Local[]protected intprotected Localprotected final View -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidadd a static invocation sig(args)protected voidadd an instance invocation receiver.sig(args)protected voidprotected JArrayRefgetArrayRef(Value base) protected Valueadd a static invocation and get the return value rx = sig(args)protected Localadd an instance invocation and get the return value rx = receiver.sig(args)protected Localprotected LocalgetNewArray(ClassType type) protected LocalgetNextLocal(Type type) protected LocalgetPara(int index) protected Localprotected JStaticFieldRefgetStaticFieldRef(String className, String name) protected LocalgetThis()
-
Field Details
-
view
-
identifierFactory
-
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
-