mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Fix this binding for onEnter and onLeave callbacks
This commit is contained in:
+2
-2
@@ -203,10 +203,10 @@ function add(targets) {
|
||||
pending.push(function attachToTarget() {
|
||||
Interceptor.attach(ptr(targetAddress), {
|
||||
onEnter: function onEnter(args) {
|
||||
h[0].onEnter(log, args, state);
|
||||
h[0].onEnter.call(this, log, args, state);
|
||||
},
|
||||
onLeave: function onLeave(retval) {
|
||||
h[0].onLeave(log, retval, state);
|
||||
h[0].onLeave.call(this, log, retval, state);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user