History log of /art/dexdump/dexdump_test.cc
Revision Date Author Comments
5ed8b2dfbdf1b487334a661bc5b8dc8ac880e435 24-Sep-2015 Elliott Hughes <enh@google.com> dexdump2 won't be optional when it replaces dexdump.

So it should just be in /system/bin, not sad and lonely in /system/xbin.

Change-Id: I2edda827d36486f46fdcfd77f0ee6eec1345974c
22c26f5b454b56a20215cb8bbc5e8afcaccafdb0 08-Jul-2015 Aart Bik <ajcbik@google.com> Revert "Make Art dexdump/list the real utilities."

This reverts commit d10ee1ce1ccd92c003ec49c15edf339e74c13894.


REASON:
win_sdk is not happy with my migration :-(

Change-Id: I2ed196da3f5883112883525f883d25b36e48352a
d10ee1ce1ccd92c003ec49c15edf339e74c13894 08-Jul-2015 Aart Bik <ajcbik@google.com> Make Art dexdump/list the real utilities.

Note: depends on pending CL that removes
old dexdump/list and libdex.

Bug: 22322814
Change-Id: I99259553f0f4655a633989feb8d67aa11de8b29d
69ae54abd4eaad54dc73b75ea7c8051aa515581d 01-Jul-2015 Aart Bik <ajcbik@google.com> Migrated dexdump from Dalvik (libdex) into Art (libart)

Rationale:
The new dexdump (temporarily called dexdump2 until we are
satisfied with the migration) is a re-implementation of the
original dexdump utility that was based on Dalvik functions
in libdex into a new dexdump that is now based on Art functions
in libart instead.

The output is identical to the original for *correct* DEX files.
Output in error messages and the usage() may differ, however,
since the new utility relies on Art parsing and verification.

NOTE 1:
ODEX files are no longer supported.

NOTE 2:
Where possible, I kept the file as close to the original
as possible, including some archaic C idioms on memory
allocation; those can be improved over time.

NOTE 3:
I used the standard Android.mk format for the new dexdump,
but this probably needs to be Art-i-fied.

NOTE 4:
Some minor issues that need resolution are marked with a TODO.

Bug: 17442393
Change-Id: I753743f64afcf4b84b8d33efbd1cfcb7908f0c3e