Skip to content

Commit

Permalink
add patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylarod committed Sep 1, 2023
1 parent 089ad83 commit ac8bebb
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 9 deletions.
2 changes: 1 addition & 1 deletion patches/frida-core/0001-Florida-string_frida_rpc.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 2ee45f8d8bd12ae7bb58bc9d792241dd10e52c9d Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 ++++++++++++---
Expand Down
2 changes: 1 addition & 1 deletion patches/frida-core/0002-Florida-re_frida_server.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 9c54a36d6cf608cbe24c9771b4a4f2b3774bebd0 Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 ++-
Expand Down
2 changes: 1 addition & 1 deletion patches/frida-core/0003-Florida-frida_agent_so.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From c809d93142d30299ab33aa3b125fc8096e280d6c Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 ++++---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 1099700c48f5cf48f76792b929d5916be4a98e04 Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 +-
Expand Down
2 changes: 1 addition & 1 deletion patches/frida-core/0005-Florida-thread_gum_js_loop.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 90702fd82b7adbed8f712cf7b9dcb4f7d7f89b30 Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 ++++++-
Expand Down
2 changes: 1 addition & 1 deletion patches/frida-core/0006-Florida-thread_gmain.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 93a07e8014d3c4971239ad6831aa5d526042a106 Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 ++++++-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 217f97faabba058b53b6abb0827b74b0787beaa7 Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 +-
Expand Down
2 changes: 1 addition & 1 deletion patches/frida-core/0008-Florida-update-python-script.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 3f427a1ee93de50ca0dcdf825cbeeefd61f14ccc Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 +++++++++++++++++++++++++++++-------------
Expand Down
2 changes: 1 addition & 1 deletion patches/frida-core/0009-Florida-pool-frida.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From f7e11d47f9f3060733ac3dd418718366631c5bcb Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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 +-
Expand Down
25 changes: 25 additions & 0 deletions patches/frida-core/0010-Florida-memfd-name-jit-cache.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 149e9c7bfde38629f43874395c21ec6dac6320fd Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
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

0 comments on commit ac8bebb

Please sign in to comment.