OSDN Git Service

Add dex file intermediate representation
authorDavid Sehr <sehr@google.com>
Sun, 7 Aug 2016 23:01:51 +0000 (16:01 -0700)
committerJeff Hao <jeffhao@google.com>
Wed, 31 Aug 2016 17:15:50 +0000 (10:15 -0700)
commit7629f60ffa7b8533ea0b50263d52cc1df72b2904
treece4d4f25c48dddf5930ff0d55c9d071f041a27fd
parent081e7a16c4fcbdb014441a236e12f58eb89ff99a
Add dex file intermediate representation

Add an intermediate representation, constructed from the DexFile
utilities, that can be used to optimize the layout and re-emit dex
files.

BUG: 29921113
TEST: TODO: Add dex files to compare output with dexdump

(cherry-picked from commit af14d9f551e6169c201dc7981d9cfbcb53c7d2c7)

Change-Id: I3dacb78fad5228e43d77f20b110bd40e0e116cdb
Android.mk
dexlayout/Android.mk [new file with mode: 0755]
dexlayout/dex_ir.cc [new file with mode: 0644]
dexlayout/dex_ir.h [new file with mode: 0644]
dexlayout/dexlayout.cc [new file with mode: 0644]
dexlayout/dexlayout.h [new file with mode: 0644]
dexlayout/dexlayout_main.cc [new file with mode: 0644]