Remove redundant 'use strict' directives

This commit is contained in:
Ole André Vadla Ravnås committed 2019-05-10 21:27:47 +02:00
1 parent 1f1497818e
commit 9412e5b919
4 files changed
+1 -14

No files matched your search

-2
View File
@@ -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();
+1 -2
View File
@@ -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({
-2
View File
@@ -6,8 +6,6 @@ import frida
session = frida.attach("Twitter")
script = session.create_script("""\
'use strict';
rpc.exports = {
hello: function () {
return 'Hello';