commit | 6e43c50122b0307f3bc479fa7358441aa7fcfb4f | [log] [tgz] |
---|---|---|
author | Melisa Carranza Zuniga <melisacz@google.com> | Tue Apr 11 19:17:50 2023 +0200 |
committer | Melisa Carranza Zuniga <melisacz@google.com> | Tue Apr 11 19:18:58 2023 +0200 |
tree | db8809a98541c541fc9b5627dba74a547618983c | |
parent | a17d54e6d346b082097ac11bf00749e882b3cf3d [diff] |
Add OWNERS file Bug: b/271172429 Test: n/a Change-Id: I04efe17b09e7e3b0e4f9e5c320759d082605dd49
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:
./gradlew assemble
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
To execute all tests run
./gradlew test
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