常用反编译工具

  • jadx
1
jadx-gui
  • jdgui
1
jdgui
  • proguard
1
proguardgui.sh
  • addr2line
1
2
3
set(CMAKE_BUILD_TYPE Debug)
addr2line -e libxxx.so 0x#####(地址)
addr2line_20 -e libxxx.so 0x#####(地址)
  • ndk-stack

    Usage: ndk-stack -sym PATH [-dump PATH]
    Symbolizes the stack trace from an Android native crash.

    -sym PATH sets the root directory for symbols
    -dump PATH sets the file containing the crash dump (default stdin)

    See https://developer.android.com/ndk/guides/ndk-stack.html.

1
2
3


adb logcat | ndk-stack -sym ${so文件所在文件夹} > ~/Desktop/crash.log