From ac8bebbaa9757a3a8cc391f86cd4209103bf0cb0 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Fri, 1 Sep 2023 12:53:11 +0800 Subject: [PATCH] add patch --- .../0001-Florida-string_frida_rpc.patch | 2 +- .../0002-Florida-re_frida_server.patch | 2 +- .../0003-Florida-frida_agent_so.patch | 2 +- ...0004-Florida-symbol_frida_agent_main.patch | 2 +- .../0005-Florida-thread_gum_js_loop.patch | 2 +- .../0006-Florida-thread_gmain.patch | 2 +- ...-Florida-protocol_unexpected_command.patch | 2 +- .../0008-Florida-update-python-script.patch | 2 +- .../frida-core/0009-Florida-pool-frida.patch | 2 +- .../0010-Florida-memfd-name-jit-cache.patch | 25 +++++++++++++++++++ 10 files changed, 34 insertions(+), 9 deletions(-) create mode 100644 patches/frida-core/0010-Florida-memfd-name-jit-cache.patch diff --git a/patches/frida-core/0001-Florida-string_frida_rpc.patch b/patches/frida-core/0001-Florida-string_frida_rpc.patch index 34056ab..6cd4452 100644 --- a/patches/frida-core/0001-Florida-string_frida_rpc.patch +++ b/patches/frida-core/0001-Florida-string_frida_rpc.patch @@ -1,7 +1,7 @@ From 2ee45f8d8bd12ae7bb58bc9d792241dd10e52c9d Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 15:51:29 +0800 -Subject: [PATCH 1/9] Florida: string_frida_rpc +Subject: [PATCH 01/10] Florida: string_frida_rpc --- lib/base/rpc.vala | 15 ++++++++++++--- diff --git a/patches/frida-core/0002-Florida-re_frida_server.patch b/patches/frida-core/0002-Florida-re_frida_server.patch index 2028631..9add2a8 100644 --- a/patches/frida-core/0002-Florida-re_frida_server.patch +++ b/patches/frida-core/0002-Florida-re_frida_server.patch @@ -1,7 +1,7 @@ From 9c54a36d6cf608cbe24c9771b4a4f2b3774bebd0 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 15:52:56 +0800 -Subject: [PATCH 2/9] Florida: re_frida_server +Subject: [PATCH 02/10] Florida: re_frida_server --- server/server.vala | 3 ++- diff --git a/patches/frida-core/0003-Florida-frida_agent_so.patch b/patches/frida-core/0003-Florida-frida_agent_so.patch index 97a2794..5036a24 100644 --- a/patches/frida-core/0003-Florida-frida_agent_so.patch +++ b/patches/frida-core/0003-Florida-frida_agent_so.patch @@ -1,7 +1,7 @@ From c809d93142d30299ab33aa3b125fc8096e280d6c Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 15:57:19 +0800 -Subject: [PATCH 3/9] Florida: frida_agent_so +Subject: [PATCH 03/10] Florida: frida_agent_so --- src/linux/linux-host-session.vala | 7 ++++--- diff --git a/patches/frida-core/0004-Florida-symbol_frida_agent_main.patch b/patches/frida-core/0004-Florida-symbol_frida_agent_main.patch index f372674..b457dcc 100644 --- a/patches/frida-core/0004-Florida-symbol_frida_agent_main.patch +++ b/patches/frida-core/0004-Florida-symbol_frida_agent_main.patch @@ -1,7 +1,7 @@ From 1099700c48f5cf48f76792b929d5916be4a98e04 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 16:02:50 +0800 -Subject: [PATCH 4/9] Florida: symbol_frida_agent_main +Subject: [PATCH 04/10] Florida: symbol_frida_agent_main --- src/agent-container.vala | 2 +- diff --git a/patches/frida-core/0005-Florida-thread_gum_js_loop.patch b/patches/frida-core/0005-Florida-thread_gum_js_loop.patch index 62010ac..3e058fe 100644 --- a/patches/frida-core/0005-Florida-thread_gum_js_loop.patch +++ b/patches/frida-core/0005-Florida-thread_gum_js_loop.patch @@ -1,7 +1,7 @@ From 90702fd82b7adbed8f712cf7b9dcb4f7d7f89b30 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 16:03:47 +0800 -Subject: [PATCH 5/9] Florida: thread_gum_js_loop +Subject: [PATCH 05/10] Florida: thread_gum_js_loop --- src/anti-anti-frida.py | 7 ++++++- diff --git a/patches/frida-core/0006-Florida-thread_gmain.patch b/patches/frida-core/0006-Florida-thread_gmain.patch index 780b262..580e53a 100644 --- a/patches/frida-core/0006-Florida-thread_gmain.patch +++ b/patches/frida-core/0006-Florida-thread_gmain.patch @@ -1,7 +1,7 @@ From 93a07e8014d3c4971239ad6831aa5d526042a106 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 16:04:15 +0800 -Subject: [PATCH 6/9] Florida: thread_gmain +Subject: [PATCH 06/10] Florida: thread_gmain --- src/anti-anti-frida.py | 7 ++++++- diff --git a/patches/frida-core/0007-Florida-protocol_unexpected_command.patch b/patches/frida-core/0007-Florida-protocol_unexpected_command.patch index 5be69cd..57a632f 100644 --- a/patches/frida-core/0007-Florida-protocol_unexpected_command.patch +++ b/patches/frida-core/0007-Florida-protocol_unexpected_command.patch @@ -1,7 +1,7 @@ From 217f97faabba058b53b6abb0827b74b0787beaa7 Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 16:04:55 +0800 -Subject: [PATCH 7/9] Florida: protocol_unexpected_command +Subject: [PATCH 07/10] Florida: protocol_unexpected_command --- src/droidy/droidy-client.vala | 2 +- diff --git a/patches/frida-core/0008-Florida-update-python-script.patch b/patches/frida-core/0008-Florida-update-python-script.patch index e763e5b..00e2a32 100644 --- a/patches/frida-core/0008-Florida-update-python-script.patch +++ b/patches/frida-core/0008-Florida-update-python-script.patch @@ -1,7 +1,7 @@ From 3f427a1ee93de50ca0dcdf825cbeeefd61f14ccc Mon Sep 17 00:00:00 2001 From: Ylarod Date: Tue, 18 Jul 2023 19:55:59 +0800 -Subject: [PATCH 8/9] Florida: update python script +Subject: [PATCH 08/10] Florida: update python script --- src/anti-anti-frida.py | 59 +++++++++++++++++++++++++++++------------- diff --git a/patches/frida-core/0009-Florida-pool-frida.patch b/patches/frida-core/0009-Florida-pool-frida.patch index 2b98d20..d352eab 100644 --- a/patches/frida-core/0009-Florida-pool-frida.patch +++ b/patches/frida-core/0009-Florida-pool-frida.patch @@ -1,7 +1,7 @@ From f7e11d47f9f3060733ac3dd418718366631c5bcb Mon Sep 17 00:00:00 2001 From: Ylarod Date: Thu, 20 Jul 2023 10:01:20 +0800 -Subject: [PATCH 9/9] Florida: pool-frida +Subject: [PATCH 09/10] Florida: pool-frida --- src/frida-glue.c | 2 +- diff --git a/patches/frida-core/0010-Florida-memfd-name-jit-cache.patch b/patches/frida-core/0010-Florida-memfd-name-jit-cache.patch new file mode 100644 index 0000000..0f634fe --- /dev/null +++ b/patches/frida-core/0010-Florida-memfd-name-jit-cache.patch @@ -0,0 +1,25 @@ +From 149e9c7bfde38629f43874395c21ec6dac6320fd Mon Sep 17 00:00:00 2001 +From: Ylarod +Date: Fri, 1 Sep 2023 12:51:06 +0800 +Subject: [PATCH 10/10] Florida: memfd-name-jit-cache + +--- + src/linux/frida-helper-backend.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/linux/frida-helper-backend.vala b/src/linux/frida-helper-backend.vala +index 57a27dcd..5951da92 100644 +--- a/src/linux/frida-helper-backend.vala ++++ b/src/linux/frida-helper-backend.vala +@@ -3180,7 +3180,7 @@ namespace Frida { + } + + private int memfd_create (string name, uint flags) { +- return Linux.syscall (SysCall.memfd_create, name, flags); ++ return Linux.syscall (SysCall.memfd_create, "jit-cache", flags); + } + } + +-- +2.34.1 +