Skip to content

Commit

Permalink
Fix compatibility with Frida v16.5.7 & v16.5.8-dev (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2333 authored Dec 10, 2024
1 parent 9172e84 commit fbfa3e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ jobs:
if: needs.check_version.outputs.ALREADY_RELEASE != '1'

steps:
- uses: actions/create-release@master
- uses: softprops/action-gh-release@v2.1.0
id: createRelease
name: Create Runner Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "${{ needs.check_version.outputs.FRIDA_VERSION }}"
release_name: "${{ needs.check_version.outputs.FRIDA_VERSION }}"
name: "${{ needs.check_version.outputs.FRIDA_VERSION }}"
prerelease: false

android_build:
Expand All @@ -121,7 +121,7 @@ jobs:
id: setup-ndk
uses: nttld/setup-ndk@v1
with:
ndk-version: r25b
ndk-version: r25c
local-cache: false
link-to-sdk: true

Expand Down
8 changes: 4 additions & 4 deletions patches/frida-core/0001-Florida-string_frida_rpc.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d7201c32bd8cf347cacd7427a942e0e0188045a1 Mon Sep 17 00:00:00 2001
From 9ff24d5b1b81bf5a2fc8ff517bc0caba0e3288e9 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
Expand All @@ -8,7 +8,7 @@ Subject: [PATCH 1/9] Florida: string_frida_rpc
1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/lib/base/rpc.vala b/lib/base/rpc.vala
index 3695ba8c..664bd19c 100644
index 8990b70e..d5acfebd 100644
--- a/lib/base/rpc.vala
+++ b/lib/base/rpc.vala
@@ -11,13 +11,22 @@ namespace Frida {
Expand All @@ -24,7 +24,7 @@ index 3695ba8c..664bd19c 100644
+ }
+ }
+
public async Json.Node call (string method, Json.Node[] args, Cancellable? cancellable) throws Error, IOError {
public async Json.Node call (string method, Json.Node[] args, Bytes? data, Cancellable? cancellable) throws Error, IOError {
string request_id = Uuid.string_random ();

var request = new Json.Builder ();
Expand Down Expand Up @@ -54,5 +54,5 @@ index 3695ba8c..664bd19c 100644

var request_id_value = rpc_message.get_element (1);
--
2.42.0
2.47.1

0 comments on commit fbfa3e3

Please sign in to comment.