Get a basic modification of dex file working
This allows the modification of a single classes methods through transformation. One must ensure that the provided dex file only contains one function and does not add or remove any methods or fields and does not change the inheritance hierarchy in any way. The provided dex file must verify and there must be no frames of the old code present on any thread. These constraints are not checked or verified. Breaking them might cause undefined behavior in all parts of the runtime. Code that has been inlined in any way might not be replaced. This feature is extremely experimental. Bug: 31455788 Test: ./test/run-test --host 902-hello-transformation Change-Id: I35133d24f6cdafdd2af9dc9863e15ba8493fc50e
Loading
Please sign in to comment