You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
baksmali Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
deodexerant Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
dexlib2 Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
examples Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
gradle/wrapper Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
scripts Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
smali Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
smali-integration-tests/src Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
third_party Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
util Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.gitignore Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
AUTHORS Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
CONTRIBUTING.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
LICENSE Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
METADATA Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
OWNERS Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
build.gradle Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
gradle.properties Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
gradlew Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
gradlew.bat Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
settings.gradle Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README.md

About

smali/baksmali is an assembler/disassembler for the dex format used by dalvik, Android's Java VM implementation. The syntax is loosely based on Jasmin's/dedexer's syntax, and supports the full functionality of the dex format (annotations, debug info, line info, etc.)

NOTE: This is a fork of https://github.com/JesusFreke/smali for patches needed by Google as the original repository is currently not maintained. After forking the namespace was changed from org.jf to com.anroid.tools.smali. The artifacts are released on Google Maven under the following coordinates:

Support

Building

./gradlew assemble

Command Line Version

To run the smali and baksmali tools from the command line build the fat jars. The fat jars will be named with the current version followed by the first 8 characters of the current git hash followed by an optional -dirty if the repository was dirty when building and ending in -fat . The fat jar can be invoked with java -jar.

./gradlew smali:fatJar
java -jar smali/build/libs/smali-x.y.z-aaaaaaaa-dirty-fat.jar

Testing

To execute all tests run

./gradlew test

Testing Maven Release

Push a release version to your local maven repository (add -Dmaven.repo.local=<dir> to override the default local maven repository location)

./gradlew release publishToMavenLocal