frida / frida

Clone this repo to build Frida
https://frida.re
Other
16.29k stars 1.67k forks source link

Error: linking failed: tcc: error: undefined symbol '__aeabi_memset' #1548

Open konsumer opened 3 years ago

konsumer commented 3 years ago

I'm not quite sure where to report the issue, so I also have this issue.

I installed frida with pip3 install frida objection frida-tools

OS: OSX 10.15.7 (Catalina - 19H2) Frida (computer): 14.1.0 Frida Server (on android): 14.1.0 Node: 15.0.1

I get this error:

frida --codeshare pcipolloni/universal-android-ssl-pinning-bypass-with-frida -U "com.android.vending"
     ____
    / _  |   Frida 14.1.0 - A world-class dynamic instrumentation toolkit
   | (_| |
    > _  |   Commands:
   /_/ |_|       help      -> Displays the help system
   . . . .       object?   -> Display information about 'object'
   . . . .       exit/quit -> Exit
   . . . .
   . . . .   More info at https://www.frida.re/docs/home/

Error: linking failed: tcc: error: undefined symbol '__aeabi_memset'
    at o (frida/node_modules/frida-java-bridge/lib/class-model.js:88)
    at _ (frida/node_modules/frida-java-bridge/lib/class-model.js:62)
    at build (frida/node_modules/frida-java-bridge/lib/class-model.js:7)
    at _make (frida/node_modules/frida-java-bridge/lib/class-factory.js:115)
    at use (frida/node_modules/frida-java-bridge/lib/class-factory.js:63)
    at <anonymous> (frida/node_modules/frida-java-bridge/index.js:211)
    at <anonymous> (frida/node_modules/frida-java-bridge/lib/vm.js:12)
    at _performPendingVmOpsWhenReady (frida/node_modules/frida-java-bridge/index.js:231)
    at perform (frida/node_modules/frida-java-bridge/index.js:191)
    at <anonymous> (/repl.js:65)
    at apply (native)
    at <anonymous> (frida/runtime/core.js:45)

Additionally, I tried same on Ubuntu 20.10 also with frida 14.1.0, and got same error. Am I doing something wrong?

oleavr commented 3 years ago

Thanks for reporting!

I'm working on a fix for this and another Android regression that were introduced in last night's 14.1.0 release. In the meantime please use 14.0.x on the device-side as a workaround, and stay tuned for 14.0.1.

Sorry for the trouble!

konsumer commented 3 years ago

Lemme know if I can help at all. If you need testing or whatnot, I have these devices:

konsumer commented 3 years ago

Also, I can confirm, frida-server 14.0.8, with 14.1.0 client seems to work fine. Thanks for the temporary work-around.

bluzye commented 3 years ago

OS: Windows 10 Frida (computer): 14.1.1 Frida Server (on android 10): 14.0.1、14.0.8、14.1.1

The same error: undefined symbol '__aeabi_memset'

bluzye commented 3 years ago

frida 14.1.2 work fine.