We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a613d87 commit 9b15bdeCopy full SHA for 9b15bde
1 file changed
examples/child_gating.py
@@ -44,11 +44,11 @@ def _instrument(self, pid):
44
print("✔ create_script()")
45
script = session.create_script(
46
"""\
47
-Interceptor.attach(Module.getExportByName(null, 'open'), {
48
- onEnter: function (args) {
+Interceptor.attach(Module.getGlobalExportByName('open'), {
+ onEnter(args) {
49
send({
50
type: 'open',
51
- path: Memory.readUtf8String(args[0])
+ path: args[0].readUtf8String()
52
});
53
}
54
0 commit comments