Code Monkey home page Code Monkey logo

antifrida's Issues

support for " armeabi-v7a " devices.

I am unable to run the project in " Armeabi-v7a " devices. Got below compile error

Execution failed for task ':app:buildCMakeRelWithDebInfo[armeabi-v7a]'.

Build command failed.
Error while executing process /Users/raknahs/Library/Android/sdk/cmake/3.18.1/bin/ninja with arguments {-C /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/.cxx/RelWithDebInfo/2l91r113/armeabi-v7a antifrida}
ninja: Entering directory `/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/.cxx/RelWithDebInfo/2l91r113/armeabi-v7a'
[1/3] Building ASM object CMakeFiles/antifrida.dir/syscall.S.o
[2/3] Building CXX object CMakeFiles/antifrida.dir/antifrida.cpp.o
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:40:18: warning: expression result unused [-Wunused-value]
unused_param(thiz);
^~~~
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:18:26: note: expanded from macro 'unused_param'
#define unused_param(x) (x)
^
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:249:55: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat]
if (sscanf(buf, "%lx-%lx %4s %lx %*s %*s %s", &base, &end, perm, &offset, path) != 5) {
~~~ ^~~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:249:62: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat]
if (sscanf(buf, "%lx-%lx %4s %lx %*s %*s %s", &base, &end, perm, &offset, path) != 5) {
~~~ ^~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:249:74: warning: format specifies type 'unsigned long *' but the argument has type 'uint64_t *' (aka 'unsigned long long *') [-Wformat]
if (sscanf(buf, "%lx-%lx %4s %lx %*s %*s %s", &base, &end, perm, &offset, path) != 5) {
~~~ ^~~~~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:264:83: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
"frida signature "%s" found in %lx - %lx", sig, base, end);
~~~ ^~~~
%llx
/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:264:89: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
"frida signature "%s" found in %lx - %lx", sig, base, end);
~~~ ^~~
%llx
6 warnings generated.
[3/3] Linking CXX shared library /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/build/intermediates/cxx/RelWithDebInfo/2l91r113/obj/armeabi-v7a/libantifrida.so
FAILED: /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/build/intermediates/cxx/RelWithDebInfo/2l91r113/obj/armeabi-v7a/libantifrida.so
: && /Users/raknahs/Library/Android/sdk/ndk/24.0.8215888/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ --target=armv7-none-linux-androideabi27 --sysroot=/Users/raknahs/Library/Android/sdk/ndk/24.0.8215888/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -O2 -g -DNDEBUG -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-rosegment -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libantifrida.so -o /Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/build/intermediates/cxx/RelWithDebInfo/2l91r113/obj/armeabi-v7a/libantifrida.so CMakeFiles/antifrida.dir/syscall.S.o CMakeFiles/antifrida.dir/antifrida.cpp.o -llog -latomic -lm && :
ld: error: undefined symbol: my_openat

referenced by antifrida.cpp:81 (/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:81)
CMakeFiles/antifrida.dir/antifrida.cpp.o:(read_pseudo_file_at(char const*, char**, unsigned int*, bool))
referenced by antifrida.cpp:231 (/Users/raknahs/Projects/binaryveda/kotak-bnpl-reactnative/kotak-bnpl-reactnative/android/app/src/main/cpp/antifrida.cpp:231)
CMakeFiles/antifrida.dir/antifrida.cpp.o:(Java_com_xxr0ss_antifrida_utils_AntiFridaUtil_scanModulesForSignature)

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.