Invoke Method
class InvokeMethod(val className: String, val methodName: String, val parameterClasses: List<String>, val parameterValues: List<ByteArray>, val returnClass: String) : ReflectionChecker.ReflectionCheck
Invoke method check aims to try to invoke a function in a class with the provided parameters. The parameterValues are turned into an object using java.io.ObjectInputStream.readObject function.
Constructors
Properties
Link copied to clipboard
the name of the function to invoke.
Link copied to clipboard
the types of the parameters that the function takes.
Link copied to clipboard
the values to pass into the function, represented as a serialized byte array.
Link copied to clipboard
the full name of the return type class