Skip to content
프로젝트

소개

make it possible to run method of android-app with original Java Virtual Machine.

개발 도구

이 수치를 측정하는 방법

What you can do

  • 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...

측정된 스타 증가

in 24h
+1
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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!

  1. open the project with IDEA

  2. run test suites in testSuites

Build test app

include test-app module in settings.gradle

include ':test-app'

Publish to mavenLocal

  1. run command ./gradlew publishToMavenLocal
  2. 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

  1. implement IApkConfig and set generateJarFile and jarWithDebugInfo true,run code,and the jar file will be generated in libs/tempLibs dir
  2. sync gradle file,and IDEA will index it
  3. select one file you want to debug,and click the label.
  4. chose the source files generated at temp/apkName/decompile_source, click open button.
  5. set IApkConfig forceDecompile false,and set source line breakpoint.
  6. 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

관련 프로젝트 살펴보기

불러오는 중…