Calling Methods
📌Static vs non-static (Instance) methods
📌Calling Different Types of Methods in Frida
📍Calling Static Methods
Java.perform(function() {
// Get a reference to the MainActivity class
var <class_reference> = Java.use("<package_name>.<className>");
// Calling the static method nextLevel()
<class_reference>.<static_method>();
});
📍Calling Instance Methods
Invoking Methods on an Existing Instance


Last updated