Class NativeMethodDriver


  • public class NativeMethodDriver
    extends Object
    • Constructor Detail

      • NativeMethodDriver

        public NativeMethodDriver​(NativeHelper helper)
    • Method Detail

      • process

        public boolean process​(SootMethod method,
                               ReferenceVariable thisVar,
                               ReferenceVariable returnVar,
                               ReferenceVariable[] params)
        The entry point of native method simulation.
        Parameters:
        method - , must be a native method
        thisVar - , the variable represent @this, it can be null if the method is static
        returnVar - , the variable represent @return it is null if the method has no return
        params - , array of parameters.