commit | c7647ba8018b84c399ce5d282d1ac1b9a44b5cd2 | [log] [tgz] |
---|---|---|
author | Sergey Vasilinets <sergeyv@google.com> | Wed Apr 08 16:49:58 2020 +0100 |
committer | Sergey Vasilinets <sergeyv@google.com> | Sun Apr 12 23:48:07 2020 +0100 |
tree | fd7ae37e7f04d875b68c2488ef306ce043c7a55a | |
parent | fb3ac2a5b6efef22c621b973378be559f2d32196 [diff] |
Support high registries in ArrayEntryHook. Previous implementation was failing when scratch registries were high, because new array instruction requires low registries as params. This new implementation instead of allocating new registries simply reuses available ones if there are enough of them. If a menthod doesn't have enough registries, we increase registry count, perform entry hook and then shift parameters to original registries. Test: AppInspectionTest in ag/10983351 and mi.array_entry_hook bug: 153006865 Change-Id: I2ec18d479b83e96a6f15b7e93b1a3814e8c8e7e7
This is the home of the .dex manipulation library (slicer) and command line tool (dexter).
Both the command line tool and the library can be built for host and device targets.
To build dexter:
$ m dexter
To test dexter:
# in tools/dexter (and assuming a Linux host) $ python dexter/dexter_tests.py -cmd ../../out/host/linux-x86/bin/dexter -root testdata