fix for frida 16.2.5

This commit is contained in:
Ylarod
2024-05-25 09:54:07 +08:00
parent fcc6e1546e
commit 39b73f40b4
10 changed files with 65 additions and 98 deletions

View File

@@ -109,7 +109,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: Set up JDK 17
uses: actions/setup-java@v3
@@ -153,10 +153,16 @@ jobs:
cd ../..
echo $i
done
make core-android-arm
make core-android-arm64
make core-android-x86
make core-android-x86_64
cd ..
ARCHES="android-arm android-arm64 android-x86 android-x86_64"
for ARCH in ARCHES
do
mkdir build-$ARCH
cd build-$ARCH
./configure --host=$ARCH
make
cd ..
done
- name: Split Repository Name
id: split_name
@@ -193,27 +199,22 @@ jobs:
- name: package build result for Android
shell: bash
run: |
pushd frida
gzip build/frida-android-arm/bin/frida-server
gzip build/frida-android-arm64/bin/frida-server
gzip build-android-arm/subprojects/frida-core/server/frida-server
gzip build-android-arm64/subprojects/frida-core/server/frida-server
gzip build-android-x86/subprojects/frida-core/server/frida-server
gzip build-android-x86_64/subprojects/frida-core/server/frida-server
gzip build/frida-android-x86/bin/frida-server
gzip build/frida-android-x86_64/bin/frida-server
gzip build-android-arm/subprojects/frida-core/inject/frida-inject
gzip build-android-arm64/subprojects/frida-core/inject/frida-inject
gzip build-android-x86/subprojects/frida-core/inject/frida-inject
gzip build-android-x86_64/subprojects/frida-core/inject/frida-inject
gzip build/frida-android-arm/bin/frida-inject
gzip build/frida-android-arm64/bin/frida-inject
gzip build-android-arm/subprojects/frida-core/lib/gadget/frida-gadget.so
gzip build-android-arm64/subprojects/frida-core/lib/gadget/frida-gadget.so
gzip build-android-x86/subprojects/frida-core/lib/gadget/frida-gadget.so
gzip build-android-x86_64/subprojects/frida-core/lib/gadget/frida-gadget.so
gzip build/frida-android-x86/bin/frida-inject
gzip build/frida-android-x86_64/bin/frida-inject
gzip build/frida-android-arm/lib/frida/32/frida-gadget.so
gzip build/frida-android-arm64/lib/frida/64/frida-gadget.so
gzip build/frida-android-x86/lib/frida/32/frida-gadget.so
gzip build/frida-android-x86_64/lib/frida/64/frida-gadget.so
popd
- name: Upload android arm frida-server for Florida
uses: actions/upload-release-asset@v1.0.2
@@ -221,7 +222,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm/bin/frida-server.gz'
asset_path: '${{ github.workspace }}/build-android-arm/subprojects/frida-core/server/frida-server.gz'
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.gz'
asset_content_type: application/octet-stream
@@ -231,7 +232,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm64/bin/frida-server.gz'
asset_path: '${{ github.workspace }}/build-android-arm64/subprojects/frida-core/server/frida-server.gz'
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.gz'
asset_content_type: application/octet-stream
@@ -241,7 +242,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86/bin/frida-server.gz'
asset_path: '${{ github.workspace }}/build-android-x86/subprojects/frida-core/server/frida-server.gz'
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86.gz'
asset_content_type: application/octet-stream
@@ -251,7 +252,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86_64/bin/frida-server.gz'
asset_path: '${{ github.workspace }}/build-android-x86_64/subprojects/frida-core/server/frida-server.gz'
asset_name: 'florida-server-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86_64.gz'
asset_content_type: application/octet-stream
@@ -261,7 +262,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm/bin/frida-inject.gz'
asset_path: '${{ github.workspace }}/build-android-arm/subprojects/frida-core/inject/frida-inject.gz'
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.gz'
asset_content_type: application/octet-stream
@@ -271,7 +272,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm64/bin/frida-inject.gz'
asset_path: '${{ github.workspace }}/build-android-arm64/subprojects/frida-core/inject/frida-inject.gz'
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.gz'
asset_content_type: application/octet-stream
@@ -281,7 +282,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86/bin/frida-inject.gz'
asset_path: '${{ github.workspace }}/build-android-x86/subprojects/frida-core/inject/frida-inject.gz'
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86.gz'
asset_content_type: application/octet-stream
@@ -291,7 +292,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86_64/bin/frida-inject.gz'
asset_path: '${{ github.workspace }}/build-android-x86_64/subprojects/frida-core/inject/frida-inject.gz'
asset_name: 'florida-inject-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm-x86_64.gz'
asset_content_type: application/octet-stream
@@ -301,7 +302,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm/lib/frida/32/frida-gadget.so.gz'
asset_path: '${{ github.workspace }}/build-android-arm/subprojects/frida-core/lib/gadget/frida-gadget.gz'
asset_name: 'florida-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm.so.gz'
asset_content_type: application/octet-stream
@@ -311,7 +312,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-arm64/lib/frida/64/frida-gadget.so.gz'
asset_path: '${{ github.workspace }}/build-android-arm64/subprojects/frida-core/lib/gadget/frida-gadget.gz'
asset_name: 'florida-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-arm64.so.gz'
asset_content_type: application/octet-stream
@@ -321,7 +322,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86/lib/frida/32/frida-gadget.so.gz'
asset_path: '${{ github.workspace }}/build-android-x86/subprojects/frida-core/lib/gadget/frida-gadget.gz'
asset_name: 'florida-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86.so.gz'
asset_content_type: application/octet-stream
@@ -331,7 +332,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: '${{ steps.checkReleaseVersion.outputs.upload_url }}'
asset_path: '${{ github.workspace }}/frida/build/frida-android-x86_64/lib/frida/64/frida-gadget.so.gz'
asset_path: '${{ github.workspace }}/build-android-x86_64/subprojects/frida-core/lib/gadget/frida-gadget.so.gz'
asset_name: 'florida-gadget-${{ needs.check_version.outputs.FRIDA_VERSION }}-android-x86_64.so.gz'
asset_content_type: application/octet-stream