debian系统
1. 安装系统依赖
build-essential
git
lib32stdc++-14-dev
libc6-dev-i386
2. 安装nodejs
/etc/apt/sources.list.d/nodesource.sources
Types: deb URIs: https://deb.nodesource.com/node_23.x/ Suites: nodistro Components: main Signed-By: /usr/share/keyrings/nodesource.gpg
apt install nodejs
3. 设置环境变量
export C_INCLUDE_PATH=/usr/include/python3.13
4. 获取源代码
git clone https://github.com/frida/frida.git
5. 编译python库,脚本
./configure –prefix /home/softsim/frida
make
make install
6. 编译android64 server
mkdir build-android
export ANDROID_NDK_ROOT=/home/softsim/Android/Sdk/ndk/25.2.9519653
../frida/configure –host=android-arm64 –prefix /home/softsim/frida-android64
make
make install
7. 编译linux_x64 server
mkdir build-x64
cd build_x64
../frida/configure –host=linux-x86_64 –prefix /home/softsim/frida_x64
make
make install