MethodStubPass

class MethodStubPass: IMethodPass, Any

Builds the method stubs which includes modifiers, parameters, and method returns.

Constructors

<init>

constructor(driver: IDriver)

Builds the method stubs which includes modifiers, parameters, and method returns.

Parameters

Name Description
driver: IDriver

Methods

runPass

fun runPass(ms: List<SootMethod>): List<SootMethod>

Builds method stubs and connects them to their respective TYPE_DECLs, i.e.

    TYPE_DECL -AST-> METHOD
    TYPE_DECL -CONTAINS-> CONTAINS
    METHOD -SOURCE_FILE-> FILE

Parameters

Name Description
ms: List<SootMethod>

ReturnValue

Name Description
List<SootMethod>