Giter Club home page Giter Club logo

appdbg's Introduction

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 java method level debug ability (dex2jar transformed class file without debug info,so we can't step in)

Start

  • only test fully with jdk 1.8
  1. open the project with IDEA

  2. add vm option => -Xverify:none

  3. patch jdk_path/...../libjvm.dylib,which make it possible to load class,the name begin with "java"

  4. use the jre you modified(or use jdk in appdbg-JDK)

  5. io redirect feature need the rt.jar generated in JDKmodifiy

  6. build test apk by test-app sub project

  7. run main

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

Method level debug

  1. run code ,and the jar file will be generated in libs/tempLibs dir
  2. sync gradle file
  3. set breakpoint on method line
  4. run code with debug mode eg. test testJni(false) in Main class

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

appdbg's People

Contributors

asmjmp0 avatar

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.