Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frida updata but build error #7

Open
Usher2008 opened this issue Mar 23, 2023 · 0 comments
Open

frida updata but build error #7

Usher2008 opened this issue Mar 23, 2023 · 0 comments

Comments

@Usher2008
Copy link

I have some problem in EXEC Java.Perform in Android 12, so I want to updata frida, but faile.
I replace
xcubebase-main\app\src\main\cpp\includes
xcubebase-main\app\src\main\cpp\libs

and fix

static void on_message (const gchar * message, GBytes * data, gpointer user_data);

script = gum_script_backend_create_sync(backend, "example", js, NULL,cancellable, &error);

get build error,how can I do?

Execution failed for task ':app:externalNativeBuildDebug'.
> Build command failed.
  Error while executing process D:\Android\sdk\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C C:\Users\usher\Desktop\xcubebase-main\app\.cxx\cmake\debug\arm64-v8a hellofrida shellcmd xcubebase}
  ninja: Entering directory `C:\Users\usher\Desktop\xcubebase-main\app\.cxx\cmake\debug\arm64-v8a'
  [1/1] Linking CXX shared library C:\Users\usher\Desktop\xcubebase-main\app\build\intermediates\cmake\debug\obj\arm64-v8a\libxcubebase.so
  FAILED: C:/Users/usher/Desktop/xcubebase-main/app/build/intermediates/cmake/debug/obj/arm64-v8a/libxcubebase.so 
  cmd.exe /C "cd . && D:\Android\sdk\ndk\21.1.6352462\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android23 --gcc-toolchain=D:/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=D:/Android/sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security   -O0 -fno-limit-debug-info  -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libxcubebase.so -o C:\Users\usher\Desktop\xcubebase-main\app\build\intermediates\cmake\debug\obj\arm64-v8a\libxcubebase.so CMakeFiles/xcubebase.dir/frida-gumjs.cpp.o CMakeFiles/xcubebase.dir/NativeEntry.cpp.o  C:/Users/usher/Desktop/xcubebase-main/app/src/main/cpp/libs/arm64-v8a/libfrida-gumjs.a -llog -latomic -lm && cd ."
  Active code page: 65001
  C:/Users/usher/Desktop/xcubebase-main/app/src/main/cpp/libs/arm64-v8a/libfrida-gumjs.a(gumscriptscheduler.c.o): In function `gum_script_scheduler_start':
  /home/runner/work/frida/frida/build/tmp-android-arm64/frida-gum/../../../frida-gum/bindings/gumjs/gumscriptscheduler.c:113: undefined reference to `__aarch64_ldadd4_acq_rel'
  C:/Users/usher/Desktop/xcubebase-main/app/src/main/cpp/libs/arm64-v8a/libfrida-gumjs.a(gumquickscriptbackend.c.o): In function `gum_es_asset_ref':
  /home/runner/work/frida/frida/build/tmp-android-arm64/frida-gum/../../../frida-gum/bindings/gumjs/gumquickscriptbackend.c:1265: undefined reference to `__aarch64_ldadd4_acq_rel'
  C:/Users/usher/Desktop/xcubebase-main/app/src/main/cpp/libs/arm64-v8a/libfrida-gumjs.a(gumquickscriptbackend.c.o): In function `gum_es_asset_unref':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant