smali/deodexerant
JesusFreke@JesusFreke.com 2a0192cec1 Use a consistent error message for common superclass lookup
git-svn-id: https://smali.googlecode.com/svn/trunk@571 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
2010-01-24 00:54:53 +00:00
..
2009-11-08 06:26:08 +00:00
2009-09-08 06:26:34 +00:00

usage:
deodexerant <odex_file> <port>

deodexerant is a binary that is intended to run on an android phone, in order
to provide assistance to baksmali in deodexing .odex files. It communicates
over TCP and implements a simplistic protocol for looking up various
information needed during the deodex process, which can only be provided by
the dalvik vm. I.E. vtable lookups, field lookups by byte offset, superclass
lookups for classes not defined in the .odex file being processed, etc.

deodexerant is intended to be build within the AOSP build system. Assuming
you have $MYDROID set to the root of the AOSP source tree, and $SMALI
set to the root of the smali source tree,

1. cp -r $SMALI/deodexerant $MYDROID/dalvik/deodexerant
2. cd $MYDROID/dalvik/deodexerant
3. source ../../build/envsetup.sh
4. mm

It should should spit out a deodexerant binary at

$MYDROID/out/target/product/common/system/bin/deodexerant

Or wherever your current build setup is configured to stick those types of
things