项目
在 GitHub 查看
asmjmp0/appdbg
关于
支持使用原始 Java Virtual Machine 运行 Android 应用的方法。
开发工具可以做什么
- change every class before it will be loaded
- change every item of the class after it was loaded
- hook java method
- implement native method by yourself or unidbg...
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Appdbg
make it possible to run android dex file in original Java Virtual Machine.
Features
- change every class before it will be loaded
- change every item of the class after it was loaded
- hook java method
- implement native method by yourself or unidbg...
- provide fake source line level debug ability powered by fernflower(https://github.com/fesh0r/fernflower)!!!
Start
powered by patch-jvm we do not need to patch jvm by myself anymore!
- if it has any problem, please see PatchJDK.md
open the project with IDEA
run test suites in testSuites

Build test app
include test-app module in settings.gradle
include ':test-app'
Publish to mavenLocal
- run command
./gradlew publishToMavenLocal implementation "jmp0.appdbg:core:1.0-SNAPSHOT"
Implement native method with unidbg
auto implement reflection method by appdbg
- invoke method

- native code source


- result

source line level debug
- implement IApkConfig and set generateJarFile and jarWithDebugInfo true,run code,and the jar file will be generated in libs/tempLibs dir

- sync gradle file,and IDEA will index it

- select one file you want to debug,and click the label.

- chose the source files generated at temp/apkName/decompile_source, click open button.

- set IApkConfig forceDecompile false,and set source line breakpoint.

- run code with debug mode!!!

About
it's hard for me to implement all Android runtime well,if you can help me to make this project better,Thanks for your contribution.
Thanks
探索相关项目
加载中…