Skip to content

multidynamic/smali2java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smali2Java

Build Status

This project attempts to create a valid Java source code from disassembled code used by Dalvik

Read the specification here: https://source.android.com/devices/tech/dalvik/dalvik-bytecode.html

Why would you need it if there are tools like https://bytecodeviewer.com/?

  • It's command line
  • Allows you to use tools like grep on the output

Prerequisites

  • Go 1.9

Building

go build

Usage

You'll need APK that you want to decompile

brew install apktool
apktool d ./<your_apk>

You'll get a directory, which contains among the others directory called 'smali'

Now you can run Smali2Java on it:

smali2java -path_to_smali=<smali_directory>

License

MIT

About

Recreate Java code from Smali

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Smali 99.5%
  • Go 0.5%