mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
Remove redundant 'use strict' directives
This commit is contained in:
1 parent
1f1497818e
commit
9412e5b919
4 files changed
+1
-14
No files matched your search
@@ -6,8 +6,6 @@ import frida
|
||||
|
||||
system_session = frida.attach(0)
|
||||
bytecode = system_session.compile_script(name="bytecode-example", source="""\
|
||||
'use strict';
|
||||
|
||||
rpc.exports = {
|
||||
listThreads: function () {
|
||||
return Process.enumerateThreadsSync();
|
||||
|
||||
@@ -44,8 +44,7 @@ class Application(object):
|
||||
print("✔ enable_child_gating()")
|
||||
session.enable_child_gating()
|
||||
print("✔ create_script()")
|
||||
script = session.create_script("""'use strict';
|
||||
|
||||
script = session.create_script("""\
|
||||
Interceptor.attach(Module.findExportByName(null, 'open'), {
|
||||
onEnter: function (args) {
|
||||
send({
|
||||
|
||||
@@ -6,8 +6,6 @@ import frida
|
||||
|
||||
session = frida.attach("Twitter")
|
||||
script = session.create_script("""\
|
||||
'use strict';
|
||||
|
||||
rpc.exports = {
|
||||
hello: function () {
|
||||
return 'Hello';
|
||||
|
||||
Reference in new issue
Block a user